INSTALL » История » Версия 22
Dmitry Chernyak, 24.02.2013 19:43
1 | 1 | Dmitry Chernyak | h1. INSTALL |
---|---|---|---|
2 | 1 | Dmitry Chernyak | |
3 | 1 | Dmitry Chernyak | {{toc}} |
4 | 1 | Dmitry Chernyak | |
5 | 20 | Dmitry Chernyak | [[OVERVIEW]] | [[BUILD-ISO]] | [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[GITMAGIC]] | [[LICENSE]] | [[STATUS]] |
6 | 20 | Dmitry Chernyak | [[ОБЗОР]] | [[СБОРКА-ISO]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]] | [[МАГИЯ GIT]] | [[ЛИЦЕНЗИЯ]] | [[СОСТОЯНИЕ]] |
7 | 1 | Dmitry Chernyak | |
8 | 20 | Dmitry Chernyak | h2. Get the ISO image |
9 | 4 | Владимир Ипатов | |
10 | 20 | Dmitry Chernyak | You can get the latest built ISO image here: http://sci-dev.skycover.ru/dist/SCI-CD-latest.iso |
11 | 20 | Dmitry Chernyak | The older versions also are in the http://sci-dev.skycover.ru/dist/ |
12 | 20 | Dmitry Chernyak | Otherwise you can build your own ISO-image (for experienced users): [[BUILD-ISO]] |
13 | 1 | Dmitry Chernyak | |
14 | 21 | Dmitry Chernyak | h2. Burn the ISO image |
15 | 5 | Владимир Ипатов | |
16 | 16 | Владимир Ипатов | You burn it with your favorite tool (for ex. - k3b). |
17 | 5 | Владимир Ипатов | |
18 | 5 | Владимир Ипатов | h2. Create bootable USB flash |
19 | 1 | Dmitry Chernyak | |
20 | 21 | Dmitry Chernyak | At present this option is only available when you build the ISO image yourself. |
21 | 21 | Dmitry Chernyak | Consult [[BUILD-ISO]]. |
22 | 5 | Владимир Ипатов | |
23 | 1 | Dmitry Chernyak | h2. Minimal System Requirements |
24 | 18 | Владимир Ипатов | |
25 | 18 | Владимир Ипатов | In real case you must choose hardware in according to real objectives. |
26 | 18 | Владимир Ипатов | For testing purposes minimal system requierements is: |
27 | 22 | Dmitry Chernyak | * 1.2 GB RAM |
28 | 18 | Владимир Ипатов | * 50GB HDD |
29 | 21 | Dmitry Chernyak | * 1Gbit ethernet for DRBD link (if you setup 2 or more nodes) |
30 | 21 | Dmitry Chernyak | * Hardware Virtualization support: Intel VT or AMD CPU (if you want to run the Windows instances) |
31 | 18 | Владимир Ипатов | |
32 | 1 | Dmitry Chernyak | h2. Install the system |
33 | 1 | Dmitry Chernyak | |
34 | 1 | Dmitry Chernyak | Install the system on two nodes (you may use only one node, but high |
35 | 1 | Dmitry Chernyak | availability capabilities will be unavailable). |
36 | 1 | Dmitry Chernyak | |
37 | 1 | Dmitry Chernyak | You must to know following data at this time: |
38 | 22 | Dmitry Chernyak | * The number and the mask of the interlink network |
39 | 22 | Dmitry Chernyak | * The IP addresses of two installed nodes in the interlink network |
40 | 22 | Dmitry Chernyak | * The internet router's address in the interlink network (typically no router will be needed here) |
41 | 1 | Dmitry Chernyak | * The cluster's domain name |
42 | 1 | Dmitry Chernyak | * The hostnames for new nodes |
43 | 22 | Dmitry Chernyak | * The address of the future DNS serverin the interlink network (*NOT an already existent host!*), which will be installed on the cluster service instance. |
44 | 1 | Dmitry Chernyak | * The root's password |
45 | 22 | Dmitry Chernyak | * The idea on how to create storage system - to use software or hardware RAID |
46 | 22 | Dmitry Chernyak | or no RAID at all (not recommended) - on your own choice. |
47 | 15 | Владимир Ипатов | |
48 | 15 | Владимир Ипатов | h3. Partitioning |
49 | 15 | Владимир Ипатов | |
50 | 22 | Dmitry Chernyak | During the installation you will be prompted to chose the one of predefined disk layouts |
51 | 22 | Dmitry Chernyak | useful for 1-8 disk nodes with or without the hardware RAID. |
52 | 22 | Dmitry Chernyak | |
53 | 22 | Dmitry Chernyak | If you chose the "manual layout" option then you should preserve following partitions on your nodes: |
54 | 1 | Dmitry Chernyak | |_.Name|_.Size|_.Purpose| |
55 | 1 | Dmitry Chernyak | |/|10G|Root partition for all node's data| |
56 | 1 | Dmitry Chernyak | |swap|1G|Swap space for Dom0 in calculation of 512Mb RAM| |
57 | 1 | Dmitry Chernyak | |xenvg|the rest|The LVM Volume, named 'xenvg', without any partitions| |
58 | 1 | Dmitry Chernyak | |
59 | 3 | Владимир Ипатов | The VG "xenvg" will be used as the default place for the instance's volumes. |
60 | 1 | Dmitry Chernyak | Also the "system-stuff" volume will be automatically created on xenvg (and mounted as /stuff). |
61 | 1 | Dmitry Chernyak | It serves for various big stuff like cdrom images, instance backups etc. |
62 | 10 | Dmitry Chernyak | |
63 | 22 | Dmitry Chernyak | At our own choice you may defer the creation of xenvg during the installation stage and to create it later. |
64 | 22 | Dmitry Chernyak | In this case any option with "no LVM" will be useful. |
65 | 22 | Dmitry Chernyak | |
66 | 22 | Dmitry Chernyak | NOTE: If you want to place your own partitions on xenvg, you should then exclude them from ganeti-managed volumes. (SEE [[SETUP]]). |
67 | 11 | Dmitry Chernyak | Simplest way is to name your partitions "sytem-*" because this pattern is excluded in SCI-CD by default. |
68 | 10 | Dmitry Chernyak | |
69 | 10 | Dmitry Chernyak | You may create more partitions or volume groups at your choice. |
70 | 1 | Dmitry Chernyak | |
71 | 1 | Dmitry Chernyak | h3. DNS server's address |
72 | 1 | Dmitry Chernyak | |
73 | 1 | Dmitry Chernyak | The cluster has it's own DNS server, which is also the 'approx' and |
74 | 1 | Dmitry Chernyak | 'puppet' server. At the [[SETUP]] stage, cluster DNS server can be linked |
75 | 1 | Dmitry Chernyak | to other DNS servers in the forwarding mode. |
76 | 1 | Dmitry Chernyak | |
77 | 22 | Dmitry Chernyak | The DNS server's address +must not+ be the address of the existing service. |
78 | 1 | Dmitry Chernyak | |
79 | 22 | Dmitry Chernyak | The cluster's domain name +must not+ be the name of the existing domain if |
80 | 1 | Dmitry Chernyak | local domain already exists (use subdomain, or completely different name). |
81 | 1 | Dmitry Chernyak | |
82 | 1 | Dmitry Chernyak | h2. Automatic post-installation changes |
83 | 1 | Dmitry Chernyak | |
84 | 1 | Dmitry Chernyak | During the installation phase, the postinst.sh script from the distro |
85 | 1 | Dmitry Chernyak | made the following system tuning: [[POST-INSTALL]] |
86 | 1 | Dmitry Chernyak | |
87 | 1 | Dmitry Chernyak | h2. The cluster is ready to setup |
88 | 1 | Dmitry Chernyak | |
89 | 1 | Dmitry Chernyak | The CD installation takes about 15 minutes per node. |
90 | 1 | Dmitry Chernyak | Read [[SETUP]] next. |