diff options
Diffstat (limited to 'fuel/docs/src/installation-instructions.rst')
-rw-r--r-- | fuel/docs/src/installation-instructions.rst | 361 |
1 files changed, 138 insertions, 223 deletions
diff --git a/fuel/docs/src/installation-instructions.rst b/fuel/docs/src/installation-instructions.rst index aedbb53d5..56699e9c3 100644 --- a/fuel/docs/src/installation-instructions.rst +++ b/fuel/docs/src/installation-instructions.rst @@ -9,13 +9,13 @@ OPNFV Installation instructions for the Arno release of OPNFV when using Fuel as Abstract ======== -This document describes how to install the Arno SR1 release of OPNFV when using Fuel as a deployment tool covering it's limitations, dependencies and required system resources. +This document describes how to install the Arno release of OPNFV when using Fuel as a deployment tool covering it's limitations, dependencies and required system resources. License ======= -Arno SR1 release of OPNFV when using Fuel as a deployment tool Docs (c) by Jonas Bjurel (Ericsson AB) +Arno release of OPNFV when using Fuel as a deployment tool Docs (c) by Jonas Bjurel (Ericsson AB) -Arno SR1 release of OPNFV when using Fuel as a deployment tool Docs are licensed under a Creative Commons Attribution 4.0 International License. You should have received a copy of the license along with this. If not, see <http://creativecommons.org/licenses/by/4.0/>. +Arno release of OPNFV when using Fuel as a deployment tool Docs are licensed under a Creative Commons Attribution 4.0 International License. You should have received a copy of the license along with this. If not, see <http://creativecommons.org/licenses/by/4.0/>. Version history =============== @@ -27,61 +27,52 @@ Version history | 2015-06-03 | 1.0.0 | Jonas Bjurel | Installation | | | | (Ericsson AB) | instructions for | | | | | the Arno release | -| | | | | -| 2015-09-27 | 1.1.0 | Daniel Smith | ARNO SR1-RC1 | -| | | (Ericsson AB) | update | -| | | | | -| | | | | +--------------------+--------------------+--------------------+--------------------+ Introduction ============ -This document describes providing guidelines on how to install and configure the Arno SR1 release of OPNFV when using Fuel as a deployment tool including required software and hardware configurations. +This document describes providing guidelines on how to install and configure the Arno release of OPNFV when using Fuel as a deployment tool including required software and hardware configurations. -Although the available installation options gives a high degree of freedom in how the system is set-up including architecture, services and features, etc. said permutations may not provide an OPNFV compliant reference architecture. This instruction provides a step-by-step guide that results in an OPNFV Arno SR1 compliant deployment. +Although the available installation options gives a high degree of freedom in how the system is set-up including architecture, services and features, etc. said permutations may not provide an OPNFV compliant reference architecture. This instruction provides a step-by-step guide that results in an OPNFV Arno compliant deployment. The audience of this document is assumed to have good knowledge in networking and Unix/Linux administration. Preface ======= -Before starting the installation of the Arno SR1 release of OPNFV when using Fuel as a deployment tool, some planning must be done. +Before starting the installation of the Arno release of OPNFV when using Fuel as a deployment tool, some planning must be done. Retrieving the ISO image ------------------------ -First of all, the Fuel deployment ISO image needs to be retrieved, the .iso image of the Arno SR1 release of OPNFV when using Fuel as a deployment tool can be found at http://artifacts.opnfv.org/arno.2015.2.0/fuel/arno.2015.2.0.fuel.iso - +First of all, the Fuel deployment ISO image needs to be retrieved, the .iso image of the Arno release of OPNFV when using Fuel as a deployment tool can be found at http://artifacts.opnfv.org/arno.2015.1.0/fuel/arno.2015.1.0.fuel.iso Building the ISO image ---------------------- - Alternatively, you may build the .iso from source by cloning the opnfv/genesis git repository. To retrieve the repository for the Arno release use the following command: -- git clone https://<linux foundation uid>@gerrit.opnf.org/gerrit/genesis +<git clone https://<linux foundation uid>@gerrit.opnf.org/gerrit/genesis> -Check-out the Arno SR1 release tag to set the branch to the baseline required to replicate the Arno SR1 release: +Check-out the Arno release tag to set the branch to the baseline required to replicate the Arno release: -- cd genesis; git checkout stable/arno2015.2.0 +<cd genesis; git checkout arno.2015.1.0> Go to the fuel directory and build the .iso: -- cd fuel/build; make all - -For more information on how to build, please see "OPNFV Build instructions for - Arno SR1 release of OPNFV when using Fuel as a deployment tool which you retrieved with the repository at </genesis/fuel/docs/src/build-instructions.rst> +<cd fuel/build; make all> -Next, familiarize yourself with the Fuel 6.1 version by reading the following documents: +For more information on how to build, please see "OPNFV Build instructions for - Arno release of OPNFV when using Fuel as a deployment tool which you retrieved with the repository at </genesis/fuel/docs/src/build-instructions.rst> -- Fuel planning guide <https://docs.mirantis.com/openstack/fuel/fuel-6.1/planning-guide.html> +Next, familiarize yourself with the Fuel 6.0.1 version by reading the following documents: -- Fuel user guide <http://docs.mirantis.com/openstack/fuel/fuel-6.1/user-guide.html#user-guide> +- Fuel planning guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/planning-guide.html#planning-guide> -- Fuel operations guide <http://docs.mirantis.com/openstack/fuel/fuel-6.1/operations.html#operations-guide> +- Fuel user guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/user-guide.html#user-guide> -- Fuel Plugin Developers Guide <https://wiki.openstack.org/wiki/Fuel/Plugins> +- Fuel operations guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/operations.html#operations-guide> A number of deployment specific parameters must be collected, those are: @@ -93,40 +84,27 @@ A number of deployment specific parameters must be collected, those are: 4. Provider NTP addresses -5. Network Topology you plan to Deploy (VLAN, GRE(VXLAN), FLAT) - -6. Linux Distro you intend to deploy. - -7. How many nodes and what roles you want to deploy (Controllers, Storage, Computes) - -8. Monitoring Options you want to deploy (Ceilometer, MongoDB). - -9. Other options not covered in the document are available in the links above - - This information will be needed for the configuration procedures provided in this document. Hardware requirements ===================== -The following minimum hardware requirements must be met for the installation of Arno SR1 using Fuel: +The following minimum hardware requirements must be met for the installation of Arno using Fuel: +--------------------+------------------------------------------------------+ | **HW Aspect** | **Requirement** | | | | +--------------------+------------------------------------------------------+ -| **# of nodes** | Minimum 6 (3 for non redundant deployment): | +| **# of servers** | Minimum 5 (3 for non redundant deployment): | | | | | | - 1 Fuel deployment master (may be virtualized) | | | | | | - 3(1) Controllers | | | | | | - 1 Compute | -| | | -| | - 1 Ceilometer (VM option) | +--------------------+------------------------------------------------------+ -| **CPU** | Minimum 1 socket x86_AMD64 with Virtualization | -| | support | +| **CPU** | Minimum 1 socket x86_AMD64 Ivy bridge 1.6 GHz | +| | | +--------------------+------------------------------------------------------+ | **RAM** | Minimum 16GB/server (Depending on VNF work load) | | | | @@ -134,30 +112,14 @@ The following minimum hardware requirements must be met for the installation of | **Disk** | Minimum 256GB 10kRPM spinning disks | | | | +--------------------+------------------------------------------------------+ -| **Networks** | 4 Tagged VLANs (PUBLIC, MGMT, STORAGE, PRIVATE) | +| **NICs** | - 2(1)x10GE Niantec for Private/Public (Redundant) | | | | -| | 1 Un-Tagged VLAN for PXE Boot - ADMIN Network | +| | - 2(1)x10GE Niantec for SAN (Redundant) | +| | | +| | - 2(1)x1GE for admin (PXE) and control (RabitMQ,etc) | | | | -| | note: These can be run on single NIC - or spread out | -| | over other nics as your hardware supports | +--------------------+------------------------------------------------------+ -Help with Hardware Requirements -=============================== - - -Calculate hardware requirements: - -You can use the Fuel Hardware Calculator <https://www.mirantis.com/openstack-services/bom-calculator/> to calculate the hardware required for your OpenStack environment. - -When choosing the hardware on which you will deploy your OpenStack environment, you should think about: - - - CPU -- Consider the number of virtual machines that you plan to deploy in your cloud environment and the CPU per virtual machine. - - Memory -- Depends on the amount of RAM assigned per virtual machine and the controller node. - - Storage -- Depends on the local drive space per virtual machine, remote volumes that can be attached to a virtual machine, and object storage. - - Networking -- Depends on the Choose Network Topology, the network bandwidth per virtual machine, and network storage. - - Top of the rack (TOR) Configuration requirements ================================================ @@ -165,7 +127,8 @@ The switching infrastructure provides connectivity for the OPNFV infrastructure The physical TOR switches are **not** automatically configured from the OPNFV reference platform. All the networks involved in the OPNFV infrastructure as well as the provider networks and the private tenant VLANs needs to be manually configured. -Manual configuration of the Arno SR1 hardware platform should be carried out according to the Pharos specification TODO-<insert link to Pharos ARNO SR1 Specification> + +Manual configuration of the Arno hardware platform should be carried out according to the Pharos specification http://artifacts.opnfv.org/arno.2015.1.0/docs/pharos-spec.arno.2015.1.0.pdf OPNFV Software installation and deployment ========================================== @@ -174,29 +137,35 @@ This section describes the installation of the OPNFV installation server (Fuel m Install Fuel master ------------------- -1. Mount the Arno SR1 ISO file as a boot device to the jump host server. +1. Mount the built arno.2015.1.0.fuel.iso file as a boot device to the jump host server. 2. Reboot the jump host to establish the Fuel server. - The system now boots from the ISO image. - - Select 'DVD Fuel Install (Static IP)' +3. Change the grub boot parameters - - Press [Enter]. + - When the grub boot menu shows up - Press Tab to edit the kernel parameters -3. Wait until screen Fuel setup is shown (Note: This can take up to 30 minutes). + - Change <showmenu=no> to <showmenu=yes>. -4. Configure DHCP/Static IP information for your FUEL node - For example, ETH0 is 10.20.0.2/24 for FUEL booting and ETH1 is DHCP in your corporate/lab network. + - Change <netmask=255.255.255.0> to <netmask=255.255.0.0>. - - Configure eth1 or other network interfaces here as well (if you have them present on your FUEL server). + - Press [Enter]. + +4. Wait until screen Fuel setup is shown (Note: This can take up to 30 minutes). 5. Select PXE Setup and change the following fields to appropriate values (example below): - - DHCP Pool Start 10.20.0.3 + - Static Pool Start 10.20.0.3 + + - Static Pool End 10.20.0.254 - - DHCP Pool End 10.20.0.254 + - DHCP Pool Start 10.20.128.3 - - DHCP Pool Gateway 10.20.0.2 (ip of Fuel node) + - DHCP Pool End 10.20.128.254 + +6. Select DNS & Hostname and change the following fields to appropriate values: - Hostname <OPNFV Region name>-fuel @@ -206,7 +175,7 @@ Install Fuel master - Hostname to test DNS <Hostname to test DNS> -6. Select Time Sync and change the following fields to appropriate values: +7. Select Time Sync and change the following fields to appropriate values: - NTP Server 1 <Customer NTP server 1> @@ -214,94 +183,67 @@ Install Fuel master - NTP Server 3 <Customer NTP server 3> -7. Start the installation. + **Note: This step is only to pass the network sanity test, the actual ntp parameters will be set with the pre-deploy script.** + +8. Start the installation. - Select Quit Setup and press Save and Quit. - Installation starts, wait until a screen with logon credentials is shown. - -Boot the Node Servers ---------------------- - -After the Fuel Master node has rebooted from the above step and is at the login prompt, you should boot the Node Servers (Your Compute/Control/Storage blades (nested or real)) with a PXE Booting Scheme so that the FUEL -Master can pick them up for control. - -8. Enable PXE booting - - - For every controller and compute server: enable PXE Booting as the first boot device in the BIOS boot order menu and hard disk as the second boot device in the same menu. - -9. Reboot all the control and compute blades. - -10. Wait for the availability of nodes showing up in the Fuel GUI. - - - Wait until all nodes are displayed in top right corner of the Fuel GUI: <total number of server> TOTAL NODES and <total number of servers> UNALLOCATED NODES. - - - -Install ODL Plugin on FUEL node -------------------------------- - -11. SSH to your FUEL node (e.g. root@10.20.0.2 pwd: r00tme) - -12. Verify the plugin exists at /opt/opnfv/opendaylight-0.6-0.6.1-1.noarch.rpm - -13. Install the plugin with the command - - - "fuel plugins --install /opt/opnfv/opendaylight-0.6-0.6.1-1.noarch.rpm" - - - Expected output: "Plugin opendaylight-0.6-0.6.1-1.noarch.rpm was successfully installed." - + Note: This will take about 15 minutes. Create an OPNFV Environment --------------------------- -14. Connect to Fuel WEB UI with a browser towards port http://<ip of fuel server>:8000 (login admin/admin) +9. Connect to Fuel with a browser towards port 8000 -15. Create and name a new OpenStack environment, to be installed. +10. Create and name a new OpenStack environment, to be installed. -16. Select <Juno on Ubuntu> or <Juno on CentOS> as per your which in the "OpenStack Release" field and press "Next" +11. Select <Juno on Ubuntu> or <Juno on CentOS> as per your which in the "OpenStack Release" field. -17. Select compute virtulization method. +12. Select deployment mode. - - Select KVM as hypervisor (or one of your choosing) and press "Next" + - Select the Multi-node with HA. -18. Select network mode. +13. Select compute node mode. - - Select Neutron with GRE segmentation and press "Next" + - Select KVM as hypervisor (unless you're not deploying bare metal or nested KVM/ESXI). - Note: this is the supportted method when using the ODL installation, other options will not work with the plugin and this Instruction Set. +14. Select network mode. -19. Select Storage Back-ends. + - Select Neutron with VLAN segmentation - - Select "Yes, use Ceph" if you intend to deploy Ceph Backends and press "Next" + ** Note: This will later be overridden to VXLAN by OpenDaylight.** +15. Select Storage Back-ends. -20. Select additional services you wish to install. + - Select Ceph for Cinder and default for glance. - - Check option <Install Celiometer (OpenStack Telemetry)> and press "Next" - Note: If you use Ceilometer and you only have 5 nodes, you may have to run in a 3/1/1 (controller/ceilo-mongo/compute) configuration. Suggest adding more compute nodes +16. Select additional services. -21. Create the new environment. + - Check option <Install Celiometer (OpenStack Telemetry)>. - - Click "Create" Button +17. Create the new environment. Configure the OPNFV environment ------------------------------- -22. Enable PXE booting (if you haven't done this already) +18. Enable PXE booting - For every controller and compute server: enable PXE Booting as the first boot device in the BIOS boot order menu and hard disk as the second boot device in the same menu. -23. Wait for the availability of nodes showing up in the Fuel GUI. +19. Reboot all the control and compute blades. + +20. Wait for the availability of nodes showing up in the Fuel GUI. - Wait until all nodes are displayed in top right corner of the Fuel GUI: <total number of server> TOTAL NODES and <total number of servers> UNALLOCATED NODES. -24. Open the environment you previously created. +21. Open the environment you previously created. -25. Open the networks tab. +22. Open the networks tab. -26. Update the Public network configuration. +23. Update the public network configuration. Change the following fields to appropriate values: @@ -311,67 +253,57 @@ Configure the OPNFV environment - CIDR to <CIDR for Public IP Addresses> - - Check VLAN tagging. - - - Set appropriate VLAN id. - - Gateway to <Gateway for Public IP Addresses> - - Set floating ip ranges - - -27. Update the Storage Network Configuration - - - Set CIDR to appropriate value (default 192.168.1.0/24) + - Check VLAN tagging. - - Set vlan to appropriate value (default 102) + - Set appropriate VLAN id. -28. Update the Management network configuration. +24. Update the management network configuration. - - Set CIDR to appropriate value (default 192.168.0.0/24) + - Set CIDR to 172.16.255.128/25 (or as per your which). - Check VLAN tagging. - - Set appropriate VLAN id. (default 101) - -29. Update the Private Network Information + - Set appropriate VLAN id. - - Set CIDR to appropriate value (default 192.168.2.0/24 +25. Update the Neutron L2 configuration. - - Check and set VLAN tag appropriately (default 103) + - Set VLAN ID range. -30. Update the Neutron L3 configuration. +26. Update the Neutron L3 configuration. - Set Internal network CIDR to an appropriate value - Set Internal network gateway to an appropriate value - - Set Guest OS DNS Server values appropriately + - Set Floating IP ranges. -31. Save Settings. + - Set DNS Servers -32. Click on the "Nodes" Tab in the FUEL WEB UI. +27. Save Settings. -33. Assign roles. +28. Click "verify network" to check the network set-up consistency and connectivity - - Click on "+Add Nodes" button +29. Update the storage configuration. - - Check "Controller" and the "Storage-Ceph OSD" in the Assign Roles Section +30. Open the nodes tab. - - Check the 3 Nodes you want to act as Controllers from the bottom half of the screen +31. Assign roles. - - Click <Apply Changes>. + - Check <Controller and Telemetry MongoDB>. - - Click on "+Add Nodes" button + - Check the three servers you want to be installed as Controllers in pane <Assign Role>. - - Check "Compute" in the Assign Roles Section + - Click <Apply Changes>. - - Check the Nodes that you want to act as Computes from the bottom half of the screen + - Check <Compute>. - - Click <Apply Changes>. + - Check nodes to be installed as compute nodes in pane Assign Role. + - Click <Apply Changes>. -34. Configure interfaces. +32. Configure interfaces. - Check Select <All> to select all nodes with Control, Telemetry, MongoDB and Compute node roles. @@ -381,84 +313,67 @@ Configure the OPNFV environment - Assign interfaces (bonded) for mgmt-, admin-, private-, public- and storage networks - - Note: Set MTU level to at least MTU=2090 (recommended MTU=2140 for SDN over VXLAN Usage) for each network - - - Click Apply - -Enable ODL ----------- +Deploy the OPNFV environment +---------------------------- +**NOTE: Before the deployment is performed, the OPNFV pre-deploy script must be run** -35. In the FUEL UI of your Enviornment, click the "Settings" Tab +35. Run the pre-deploy script. + Log on as root to the Fuel node. + Print Fuel environment Id (fuel env) + #> id | status | name | mode | release_id | changes <id>| new | <CEE Region name>| ha_compact | 2 | <ite specific information> - - Enable OpenStack debug logging (in the Common Section) - optional +36. Run the pre-deployment script (/opt/opnfv/pre-deploy.sh <id>) + As prompted for-, set the DNS servers to go into /etc/resolv.conf. + As prompted for-, set any Hosts file additions for controllers and compute nodes. You will be prompted for name, FQDN and IP for each entry. Press return when prompted for a name when you have completed your input. + As prompted for-, set NTP upstream configuration for controllers. You will be prompted for a NTP server each entry. Press return when prompted for a NTP server when you have completed your input. - - Check the OpenDaylight Lithium Plugin Section - - - Check to enable VXLAN - - - Modify VNI and Port Range if desired - - - Click "Save Settings" at the bottom to Save. - - -OPTIONAL - Set Local Mirror Repos ---------------------------------- - -The following steps can be executed if you are in an environment with no connection to the internet. The Fuel server delivers a local repo that can be used for -installation / deployment of openstack. - -36. In the Fuel UI of your Environment, click the Settings Tab and scroll to the Repositories Section. - - - Replace the URI values for the "Name" values outlined below: - - - "ubuntu" URI="deb http://<ip-of-fuel-server>:8080/ubuntu-part trusty main" - - "ubuntu-security" URI="deb http://<ip-of-fuel-server>:8080/ubuntu-part trusty main" - - "ubuntu-updates" URI="deb http://<ip-of-fuel-server>:8080/ubuntu-part trusty main" - - "mos-updates" URI="deb http://<ip-of-fuel-server>:8080/mos-ubuntu mos6.1-updates main restricted" - - "mos-security" URI="deb http://<ip-of-fuel-server>:8080/mos-ubuntu mos6.1-security main restricted" - - "mos-holdback" URI="deb http://<ip-of-fuel-server>:8080/mos-ubuntu mos6.1-holdback main restricted" - - - Click "Save Settings" at the bottom to Save your changes - -Verify Networks ---------------- - -Its is important that Verify Networks be done as it will ensure that you can not only communicate on the networks you have setup, but can fetch the packages needed for a succesful -deployment. - -37. From the FUEL UI in your Environment, Select the Networks Tab - - - At the bottom of the page, Select "Verify Networks" - - - Continue to fix your topology (physical switch, etc) until the "Verification Succeeded - Your network is configured correctly" message is shown - -Deploy Your Environment ------------------------ - -38. Deploy the environment. +37. Deploy the environment. In the Fuel GUI, click Deploy Changes. - - Wait until your Environment is deployed and the Horizon URI to connect is displayed in the FUEL GUI for your Environment - Installation health-check ========================= -39. Perform system health-check +38. Perform system health-check +Now that the OPNFV environment has been created, and before the post installation configurations is started, perform a system health check from the Fuel GUI: + +- Select the “Health check” TAB. +- Select all test cases +- And click “Run tests” + +All test cases should pass. + +Post installation and deployment actions +======================================== - - Click the "Health Check" tab inside your Environment in the FUEL Web UI +Activate OpenDaylight and VXLAN network segmentation +---------------------------------------------------- +** Note: With the current release, the OpenDaylight option is experimental!** +** Note: With ODL enabled, L3 features will no longer be available ** +The activation of ODL within a deployed Fuel system is a two part process. - - Check "Select All" and Click "Run Tests" +The first part involves staging the ODL container, i.e. starting the ODL container itself. +The second part involves a reconfiguration of the underlying networking components to enable VXLAN tunneling. +The staging of the ODL container works without manual intervention except for editing with a valid DNS IP for your system - Note: Live-Migraition test will fail (Bug in ODL currently), you can skip this test in the list if you choose to not see the error message, simply uncheck it in the list +For the second part - the reconfiguration of the networking, the script <config_net_odl.sh> is provided as a baseline example to show what needs to be configured for your system system setup. Since there are many variants of valid networking topologies, this script will not be 100% correct in all deployment cases and some manual script modifications maybe required. - - Allow tests to run and investigate results where appropriate +39. Enable the ODL controller +ssh to any of the OpenStack controllers and issue the following command as root user: </opt/opnfv/odl/stage_odl.sh> +This script will start ODL, load modules and make the Controller ready for use. +** Note: - The script should only be ran on a single controller (even if the system is setup in a High Availability OpenStack mode). ** 40. Verify that the OpenDaylight GUI is accessible +Point your browser to the following URL: <http://{ODL-CONTROLLER-IP}:8181/dlux/index.html> and login: +Username: Admin +Password: Admin -Point your browser to the following URL: http://{Controller-VIP}:8181/index.html> and login: +41. Reconfiguring the networking and switch to VXLAN network segmentation +ssh to all of the nodes and issue the following command </opt/opnfv/odl/config_net_odl.sh> in the order specified below: +a. All compute nodes +b. All OpenStack controller nodes except the one running the ODL-controller +c. The OpenStack controller also running the ODL controller - - Username: admin - - Password: admin +This script will reconfigure the networking from VLAN Segregation to VXLAN mode. References ========== @@ -487,11 +402,11 @@ Fuel `Fuel documentation <https://wiki.openstack.org/wiki/Fuel>`_ -:Authors: Daniel Smith (Ericsson AB) -:Version: 1.1.0 +:Authors: Jonas Bjurel (Ericsson AB) +:Version: 1.0.0 **Documentation tracking** Revision: _sha1_ -Build date: _date +Build date: _date_ |