diff options
Diffstat (limited to 'book-enea-nfv-core-installation-guide/doc/installation_instructions.xml')
-rw-r--r-- | book-enea-nfv-core-installation-guide/doc/installation_instructions.xml | 731 |
1 files changed, 416 insertions, 315 deletions
diff --git a/book-enea-nfv-core-installation-guide/doc/installation_instructions.xml b/book-enea-nfv-core-installation-guide/doc/installation_instructions.xml index 0e539de..8fe5e89 100644 --- a/book-enea-nfv-core-installation-guide/doc/installation_instructions.xml +++ b/book-enea-nfv-core-installation-guide/doc/installation_instructions.xml | |||
@@ -4,72 +4,47 @@ | |||
4 | <chapter id="install_instructions"> | 4 | <chapter id="install_instructions"> |
5 | <title>Installation Instructions</title> | 5 | <title>Installation Instructions</title> |
6 | 6 | ||
7 | <para>ENEA NFV Core 1.0 leverages the work in the OPNFV Project, delivering | 7 | <para>Enea NFV Core 1.0 leverages the work in the OPNFV Project, delivering |
8 | selected Installer DVD images together with instructions on how to setup the | 8 | selected Installer DVD images together with instructions on how to setup the |
9 | Installers and deploy OPNFV releases on a Pharos compliant test lab. These | 9 | Installers and deploy OPNFV releases on a Pharos compliant test lab.</para> |
10 | images can be accessed on the OPNFV Downloads page.</para> | ||
11 | 10 | ||
12 | <para>ENEA NFV Core uses the Fuel@OPNFV Installer as a deployment facility, | 11 | <para>Enea NFV Core uses the Fuel@OPNFV Installer as a deployment facility, |
13 | hereafter referred to as <emphasis role="bold">Fuel</emphasis>. Fuel is an | 12 | hereafter referred to as <emphasis role="bold">Fuel</emphasis>. Fuel is an |
14 | automated deployment tool capable of automatically provisioning and | 13 | automated deployment tool capable of automatically provisioning and |
15 | deploying OpenStack on a cluster of servers. ENEA NFV Core 1.0 is based on | 14 | deploying OpenStack on a cluster of servers.</para> |
16 | the OPNFV release <emphasis role="bold">Danube</emphasis>, which is also | ||
17 | available for aarch64 servers through the OPNFV Armband project that is | ||
18 | driven by ENEA, which also uses the Fuel Installer. The Armband project is | ||
19 | out of the scope of this document but there are information available online | ||
20 | on the OPNFV wiki. The OPNFV download page provides general instructions for | ||
21 | building and installing the Fuel Installer iso and also on how to deploy | ||
22 | OPNFV Danube using Fuel on a Pharos compliant test lab . Through the | ||
23 | remainder of this document there will be references to this Installation | ||
24 | Guide, sometimes referred simply as ”the guide” or ”the | ||
25 | installation guide” or the ”Fuel Installation Guide”. The | ||
26 | next sections of this chapter will explain in detail the procedure for | ||
27 | configuring and installing the Fuel Master followed by configuration and | ||
28 | deployment of the ENEA NFV Core 1.0 on the test lab.</para> | ||
29 | 15 | ||
30 | <note> | 16 | <para>Enea NFV Core 1.0 is based on the OPNFV <emphasis role="bold">Danube |
31 | <para>Covering chapters 1-6 of the Fuel Installation Guide is not | 17 | </emphasis>release, available for aarch64 servers through the OPNFV Armband |
32 | mandatory but useful for better understanding the hardware requirements | 18 | project that is driven by Enea, which also uses the Fuel Installer. The |
33 | and how the deployment process works. Also note that since and ISO is | 19 | Armband project is out of the scope of this document but information is |
34 | provided, it is not necessary to build an ISO image from scratch.</para> | 20 | available online on the OPNFV wiki.</para> |
35 | </note> | 21 | |
22 | <para>The OPNFV download page provides general instructions for building and | ||
23 | installing the Fuel Installer .iso and also on how to deploy OPNFV Danube | ||
24 | using Fuel on a Pharos compliant test lab.</para> | ||
36 | 25 | ||
37 | <note> | 26 | <note> |
38 | <para>the following sections will refer to a specific sub-chapter in the | 27 | <para>Covering chapters 1-6 of the Fuel Installation Guide is useful for |
39 | installation guide, which is indicated at the end of the title in round | 28 | better understanding the hardware requirements and how the deployment |
40 | parenthesis. Chapter of the installation guide which are not mentioned can | 29 | process works. Since an ISO image is provided however, it is not necessary |
41 | be safely skipped.</para> | 30 | to build one from scratch.</para> |
42 | </note> | 31 | </note> |
43 | 32 | ||
44 | <para>Before starting the installation of this release of ENFV Core, certain | 33 | <para>Before starting the installation of this release of Enea NFV Core, |
45 | preparations must be done to ensure optimal performance.</para> | 34 | certain preparations must be done to ensure optimal performance.</para> |
46 | 35 | ||
47 | <section id="retrieve-ISO-image"> | 36 | <section id="retrieve-ISO-image"> |
48 | <title>Retrieving the ISO image</title> | 37 | <title>The ISO image</title> |
49 | 38 | ||
50 | <para>First, the Fuel deployment ISO image needs to be retrieved. The .iso | 39 | <para>ENEA provides the ISO image that is to be used, removing the need |
51 | image download link for this release can be found in <ulink | 40 | for any downloads or building from the ground up.</para> |
52 | url="https://www.opnfv.org/software/download">OPNFV documentation and | ||
53 | software downloads </ulink></para> | ||
54 | |||
55 | <remark>Update this url link as appropriate</remark> | ||
56 | |||
57 | <para>This refers to chapter 3.1 in the installation guide. In this case | ||
58 | the ENEA provided ISO image is to be used, which should have been made | ||
59 | available.</para> | ||
60 | </section> | 41 | </section> |
61 | 42 | ||
62 | <section id="other-preparations"> | 43 | <section id="other-preparations"> |
63 | <title>Other Preparations</title> | 44 | <title>Other Preparations</title> |
64 | 45 | ||
65 | <para>Chapter 3.3 of the installation guide provides link to further | 46 | <para>Reading the following documents aides in familiarizing yourself with |
66 | documentation which is useful but not mandatory.</para> | 47 | Fuel:</para> |
67 | |||
68 | <para>Next, familiarize yourself with Fuel by reading the following | ||
69 | documents:</para> | ||
70 | |||
71 | <remark>Should any of these 4 documents be included/referenced as part of | ||
72 | our guide or should we include something else ?</remark> | ||
73 | 48 | ||
74 | <itemizedlist> | 49 | <itemizedlist> |
75 | <listitem> | 50 | <listitem> |
@@ -98,7 +73,7 @@ | |||
98 | </itemizedlist> | 73 | </itemizedlist> |
99 | 74 | ||
100 | <para>Prior to installation, a number of deployment specific parameters | 75 | <para>Prior to installation, a number of deployment specific parameters |
101 | must be collected, such as:</para> | 76 | must be collected:</para> |
102 | 77 | ||
103 | <remark>Change the following parameters as appropriate</remark> | 78 | <remark>Change the following parameters as appropriate</remark> |
104 | 79 | ||
@@ -138,7 +113,7 @@ | |||
138 | links above.</para> | 113 | links above.</para> |
139 | 114 | ||
140 | <para>This information will be needed for the configuration procedures | 115 | <para>This information will be needed for the configuration procedures |
141 | provided in this document.</para> | 116 | that follow.</para> |
142 | </listitem> | 117 | </listitem> |
143 | </itemizedlist> | 118 | </itemizedlist> |
144 | </section> | 119 | </section> |
@@ -147,7 +122,7 @@ | |||
147 | <title>Hardware Requirements</title> | 122 | <title>Hardware Requirements</title> |
148 | 123 | ||
149 | <para>The following minimum hardware requirements must be met for the | 124 | <para>The following minimum hardware requirements must be met for the |
150 | installation of ENFV Core using Fuel, to be successful:</para> | 125 | installation of Enea NFV Core using Fuel, to be successful:</para> |
151 | 126 | ||
152 | <informaltable> | 127 | <informaltable> |
153 | <tgroup cols="2"> | 128 | <tgroup cols="2"> |
@@ -163,84 +138,67 @@ | |||
163 | <row> | 138 | <row> |
164 | <entry align="left">Nr. of nodes</entry> | 139 | <entry align="left">Nr. of nodes</entry> |
165 | 140 | ||
166 | <entry>Minimum 6 (3 for non-redundant deployment):<itemizedlist> | 141 | <entry>6 physical nodes:<itemizedlist> |
167 | <listitem> | 142 | <listitem> |
168 | <para>1 Fuel deployment master (may be virtualized)</para> | 143 | <para>1 x Fuel deployment master (which was virtualized), |
144 | x86 based</para> | ||
169 | </listitem> | 145 | </listitem> |
170 | 146 | ||
171 | <listitem> | 147 | <listitem> |
172 | <para>3 Controllers (1 co-located mongo/ceilometer role, 2 | 148 | <para>3x Cavium ThunderX 1U 48 cores <ulink |
173 | Ceph-OSD roles)</para> | 149 | url="https://www.avantek.co.uk/arm-server-r120-t30/">R120-T30</ulink> |
150 | as Controller nodes (for an HA configuration: 1 collocated | ||
151 | mongo/ceilometer role, 1 Ceph-OSD role, 1 Vitrage Controller | ||
152 | role)</para> | ||
174 | </listitem> | 153 | </listitem> |
175 | 154 | ||
176 | <listitem> | 155 | <listitem> |
177 | <para>1 Compute (1 co-located Ceph-OSD role)</para> | 156 | <para>2x Cavium ThunderX 2U 96 cores <ulink |
157 | url="https://www.avantek.co.uk/arm-server-r270-t60/">R270-T60</ulink> | ||
158 | as Compute nodes (with collocated Ceph-OSD roles)</para> | ||
178 | </listitem> | 159 | </listitem> |
179 | </itemizedlist></entry> | 160 | </itemizedlist></entry> |
180 | </row> | 161 | </row> |
181 | 162 | ||
182 | <row> | 163 | <row> |
183 | <entry>CPU</entry> | ||
184 | |||
185 | <entry>Minimum 1 socket x86_AMD64 with Virtualization | ||
186 | support</entry> | ||
187 | </row> | ||
188 | |||
189 | <row> | ||
190 | <entry>RAM</entry> | 164 | <entry>RAM</entry> |
191 | 165 | ||
192 | <entry>Minimum 16GB/server (depending on VNF work load)</entry> | 166 | <entry>128 GB on the Controller nodes, 256 GB on the Compute |
167 | nodes</entry> | ||
193 | </row> | 168 | </row> |
194 | 169 | ||
195 | <row> | 170 | <row> |
196 | <entry>Disk</entry> | 171 | <entry>Disk</entry> |
197 | 172 | ||
198 | <entry>Minimum 256GB 10kRPM spinning disks</entry> | 173 | <entry>1 x 120GB SSD and 1 x 2TB SATA 5400 rpm</entry> |
199 | </row> | 174 | </row> |
200 | 175 | ||
201 | <row> | 176 | <row> |
202 | <entry>Networks</entry> | 177 | <entry>Networks</entry> |
203 | 178 | ||
204 | <entry><itemizedlist> | 179 | <entry><para>Apart from the integrated NICs, one Intel ® |
205 | <listitem> | 180 | 82574L PCIe card was also installed, to be used by Fuel Admin on |
206 | <para>4 Tagged VLANs (PUBLIC, MGMT, STORAGE, PRIVATE)</para> | 181 | each server.</para></entry> |
207 | </listitem> | ||
208 | |||
209 | <listitem> | ||
210 | <para>1 Un-Tagged VLAN for PXE Boot - ADMIN Network</para> | ||
211 | </listitem> | ||
212 | </itemizedlist><para>Note: These can be allocated to a single | ||
213 | NIC - or spread out over multiple NICs as supported by your | ||
214 | hardware.</para></entry> | ||
215 | </row> | 182 | </row> |
216 | </tbody> | 183 | </tbody> |
217 | </tgroup> | 184 | </tgroup> |
218 | </informaltable> | 185 | </informaltable> |
219 | |||
220 | <para>6 physical nodes 1 x Fuel deployment master (which was virtualized), | ||
221 | x86 based 3 x Cavium ThunderX 1U 48 cores R120-T30 | ||
222 | (https://www.avantek.co.uk/arm-server-r120-t30/) as Controller nodes (for | ||
223 | an HA configuration, 1 collocated mongo/ceilometer role, 1 Ceph-OSD role, | ||
224 | 1 Vitrage Controller role) 2 x Cavium ThunderX 2U 96 cores R270-T60 | ||
225 | (https://www.avantek.co.uk/arm-server-r270-t60/) as Compute nodes (with | ||
226 | collocated Ceph-OSD roles) RAM – 128 GB on the Controller nodes, 256 | ||
227 | GB on the Compute nodes Disk – 1 x 120GB SSD and 1 x 2TB SATA 5400 | ||
228 | rpm Networks – Appart from the integrated NICs also installed was | ||
229 | one Intel ® 82574L PCIe card used for Fuel Admin on each server</para> | ||
230 | </section> | 186 | </section> |
231 | 187 | ||
232 | <section id="install_fuel_master"> | 188 | <section id="install_fuel_master"> |
233 | <title>Install Fuel Master</title> | 189 | <title>Installing Fuel Master</title> |
190 | |||
191 | <para>This section describes the installation of the Enea NFV Core | ||
192 | installation server (Fuel Master) as well as the deployment of the full | ||
193 | ENFV Core reference platform stack across a server cluster.</para> | ||
234 | 194 | ||
235 | <para>This section describes the installation of the ENFV Core | 195 | <para>It is recommended to install the Fuel Master on a VM using |
236 | installation server (Fuel master) as well as the deployment of the full | 196 | virt-manager, with a minimum of 8GB of RAM, 4 CPUs and at least 100GB |
237 | ENFV Core reference platform stack across a server cluster. It is | 197 | disk.</para> |
238 | recommended to install the Fuel Master on a VM using virt-manager with a | ||
239 | minimum of 8GB of RAM, 4 CPUs and at least 100GB disk.</para> | ||
240 | 198 | ||
241 | <orderedlist> | 199 | <orderedlist> |
242 | <listitem> | 200 | <listitem> |
243 | <para>Mount the ENEA NFV Core 1.0 ISO file/media as a boot device to | 201 | <para>Mount the Enea NFV Core 1.0 ISO file/media as a boot device to |
244 | the Fuel Master VM.</para> | 202 | the Fuel Master VM.</para> |
245 | </listitem> | 203 | </listitem> |
246 | 204 | ||
@@ -253,8 +211,8 @@ | |||
253 | </listitem> | 211 | </listitem> |
254 | 212 | ||
255 | <listitem> | 213 | <listitem> |
256 | <para>Select <literal>Fuel Install (Static IP)</literal> (See | 214 | <para>Select <literal>Fuel Install (Static IP)</literal> as shown |
257 | figure below)</para> | 215 | in the figure below.</para> |
258 | </listitem> | 216 | </listitem> |
259 | 217 | ||
260 | <listitem> | 218 | <listitem> |
@@ -278,20 +236,19 @@ | |||
278 | 236 | ||
279 | <listitem> | 237 | <listitem> |
280 | <para>In the <literal>Fuel User</literal> section, confirm/change the | 238 | <para>In the <literal>Fuel User</literal> section, confirm/change the |
281 | default password (see figure below).</para> | 239 | default password</para> |
282 | 240 | ||
283 | <itemizedlist> | 241 | <itemizedlist> |
284 | <listitem> | 242 | <listitem> |
285 | <para>Enter ”admin” in the Fuel password input</para> | 243 | <para>Enter "admin" in the Fuel password input</para> |
286 | </listitem> | 244 | </listitem> |
287 | 245 | ||
288 | <listitem> | 246 | <listitem> |
289 | <para>Enter ”admin” in the Confirm password | 247 | <para>Enter "admin" in the Confirm password input</para> |
290 | input</para> | ||
291 | </listitem> | 248 | </listitem> |
292 | 249 | ||
293 | <listitem> | 250 | <listitem> |
294 | <para>Select ”Check” and press [Enter]</para> | 251 | <para>Select "Check" and press [Enter]</para> |
295 | </listitem> | 252 | </listitem> |
296 | </itemizedlist> | 253 | </itemizedlist> |
297 | 254 | ||
@@ -304,17 +261,16 @@ | |||
304 | </listitem> | 261 | </listitem> |
305 | 262 | ||
306 | <listitem> | 263 | <listitem> |
307 | <para>In the ”Network Setup” section, configure | 264 | <para>In the <literal>Network Setup</literal> section, configure |
308 | DHCP/Static IP information for your FUEL node.</para> | 265 | DHCP/Static IP information for your FUEL node. E.g.: ETH0 is |
309 | 266 | 10.20.0.2/24 for FUEL booting and ETH1 is DHCP in your corporate/lab | |
310 | <para>E.g.: ETH0 is 10.20.0.2/24 for FUEL booting and ETH1 is DHCP in | 267 | network, as shown below.</para> |
311 | your corporate/lab network (see figure below) .</para> | ||
312 | 268 | ||
313 | <itemizedlist> | 269 | <itemizedlist> |
314 | <listitem> | 270 | <listitem> |
315 | <para>Configure eth1 here, it should be the interface to the | 271 | <para>Configure ETH1, the interface to the outside world. In this |
316 | outside world. In this example ETH1 is configured with | 272 | example ETH1 is configured with 10.0.6.10/24 and the default |
317 | 10.0.6.10/24 and the default gateway is 10.0.6.254</para> | 273 | gateway is 10.0.6.254.</para> |
318 | </listitem> | 274 | </listitem> |
319 | </itemizedlist> | 275 | </itemizedlist> |
320 | 276 | ||
@@ -332,31 +288,43 @@ | |||
332 | </listitem> | 288 | </listitem> |
333 | 289 | ||
334 | <listitem> | 290 | <listitem> |
335 | <para>In the PXE setup menu, the default values can be left | 291 | <para>In the <literal>Security Setup</literal> menu, restrict the |
336 | unchanged.</para> | 292 | <literal>ssh</literal> access on the network:</para> |
293 | |||
294 | <mediaobject> | ||
295 | <imageobject> | ||
296 | <imagedata contentwidth="600" fileref="images/extra.svg" /> | ||
297 | </imageobject> | ||
298 | </mediaobject> | ||
299 | </listitem> | ||
300 | |||
301 | <listitem> | ||
302 | <para>In the <literal>PXE setup</literal> menu, the default values can | ||
303 | be left unchanged.</para> | ||
337 | </listitem> | 304 | </listitem> |
338 | 305 | ||
339 | <listitem> | 306 | <listitem> |
340 | <para>In the <literal>DNS & Hostname</literal> section the | 307 | <para>In the <literal>DNS & Hostname</literal> section the |
341 | recommended values are as presented in the figure below:</para> | 308 | recommended values are as such:</para> |
342 | 309 | ||
343 | <mediaobject> | 310 | <mediaobject> |
344 | <imageobject> | 311 | <imageobject> |
345 | <imagedata contentwidth="600" fileref="images/DNS_Hostname.svg" /> | 312 | <imagedata contentwidth="600" fileref="images/dns.svg" /> |
346 | </imageobject> | 313 | </imageobject> |
347 | </mediaobject> | 314 | </mediaobject> |
348 | </listitem> | 315 | </listitem> |
349 | 316 | ||
350 | <listitem> | 317 | <listitem> |
351 | <para>The Bootstrap Image section should be skipped, the ISO will be | 318 | <para>The <literal>Bootstrap Image</literal> section should be |
352 | configured in advance to use the proper repositories.</para> | 319 | skipped, the ISO will be configured in advance to use the proper |
320 | repositories.</para> | ||
353 | </listitem> | 321 | </listitem> |
354 | 322 | ||
355 | <listitem> | 323 | <listitem> |
356 | <para>In the <literal>Time Sync</literal> section (see figure below) - | 324 | <para>In the <literal>Time Sync</literal> section, change the fields |
357 | Change the following fields to appropriate values. It is strongly | 325 | shown below to appropriate values. It is strongly advised to avoid |
358 | advised to avoid using <literal>fuel.pool.ntp.org</literal> values and | 326 | using <literal>fuel.pool.ntp.org</literal> and instead set the values |
359 | instead set them to <literal>pool.ntp.org:</literal></para> | 327 | to <literal>pool.ntp.org.</literal></para> |
360 | 328 | ||
361 | <mediaobject> | 329 | <mediaobject> |
362 | <imageobject> | 330 | <imageobject> |
@@ -366,13 +334,12 @@ | |||
366 | </listitem> | 334 | </listitem> |
367 | 335 | ||
368 | <listitem> | 336 | <listitem> |
369 | <para>Enable experimental and advanced features</para> | 337 | <para>Enable Experimental features:</para> |
370 | 338 | ||
371 | <itemizedlist> | 339 | <itemizedlist> |
372 | <listitem> | 340 | <listitem> |
373 | <para>In the ”Features groups” section (see figure | 341 | <para>In the <literal>Feature groups</literal> section, enable the |
374 | below) – enable the checkboxes for Experimental and Advanced | 342 | checkbox for <literal>Experimental</literal> features.</para> |
375 | features</para> | ||
376 | </listitem> | 343 | </listitem> |
377 | 344 | ||
378 | <listitem> | 345 | <listitem> |
@@ -383,17 +350,18 @@ | |||
383 | 350 | ||
384 | <mediaobject> | 351 | <mediaobject> |
385 | <imageobject> | 352 | <imageobject> |
386 | <imagedata contentwidth="600" fileref="images/features_groups.svg" /> | 353 | <imagedata contentwidth="600" fileref="images/experimental.svg" /> |
387 | </imageobject> | 354 | </imageobject> |
388 | </mediaobject> | 355 | </mediaobject> |
389 | </listitem> | 356 | </listitem> |
390 | 357 | ||
391 | <listitem> | 358 | <listitem> |
392 | <para>Start the installation</para> | 359 | <para>Start the installation:</para> |
393 | 360 | ||
394 | <itemizedlist> | 361 | <itemizedlist> |
395 | <listitem> | 362 | <listitem> |
396 | <para>Select "Quit Setup" and press [Save and Quit].</para> | 363 | <para>Select <literal>Quit Setup</literal> and press [Save and |
364 | Quit].</para> | ||
397 | </listitem> | 365 | </listitem> |
398 | 366 | ||
399 | <listitem> | 367 | <listitem> |
@@ -408,22 +376,20 @@ | |||
408 | <section id="boot_the_servers"> | 376 | <section id="boot_the_servers"> |
409 | <title>Boot the Servers</title> | 377 | <title>Boot the Servers</title> |
410 | 378 | ||
411 | <para>Follow the same steps as indicated in the installation guide. Wait | 379 | <para>Wait until the Fuel Master installation is complete, indicated by |
412 | until the Fuel Master installation is complete, which should be indicated | 380 | the VM restarting and prompting for user login. After the Fuel Master node |
413 | by the VM restarting and prompting for user login.</para> | 381 | (setup in the previous section) has rebooted and is at the login prompt, |
414 | 382 | you should boot the Node Servers (the Compute/Control/Storage blades, | |
415 | <para>After the Fuel Master node has rebooted from the above steps and is | 383 | nested or real) with a PXE booting scheme so that the FUEL Master can pick |
416 | at the login prompt, you should boot the Node Servers (Your | 384 | them up for control.</para> |
417 | Compute/Control/Storage blades, nested or real) with a PXE booting scheme | ||
418 | so that the FUEL Master can pick them up for control.</para> | ||
419 | 385 | ||
420 | <orderedlist> | 386 | <orderedlist> |
421 | <listitem> | 387 | <listitem> |
422 | <para>Enable PXE booting</para> | 388 | <para>Enable PXE booting:</para> |
423 | 389 | ||
424 | <para>For every controller and compute server: enable PXE Booting as | 390 | <para>For every controller and compute server, enable PXE Booting as |
425 | the first boot device in the UEFI (EDK2) boot order menu, and hard | 391 | the first boot device in the UEFI (EDK2) boot order menu, with the |
426 | disk as the second boot device in the same menu.</para> | 392 | hard disk as the second boot device in the same menu.</para> |
427 | </listitem> | 393 | </listitem> |
428 | 394 | ||
429 | <listitem> | 395 | <listitem> |
@@ -431,7 +397,7 @@ | |||
431 | </listitem> | 397 | </listitem> |
432 | 398 | ||
433 | <listitem> | 399 | <listitem> |
434 | <para>Wait for the availability of nodes showing up in the Fuel | 400 | <para>Wait for the availability of nodes to appear in the Fuel |
435 | GUI.</para> | 401 | GUI.</para> |
436 | 402 | ||
437 | <itemizedlist> | 403 | <itemizedlist> |
@@ -459,12 +425,12 @@ | |||
459 | <section id="add_feat_fuel"> | 425 | <section id="add_feat_fuel"> |
460 | <title>Installing additional Plugins/Features on FUEL</title> | 426 | <title>Installing additional Plugins/Features on FUEL</title> |
461 | 427 | ||
462 | <para>In order to obtain the set of extra features used by ENEA NFV Core | 428 | <para>In order to obtain the extra features used by Enea NFV Core 1.0, a |
463 | 1.0 a few extra Fuel plugins have to be installed at this stage. Further | 429 | few added Fuel plugins have to be installed at this stage. Supplementary |
464 | configuration steps will also need to be performed after the installation | 430 | configuration will also need to be performed after the installation is |
465 | is complete, details about these later on.</para> | 431 | complete.</para> |
466 | 432 | ||
467 | <para>The following extra plugins need to be installed:</para> | 433 | <para>The following plugins will need to be installed:</para> |
468 | 434 | ||
469 | <itemizedlist> | 435 | <itemizedlist> |
470 | <listitem> | 436 | <listitem> |
@@ -474,18 +440,14 @@ | |||
474 | <listitem> | 440 | <listitem> |
475 | <para>Zabbix for Fuel</para> | 441 | <para>Zabbix for Fuel</para> |
476 | </listitem> | 442 | </listitem> |
477 | |||
478 | <listitem> | ||
479 | <para>Tacker VNF Manager</para> | ||
480 | </listitem> | ||
481 | </itemizedlist> | 443 | </itemizedlist> |
482 | 444 | ||
483 | <para>Login to the Fuel master via ssh using the default credentials (e.g. | 445 | <para>Login to the Fuel Master via <literal>ssh</literal> using the |
484 | root@10.20.0.2 pwd: r00tme) and install the additional plugins:</para> | 446 | default credentials (e.g. root@10.20.0.2 pwd: r00tme) and install the |
447 | additional plugins:</para> | ||
485 | 448 | ||
486 | <programlisting>$ fuel plugins --install /opt/opnfv/vitrage-1.0-1.0.4-1.noarch.rpm | 449 | <programlisting>$ fuel plugins --install /opt/opnfv/vitrage-1.0-1.0.4-1.noarch.rpm |
487 | $ fuel plugins --install zabbix_monitoring-2.5-2.5.3-1.noarch.rpm | 450 | $ fuel plugins --install zabbix_monitoring-2.5-2.5.3-1.noarch.rpm</programlisting> |
488 | $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | ||
489 | 451 | ||
490 | <para>Expected output: <programlisting>Plugin ....... was successfully installed.</programlisting></para> | 452 | <para>Expected output: <programlisting>Plugin ....... was successfully installed.</programlisting></para> |
491 | </section> | 453 | </section> |
@@ -498,8 +460,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
498 | 460 | ||
499 | <orderedlist> | 461 | <orderedlist> |
500 | <listitem> | 462 | <listitem> |
501 | <para>Connect to Fuel WEB UI with a browser (default: | 463 | <para>Connect to Fuel WEB UI with a browser (http://10.0.6.10) (login: |
502 | https://10.20.0.2:8443) (login: admin/admin)</para> | 464 | admin/admin)</para> |
503 | </listitem> | 465 | </listitem> |
504 | 466 | ||
505 | <listitem> | 467 | <listitem> |
@@ -508,8 +470,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
508 | </listitem> | 470 | </listitem> |
509 | 471 | ||
510 | <listitem> | 472 | <listitem> |
511 | <para>Select ”<Newton on Debian 9> (aarch64)” and | 473 | <para>Select ”aarch64 or x86_64” and press |
512 | press <Next></para> | 474 | <Next></para> |
513 | 475 | ||
514 | <mediaobject> | 476 | <mediaobject> |
515 | <imageobject> | 477 | <imageobject> |
@@ -519,20 +481,21 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
519 | </listitem> | 481 | </listitem> |
520 | 482 | ||
521 | <listitem> | 483 | <listitem> |
522 | <para>Select ”compute virtualization method”, then select | 484 | <para>Select <literal>compute virtualization method</literal>, then |
523 | ”QEMU-KVM as hypervisor” and press [Next].</para> | 485 | choose <filename>QEMU-KVM as hypervisor</filename> and press |
486 | [Next].</para> | ||
524 | </listitem> | 487 | </listitem> |
525 | 488 | ||
526 | <listitem> | 489 | <listitem> |
527 | <para>Select ”network mode”</para> | 490 | <para>Select <literal>network mode</literal>:</para> |
528 | 491 | ||
529 | <itemizedlist> | 492 | <itemizedlist> |
530 | <listitem> | 493 | <listitem> |
531 | <para>Select ”Neutron with ML2 plugin”</para> | 494 | <para>Select <literal>Neutron with ML2 plugin</literal></para> |
532 | </listitem> | 495 | </listitem> |
533 | 496 | ||
534 | <listitem> | 497 | <listitem> |
535 | <para>Select ”Neutron with VLAN segmentation” | 498 | <para>Select <literal>Neutron with VLAN segmentation</literal> |
536 | (recommended when enabling DPDK).</para> | 499 | (recommended when enabling DPDK).</para> |
537 | </listitem> | 500 | </listitem> |
538 | 501 | ||
@@ -549,8 +512,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
549 | </listitem> | 512 | </listitem> |
550 | 513 | ||
551 | <listitem> | 514 | <listitem> |
552 | <para>Select ”Storage Back-ends”, then ”Ceph for | 515 | <para>Select <literal>Storage Back-ends</literal>, then <filename>Ceph |
553 | block storage” and press [Next]</para> | 516 | for block storage</filename> and press [Next]</para> |
554 | 517 | ||
555 | <mediaobject> | 518 | <mediaobject> |
556 | <imageobject> | 519 | <imageobject> |
@@ -560,7 +523,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
560 | </mediaobject> | 523 | </mediaobject> |
561 | </listitem> | 524 | </listitem> |
562 | 525 | ||
563 | <listitem> | 526 | <listitem condition="hidden"> |
564 | <para>In the Additional Services select ”Install | 527 | <para>In the Additional Services select ”Install |
565 | Vitrage”:</para> | 528 | Vitrage”:</para> |
566 | 529 | ||
@@ -591,8 +554,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
591 | </listitem> | 554 | </listitem> |
592 | 555 | ||
593 | <listitem> | 556 | <listitem> |
594 | <para>Open the networks tab and select the ”default” Node | 557 | <para>Open the networks tab and select <literal>default</literal> in |
595 | Networks group to on the left pane (see figure below).</para> | 558 | the Node Networks group, on the left side menu:</para> |
596 | 559 | ||
597 | <mediaobject> | 560 | <mediaobject> |
598 | <imageobject> | 561 | <imageobject> |
@@ -631,7 +594,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
631 | </listitem> | 594 | </listitem> |
632 | 595 | ||
633 | <listitem> | 596 | <listitem> |
634 | <para>Set appropriate VLAN ID</para> | 597 | <para>Set an appropriate VLAN ID, if needed.</para> |
635 | </listitem> | 598 | </listitem> |
636 | </itemizedlist> | 599 | </itemizedlist> |
637 | </listitem> | 600 | </listitem> |
@@ -641,7 +604,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
641 | 604 | ||
642 | <itemizedlist> | 605 | <itemizedlist> |
643 | <listitem> | 606 | <listitem> |
644 | <para>It’s recommended to keep the default CIDR</para> | 607 | <para>It is recommended to keep the default CIDR</para> |
645 | </listitem> | 608 | </listitem> |
646 | 609 | ||
647 | <listitem> | 610 | <listitem> |
@@ -665,7 +628,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
665 | 628 | ||
666 | <itemizedlist> | 629 | <itemizedlist> |
667 | <listitem> | 630 | <listitem> |
668 | <para>It’s recommended to keep the default CIDR</para> | 631 | <para>It is recommended to keep the default CIDR</para> |
669 | </listitem> | 632 | </listitem> |
670 | 633 | ||
671 | <listitem> | 634 | <listitem> |
@@ -683,7 +646,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
683 | </listitem> | 646 | </listitem> |
684 | 647 | ||
685 | <listitem> | 648 | <listitem> |
686 | <para>Set appropriate VLAN ID (default 101)</para> | 649 | <para>Set an appropriate VLAN ID (default 101)</para> |
687 | </listitem> | 650 | </listitem> |
688 | </itemizedlist> | 651 | </itemizedlist> |
689 | </listitem> | 652 | </listitem> |
@@ -693,7 +656,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
693 | 656 | ||
694 | <itemizedlist> | 657 | <itemizedlist> |
695 | <listitem> | 658 | <listitem> |
696 | <para>It’s recommended to keep the default CIDR</para> | 659 | <para>It is recommended to keep the default CIDR</para> |
697 | </listitem> | 660 | </listitem> |
698 | 661 | ||
699 | <listitem> | 662 | <listitem> |
@@ -711,14 +674,14 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
711 | </listitem> | 674 | </listitem> |
712 | 675 | ||
713 | <listitem> | 676 | <listitem> |
714 | <para>Set appropriate VLAN tag (default 103)</para> | 677 | <para>Set an appropriate VLAN tag (default 103)</para> |
715 | </listitem> | 678 | </listitem> |
716 | </itemizedlist> | 679 | </itemizedlist> |
717 | </listitem> | 680 | </listitem> |
718 | 681 | ||
719 | <listitem> | 682 | <listitem> |
720 | <para>Select the ”Neutron L3” Node Networks group on the | 683 | <para>Select the <literal>Neutron L3</literal> Node Networks group on |
721 | left pane</para> | 684 | the left pane:</para> |
722 | 685 | ||
723 | <mediaobject> | 686 | <mediaobject> |
724 | <imageobject> | 687 | <imageobject> |
@@ -728,7 +691,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
728 | </listitem> | 691 | </listitem> |
729 | 692 | ||
730 | <listitem> | 693 | <listitem> |
731 | <para>Update the Floating Network configuration:</para> | 694 | <para>Update the <literal>Floating Network Parameters</literal> |
695 | configuration:</para> | ||
732 | 696 | ||
733 | <itemizedlist> | 697 | <itemizedlist> |
734 | <listitem> | 698 | <listitem> |
@@ -748,8 +712,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
748 | 712 | ||
749 | <itemizedlist> | 713 | <itemizedlist> |
750 | <listitem> | 714 | <listitem> |
751 | <para>It’s recommended to keep the default CIDR and | 715 | <para>It is recommended to keep the default CIDR and mask</para> |
752 | mask</para> | ||
753 | </listitem> | 716 | </listitem> |
754 | 717 | ||
755 | <listitem> | 718 | <listitem> |
@@ -759,16 +722,17 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
759 | </listitem> | 722 | </listitem> |
760 | 723 | ||
761 | <listitem> | 724 | <listitem> |
762 | <para>Update the Guest OS DNS servers with appropriate values.</para> | 725 | <para>Update the <literal>Guest OS DNS servers</literal> with |
726 | appropriate values.</para> | ||
763 | </listitem> | 727 | </listitem> |
764 | 728 | ||
765 | <listitem> | 729 | <listitem> |
766 | <para>Save Settings</para> | 730 | <para>Save your settings</para> |
767 | </listitem> | 731 | </listitem> |
768 | 732 | ||
769 | <listitem> | 733 | <listitem> |
770 | <para>Select the ”Other” Node Networks group on the left | 734 | <para>Select the <literal>Other</literal> Node Networks group on the |
771 | pane (see figure below).</para> | 735 | left pane:</para> |
772 | 736 | ||
773 | <mediaobject> | 737 | <mediaobject> |
774 | <imageobject> | 738 | <imageobject> |
@@ -778,16 +742,20 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
778 | </listitem> | 742 | </listitem> |
779 | 743 | ||
780 | <listitem> | 744 | <listitem> |
781 | <para>Make sure the ”Public Gateway is Available” and | 745 | <para>Make sure the <literal>Public Gateway is Available</literal> and |
782 | ”Assign public networks to all nodes” are checked.</para> | 746 | <literal>Assign public networks to all nodes</literal> are checked. |
747 | <literal>Public Gateway is Available</literal> could be unchecked if | ||
748 | not connected to upstream network.</para> | ||
783 | </listitem> | 749 | </listitem> |
784 | 750 | ||
785 | <listitem> | 751 | <listitem> |
786 | <para>Update Host OS DNS Servers settings</para> | 752 | <para>Update the <literal>Host OS DNS Servers</literal> |
753 | settings</para> | ||
787 | </listitem> | 754 | </listitem> |
788 | 755 | ||
789 | <listitem> | 756 | <listitem> |
790 | <para>Update Host OS NTP Servers settings</para> | 757 | <para>Update the <literal>Host OS NTP Servers</literal> settings, |
758 | changing the NTP servers if needed, and save all your changes.</para> | ||
791 | </listitem> | 759 | </listitem> |
792 | </orderedlist> | 760 | </orderedlist> |
793 | </section> | 761 | </section> |
@@ -795,58 +763,50 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
795 | <section id="hypervisor_type"> | 763 | <section id="hypervisor_type"> |
796 | <title>Select Hypervisor type</title> | 764 | <title>Select Hypervisor type</title> |
797 | 765 | ||
798 | <para>Select the Hypervisor type in the following way:</para> | 766 | <para>Setting the <literal>Hypervisor type</literal> is done in the |
799 | 767 | <literal>Settings</literal> tab by selecting <literal>Compute</literal> on | |
800 | <orderedlist> | 768 | the left side pane, and checking the KVM box:</para> |
801 | <listitem> | ||
802 | <para>In the FUEL UI of your Environment, click the | ||
803 | ”Settings” Tab</para> | ||
804 | </listitem> | ||
805 | |||
806 | <listitem> | ||
807 | <para>Select ”Compute” on the left side pane, check the | ||
808 | KVM box and press [Save settings]:</para> | ||
809 | 769 | ||
810 | <mediaobject> | 770 | <mediaobject> |
811 | <imageobject> | 771 | <imageobject> |
812 | <imagedata contentwidth="600" fileref="images/compute_kvm.svg" /> | 772 | <imagedata contentwidth="600" fileref="images/compute_kvm.svg" /> |
813 | </imageobject> | 773 | </imageobject> |
814 | </mediaobject> | 774 | </mediaobject> |
815 | </listitem> | ||
816 | </orderedlist> | ||
817 | </section> | 775 | </section> |
818 | 776 | ||
819 | <section id="add_rm_repos"> | 777 | <section id="add_rm_repos"> |
820 | <title>Add/Remove Repositories</title> | 778 | <title>Adding/Removing Repositories</title> |
821 | 779 | ||
822 | <para>By default OPNFV Fuel uses a set of repositories as package sources. | 780 | <para>Fuel by default, uses a set of repositories as package sources, that |
823 | These hold both OpenStack components as well as other needed | 781 | hold both OpenStack components as well as other needed packages. In order |
824 | packages.</para> | 782 | to speed up the deployment process, Fuel will create two mirrors. The |
825 | 783 | first, a local mirror, reachable on the Admin interface (e.g. | |
826 | <para>In order to speed up the deployment process, Fuel will create its | 784 | <literal>10.20.0.2:8080/newton-10.0/ubuntu/x86-64</literal>), will add |
827 | own local mirror which can be reachable on the Admin interface (e.g. | 785 | additional repositories that need external connections. The second, a |
828 | 10.20.0.2:8080/newton-10.0/ubuntu/x86-64). However, more repositories are | 786 | debian testing main: |
829 | added that need external connection.</para> | 787 | <literal>http://10.20.0.2:8080/mirrors/debian</literal>, requires no other |
788 | repositories to be added that need external connections, having only (even | ||
789 | for offline): <filename>debian-testing-local</filename> and | ||
790 | <literal>mos</literal>.</para> | ||
830 | 791 | ||
831 | <para>It is possible to avoid using external repositories and make the | 792 | <para>It is possible to avoid using external repositories and make the |
832 | entire process completely offline. This way only the most basic packages | 793 | entire process completely offline. In this way only the most basic |
833 | will be installed, but the process will be quicker and not depend on an | 794 | packages will be installed, but the process will be more efficient and not |
834 | Internet connection. To do this, just make sure that the Repositories list | 795 | depend on an Internet connection. To do this, just make sure that the |
835 | contain only ubuntu-local, mos and Auxilliary.</para> | 796 | Repositories list contains only <filename>ubuntu-local</filename>, |
797 | <literal>mos</literal> and <literal>Auxilliary</literal>.</para> | ||
836 | 798 | ||
837 | <itemizedlist> | 799 | <itemizedlist> |
838 | <listitem> | 800 | <listitem> |
839 | <para>In the FUEL UI of you Environment, click the | 801 | <para>In the <literal>Settings</literal> tab of the FUEL UI, select |
840 | ”Settings” Tab</para> | 802 | <literal>General</literal> and scroll down to the Repositories list |
803 | (see figure below).</para> | ||
841 | </listitem> | 804 | </listitem> |
842 | 805 | ||
843 | <listitem> | 806 | <listitem> |
844 | <para>Select ”General” and scroll down to the | ||
845 | Repositories list (see figure below).</para> | ||
846 | |||
847 | <para>Remove any extra repositories that point to external | 807 | <para>Remove any extra repositories that point to external |
848 | repositories by clicking the delete button on the right of the | 808 | repositories, by clicking the delete/minus button on the far right of |
849 | repository entry.</para> | 809 | the repository entry.</para> |
850 | 810 | ||
851 | <mediaobject> | 811 | <mediaobject> |
852 | <imageobject> | 812 | <imageobject> |
@@ -859,11 +819,11 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
859 | </section> | 819 | </section> |
860 | 820 | ||
861 | <section id="plugins"> | 821 | <section id="plugins"> |
862 | <title>Enable Plugins</title> | 822 | <title>Enabling Plugins</title> |
863 | 823 | ||
864 | <para>In the FUEL UI of your Environment, click the | 824 | <para>In the FUEL UI of your Environment, click the |
865 | ”Settings” Tab and select OpenStack Services on the left side | 825 | <literal>Settings</literal> tab and select <literal>OpenStack |
866 | pane. Enable the Tacker VNF manager plugin:</para> | 826 | Services</literal> on the left side pane:</para> |
867 | 827 | ||
868 | <mediaobject> | 828 | <mediaobject> |
869 | <imageobject> | 829 | <imageobject> |
@@ -871,7 +831,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
871 | </imageobject> | 831 | </imageobject> |
872 | </mediaobject> | 832 | </mediaobject> |
873 | 833 | ||
874 | <para>Select "Other" on the left pane and do the following:</para> | 834 | <para>Click on <literal>Other</literal> on the left pane and do the |
835 | following:</para> | ||
875 | 836 | ||
876 | <itemizedlist> | 837 | <itemizedlist> |
877 | <listitem> | 838 | <listitem> |
@@ -883,7 +844,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
883 | </listitem> | 844 | </listitem> |
884 | 845 | ||
885 | <listitem> | 846 | <listitem> |
886 | <para>Check ”Use Zabbix Datasource in Vitrage”</para> | 847 | <para>Check the box for <literal>Use Zabbix Datasource in |
848 | Vitrage</literal>:</para> | ||
887 | </listitem> | 849 | </listitem> |
888 | </itemizedlist> | 850 | </itemizedlist> |
889 | 851 | ||
@@ -901,8 +863,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
901 | 863 | ||
902 | <orderedlist> | 864 | <orderedlist> |
903 | <listitem> | 865 | <listitem> |
904 | <para>Click on the ”Nodes” Tab in the FUEL WEB UI (see | 866 | <para>Click on the <literal>Nodes</literal> Tab in the FUEL WEB |
905 | figure below):</para> | 867 | UI:</para> |
906 | 868 | ||
907 | <mediaobject> | 869 | <mediaobject> |
908 | <imageobject> | 870 | <imageobject> |
@@ -912,7 +874,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
912 | </listitem> | 874 | </listitem> |
913 | 875 | ||
914 | <listitem> | 876 | <listitem> |
915 | <para>Assign roles (see figure below):</para> | 877 | <para>Assign roles:</para> |
916 | 878 | ||
917 | <itemizedlist> | 879 | <itemizedlist> |
918 | <listitem> | 880 | <listitem> |
@@ -988,16 +950,15 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
988 | </itemizedlist> | 950 | </itemizedlist> |
989 | 951 | ||
990 | <note> | 952 | <note> |
991 | <para>Internally, for testing, the Controller nodes had different | 953 | <para>Internally, for testing, the Controller nodes have a different |
992 | network configuration compare to the Compute nodes, but that is not | 954 | network configuration compared to the Compute nodes, but this is not |
993 | mandatory. The 5 nodes in the cluster can have the exact same | 955 | mandatory. The 5 nodes in the cluster can have the exact same |
994 | configuration</para> | 956 | configuration.</para> |
995 | </note> | 957 | </note> |
996 | </listitem> | 958 | </listitem> |
997 | 959 | ||
998 | <listitem> | 960 | <listitem> |
999 | <para>Configure interfaces for Controller nodes (see figure | 961 | <para>Configure interfaces for the Controller nodes:</para> |
1000 | below).</para> | ||
1001 | 962 | ||
1002 | <itemizedlist> | 963 | <itemizedlist> |
1003 | <listitem> | 964 | <listitem> |
@@ -1011,8 +972,8 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1011 | <listitem> | 972 | <listitem> |
1012 | <para>Assign interfaces (in this case Public, Storage and | 973 | <para>Assign interfaces (in this case Public, Storage and |
1013 | Management were set on the first 10GbE Port and Private on the | 974 | Management were set on the first 10GbE Port and Private on the |
1014 | second 10GbE port, with Admin on a 1Gb port), and click [Apply] | 975 | second 10GbE port, with Admin on a 1Gb port), and click |
1015 | <mediaobject> | 976 | [Apply].<mediaobject> |
1016 | <imageobject> | 977 | <imageobject> |
1017 | <imagedata contentwidth="600" | 978 | <imagedata contentwidth="600" |
1018 | fileref="images/config_nodes.svg" /> | 979 | fileref="images/config_nodes.svg" /> |
@@ -1062,29 +1023,23 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1062 | <section id="config_hugepages"> | 1023 | <section id="config_hugepages"> |
1063 | <title>Configure hugepages</title> | 1024 | <title>Configure hugepages</title> |
1064 | 1025 | ||
1065 | <para>This step is needed for the DPDK based scenarios and it's not | 1026 | <para>This step is needed for the DPDK based scenarios.</para> |
1066 | covered in the installation guide.</para> | ||
1067 | |||
1068 | <remark>does the comment made above still apply and if so, should this | ||
1069 | section be removed?</remark> | ||
1070 | 1027 | ||
1071 | <orderedlist> | 1028 | <orderedlist> |
1072 | <listitem> | 1029 | <listitem> |
1073 | <para>Click on the gear on the right of a Compute node</para> | 1030 | <para>Click on the gear/settings icon on the right of a Compute node |
1031 | and do the following:</para> | ||
1074 | 1032 | ||
1075 | <itemizedlist> | 1033 | <itemizedlist> |
1076 | <listitem> | 1034 | <listitem> |
1077 | <para>In the menu that shows up click on Node Attributes</para> | 1035 | <para>In the menu that pops up, expand the <literal>Node |
1036 | Attributes</literal> menu.</para> | ||
1078 | </listitem> | 1037 | </listitem> |
1079 | 1038 | ||
1080 | <listitem> | 1039 | <listitem> |
1081 | <para>Set Huge Pages for Nova and DPDK to appropriate values (see | 1040 | <para>Set <literal>Huge Pages</literal> for Nova and DPDK to |
1082 | figure below); it’s recommended to use at least 2048 pages | 1041 | appropriate values and save your settings. It is recommended to |
1083 | of 2MB for each of Nova and DPDK</para> | 1042 | use at least 2048 pages of 2MB for both Nova and DPDK.</para> |
1084 | </listitem> | ||
1085 | |||
1086 | <listitem> | ||
1087 | <para>Click <Save Settings></para> | ||
1088 | 1043 | ||
1089 | <mediaobject> | 1044 | <mediaobject> |
1090 | <imageobject> | 1045 | <imageobject> |
@@ -1097,7 +1052,7 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1097 | 1052 | ||
1098 | <listitem> | 1053 | <listitem> |
1099 | <para>Perform the same configuration for the other Compute | 1054 | <para>Perform the same configuration for the other Compute |
1100 | nodes</para> | 1055 | nodes.</para> |
1101 | </listitem> | 1056 | </listitem> |
1102 | </orderedlist> | 1057 | </orderedlist> |
1103 | </section> | 1058 | </section> |
@@ -1105,55 +1060,52 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1105 | <section id="target_config"> | 1060 | <section id="target_config"> |
1106 | <title>Target Specific Configuration</title> | 1061 | <title>Target Specific Configuration</title> |
1107 | 1062 | ||
1108 | <para>Follow the guide for setting custom target configuration, as needed. | 1063 | <para>Follow the steps below for setting custom target configuration, as |
1109 | Skip this step if no specific configurations are required.</para> | 1064 | needed. Skip this step if no specific configurations are required.</para> |
1110 | 1065 | ||
1111 | <orderedlist> | 1066 | <orderedlist> |
1112 | <listitem> | 1067 | <listitem> |
1113 | <para>Set up targets for provisioning with non-default | 1068 | <para>Set up targets for provisioning with non-default "Offloading |
1114 | ”Offloading Modes”.</para> | 1069 | Modes".</para> |
1115 | 1070 | ||
1116 | <para>Some target nodes may require additional configuration after | 1071 | <para>Some target nodes may require additional configuration after |
1117 | they are PXE booted (bootstrapped). The most frequent changes occur in | 1072 | they are PXE booted (bootstrapped). The most frequent changes occur in |
1118 | the defaults of ethernet device ”Offloading Modes” | 1073 | the defaults of ethernet device "Offloading Modes" settings (e.g. |
1119 | settings (e.g. certain target ethernet drivers may strip VLAN traffic | 1074 | certain target ethernet drivers may strip VLAN traffic by |
1120 | by default).</para> | 1075 | default).</para> |
1121 | 1076 | ||
1122 | <para>If your target ethernet drivers have incorrect | 1077 | <para>If your target ethernet drivers have incorrect "Offloading |
1123 | ”Offloading Modes” defaults, in the ”Configure | 1078 | Modes" defaults, in the "Configure interfaces" page (described above), |
1124 | interfaces” page (described above), expand the affected | 1079 | expand the affected interface's "Offloading Modes" and (un)check the |
1125 | interface’s ”Offloading Modes” and (un)check the | 1080 | settings you need. <remark>Insert the appropriate |
1126 | settings you need (see figure below): <remark>Insert the appropriate | ||
1127 | figure/screenshot</remark></para> | 1081 | figure/screenshot</remark></para> |
1128 | </listitem> | 1082 | </listitem> |
1129 | 1083 | ||
1130 | <listitem> | 1084 | <listitem> |
1131 | <para>Set up targets for ”Verify Networks” with | 1085 | <para>Set up targets for "Verify Networks" with non-default |
1132 | non-default ”Offloading Modes”.</para> | 1086 | "Offloading Modes".</para> |
1087 | |||
1088 | <para>Please check the Release Notes for the 1.0 release of ENFV Core | ||
1089 | when using Fuel as a deployment tool, <remark>Change this to an Olink | ||
1090 | to the Release notes once the ID has been created for that book. Add | ||
1091 | the ID to pardoc-names.xml and pardoc-common if needed, then updated | ||
1092 | the OlinkDB</remark>for an updated and comprehensive list of known | ||
1093 | issues and limitations, including the "Offloading Modes" not being | ||
1094 | applied during the "Verify Networks" step.</para> | ||
1133 | 1095 | ||
1134 | <para>Please check the <ulink | 1096 | <para>Setting custom "Offloading Modes" in the Fuel GUI will only |
1135 | url="http://artifacts.opnfv.org/fuel/colorado/3.0/docs/releasenotes/index.html">Release | 1097 | apply during provisioning, not during "Verify Networks". If your |
1136 | Notes for the 1.0 release of ENFV Core when using Fuel as a deployment | 1098 | targets need this change, you have to apply the "Offloading Modes" |
1137 | tool</ulink>, <remark>Change this to an Olink to the Release notes | 1099 | settings manually to bootstrapped nodes.</para> |
1138 | once the ID has been created for that book. Add the ID to | ||
1139 | pardoc-names.xml and pardoc-common if needed, then updated the | ||
1140 | OlinkDB</remark>for an updated and comprehensive list of known issues | ||
1141 | and limitations, including the ”Offloading Modes” not | ||
1142 | being applied during the ”Verify Networks” step.</para> | ||
1143 | 1100 | ||
1144 | <para>Setting custom ”Offloading Modes” in Fuel GUI will | 1101 | <para>E.g.: Our driver has the "rx-vlan-filter" default "on" (expected |
1145 | only apply during provisioning and not during ”Verify | 1102 | "off") on the OpenStack interface "ETH1", preventing VLAN traffic from |
1146 | Networks”. If your targets need this change, you have to apply | 1103 | passing during "Verify Networks".</para> |
1147 | ”Offloading Modes” settings manually to bootstrapped | ||
1148 | nodes. E.g.: Our driver has the ”rx-vlan-filter” default | ||
1149 | ”on” (expected ”off”) on the OpenStack | ||
1150 | interface ”eth1”, preventing VLAN traffic from passing | ||
1151 | during ”Verify Networks”.</para> | ||
1152 | 1104 | ||
1153 | <itemizedlist> | 1105 | <itemizedlist> |
1154 | <listitem> | 1106 | <listitem> |
1155 | <para>From Fuel master console identify target nodes' admin IPs | 1107 | <para>From the Fuel Master console, identify target nodes' admin |
1156 | (see figure below):</para> | 1108 | IPs</para> |
1157 | 1109 | ||
1158 | <programlisting>$ fuel nodes</programlisting> | 1110 | <programlisting>$ fuel nodes</programlisting> |
1159 | 1111 | ||
@@ -1161,16 +1113,16 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1161 | </listitem> | 1113 | </listitem> |
1162 | 1114 | ||
1163 | <listitem> | 1115 | <listitem> |
1164 | <para>SSH into each of the target nodes and disable the | 1116 | <para><literal>ssh</literal> into each target node and disable the |
1165 | ”rx-vlan-filter” on the affected physical | 1117 | "rx-vlan-filter" on the affected physical interface(s) allocated |
1166 | interface(s) allocated for OpenStack traffic (eth1):</para> | 1118 | for OpenStack traffic (ETH1):</para> |
1167 | 1119 | ||
1168 | <programlisting>$ ssh root@10.20.0.6 ethtool -K eth1 rx-vlan-filter off</programlisting> | 1120 | <programlisting>$ ssh root@10.20.0.6 ethtool -K eth1 rx-vlan-filter off</programlisting> |
1169 | </listitem> | 1121 | </listitem> |
1170 | 1122 | ||
1171 | <listitem> | 1123 | <listitem> |
1172 | <para>Repeat the step above for all affected nodes/interfaces in | 1124 | <para>Repeat the step above for all affected nodes/interfaces in |
1173 | the POD</para> | 1125 | the POD.</para> |
1174 | </listitem> | 1126 | </listitem> |
1175 | </itemizedlist> | 1127 | </itemizedlist> |
1176 | </listitem> | 1128 | </listitem> |
@@ -1188,18 +1140,18 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1188 | 1140 | ||
1189 | <orderedlist> | 1141 | <orderedlist> |
1190 | <listitem> | 1142 | <listitem> |
1191 | <para>From the FUEL UI in your environment, select the Networks Tab, | 1143 | <para>From the FUEL UI, select the <literal>Networks</literal> tab, |
1192 | then select ”Connectivity check” on the left pane.</para> | 1144 | then select "Connectivity check" on the left pane.</para> |
1193 | </listitem> | 1145 | </listitem> |
1194 | 1146 | ||
1195 | <listitem> | 1147 | <listitem> |
1196 | <para>Select [Verify Networks]</para> | 1148 | <para>Select <literal>Verify Networks</literal></para> |
1197 | </listitem> | 1149 | </listitem> |
1198 | 1150 | ||
1199 | <listitem> | 1151 | <listitem> |
1200 | <para>Continue to fix your topology (physical switch, etc) until the | 1152 | <para>Continue to fix your topology (physical switch, etc.) until the |
1201 | ”Verification Succeeded” and ”Your network is | 1153 | "Verification Succeeded" and "Your network is configured correctly" |
1202 | configured correctly” messages are shown.</para> | 1154 | messages are shown.</para> |
1203 | </listitem> | 1155 | </listitem> |
1204 | </orderedlist> | 1156 | </orderedlist> |
1205 | </section> | 1157 | </section> |
@@ -1207,12 +1159,14 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1207 | <section id="deploy_env"> | 1159 | <section id="deploy_env"> |
1208 | <title>Deploy your Environment</title> | 1160 | <title>Deploy your Environment</title> |
1209 | 1161 | ||
1210 | <para>As instructed in the installation guide, after the configuration is | 1162 | <para>After the configuration is complete and the network connectivity |
1211 | complete and the network connectivity checked, it’s time to deploy. | 1163 | checked, the environment needs to be deployed.</para> |
1212 | From the Dashboard tab click on Deploy. The process should take around 2 | 1164 | |
1213 | hours the first time after a fresh Fuel Master installation. Part of the | 1165 | <para>From the <literal>Dashboard</literal> tab click on |
1214 | deploy process is to build the target image, which can take around between | 1166 | <literal>Deploy</literal>. The process should take around 2 hours the |
1215 | 30 and 60 minutes.</para> | 1167 | first time after a fresh Fuel Master installation. Part of the deploy |
1168 | process is to build the target image, which can take between 30 and 60 | ||
1169 | minutes.</para> | ||
1216 | 1170 | ||
1217 | <para>The entire deploy process goes through two phases:</para> | 1171 | <para>The entire deploy process goes through two phases:</para> |
1218 | 1172 | ||
@@ -1220,14 +1174,14 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1220 | <listitem> | 1174 | <listitem> |
1221 | <para>Provisioning – at this stage the nodes have been booted | 1175 | <para>Provisioning – at this stage the nodes have been booted |
1222 | from PXE and are running a small bootstrap image in ramdisk. The | 1176 | from PXE and are running a small bootstrap image in ramdisk. The |
1223 | provisioning process will write the target image on the disk and make | 1177 | provisioning process will write the target image onto the disk and |
1224 | other preparations for running it after reboot</para> | 1178 | make other preparations for running it after reboot.</para> |
1225 | </listitem> | 1179 | </listitem> |
1226 | 1180 | ||
1227 | <listitem> | 1181 | <listitem> |
1228 | <para>OpenStack installation – at this stage the nodes have been | 1182 | <para>OpenStack installation – at this stage the nodes have been |
1229 | rebooted on the newly written target image and the OpenStack | 1183 | rebooted on the newly written target image and the OpenStack |
1230 | components are installed and configured</para> | 1184 | components are installed and configured.</para> |
1231 | </listitem> | 1185 | </listitem> |
1232 | </itemizedlist> | 1186 | </itemizedlist> |
1233 | </section> | 1187 | </section> |
@@ -1236,24 +1190,171 @@ $ fuel plugins --install tacker-1.0-1.0.0-1.noarch.rpm</programlisting> | |||
1236 | <title>Installation Health-Check</title> | 1190 | <title>Installation Health-Check</title> |
1237 | 1191 | ||
1238 | <para>Once the deploy process is complete, it is recommended to run a | 1192 | <para>Once the deploy process is complete, it is recommended to run a |
1239 | health check from the Fuel menu, as described in the installation guide. | 1193 | health check from the Fuel menu, done in the following way:</para> |
1240 | To ensure apt performance, the system health-check must be performed. This | ||
1241 | is done in the following way:</para> | ||
1242 | 1194 | ||
1243 | <orderedlist> | 1195 | <orderedlist> |
1244 | <listitem> | 1196 | <listitem> |
1245 | <para>Click the ”Health Check” tab inside your | 1197 | <para>Click the <literal>Health Check</literal> tab inside the FUEL |
1246 | Environment in the FUEL Web UI</para> | 1198 | Web UI</para> |
1247 | </listitem> | 1199 | </listitem> |
1248 | 1200 | ||
1249 | <listitem> | 1201 | <listitem> |
1250 | <para>Check the [Select All] option, then click [Run Tests]</para> | 1202 | <para>Check the [Select All] option, then [Run Tests]</para> |
1251 | </listitem> | 1203 | </listitem> |
1252 | 1204 | ||
1253 | <listitem> | 1205 | <listitem> |
1254 | <para>Allow tests to run and investigate results where | 1206 | <para>Allow tests to run and investigate results where |
1255 | appropriate</para> | 1207 | appropriate.</para> |
1256 | </listitem> | 1208 | </listitem> |
1257 | </orderedlist> | 1209 | </orderedlist> |
1258 | </section> | 1210 | </section> |
1211 | |||
1212 | <section id="smoke_test"> | ||
1213 | <title>Smoke Test</title> | ||
1214 | |||
1215 | <para>Once deployment is completeed successfully, a smoke test can and | ||
1216 | should be done.</para> | ||
1217 | |||
1218 | <itemizedlist> | ||
1219 | <listitem> | ||
1220 | <para>Click on the <literal>Horizon</literal> link in the Fuel | ||
1221 | Dashboard</para> | ||
1222 | |||
1223 | <mediaobject> | ||
1224 | <imageobject> | ||
1225 | <imagedata contentwidth="600" fileref="images/00-Horizon.svg" | ||
1226 | format="SVG" /> | ||
1227 | </imageobject> | ||
1228 | </mediaobject> | ||
1229 | </listitem> | ||
1230 | |||
1231 | <listitem> | ||
1232 | <para>Login with credentials (admin/admin is the default):</para> | ||
1233 | |||
1234 | <mediaobject> | ||
1235 | <imageobject> | ||
1236 | <imagedata contentwidth="600" | ||
1237 | fileref="images/01-Horizon-Login.svg" format="SVG" /> | ||
1238 | </imageobject> | ||
1239 | </mediaobject> | ||
1240 | </listitem> | ||
1241 | |||
1242 | <listitem> | ||
1243 | <para>Select Project|Compute|Instances and all the instances (none in | ||
1244 | this case) will be displayed. Click <literal>Launch Instance</literal> | ||
1245 | to create a new instance, causing a causing wizard to appear.</para> | ||
1246 | |||
1247 | <mediaobject> | ||
1248 | <imageobject> | ||
1249 | <imagedata contentwidth="600" fileref="images/02-create.svg" | ||
1250 | format="SVG" /> | ||
1251 | </imageobject> | ||
1252 | </mediaobject> | ||
1253 | </listitem> | ||
1254 | |||
1255 | <listitem> | ||
1256 | <para>Give a name to the first instance and press Next.</para> | ||
1257 | |||
1258 | <mediaobject> | ||
1259 | <imageobject> | ||
1260 | <imagedata contentwidth="600" fileref="images/03-name.svg" /> | ||
1261 | </imageobject> | ||
1262 | </mediaobject> | ||
1263 | </listitem> | ||
1264 | |||
1265 | <listitem> | ||
1266 | <para>The image needed is "Select Boot Source". Add the TestVM image | ||
1267 | by pressing on the add/plus sign, then press Next.</para> | ||
1268 | |||
1269 | <mediaobject> | ||
1270 | <imageobject> | ||
1271 | <imagedata contentwidth="600" fileref="images/04-image.svg" /> | ||
1272 | </imageobject> | ||
1273 | </mediaobject> | ||
1274 | </listitem> | ||
1275 | |||
1276 | <listitem> | ||
1277 | <para>Add the <filename>m1.micro</filename> flavor by pressing on the | ||
1278 | plus sign, then press Next.</para> | ||
1279 | |||
1280 | <mediaobject> | ||
1281 | <imageobject> | ||
1282 | <imagedata contentwidth="600" fileref="images/05-flavor.svg" /> | ||
1283 | </imageobject> | ||
1284 | </mediaobject> | ||
1285 | </listitem> | ||
1286 | |||
1287 | <listitem> | ||
1288 | <para>Add <literal>admin_internal_net</literal> network by pressing on | ||
1289 | the plus sign and leave the defaults as they are.</para> | ||
1290 | |||
1291 | <mediaobject> | ||
1292 | <imageobject> | ||
1293 | <imagedata contentwidth="600" fileref="images/06-network.svg" /> | ||
1294 | </imageobject> | ||
1295 | </mediaobject> | ||
1296 | </listitem> | ||
1297 | |||
1298 | <listitem> | ||
1299 | <para>The <literal>Launch Instance</literal> button is now active and | ||
1300 | able to be selected.</para> | ||
1301 | |||
1302 | <mediaobject> | ||
1303 | <imageobject> | ||
1304 | <imagedata contentwidth="600" fileref="images/07-launch.svg" /> | ||
1305 | </imageobject> | ||
1306 | </mediaobject> | ||
1307 | </listitem> | ||
1308 | |||
1309 | <listitem> | ||
1310 | <para>After a short while, the first virtual machine is created and | ||
1311 | running.</para> | ||
1312 | |||
1313 | <mediaobject> | ||
1314 | <imageobject> | ||
1315 | <imagedata contentwidth="600" fileref="images/08-created.svg" /> | ||
1316 | </imageobject> | ||
1317 | </mediaobject> | ||
1318 | </listitem> | ||
1319 | |||
1320 | <listitem> | ||
1321 | <para>Repeat the above steps to create the second virtual machine. | ||
1322 | Make a note of the IP addresses allocated:</para> | ||
1323 | |||
1324 | <mediaobject> | ||
1325 | <imageobject> | ||
1326 | <imagedata contentwidth="600" fileref="images/09-created2.svg" /> | ||
1327 | </imageobject> | ||
1328 | </mediaobject> | ||
1329 | </listitem> | ||
1330 | |||
1331 | <listitem> | ||
1332 | <para>Click on the <literal>first</literal> Instance Name link, the | ||
1333 | <literal>Overview</literal> tab will appear. Select the | ||
1334 | <literal>Console</literal> tab.</para> | ||
1335 | |||
1336 | <para>As indicated, if the console is not responding to keyboard | ||
1337 | input, click the grey status bar. Enter, as shown, user | ||
1338 | <command>cirros</command> and password | ||
1339 | <command>cubswin:)</command>.</para> | ||
1340 | |||
1341 | <mediaobject> | ||
1342 | <imageobject> | ||
1343 | <imagedata contentwidth="600" fileref="images/10-VM-login.svg" /> | ||
1344 | </imageobject> | ||
1345 | </mediaobject> | ||
1346 | </listitem> | ||
1347 | |||
1348 | <listitem> | ||
1349 | <para>It is not possible to verify the IP address received by the | ||
1350 | machine and ping the other. The ping however, should succeed.</para> | ||
1351 | |||
1352 | <mediaobject> | ||
1353 | <imageobject> | ||
1354 | <imagedata contentwidth="600" fileref="images/11-VM-ping.svg" /> | ||
1355 | </imageobject> | ||
1356 | </mediaobject> | ||
1357 | </listitem> | ||
1358 | </itemizedlist> | ||
1359 | </section> | ||
1259 | </chapter> \ No newline at end of file | 1360 | </chapter> \ No newline at end of file |