INSTALL » История » Версия 10
Версия 9 (Владимир Ипатов, 23.10.2012 14:00) → Версия 10/45 (Dmitry Chernyak, 24.10.2012 21:51)
h1. INSTALL
{{toc}}
h2. Get ISO image
You can get built ISO from here:
Otherwise you can build your own iso (for experienced users): [[BUILD-ISO]]
h2. Burn ISO image
You burn it with your favorite tool (for ex. - k3b).
Also you can create bootable usb flash.
h2. Create bootable USB flash
We wrote script for this:
You must have usb flash with first vfat partition that able to fit installer iso image.
start the script from root:
<pre>
./makeusb.sh /dev/scX
</pre>
where /dev/scX - path to block device pointing to your usb flash(whole flash, not a partition with vfat - not /dev/sdX1).
After execution of script vfat from flash will be mounted on /mnt (it may be changed in script). You must put ISO image in root directory of this filesystem and correctly umount it.
Now you can start installer from your flash drive.
h2. Install the system
Install the system on two nodes (you may use only one node, but high
availability capabilities will be unavailable).
You must to know following data at this time:
* The number and mask of local network
* The IP addresses of two installed nodes (in the same network)
* The internet router's address (in the same network, if any)
* The cluster's domain name
* The hostnames for new nodes
* The address of the future DNS server(*NOT an existent host!*), which will be installed on the
cluster service instance.
* The root's password
* The idea on how to create storage system - to use MD or hardware raid
or no raid at all - on your own choice.
h3. Partitioning
You should preserve following partitions on your nodes:
|_.Name|_.Size|_.Purpose|
|/|10G|Root partition for all node's data|
|swap|1G|Swap space for Dom0 in calculation of 512Mb RAM|
|xenvg|the rest|The LVM Volume, named 'xenvg', without any partitions|
The VG "xenvg" xenvg will be used as the default place for the instance's volumes.
Also the "system-stuff" You may create more partition or volume will be automatically created on xenvg (and mounted as /stuff). groups at your choice.
It serves for various big stuff like cdrom images, instance backups etc.
If you want to place your own add some system partitions on xenvg, you should must then exclude them it from ganeti-managed volumes. (SEE ganeti volumes(SEE [[SETUP]]).
Simplest - is to name your partitions "sytem-*" because this pattern is excluded in SCI-CD by default.
You may create more partitions or volume groups at your choice.
h3. DNS server's address
The cluster has it's own DNS server, which is also the 'approx' and
'puppet' server. At the [[SETUP]] stage, cluster DNS server can be linked
to other DNS servers in the forwarding mode.
The server's address +must not+ be the address of the existing service.
The cluster's domain name must not be the name of the existing domain if
local domain already exists (use subdomain, or completely different name).
h2. Automatic post-installation changes
During the installation phase, the postinst.sh script from the distro
made the following system tuning: [[POST-INSTALL]]
h2. The cluster is ready to setup
The CD installation takes about 15 minutes per node.
Read [[SETUP]] next.
{{toc}}
h2. Get ISO image
You can get built ISO from here:
Otherwise you can build your own iso (for experienced users): [[BUILD-ISO]]
h2. Burn ISO image
You burn it with your favorite tool (for ex. - k3b).
Also you can create bootable usb flash.
h2. Create bootable USB flash
We wrote script for this:
You must have usb flash with first vfat partition that able to fit installer iso image.
start the script from root:
<pre>
./makeusb.sh /dev/scX
</pre>
where /dev/scX - path to block device pointing to your usb flash(whole flash, not a partition with vfat - not /dev/sdX1).
After execution of script vfat from flash will be mounted on /mnt (it may be changed in script). You must put ISO image in root directory of this filesystem and correctly umount it.
Now you can start installer from your flash drive.
h2. Install the system
Install the system on two nodes (you may use only one node, but high
availability capabilities will be unavailable).
You must to know following data at this time:
* The number and mask of local network
* The IP addresses of two installed nodes (in the same network)
* The internet router's address (in the same network, if any)
* The cluster's domain name
* The hostnames for new nodes
* The address of the future DNS server(*NOT an existent host!*), which will be installed on the
cluster service instance.
* The root's password
* The idea on how to create storage system - to use MD or hardware raid
or no raid at all - on your own choice.
h3. Partitioning
You should preserve following partitions on your nodes:
|_.Name|_.Size|_.Purpose|
|/|10G|Root partition for all node's data|
|swap|1G|Swap space for Dom0 in calculation of 512Mb RAM|
|xenvg|the rest|The LVM Volume, named 'xenvg', without any partitions|
The VG "xenvg" xenvg will be used as the default place for the instance's volumes.
Also the "system-stuff" You may create more partition or volume will be automatically created on xenvg (and mounted as /stuff). groups at your choice.
It serves for various big stuff like cdrom images, instance backups etc.
If you want to place your own add some system partitions on xenvg, you should must then exclude them it from ganeti-managed volumes. (SEE ganeti volumes(SEE [[SETUP]]).
Simplest - is to name your partitions "sytem-*" because this pattern is excluded in SCI-CD by default.
You may create more partitions or volume groups at your choice.
h3. DNS server's address
The cluster has it's own DNS server, which is also the 'approx' and
'puppet' server. At the [[SETUP]] stage, cluster DNS server can be linked
to other DNS servers in the forwarding mode.
The server's address +must not+ be the address of the existing service.
The cluster's domain name must not be the name of the existing domain if
local domain already exists (use subdomain, or completely different name).
h2. Automatic post-installation changes
During the installation phase, the postinst.sh script from the distro
made the following system tuning: [[POST-INSTALL]]
h2. The cluster is ready to setup
The CD installation takes about 15 minutes per node.
Read [[SETUP]] next.