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 | 195 |
1 files changed, 122 insertions, 73 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 2de6353..0418cde 100644 --- a/book-enea-nfv-core-installation-guide/doc/installation_instructions.xml +++ b/book-enea-nfv-core-installation-guide/doc/installation_instructions.xml | |||
@@ -373,19 +373,30 @@ | |||
373 | </listitem> | 373 | </listitem> |
374 | 374 | ||
375 | <listitem> | 375 | <listitem> |
376 | <para>In the <literal>Network Setup</literal> section, configure | 376 | <para>In the <literal>Network Setup</literal> section, configure the |
377 | DHCP/Static IP information for your FUEL node. E.g.: ETH0 is | 377 | network interfaces of the Fuel Master node:</para> |
378 | 10.20.0.2/24 for FUEL booting and ETH1 is DHCP in your corporate/lab | ||
379 | network, as shown below.</para> | ||
380 | 378 | ||
381 | <itemizedlist> | 379 | <itemizedlist> |
382 | <listitem> | 380 | <listitem> |
383 | <para>Configure ETH1, the interface to the outside world. In this | 381 | <para>eth0 is the interface used by nodes to boot via PXE (Admin |
384 | example ETH1 is configured with 10.0.6.10/24 and the default | 382 | network) and eth1 is the interface on the corporate/lab network |
385 | gateway is 10.0.6.254.</para> | 383 | (Public network).</para> |
384 | </listitem> | ||
385 | |||
386 | <listitem> | ||
387 | <para>eth0 should be enabled and assigned static IP address | ||
388 | 10.20.0.2/24, with no gateway.</para> | ||
389 | </listitem> | ||
390 | |||
391 | <listitem> | ||
392 | <para>eth1 should be enabled and configured with a static IP | ||
393 | address, netmask and gateway on your Public network.</para> | ||
386 | </listitem> | 394 | </listitem> |
387 | </itemizedlist> | 395 | </itemizedlist> |
388 | 396 | ||
397 | <para>You will access Fuel from your Public network using the IP | ||
398 | configured for eth1.</para> | ||
399 | |||
389 | <mediaobject> | 400 | <mediaobject> |
390 | <imageobject> | 401 | <imageobject> |
391 | <imagedata contentwidth="600" fileref="images/net_setup_1.svg" /> | 402 | <imagedata contentwidth="600" fileref="images/net_setup_1.svg" /> |
@@ -423,9 +434,8 @@ | |||
423 | 434 | ||
424 | <listitem> | 435 | <listitem> |
425 | <para>In the <literal>Time Sync</literal> section, change the fields | 436 | <para>In the <literal>Time Sync</literal> section, change the fields |
426 | shown below to appropriate values. It is strongly advised to avoid | 437 | shown below to appropriate values if needed, |
427 | using <literal>fuel.pool.ntp.org</literal> and instead set the values | 438 | <literal>pool.ntp.org</literal> is set by default.</para> |
428 | to <literal>pool.ntp.org.</literal></para> | ||
429 | 439 | ||
430 | <mediaobject> | 440 | <mediaobject> |
431 | <imageobject> | 441 | <imageobject> |
@@ -654,8 +664,9 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
654 | </listitem> | 664 | </listitem> |
655 | 665 | ||
656 | <listitem> | 666 | <listitem> |
657 | <para>Open the networks tab and select <literal>default</literal> in | 667 | <para>Open the <literal>Networks</literal> tab and select |
658 | the Node Networks group, on the left side menu:</para> | 668 | <literal>default</literal> in the <literal>Node Networks</literal> |
669 | group, on the left side menu:</para> | ||
659 | 670 | ||
660 | <mediaobject> | 671 | <mediaobject> |
661 | <imageobject> | 672 | <imageobject> |
@@ -688,9 +699,8 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
688 | </listitem> | 699 | </listitem> |
689 | 700 | ||
690 | <listitem> | 701 | <listitem> |
691 | <para>Check <Use VLAN tagging> if needed. For simplicity | 702 | <para>Check <Use VLAN tagging> if needed. For simplicity it |
692 | it’s recommended to use the public network in untagged | 703 | is recommended to use the public network in untagged mode.</para> |
693 | mode.</para> | ||
694 | </listitem> | 704 | </listitem> |
695 | 705 | ||
696 | <listitem> | 706 | <listitem> |
@@ -836,20 +846,6 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
836 | </orderedlist> | 846 | </orderedlist> |
837 | </section> | 847 | </section> |
838 | 848 | ||
839 | <section id="hypervisor_type"> | ||
840 | <title>Select Hypervisor type</title> | ||
841 | |||
842 | <para>Setting the <literal>Hypervisor type</literal> is done in the | ||
843 | <literal>Settings</literal> tab by selecting <literal>Compute</literal> on | ||
844 | the left side pane, and checking the KVM box:</para> | ||
845 | |||
846 | <mediaobject> | ||
847 | <imageobject> | ||
848 | <imagedata contentwidth="600" fileref="images/compute_kvm.svg" /> | ||
849 | </imageobject> | ||
850 | </mediaobject> | ||
851 | </section> | ||
852 | |||
853 | <section id="add_rm_repos"> | 849 | <section id="add_rm_repos"> |
854 | <title>Adding/Removing Repositories</title> | 850 | <title>Adding/Removing Repositories</title> |
855 | 851 | ||
@@ -889,6 +885,20 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
889 | </itemizedlist> | 885 | </itemizedlist> |
890 | </section> | 886 | </section> |
891 | 887 | ||
888 | <section id="hypervisor_type"> | ||
889 | <title>Select Hypervisor type</title> | ||
890 | |||
891 | <para>Setting the <literal>Hypervisor type</literal> is done in the | ||
892 | <literal>Settings</literal> tab by selecting <literal>Compute</literal> on | ||
893 | the left side pane, and checking the KVM box:</para> | ||
894 | |||
895 | <mediaobject> | ||
896 | <imageobject> | ||
897 | <imagedata contentwidth="600" fileref="images/compute_kvm.svg" /> | ||
898 | </imageobject> | ||
899 | </mediaobject> | ||
900 | </section> | ||
901 | |||
892 | <section id="storage_plugins_addicomps"> | 902 | <section id="storage_plugins_addicomps"> |
893 | <title>Storage, Plugins and Additional Components</title> | 903 | <title>Storage, Plugins and Additional Components</title> |
894 | 904 | ||
@@ -930,30 +940,25 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
930 | <listitem> | 940 | <listitem> |
931 | <para>Check the box for <literal>Use Zabbix Datasource in | 941 | <para>Check the box for <literal>Use Zabbix Datasource in |
932 | Vitrage</literal>:</para> | 942 | Vitrage</literal>:</para> |
933 | |||
934 | <mediaobject> | ||
935 | <imageobject> | ||
936 | <imagedata contentwidth="600" fileref="images/other.svg" /> | ||
937 | </imageobject> | ||
938 | </mediaobject> | ||
939 | </listitem> | 943 | </listitem> |
940 | 944 | ||
941 | <listitem> | 945 | <listitem> |
942 | <para>Enable and configure the KVM For NFV Plugin.</para> | 946 | <para>Enable and configure the KVM For NFV Plugin.</para> |
943 | 947 | ||
948 | <note> | ||
949 | <para>Currently the KVM For NFV Plugin is only available for x86 | ||
950 | architectures. Refer to the <emphasis role="bold">OPNFV | ||
951 | KVMforNFV</emphasis> Project for more information.</para> | ||
952 | </note> | ||
953 | |||
944 | <mediaobject> | 954 | <mediaobject> |
945 | <imageobject> | 955 | <imageobject> |
946 | <imagedata contentwidth="600" fileref="images/KVM_checked.svg" /> | 956 | <imagedata contentwidth="600" |
957 | fileref="images/Vitrage_KVM_2.11.svg" /> | ||
947 | </imageobject> | 958 | </imageobject> |
948 | </mediaobject> | 959 | </mediaobject> |
949 | </listitem> | 960 | </listitem> |
950 | </itemizedlist> | 961 | </itemizedlist> |
951 | |||
952 | <note> | ||
953 | <para>Currently the KVM For NFV Plugin is only available for x86 | ||
954 | architectures. Refer to the OPNFV KVMforNFV Project for more | ||
955 | information.</para> | ||
956 | </note> | ||
957 | </section> | 962 | </section> |
958 | 963 | ||
959 | <section id="allocate_nodes_assign_roles"> | 964 | <section id="allocate_nodes_assign_roles"> |
@@ -978,11 +983,12 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
978 | 983 | ||
979 | <itemizedlist> | 984 | <itemizedlist> |
980 | <listitem> | 985 | <listitem> |
981 | <para>Click on the <+Add Nodes> button</para> | 986 | <para>Click on the <literal>+Add Nodes</literal> button</para> |
982 | </listitem> | 987 | </listitem> |
983 | 988 | ||
984 | <listitem> | 989 | <listitem> |
985 | <para>Check <Controller>, <Telemetry - MongoDB></para> | 990 | <para>Check the <literal>Controller, Ceph OSD</literal> |
991 | roles</para> | ||
986 | </listitem> | 992 | </listitem> |
987 | 993 | ||
988 | <listitem> | 994 | <listitem> |
@@ -991,16 +997,16 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
991 | </listitem> | 997 | </listitem> |
992 | 998 | ||
993 | <listitem> | 999 | <listitem> |
994 | <para>Click [Apply Changes]</para> | 1000 | <para>Click <literal>Apply Changes</literal></para> |
995 | </listitem> | 1001 | </listitem> |
996 | 1002 | ||
997 | <listitem> | 1003 | <listitem> |
998 | <para>Click on the <+Add Nodes> button</para> | 1004 | <para>Click on the <literal>+Add Nodes</literal> button</para> |
999 | </listitem> | 1005 | </listitem> |
1000 | 1006 | ||
1001 | <listitem> | 1007 | <listitem> |
1002 | <para>Check the <Controller> and <Storage - Ceph OSD> | 1008 | <para>Check <literal>Controller, Telemetry - |
1003 | roles.</para> | 1009 | MongoDB</literal></para> |
1004 | </listitem> | 1010 | </listitem> |
1005 | 1011 | ||
1006 | <listitem> | 1012 | <listitem> |
@@ -1008,15 +1014,15 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1008 | </listitem> | 1014 | </listitem> |
1009 | 1015 | ||
1010 | <listitem> | 1016 | <listitem> |
1011 | <para>Click <Apply Changes></para> | 1017 | <para>Click <literal>Apply Changes</literal></para> |
1012 | </listitem> | 1018 | </listitem> |
1013 | 1019 | ||
1014 | <listitem> | 1020 | <listitem> |
1015 | <para>Click on <+Add Nodes> button</para> | 1021 | <para>Click on <literal>+Add Nodes</literal> button</para> |
1016 | </listitem> | 1022 | </listitem> |
1017 | 1023 | ||
1018 | <listitem> | 1024 | <listitem> |
1019 | <para>Check <Controller></para> | 1025 | <para>Check <literal>Controller, Vitrage</literal></para> |
1020 | </listitem> | 1026 | </listitem> |
1021 | 1027 | ||
1022 | <listitem> | 1028 | <listitem> |
@@ -1024,26 +1030,25 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1024 | </listitem> | 1030 | </listitem> |
1025 | 1031 | ||
1026 | <listitem> | 1032 | <listitem> |
1027 | <para>Click <Apply Changes></para> | 1033 | <para>Click <literal>Apply Changes</literal></para> |
1028 | </listitem> | 1034 | </listitem> |
1029 | 1035 | ||
1030 | <listitem> | 1036 | <listitem> |
1031 | <para>Check the <Compute> and <Storage - Ceph OSD> | 1037 | <para>Check the <literal>Compute, Ceph OSD</literal> roles</para> |
1032 | roles.</para> | ||
1033 | </listitem> | 1038 | </listitem> |
1034 | 1039 | ||
1035 | <listitem> | 1040 | <listitem> |
1036 | <para>Check the Nodes you want to act as Computes from the bottom | 1041 | <para>Check the nodes you want to act as Computes from the bottom |
1037 | half of the screen.</para> | 1042 | half of the screen.</para> |
1038 | </listitem> | 1043 | </listitem> |
1039 | 1044 | ||
1040 | <listitem> | 1045 | <listitem> |
1041 | <para>Click <Apply Changes></para> | 1046 | <para>Click <literal>Apply Changes</literal></para> |
1042 | 1047 | ||
1043 | <mediaobject> | 1048 | <mediaobject> |
1044 | <imageobject> | 1049 | <imageobject> |
1045 | <imagedata contentwidth="600" | 1050 | <imagedata contentwidth="600" |
1046 | fileref="images/assign_roles.svg" /> | 1051 | fileref="images/Corrected_node_roles_result.svg" /> |
1047 | </imageobject> | 1052 | </imageobject> |
1048 | </mediaobject> | 1053 | </mediaobject> |
1049 | </listitem> | 1054 | </listitem> |
@@ -1062,7 +1067,7 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1062 | 1067 | ||
1063 | <itemizedlist> | 1068 | <itemizedlist> |
1064 | <listitem> | 1069 | <listitem> |
1065 | <para>Select all allocated nodes</para> | 1070 | <para>Select all Controller nodes</para> |
1066 | </listitem> | 1071 | </listitem> |
1067 | 1072 | ||
1068 | <listitem> | 1073 | <listitem> |
@@ -1150,7 +1155,8 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1150 | <listitem> | 1155 | <listitem> |
1151 | <para>Set <literal>Huge Pages</literal> for Nova and DPDK to | 1156 | <para>Set <literal>Huge Pages</literal> for Nova and DPDK to |
1152 | appropriate values and save your settings. It is recommended to | 1157 | appropriate values and save your settings. It is recommended to |
1153 | use at least 2048 pages of 2MB for both Nova and DPDK.</para> | 1158 | use at least 2048 pages of 2MB for Nova and 2048MB for |
1159 | DPDK.</para> | ||
1154 | 1160 | ||
1155 | <mediaobject> | 1161 | <mediaobject> |
1156 | <imageobject> | 1162 | <imageobject> |
@@ -1261,8 +1267,15 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1261 | 1267 | ||
1262 | <listitem> | 1268 | <listitem> |
1263 | <para>Continue to fix your topology (physical switch, etc.) until the | 1269 | <para>Continue to fix your topology (physical switch, etc.) until the |
1264 | "Verification Succeeded" and "Your network is configured correctly" | 1270 | <literal>Verification succeeded. Your network is configured |
1265 | messages are shown.</para> | 1271 | correctly.</literal> message is shown.</para> |
1272 | |||
1273 | <mediaobject> | ||
1274 | <imageobject> | ||
1275 | <imagedata contentwidth="600" | ||
1276 | fileref="images/verification_succeeded.svg" /> | ||
1277 | </imageobject> | ||
1278 | </mediaobject> | ||
1266 | </listitem> | 1279 | </listitem> |
1267 | </orderedlist> | 1280 | </orderedlist> |
1268 | </section> | 1281 | </section> |
@@ -1273,11 +1286,10 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1273 | <para>After the configuration is complete and the network connectivity | 1286 | <para>After the configuration is complete and the network connectivity |
1274 | checked, the environment needs to be deployed.</para> | 1287 | checked, the environment needs to be deployed.</para> |
1275 | 1288 | ||
1276 | <para>From the <literal>Dashboard</literal> tab click on | 1289 | <para>From the <literal>Dashboard</literal> tab click on <literal>Deploy |
1277 | <literal>Deploy</literal>. The process should take around 2 hours the | 1290 | Changes</literal>. The process should take around 2 hours the first time |
1278 | first time after a fresh Fuel Master installation. Part of the deploy | 1291 | after a fresh Fuel Master installation. Part of the deploy process is to |
1279 | process is to build the target image, which can take between 30 and 60 | 1292 | build the target image, which can take between 30 and 60 minutes.</para> |
1280 | minutes.</para> | ||
1281 | 1293 | ||
1282 | <para>The entire deploy process goes through two phases:</para> | 1294 | <para>The entire deploy process goes through two phases:</para> |
1283 | 1295 | ||
@@ -1351,9 +1363,45 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1351 | </listitem> | 1363 | </listitem> |
1352 | 1364 | ||
1353 | <listitem> | 1365 | <listitem> |
1366 | <para>If DPDK is used, the default flavour | ||
1367 | <filename>m1.micro</filename> should be modified. </para> | ||
1368 | |||
1369 | <para>In order to do this, select Admin|System|Flavors and all flavors | ||
1370 | will be displayed. Note that <filename>m1.micro</filename> has no | ||
1371 | metadata. Specific metadata for DPDK will be added.</para> | ||
1372 | |||
1373 | <mediaobject> | ||
1374 | <imageobject> | ||
1375 | <imagedata contentwidth="600" fileref="images/1-Admin_Flavors.svg" /> | ||
1376 | </imageobject> | ||
1377 | </mediaobject> | ||
1378 | |||
1379 | <para>Click on No under Metadata. The "Update Flavor Metadata" window | ||
1380 | will appear. Write "hw:mem_page_size" in Custom field and press the | ||
1381 | plus sign.</para> | ||
1382 | |||
1383 | <mediaobject> | ||
1384 | <imageobject> | ||
1385 | <imagedata contentwidth="600" | ||
1386 | fileref="images/2-Update_Flavour_Metadata_Create.svg" /> | ||
1387 | </imageobject> | ||
1388 | </mediaobject> | ||
1389 | |||
1390 | <para>Now set the value "any" for the "hw:mem_page_size" metadata you | ||
1391 | created previously and press Save.</para> | ||
1392 | |||
1393 | <mediaobject> | ||
1394 | <imageobject> | ||
1395 | <imagedata contentwidth="600" | ||
1396 | fileref="images/3-Update_Flavour_Metadata_Set.svg" /> | ||
1397 | </imageobject> | ||
1398 | </mediaobject> | ||
1399 | </listitem> | ||
1400 | |||
1401 | <listitem> | ||
1354 | <para>Select Project|Compute|Instances and all the instances (none in | 1402 | <para>Select Project|Compute|Instances and all the instances (none in |
1355 | this case) will be displayed. Click <literal>Launch Instance</literal> | 1403 | this case) will be displayed. Click <literal>Launch Instance</literal> |
1356 | to create a new instance, causing a causing wizard to appear.</para> | 1404 | to create a new instance, causing a wizard to appear.</para> |
1357 | 1405 | ||
1358 | <mediaobject> | 1406 | <mediaobject> |
1359 | <imageobject> | 1407 | <imageobject> |
@@ -1374,8 +1422,9 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1374 | </listitem> | 1422 | </listitem> |
1375 | 1423 | ||
1376 | <listitem> | 1424 | <listitem> |
1377 | <para>The image needed is "Select Boot Source". Add the TestVM image | 1425 | <para>Select <filename>Image</filename> in the <literal>Select Boot |
1378 | by pressing on the add/plus sign, then press Next.</para> | 1426 | Source</literal> in the dropdown list. Add the TestVM image by |
1427 | pressing on the add/plus sign, then press Next.</para> | ||
1379 | 1428 | ||
1380 | <mediaobject> | 1429 | <mediaobject> |
1381 | <imageobject> | 1430 | <imageobject> |
@@ -1385,7 +1434,7 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1385 | </listitem> | 1434 | </listitem> |
1386 | 1435 | ||
1387 | <listitem> | 1436 | <listitem> |
1388 | <para>Add the <filename>m1.micro</filename> flavor by pressing on the | 1437 | <para>Add the <filename>m1.micro</filename> flavor by clicking on the |
1389 | plus sign, then press Next.</para> | 1438 | plus sign, then press Next.</para> |
1390 | 1439 | ||
1391 | <mediaobject> | 1440 | <mediaobject> |
@@ -1396,8 +1445,8 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1396 | </listitem> | 1445 | </listitem> |
1397 | 1446 | ||
1398 | <listitem> | 1447 | <listitem> |
1399 | <para>Add <literal>admin_internal_net</literal> network by pressing on | 1448 | <para>Add the <literal>admin_internal_net</literal> network by |
1400 | the plus sign and leave the defaults as they are.</para> | 1449 | pressing on the plus sign and leave the defaults as they are.</para> |
1401 | 1450 | ||
1402 | <mediaobject> | 1451 | <mediaobject> |
1403 | <imageobject> | 1452 | <imageobject> |
@@ -1429,7 +1478,7 @@ $ fuel plugins --install /opt/opnfv/fuel-plugin-kvm-1.0-1.0.0-1.noarch.rpm</prog | |||
1429 | </listitem> | 1478 | </listitem> |
1430 | 1479 | ||
1431 | <listitem> | 1480 | <listitem> |
1432 | <para>Repeat the above steps to create the second virtual machine. | 1481 | <para>Repeat the steps above to create the second virtual machine. |
1433 | Make a note of the IP addresses allocated:</para> | 1482 | Make a note of the IP addresses allocated:</para> |
1434 | 1483 | ||
1435 | <mediaobject> | 1484 | <mediaobject> |