Проект

Общее

Профиль

SETUP for versions 23 and earlier » История » Версия 1

Dmitry Chernyak, 15.12.2016 23:06

1 1 Dmitry Chernyak
h1. SETUP for versions 23 and earlier
2 1 Dmitry Chernyak
3 1 Dmitry Chernyak
{{toc}}
4 1 Dmitry Chernyak
5 1 Dmitry Chernyak
[[OVERVIEW]] | [[INSTALL]] | [[SETUP]] | [[OPERATIONS]] | [[LICENSE]]
6 1 Dmitry Chernyak
[[ОБЗОР]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]] | [[ЛИЦЕНЗИЯ]]
7 1 Dmitry Chernyak
8 1 Dmitry Chernyak
h2. Get the ISO image
9 1 Dmitry Chernyak
10 1 Dmitry Chernyak
Download the distribution disk, ready to install: *"Download ISO-image":https://sci.skycover.ru/projects/sci-cd/documents*
11 1 Dmitry Chernyak
To access it you should "register":https://sci.skycover.ru/account/register
12 1 Dmitry Chernyak
13 1 Dmitry Chernyak
h2. Custom build ISO-image
14 1 Dmitry Chernyak
15 1 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 1 Dmitry Chernyak
h2. Burn the ISO image
18 1 Dmitry Chernyak
19 1 Dmitry Chernyak
You burn it with your favorite tool (for ex. - k3b).
20 1 Dmitry Chernyak
21 1 Dmitry Chernyak
h2. Create bootable USB flash
22 1 Dmitry Chernyak
23 1 Dmitry Chernyak
At present this option is only available when you build the ISO image yourself.
24 1 Dmitry Chernyak
Consult [[BUILD-ISO]].
25 1 Dmitry Chernyak
26 1 Dmitry Chernyak
h2. Minimal System Requirements
27 1 Dmitry Chernyak
28 1 Dmitry Chernyak
In real case you must choose hardware in according to real objectives.
29 1 Dmitry Chernyak
For testing purposes minimal system requierements is:
30 1 Dmitry Chernyak
* 1.2 GB RAM
31 1 Dmitry Chernyak
* 50GB HDD
32 1 Dmitry Chernyak
* 1Gbit ethernet for DRBD link (if you setup 2 or more nodes)
33 1 Dmitry Chernyak
* Hardware Virtualization support: Intel VT or AMD CPU (if you want to run the Windows instances)
34 1 Dmitry Chernyak
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 1 Dmitry Chernyak
The installer will ask you:
41 1 Dmitry Chernyak
42 1 Dmitry Chernyak
* The node's IP-address on the interlink. For ex.: 192.168.2.1(2)
43 1 Dmitry Chernyak
* The network mask. For ex.: 255.255.255.0
44 1 Dmitry Chernyak
* The node's name. For ex.: gnt1(2)
45 1 Dmitry Chernyak
* The domain. For ex.: gnt.yourcompany.com
46 1 Dmitry Chernyak
* The default router's address (DO NOT specify if you use the separate network
47 1 Dmitry Chernyak
card for the interlink!)
48 1 Dmitry Chernyak
* The (new) DNS server's address on the interlink. For ex.: 192.168.1.254
49 1 Dmitry Chernyak
* The root password
50 1 Dmitry Chernyak
* Chose one of predefined disk layouts or layout it manually.
51 1 Dmitry Chernyak
* Specify the disks on which yo want to place grub loader. Chose "md0" if you use
52 1 Dmitry Chernyak
the software RAID for the system partition.
53 1 Dmitry Chernyak
* Specify the additional kernel parameters (but usually you don't).
54 1 Dmitry Chernyak
55 1 Dmitry Chernyak
h3. Partitioning
56 1 Dmitry Chernyak
57 1 Dmitry Chernyak
During the installation you will be prompted to chose the one of predefined disk layouts
58 1 Dmitry Chernyak
useful for 1-8 disk nodes with or without the hardware RAID.
59 1 Dmitry Chernyak
60 1 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 1 Dmitry Chernyak
|xenvg|the rest or the another device|The LVM Volume, named 'xenvg', without any partitions|
65 1 Dmitry Chernyak
66 1 Dmitry Chernyak
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 1 Dmitry Chernyak
73 1 Dmitry Chernyak
 NOTE: If you want to place your own partitions on xenvg, you should
74 1 Dmitry Chernyak
then exclude them from ganeti-managed volumes. (SEE [[SETUP]]).
75 1 Dmitry Chernyak
Simplest way is to name your partitions "sytem-*" because this
76 1 Dmitry Chernyak
pattern is excluded in SCI-CD by default.
77 1 Dmitry Chernyak
78 1 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 1 Dmitry Chernyak
The DNS server's address +must not+ be the address of the existing service.
87 1 Dmitry Chernyak
88 1 Dmitry Chernyak
The cluster's domain name +must not+ be the name of the existing domain if
89 1 Dmitry Chernyak
local domain already exists (use subdomain, or completely different name).
90 1 Dmitry Chernyak
91 1 Dmitry Chernyak
h2. Automatic post-installation changes
92 1 Dmitry Chernyak
93 1 Dmitry Chernyak
During the installation phase, the postinst.sh script from the distro
94 1 Dmitry Chernyak
will apply over 40 system tweaks: [[POST-INSTALL]] 
95 1 Dmitry Chernyak
96 1 Dmitry Chernyak
The CD installation takes about 15 minutes per node.
97 1 Dmitry Chernyak
98 1 Dmitry Chernyak
h2. The cluster is ready to setup
99 1 Dmitry Chernyak
100 1 Dmitry Chernyak
Read [[SETUP]] next.