Проект

Общее

Профиль

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

Dmitry Chernyak, 20.06.2016 21:15

1 1 Dmitry Chernyak
h1. INSTALL
2 1 Dmitry Chernyak
3 1 Dmitry Chernyak
{{toc}}
4 1 Dmitry Chernyak
5 29 Dmitry Chernyak
[[OVERVIEW]] | [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[LICENSE]]
6 29 Dmitry Chernyak
[[ОБЗОР]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]] | [[ЛИЦЕНЗИЯ]]
7 1 Dmitry Chernyak
8 20 Dmitry Chernyak
h2. Get the ISO image
9 4 Владимир Ипатов
10 30 Dmitry Chernyak
Download the distribution disk, ready to install: *"Download ISO-image":https://sci.skycover.ru/projects/sci-cd/documents*
11 30 Dmitry Chernyak
To access it you should "register":https://sci.skycover.ru/account/register
12 1 Dmitry Chernyak
13 30 Dmitry Chernyak
h2. Custom build ISO-image
14 30 Dmitry Chernyak
15 30 Dmitry Chernyak
How to build your own ISO-image described here: [[BUILD-ISO]] (for experienced users, who want to include their own works to the distribution set)
16 1 Dmitry Chernyak
17 21 Dmitry Chernyak
h2. Burn the ISO image
18 5 Владимир Ипатов
19 16 Владимир Ипатов
You burn it with your favorite tool (for ex. - k3b).
20 5 Владимир Ипатов
21 5 Владимир Ипатов
h2. Create bootable USB flash
22 1 Dmitry Chernyak
23 21 Dmitry Chernyak
At present this option is only available when you build the ISO image yourself.
24 21 Dmitry Chernyak
Consult [[BUILD-ISO]].
25 5 Владимир Ипатов
26 1 Dmitry Chernyak
h2. Minimal System Requirements
27 18 Владимир Ипатов
28 18 Владимир Ипатов
In real case you must choose hardware in according to real objectives.
29 18 Владимир Ипатов
For testing purposes minimal system requierements is:
30 22 Dmitry Chernyak
* 1.2 GB RAM
31 18 Владимир Ипатов
* 50GB HDD
32 21 Dmitry Chernyak
* 1Gbit ethernet for DRBD link (if you setup 2 or more nodes)
33 21 Dmitry Chernyak
* Hardware Virtualization support: Intel VT or AMD CPU (if you want to run the Windows instances)
34 18 Владимир Ипатов
35 1 Dmitry Chernyak
h2. Install the system
36 1 Dmitry Chernyak
37 1 Dmitry Chernyak
Install the system on two nodes (you may use only one node, but high
38 1 Dmitry Chernyak
availability capabilities will be unavailable).
39 1 Dmitry Chernyak
40 24 Dmitry Chernyak
The installer will ask you:
41 1 Dmitry Chernyak
42 24 Dmitry Chernyak
* The node's IP-address on the interlink. For ex.: 192.168.2.1(2)
43 24 Dmitry Chernyak
* The network mask. For ex.: 255.255.255.0
44 24 Dmitry Chernyak
* The node's name. For ex.: gnt1(2)
45 24 Dmitry Chernyak
* The domain. For ex.: gnt.yourcompany.com
46 24 Dmitry Chernyak
* The default router's address (DO NOT specify if you use the separate network
47 24 Dmitry Chernyak
card for the interlink!)
48 24 Dmitry Chernyak
* The (new) DNS server's address on the interlink. For ex.: 192.168.1.254
49 24 Dmitry Chernyak
* The root password
50 24 Dmitry Chernyak
* Chose one of predefined disk layouts or layout it manually.
51 24 Dmitry Chernyak
* Specify the disks on which yo want to place grub loader. Chose "md0" if you use
52 24 Dmitry Chernyak
the software RAID for the system partition.
53 24 Dmitry Chernyak
* Specify the additional kernel parameters (but usually you don't).
54 24 Dmitry Chernyak
55 15 Владимир Ипатов
h3. Partitioning
56 15 Владимир Ипатов
57 22 Dmitry Chernyak
During the installation you will be prompted to chose the one of predefined disk layouts
58 22 Dmitry Chernyak
useful for 1-8 disk nodes with or without the hardware RAID.
59 22 Dmitry Chernyak
60 22 Dmitry Chernyak
If you chose the "manual layout" option then you should preserve following partitions on your nodes:
61 1 Dmitry Chernyak
|_.Name|_.Size|_.Purpose|
62 1 Dmitry Chernyak
|/|10G|Root partition for all node's data|
63 1 Dmitry Chernyak
|swap|1G|Swap space for Dom0 in calculation of 512Mb RAM|
64 23 Dmitry Chernyak
|xenvg|the rest or the another device|The LVM Volume, named 'xenvg', without any partitions|
65 1 Dmitry Chernyak
66 3 Владимир Ипатов
The VG "xenvg" will be used as the default place for the instance's volumes.
67 1 Dmitry Chernyak
Also the "system-stuff" volume will be automatically created on xenvg (and mounted as /stuff).
68 1 Dmitry Chernyak
It serves for various big stuff like cdrom images, instance backups etc.
69 1 Dmitry Chernyak
70 1 Dmitry Chernyak
At our own choice you may defer the creation of xenvg during the installation stage and to create it later.
71 1 Dmitry Chernyak
In this case any option with "no LVM" will be useful.
72 22 Dmitry Chernyak
73 23 Dmitry Chernyak
 NOTE: If you want to place your own partitions on xenvg, you should
74 23 Dmitry Chernyak
then exclude them from ganeti-managed volumes. (SEE [[SETUP]]).
75 23 Dmitry Chernyak
Simplest way is to name your partitions "sytem-*" because this
76 23 Dmitry Chernyak
pattern is excluded in SCI-CD by default.
77 10 Dmitry Chernyak
78 10 Dmitry Chernyak
You may create more partitions or volume groups at your choice.
79 1 Dmitry Chernyak
80 1 Dmitry Chernyak
h3. DNS server's address
81 1 Dmitry Chernyak
82 1 Dmitry Chernyak
The cluster has it's own DNS server, which is also the 'approx' and
83 1 Dmitry Chernyak
'puppet' server. At the [[SETUP]] stage, cluster DNS server can be linked
84 1 Dmitry Chernyak
to other DNS servers in the forwarding mode.
85 1 Dmitry Chernyak
86 23 Dmitry Chernyak
The DNS server's address +must not+ be the address of the existing service.
87 23 Dmitry Chernyak
88 23 Dmitry Chernyak
The cluster's domain name +must not+ be the name of the existing domain if
89 23 Dmitry Chernyak
local domain already exists (use subdomain, or completely different name).
90 23 Dmitry Chernyak
91 23 Dmitry Chernyak
h2. Automatic post-installation changes
92 23 Dmitry Chernyak
93 23 Dmitry Chernyak
During the installation phase, the postinst.sh script from the distro
94 25 Dmitry Chernyak
will apply over 40 system tweaks: [[POST-INSTALL]] 
95 23 Dmitry Chernyak
96 23 Dmitry Chernyak
The CD installation takes about 15 minutes per node.
97 23 Dmitry Chernyak
98 24 Dmitry Chernyak
h2. The cluster is ready to setup
99 23 Dmitry Chernyak
100 1 Dmitry Chernyak
Read [[SETUP]] next.