INSTALL » История » Версия 18
Владимир Ипатов, 05.02.2013 03:18
1 | 1 | Dmitry Chernyak | h1. INSTALL |
---|---|---|---|
2 | 1 | Dmitry Chernyak | |
3 | 1 | Dmitry Chernyak | {{toc}} |
4 | 1 | Dmitry Chernyak | |
5 | 4 | Владимир Ипатов | h2. Get ISO image |
6 | 1 | Dmitry Chernyak | |
7 | 17 | Dmitry Chernyak | You can get built ISO from here (english version - skycover-version-en.iso): http://sci-dev.skycover.ru/dist/ |
8 | 4 | Владимир Ипатов | Otherwise you can build your own iso (for experienced users): [[BUILD-ISO]] |
9 | 1 | Dmitry Chernyak | |
10 | 1 | Dmitry Chernyak | h2. Burn ISO image |
11 | 1 | Dmitry Chernyak | |
12 | 5 | Владимир Ипатов | You burn it with your favorite tool (for ex. - k3b). |
13 | 16 | Владимир Ипатов | Also you can create bootable usb flash via script located here: http://apt.vds-host.org/sci-cd/0.9.1/makeusb.sh |
14 | 5 | Владимир Ипатов | |
15 | 5 | Владимир Ипатов | h2. Create bootable USB flash |
16 | 5 | Владимир Ипатов | |
17 | 5 | Владимир Ипатов | We wrote script for this: |
18 | 5 | Владимир Ипатов | You must have usb flash with first vfat partition that able to fit installer iso image. |
19 | 5 | Владимир Ипатов | start the script from root: |
20 | 5 | Владимир Ипатов | <pre> |
21 | 12 | Dmitry Chernyak | ./makeusb.sh /dev/sdX |
22 | 5 | Владимир Ипатов | </pre> |
23 | 12 | Dmitry Chernyak | where /dev/sdX - path to block device pointing to your usb flash(whole flash, not a partition with vfat - not /dev/sdX1). |
24 | 9 | Владимир Ипатов | 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. |
25 | 5 | Владимир Ипатов | Now you can start installer from your flash drive. |
26 | 1 | Dmitry Chernyak | |
27 | 18 | Владимир Ипатов | |
28 | 18 | Владимир Ипатов | h2. Minimal System Requirements |
29 | 18 | Владимир Ипатов | |
30 | 18 | Владимир Ипатов | In real case you must choose hardware in according to real objectives. |
31 | 18 | Владимир Ипатов | For testing purposes minimal system requierements is: |
32 | 18 | Владимир Ипатов | * 1GB RAM |
33 | 18 | Владимир Ипатов | * 50GB HDD |
34 | 18 | Владимир Ипатов | * 1Gbit ethernet for DRBD link(if nodes are more than 1) |
35 | 18 | Владимир Ипатов | * Hardware Virtualization support(if you want to use HVM mode) |
36 | 18 | Владимир Ипатов | |
37 | 1 | Dmitry Chernyak | h2. Install the system |
38 | 1 | Dmitry Chernyak | |
39 | 1 | Dmitry Chernyak | Install the system on two nodes (you may use only one node, but high |
40 | 1 | Dmitry Chernyak | availability capabilities will be unavailable). |
41 | 1 | Dmitry Chernyak | |
42 | 1 | Dmitry Chernyak | You must to know following data at this time: |
43 | 1 | Dmitry Chernyak | * The number and mask of local network |
44 | 1 | Dmitry Chernyak | * The IP addresses of two installed nodes (in the same network) |
45 | 1 | Dmitry Chernyak | * The internet router's address (in the same network, if any) |
46 | 1 | Dmitry Chernyak | * The cluster's domain name |
47 | 1 | Dmitry Chernyak | * The hostnames for new nodes |
48 | 8 | Владимир Ипатов | * The address of the future DNS server(*NOT an existent host!*), which will be installed on the |
49 | 1 | Dmitry Chernyak | cluster service instance. |
50 | 1 | Dmitry Chernyak | * The root's password |
51 | 1 | Dmitry Chernyak | * The idea on how to create storage system - to use MD or hardware raid |
52 | 15 | Владимир Ипатов | or no raid at all(not recommended) - on your own choice. |
53 | 15 | Владимир Ипатов | |
54 | 15 | Владимир Ипатов | Network topology configuration is complicated question, it described here: [[SETUP#NETWORK-CONFIGURATION]] |
55 | 1 | Dmitry Chernyak | |
56 | 1 | Dmitry Chernyak | h3. Partitioning |
57 | 1 | Dmitry Chernyak | |
58 | 1 | Dmitry Chernyak | You should preserve following partitions on your nodes: |
59 | 1 | Dmitry Chernyak | |_.Name|_.Size|_.Purpose| |
60 | 1 | Dmitry Chernyak | |/|10G|Root partition for all node's data| |
61 | 3 | Владимир Ипатов | |swap|1G|Swap space for Dom0 in calculation of 512Mb RAM| |
62 | 1 | Dmitry Chernyak | |xenvg|the rest|The LVM Volume, named 'xenvg', without any partitions| |
63 | 1 | Dmitry Chernyak | |
64 | 10 | Dmitry Chernyak | The VG "xenvg" will be used as the default place for the instance's volumes. |
65 | 10 | Dmitry Chernyak | Also the "system-stuff" volume will be automatically created on xenvg (and mounted as /stuff). |
66 | 10 | Dmitry Chernyak | It serves for various big stuff like cdrom images, instance backups etc. |
67 | 10 | Dmitry Chernyak | |
68 | 10 | Dmitry Chernyak | If you want to place your own partitions on xenvg, you should then exclude them from ganeti-managed volumes. (SEE [[SETUP]]). |
69 | 11 | Dmitry Chernyak | Simplest way is to name your partitions "sytem-*" because this pattern is excluded in SCI-CD by default. |
70 | 10 | Dmitry Chernyak | |
71 | 10 | Dmitry Chernyak | You may create more partitions or volume groups at your choice. |
72 | 1 | Dmitry Chernyak | |
73 | 1 | Dmitry Chernyak | h3. DNS server's address |
74 | 1 | Dmitry Chernyak | |
75 | 1 | Dmitry Chernyak | The cluster has it's own DNS server, which is also the 'approx' and |
76 | 1 | Dmitry Chernyak | 'puppet' server. At the [[SETUP]] stage, cluster DNS server can be linked |
77 | 1 | Dmitry Chernyak | to other DNS servers in the forwarding mode. |
78 | 1 | Dmitry Chernyak | |
79 | 1 | Dmitry Chernyak | The server's address +must not+ be the address of the existing service. |
80 | 1 | Dmitry Chernyak | |
81 | 1 | Dmitry Chernyak | The cluster's domain name must not be the name of the existing domain if |
82 | 1 | Dmitry Chernyak | local domain already exists (use subdomain, or completely different name). |
83 | 1 | Dmitry Chernyak | |
84 | 1 | Dmitry Chernyak | h2. Automatic post-installation changes |
85 | 1 | Dmitry Chernyak | |
86 | 1 | Dmitry Chernyak | During the installation phase, the postinst.sh script from the distro |
87 | 1 | Dmitry Chernyak | made the following system tuning: [[POST-INSTALL]] |
88 | 1 | Dmitry Chernyak | |
89 | 1 | Dmitry Chernyak | h2. The cluster is ready to setup |
90 | 1 | Dmitry Chernyak | |
91 | 1 | Dmitry Chernyak | The CD installation takes about 15 minutes per node. |
92 | 1 | Dmitry Chernyak | Read [[SETUP]] next. |