Проект

Общее

Профиль

INSTALL » История » Версия 27

Dmitry Chernyak, 19.06.2016 20:38

1 1 Dmitry Chernyak
h1. INSTALL
2 1 Dmitry Chernyak
3 1 Dmitry Chernyak
{{toc}}
4 1 Dmitry Chernyak
5 26 Dmitry Chernyak
[[OVERVIEW]] | [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[GITMAGIC]] | [[LICENSE]] | [[STATUS]]
6 26 Dmitry Chernyak
[[ОБЗОР]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]] | [[МАГИЯ GIT]] | [[ЛИЦЕНЗИЯ]] | [[СОСТОЯНИЕ]]
7 1 Dmitry Chernyak
8 20 Dmitry Chernyak
h2. Get the ISO image
9 4 Владимир Ипатов
10 27 Dmitry Chernyak
Download the latest built ISO image in the "Documents":https://sci.skycover.ru/projects/sci-cd/documents section (to access it you should register on this site).
11 26 Dmitry Chernyak
12 27 Dmitry Chernyak
You can also 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 24 Dmitry Chernyak
The installer will ask you:
38 1 Dmitry Chernyak
39 24 Dmitry Chernyak
* The node's IP-address on the interlink. For ex.: 192.168.2.1(2)
40 24 Dmitry Chernyak
* The network mask. For ex.: 255.255.255.0
41 24 Dmitry Chernyak
* The node's name. For ex.: gnt1(2)
42 24 Dmitry Chernyak
* The domain. For ex.: gnt.yourcompany.com
43 24 Dmitry Chernyak
* The default router's address (DO NOT specify if you use the separate network
44 24 Dmitry Chernyak
card for the interlink!)
45 24 Dmitry Chernyak
* The (new) DNS server's address on the interlink. For ex.: 192.168.1.254
46 24 Dmitry Chernyak
* The root password
47 24 Dmitry Chernyak
* Chose one of predefined disk layouts or layout it manually.
48 24 Dmitry Chernyak
* Specify the disks on which yo want to place grub loader. Chose "md0" if you use
49 24 Dmitry Chernyak
the software RAID for the system partition.
50 24 Dmitry Chernyak
* Specify the additional kernel parameters (but usually you don't).
51 24 Dmitry Chernyak
52 15 Владимир Ипатов
h3. Partitioning
53 15 Владимир Ипатов
54 22 Dmitry Chernyak
During the installation you will be prompted to chose the one of predefined disk layouts
55 22 Dmitry Chernyak
useful for 1-8 disk nodes with or without the hardware RAID.
56 22 Dmitry Chernyak
57 22 Dmitry Chernyak
If you chose the "manual layout" option then you should preserve following partitions on your nodes:
58 1 Dmitry Chernyak
|_.Name|_.Size|_.Purpose|
59 1 Dmitry Chernyak
|/|10G|Root partition for all node's data|
60 1 Dmitry Chernyak
|swap|1G|Swap space for Dom0 in calculation of 512Mb RAM|
61 23 Dmitry Chernyak
|xenvg|the rest or the another device|The LVM Volume, named 'xenvg', without any partitions|
62 1 Dmitry Chernyak
63 3 Владимир Ипатов
The VG "xenvg" will be used as the default place for the instance's volumes.
64 1 Dmitry Chernyak
Also the "system-stuff" volume will be automatically created on xenvg (and mounted as /stuff).
65 1 Dmitry Chernyak
It serves for various big stuff like cdrom images, instance backups etc.
66 1 Dmitry Chernyak
67 1 Dmitry Chernyak
At our own choice you may defer the creation of xenvg during the installation stage and to create it later.
68 1 Dmitry Chernyak
In this case any option with "no LVM" will be useful.
69 22 Dmitry Chernyak
70 23 Dmitry Chernyak
 NOTE: If you want to place your own partitions on xenvg, you should
71 23 Dmitry Chernyak
then exclude them from ganeti-managed volumes. (SEE [[SETUP]]).
72 23 Dmitry Chernyak
Simplest way is to name your partitions "sytem-*" because this
73 23 Dmitry Chernyak
pattern is excluded in SCI-CD by default.
74 10 Dmitry Chernyak
75 10 Dmitry Chernyak
You may create more partitions or volume groups at your choice.
76 1 Dmitry Chernyak
77 1 Dmitry Chernyak
h3. DNS server's address
78 1 Dmitry Chernyak
79 1 Dmitry Chernyak
The cluster has it's own DNS server, which is also the 'approx' and
80 1 Dmitry Chernyak
'puppet' server. At the [[SETUP]] stage, cluster DNS server can be linked
81 1 Dmitry Chernyak
to other DNS servers in the forwarding mode.
82 1 Dmitry Chernyak
83 23 Dmitry Chernyak
The DNS server's address +must not+ be the address of the existing service.
84 23 Dmitry Chernyak
85 23 Dmitry Chernyak
The cluster's domain name +must not+ be the name of the existing domain if
86 23 Dmitry Chernyak
local domain already exists (use subdomain, or completely different name).
87 23 Dmitry Chernyak
88 23 Dmitry Chernyak
h2. Automatic post-installation changes
89 23 Dmitry Chernyak
90 23 Dmitry Chernyak
During the installation phase, the postinst.sh script from the distro
91 25 Dmitry Chernyak
will apply over 40 system tweaks: [[POST-INSTALL]] 
92 23 Dmitry Chernyak
93 23 Dmitry Chernyak
The CD installation takes about 15 minutes per node.
94 23 Dmitry Chernyak
95 24 Dmitry Chernyak
h2. The cluster is ready to setup
96 23 Dmitry Chernyak
97 1 Dmitry Chernyak
Read [[SETUP]] next.