@@ -143,7 +143,7 @@ chef. eDeploy only aims at providing a bootable operating system with
143
143
all the required packages installed and the low-level setup done.
144
144
145
145
Once the configuration of the server is done, eDeploy will extract on
146
- its local disk an operating system, defined by the matching role, downloaded from an image server by using RSYNC or HTTP connexion.
146
+ its local disk an operating system, defined by the matching role, downloaded from an image server by using RSYNC or HTTP connexion.
147
147
148
148
.. image :: images/image02.jpg
149
149
:scale: 125%
@@ -725,12 +725,16 @@ To get an USB bootable setup, you need :
725
725
to 'Defining the boot configuration' for complete description) shall
726
726
be defined at build time while PXE booting can do it dynamically
727
727
728
- - If a DHCP server exists you can get an automatic network address used
728
+ - If a DHCP server exists you can get an automatic network address used
729
729
during the deployment only
730
730
731
731
- If no DHCP server exists, use the IP= command to put a static address
732
732
to one of your interface to contact the edeploy server like :
733
- IP=eth0:192.168.1.254/24,other=none
733
+ IP=eth0:192.168.1.254/24,other:none
734
+
735
+ - It's also possible to ask to bind an interface to a specific vlan adding the
736
+ '@' character followed by the VLAN id:
737
+ IP=eth0:192.168.1.254/24@101,other:none
734
738
735
739
The USB bootstrap is built by using the 'img' role available in eDeploy.
736
740
All required parameters shall be provided during the built process. A
@@ -751,7 +755,7 @@ If no PXE boot is available on the infrastructure, it is possible to use
751
755
an USB based solution to start the eDeploy deployment tool on the server
752
756
to be installed.
753
757
754
- **Note **: This solution is not scalable and could be difficult to setup.
758
+ **Note **: This solution is not scalable and could be difficult to setup.
755
759
If multiple hosts shall be deploied, a single USB key shall be used
756
760
generating a sequential deploiement (1 server at a time).
757
761
@@ -1043,7 +1047,7 @@ It is mandatory that `/var/lib/debootstrap/install` directory is
1043
1047
available over an HTTP access so eDeploy client can retrieve the images.
1044
1048
Operating system images shall be available via
1045
1049
http://HSERV:HPORT/install url.
1046
-
1050
+
1047
1051
Creating Hardware profiles and assign them to roles
1048
1052
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1049
1053
@@ -1064,7 +1068,7 @@ ma tch all the rules written in this file. The default 'vm-debian.spec'
1064
1068
file looks like this :
1065
1069
1066
1070
.. code :: bash
1067
-
1071
+
1068
1072
[
1069
1073
(' disk' , ' $disk' , ' size' , ' gt(4)' ),
1070
1074
(' network' , ' $eth' , ' ipv4' , ' network(192.168.122.0/24)' ),
@@ -1312,18 +1316,18 @@ They respect the same filesystem as the operating system. (ie.
1312
1316
Installation scenario:
1313
1317
1314
1318
1. Server sends hw.py to eDeploy and get back a configure script
1315
-
1319
+
1316
1320
2. Server runs the configure script
1317
1321
1318
1322
- create partition table
1319
1323
- create filesystem
1320
1324
- create `/post_rysnc/{etc/sysconfig/network,boot/grub,etc/fstab} `
1321
-
1325
+
1322
1326
3. Server syncs with eDeploy to retrieve the OS tree that matches its
1323
1327
role
1324
1328
1325
1329
4. `/post_rsync ` files overwrite the OS tree configuration files
1326
-
1330
+
1327
1331
5. Bootloader is reinstalled
1328
1332
1329
1333
6. Server is rebooted
@@ -1556,7 +1560,7 @@ All the other variables, ip,netmask,gateway were only described in the
1556
1560
CMDB and were assigned by the eDeploy server at the hardware matching
1557
1561
time.
1558
1562
1559
-
1563
+
1560
1564
Setup the state file
1561
1565
~~~~~~~~~~~~~~~~~~~~
1562
1566
@@ -1566,7 +1570,7 @@ and the number of time it will provision them.
1566
1570
The file itself is an array of tuple. Each tuple represent the profile
1567
1571
eDeploy can provision and the number of time it is allowed to provision
1568
1572
it.
1569
-
1573
+
1570
1574
For example ('vm-debian', '3') means eDeploy can provision three VMs
1571
1575
with the profile 'vm-debian'. Another example would be ('vm-centos',
1572
1576
'*'). which means eDeploy can provision an unlimited number of VMs with
@@ -1960,7 +1964,7 @@ this
1960
1964
administrator needs to make sure that running application won't break
1961
1965
(incompatibility, etc…) when a server is downgraded. This is not eDeploy
1962
1966
responsibility to take care of that sort of issues
1963
-
1967
+
1964
1968
Developing on eDeploy
1965
1969
=====================
1966
1970
@@ -2123,7 +2127,7 @@ slot Raw disk slot's id ('disk', '1I:1:1', 'slot', '
2123
2127
disk Detect disks Sample output
2124
2128
size Size of the disk ('disk', 'sda', 'size', '899') Medium
2125
2129
vendor Vendor of the disk ('disk', 'sda', 'vendor', 'HP') Medium
2126
- model Model of the disk ('disk', 'sda', 'model', 'LOGICAL VOLUME') High
2130
+ model Model of the disk ('disk', 'sda', 'model', 'LOGICAL VOLUME') High
2127
2131
rev Firmware revision of the disk ('disk', 'sda', 'rev', '3.42') Medium
2128
2132
WCE Write Cache Enabled ('disk', 'sda', 'WCE', '1') Low
2129
2133
RCD Read Cache Disabled ('disk', 'sda', 'RCD, '1') Low
@@ -2147,10 +2151,10 @@ vendor Vendor name ('system', 'product', 'vendor', 'HP')
2147
2151
\* : if provided by the hardware manufacturer
2148
2152
2149
2153
========== ================================ ======================================= ==============
2150
- ipmi Detect IPMI interfaces Sample output Discrim. Level
2154
+ ipmi Detect IPMI interfaces Sample output Discrim. Level
2151
2155
========== ================================ ======================================= ==============
2152
- ipmi The IPMI channel number ('system', 'ipmi', 'channel', 2) Low
2153
- ipmi-fake Fake IPMI interface for testing ('system', 'ipmi-fake', 'channel', '0') Low
2156
+ ipmi The IPMI channel number ('system', 'ipmi', 'channel', 2) Low
2157
+ ipmi-fake Fake IPMI interface for testing ('system', 'ipmi-fake', 'channel', '0') Low
2154
2158
========== ================================ ======================================= ==============
2155
2159
2156
2160
Firmware
@@ -2161,7 +2165,7 @@ host. These information are not always provided by the hardware
2161
2165
manufacturer.
2162
2166
2163
2167
========= ========================= =================================================== ===============
2164
- bios Detect BIOS informations Sample output Discrim. Level
2168
+ bios Detect BIOS informations Sample output Discrim. Level
2165
2169
========= ========================= =================================================== ===============
2166
2170
version Version of the BIOS ('firmware', 'bios', 'version', 'G1ET73WW (2.09 )') Medium
2167
2171
date Date of the BIOS release ('firmware', 'bios', 'date', '10/19/2012') Medium
@@ -2174,12 +2178,12 @@ Network
2174
2178
================ ================================== ========================================================================= ===========
2175
2179
network NIC informations sample output Discrim. Level
2176
2180
================ ================================== ========================================================================= ===========
2177
- serial Mac address ('network', 'eth0', 'serial', 'd8:9d:67:1b:07:e4') Unique
2178
- vendor NIC's vendor ('network', 'eth0', 'vendor', 'Broadcom Corporation') Low
2181
+ serial Mac address ('network', 'eth0', 'serial', 'd8:9d:67:1b:07:e4') Unique
2182
+ vendor NIC's vendor ('network', 'eth0', 'vendor', 'Broadcom Corporation') Low
2179
2183
product NIC's description ('network', 'eth0', 'product', 'NetXtreme BCM5719 Gigabit Ethernet PCIe') Medium
2180
2184
size Link capability in bits/sec ('network', 'eth0', 'size', '1000000000') Low
2181
2185
ipv4 IPv4 address ('network', 'eth0', 'ipv4', '10.66.6.136') High
2182
- ipv4-netmask IPv4 netmask ('network', 'eth0', 'ipv4-netmask', '255.255.255.0') Low
2186
+ ipv4-netmask IPv4 netmask ('network', 'eth0', 'ipv4-netmask', '255.255.255.0') Low
2183
2187
ipv4-cidr IPv4 cidr ('network', 'eth0', 'ipv4-cidr', '24') Low
2184
2188
ipv4-network IPv4 network address ('network', 'eth0', 'ipv4-network', '10.66.6.0') Medium
2185
2189
link Physical Link Status ('network', 'eth0', 'link', 'yes') Medium
@@ -2204,7 +2208,7 @@ cores CPU's number of cores ('cpu', 'physical_0', 'cores',
2204
2208
enabled_cores CPU's number of enabled cores ('cpu', 'physical_0',' enabled_cores', '2') Medium
2205
2209
threads CPU's number of threads ('cpu', 'physical_0', 'threads', '4') Medium
2206
2210
product CPU's identification string ('cpu', 'physical_0', 'product', 'Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz') High
2207
- vendor CPU's vendor ('cpu', 'physical_0', 'vendor', 'Intel Corp.') Low
2211
+ vendor CPU's vendor ('cpu', 'physical_0', 'vendor', 'Intel Corp.') Low
2208
2212
frequency CPU's internal frequency in Hz ('cpu', 'physical_0', 'frequency', '1200000000') Low
2209
2213
clock CPU's clock in Hz ('cpu', 'physical_0', 'clock', '100000000') Low
2210
2214
============== =============================== ============================================================================= ==============
@@ -2231,11 +2235,11 @@ memory Detect Memory informations Sample output
2231
2235
=========== ========================================= ======================================================================================== ==============
2232
2236
total Amount of memory on the host (in Bytes) ('memory', 'total', 'size', '17179869184') High
2233
2237
size Bank size (in Bytes) ('memory', 'bank:0', 'size', '4294967296') Medium
2234
- clock Memory clock speed (in Hz) ('memory', 'bank:0', 'clock', '667000000') Low
2238
+ clock Memory clock speed (in Hz) ('memory', 'bank:0', 'clock', '667000000') Low
2235
2239
description Memory's description ('memory', 'bank:0', 'description', 'FB-DIMM DDR2 FB-DIMM Synchronous 667 MHz (1.5 ns)') Medium
2236
2240
vendor Memory's vendor ('memory', 'bank:0', 'vendor', 'Nanya Technology') Medium
2237
2241
serial Memory's serial number ('memory', 'bank:0', 'serial', 'C7590943') Unique\*
2238
- slot Physical Slot of this Bank ('memory', 'bank:0', 'slot', 'DIMM1') High
2242
+ slot Physical Slot of this Bank ('memory', 'bank:0', 'slot', 'DIMM1') High
2239
2243
banks Number of memory banks ('memory', 'banks', 'count', 8) Medium
2240
2244
=========== ========================================= ======================================================================================== ==============
2241
2245
@@ -2248,7 +2252,7 @@ Per card
2248
2252
^^^^^^^^
2249
2253
2250
2254
============ ============================== =========================================================== =========================
2251
- infiniband Detect Infiniband informations sample output Discrim. Level
2255
+ infiniband Detect Infiniband informations sample output Discrim. Level
2252
2256
============ ============================== =========================================================== =========================
2253
2257
card_type IB card's type ('infiniband', 'card0', 'card_type', 'mlx4_0') Medium
2254
2258
device_type IB card's device type ('infiniband', 'card0', 'device_type', 'MT4099') Medium
@@ -2263,13 +2267,13 @@ Per port
2263
2267
^^^^^^^^
2264
2268
2265
2269
=============== ============================== ================================================================== ===============
2266
- infiniband Detect Infiniband informations sample output Discrim. Level
2270
+ infiniband Detect Infiniband informations sample output Discrim. Level
2267
2271
=============== ============================== ================================================================== ===============
2268
2272
state Interface state ('infiniband', 'card0_port1', 'state', 'Down') High
2269
2273
physical_state Physical state of the link ('infiniband', 'card0_port1', 'physical_state', 'Down') High
2270
2274
rate Speed in Gbit/sec ('infiniband', 'card0_port1', 'rate', '40') High
2271
- base_lid ('infiniband', 'card0_port1', 'base_lid', '0' Low
2272
- lmc ('infiniband', 'card0_port1', 'lmc', '0') Low
2273
- sm_lid ('infiniband', 'card0_port1', 'sm_lid', '0') Low
2275
+ base_lid ('infiniband', 'card0_port1', 'base_lid', '0' Low
2276
+ lmc ('infiniband', 'card0_port1', 'lmc', '0') Low
2277
+ sm_lid ('infiniband', 'card0_port1', 'sm_lid', '0') Low
2274
2278
port_guid ('infiniband', 'card0_port1', 'port_guid', '0x0002c90300ea7181') Unique
2275
2279
=============== ============================== ================================================================== ===============
0 commit comments