Changes

Jump to: navigation, search

stoney cloud: Multi-Node Installation

60 bytes added, 08:42, 19 December 2013
== System Overview ==
The [http://www.fossstoney-cloud.org/ FOSSstoney-Cloud] builds upon various standard open source components and can be run on commodity hardware. The final Multi-Node Setup consists of the following components:* One [[Primary-Master-Node]] with an OpenLDAP Directory Server for the storage of the FOSSstoney-Cloud user and service related data with the web based management [[VM-Manager]] interface and the Linux kernel based virtualization technology.
* One [[VM-Node]] with the Linux kernel based virtualization technology.
* Two [[Storage-Node | Storage-Nodes]] configured as a replicated and distributed data storage service based on [http://www.gluster.org/ GlusterFS].
=== Prerequisites ===
The following items and conditions are required to be able to setup a FOSSstoney-Cloud environment:
* Dedicated Hardware (4 Servers) which fulfil the following requirements:
** 64-Bit Intel with VT-Technologie (AMD is not tested at the moment).
=== Network Overview ===
As stated before, a minimal multi node FOSSstoney-Cloud environment consist of two FOSSstoney-Cloud and GlusterFS nodes.
It is highly recommended to use IEEE 802.3ad link aggregation (bonding, trunking etc.) over two network cards and attach them as one logical link to the access switch.
+--------------------+ +--------------------+
| | | |
| fossstoney-cloud-node-01 | | fossstoney-cloud-node-02 |
| | | |
+--------------------+ +--------------------+
+--------------------+ +--------------------+
| | | |
| fossstoney-cloud-node-01 | | fossstoney-cloud-node-02 |
| | | |
+--------------------+ +--------------------+ ___
==== Network overview: Logical layer ====
The ideal FOSSstoney-Cloud environment is based on four logical separated VLANs (virtual LANs):
* '''admin''': Administrative network, used for administration and monitoring purposes.
* '''data''': Data network, used for GlusterFS traffic.
|-
|fossstoney-cloud-node-01
|10.1.110.13
|10.1.120.13
|-
|fossstoney-cloud-node-02
|10.1.110.14
|10.1.120.14
=== RAID Set Up ===
Create a RAID1 volume. This RAID-Set is used for the Operating System. Please be aware, the the current FOSSstoney-Cloud only supports 147 Gigabyte up to 2 Terabyte disks for this first RAID-Set.
Optional: For the two [http://www.gluster.org/ GlusterFS] [[Storage-Node | Storage-Nodes]] we recommend a second RAID-Set configured as [http://en.wikipedia.org/wiki/RAID_6#RAID_6 RAID6]-Set with battery backup.
yes or no?: '''no'''
Then manually restart the FOSSstoney-Cloud installer with the desired options: /mnt/cdrom/fossstoney-cloud-installer -c
Options:
==== First Storage-Node (gluster-node-01) ====
# Insert the FOSSstoney-Cloud CD and boot the server.
# Answer the questions as follows (the bold values are examples can be set through the administrator and are variable, according to the local setup):
## Global Section
==== Second Storage-Node (gluster-node-02) ====
# Insert the FOSSstoney-Cloud CD and boot the server.
# Answer the questions.
# Reboot the Server and make sure, that you boot from the first harddisk.
==== Primary-Master-Node (fossstoney-cloud-node-01) ====# Insert the FOSSstoney-Cloud CD and boot the server.
# Answer the questions.
# Reboot the Server and make sure, that you boot from the first harddisk.
==== Secondary-Master-Node (fossstoney-cloud-node-02) ====# Insert the FOSSstoney-Cloud CD and boot the server.
# Answer the questions.
# Reboot the Server and make sure, that you boot from the first harddisk.
For more information about the script and what it does, please visit the [[node-configuration]] script page.
==== Primary-Master-Node (fossstoney-cloud-node-01) ====
If you configured a additional Backup Volume on the Storage Nodes, you want to [[Additional_Local_Backup_Volume_on_the_Storage-Nodes#On_the_VM-Nodes | mount them now in the VM-Node]].
/usr/sbin/fc-node-configuration --node-type primary-master-node
The FOSSstoney-Cloud uses virtual ip addresses (VIPs) for failover purposes. Therefore you need to configure [http://www.pureftpd.org/project/ucarp ucarp].
Confirm that you want to run the script.
* Configure the LDAP directory:
** Define the password for the LDAP-Superuser (cn=Manager,dc=fossstoney-cloud,dc=org)
** Currently the user for the prov-backup-kvm daemon is the LDAP-Superuser so enter the same password again
** Define the password for the LDAP-dhcp user (cn=dhcp,ou=services,ou=administration,dc=fossstoney-cloud,dc=org)** Enter all necessary information for the FOSSstoney-Cloud administrator (User1)
*** Given name
*** Surname
*** Password
* Finally enter the domain name which will correspond to the public VIP (default is fossstoney-cloud.example.tld)
For more information about the script and what it does, please visit the [[fc-node-configuration]] script page.
==== Secondary-Master-Node (fossstoney-cloud-node-02) ====
If you configured a additional Backup Volume on the Storage Nodes, you want to [[Additional_Local_Backup_Volume_on_the_Storage-Nodes#On_the_VM-Nodes | mount them now in the Secondary-Master-Node]].
* Repeat the same procedure for the secondary-storage-node (if you followed this documentation the IP is 10.1.110.12)
* Enter the LDAP-Superuser password you defined during the [[Multi-Node Installation#Primary-Master-Node (fossstoney-cloud-node-01)_2 | primary-master-node]] installation
For more information about the script and what it does, please visit the [[fc-node-configuration]] script page.
486
edits