Adding relevant links and tags into the doc.
[genesis.git] / fuel / docs / src / installation-instructions.rst
index 388907e..316b6c7 100644 (file)
@@ -1,97 +1,91 @@
-:Authors: Jonas Bjurel (Ericsson)
-:Version: 0.1
+==================================================================================================
+OPNFV Installation instructions for the Arno release of OPNFV when using Fuel as a deployment tool
+==================================================================================================
+
+.. contents:: Table of Contents
+   :backlinks: none
 
-================================================================
-OPNFV Installation instructions for - < Component denomination >
-================================================================
 
 Abstract
 ========
 
-This document describes how to install <Component>, it's 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
 =======
-<WORK'S NAME> (c) by <AUTHOR'S NAME>
+Arno release of OPNFV when using Fuel as a deployment tool Docs (c) by Jonas Bjurel (Ericsson AB)
 
-<WORK'S NAME> is licensed under a Creative Commons Attribution 4.0 Unported 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
+===============
 
-**Contents**
++--------------------+--------------------+--------------------+--------------------+
+| **Date**           | **Ver.**           | **Author**         | **Comment**        |
+|                    |                    |                    |                    |
++--------------------+--------------------+--------------------+--------------------+
+| 2015-04-15         | 0.0.1              | Jonas Bjurel       | First draft        |
+|                    |                    | (Ericsson AB)      |                    |
++--------------------+--------------------+--------------------+--------------------+
+| 2015-04-23         | 0.0.2              | Jonas Bjurel       | Minor changes      |
+|                    |                    | (Ericsson AB)      |                    |
++--------------------+--------------------+--------------------+--------------------+
+| 2015-05-16         | 0.0.3              | Christopher Price  | Minor changes      |
+|                    |                    | (Ericsson AB)      |                    |
++--------------------+--------------------+--------------------+--------------------+
+| 2015-05-27         | 0.0.4              | Christopher Price  | Minor changes      |
+|                    |                    | (Ericsson AB)      |                    |
++--------------------+--------------------+--------------------+--------------------+
+| 2015-06-02         | 0.0.5              | Christopher Price  | Minor changes      |
+|                    |                    | (Ericsson AB)      |                    |
++--------------------+--------------------+--------------------+--------------------+
 
-1   Version history
 
-2   Introduction
+Introduction
+============
 
-3   Preface
+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.
 
-4   Hardware requirements
+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.
 
-5   Top of the rack (TOR) Configuration requirements
+The audience of this document is assumed to have good knowledge in networking and Unix/Linux administration.
 
-6   OPNFV Software installation and deployment
+Preface
+=======
 
-7   Installation health-check
+Before starting the installation of the Arno release of OPNFV when using Fuel as a deployment tool, some planning must be done.
 
-8   Post installation and deployment actions
+Retrieving the ISO image
+------------------------
 
-9   References
+First of all, the Fuel deployment arnofuel.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 here at http://artifacts.opnfv.org/arno.2015.1.0/fuel/arno.2015.1.0.fuel.iso
 
-1   Version history
-===================
+Building the ISO image
+----------------------
 
-+--------------------+--------------------+--------------------+--------------------+
-| **Date**           | **Ver.**           | **Author**         | **Comment**        |
-|                    |                    |                    |                    |
-+--------------------+--------------------+--------------------+--------------------+
-| 2015-04-14         | 0.1.0              | Jonas Bjurel       | First draft        |
-|                    |                    |                    |                    |
-+--------------------+--------------------+--------------------+--------------------+
-|                    | 0.1.1              |                    |                    |
-|                    |                    |                    |                    |
-+--------------------+--------------------+--------------------+--------------------+
-|                    | 1.0                |                    |                    |
-|                    |                    |                    |                    |
-|                    |                    |                    |                    |
-+--------------------+--------------------+--------------------+--------------------+
+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.
 
-2   Introduction
-================
-<INTRODUCTION TO THE SCOPE AND INTENTION OF THIS DOCUMENT AS WELL AS TO THE SYSTEM TO BE INSTALLED>
+<git clone https://<linux foundation uid>@gerrit.opnf.org/gerrit/genesis>
 
-<EXAMPLE>:
+Check-out the Arno release tag to set the branch to the baseline required to replicate the Arno release.
 
-This document describes the supported software and hardware configurations for the Fuel OPNFV reference platform as well as providing guidelines on how to install and
-configure such reference system.
+<cd genesis; git checkout arno.2015.1.0>
 
-Although the available installation options gives a high degree of freedom in how the system is set-up, with what architecture, services and features, etc., not nearly all of those permutations provides a OPNFV compliant reference architecture. Following the guidelines in this document ensures
-a result that is OPNFV compliant.
+Go to the fuel directory and build the .iso
 
-The audience of this document is assumed to have good knowledge in network and Unix/Linux administration.
+<cd fuel/build; make all>
 
-3   Preface
-===========
-<DESCRIBE NEEDED PREREQUISITES, PLANNING, ETC.>
+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 retrieves with the repository at </genesis/fuel/docs/src/build-instructions.rst>
 
-<EXAMPLE>:
+Next, familiarize yourself with the Fuel 6.0.1 version by reading the following documents:
 
-Before starting the installation of Fuel@OPNFV, some planning must preceed.
+- Fuel planning guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/planning-guide.html#planning-guide>
 
-First of all, the Fuel@OPNFV .iso image needs to be retrieved, the Latest stable Arno release of Fuel@OPNFV can be found here: <www.opnfv.org/abc/def>
+- Fuel user guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/user-guide.html#user-guide>
 
-Alternatively, you may build the .iso from source by cloning the opnfv/genesis git repository:
-<git clone https://<linux foundation uid>@gerrit.opnf.org/gerrit/genesis>
-Check-out the Arno release:
-<cd genesis; git checkout arno>
-Goto the fuel directory and build the .iso
-<cd fuel/build; make all>
+- Fuel operations guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/operations.html#operations-guide>
 
-Familiarize yourself with the Fuel 6.0.1 version by reading the following documents:
-- abc <http://wiki.openstack.org/abc>
-- def <http://wiki.openstack.org/def>
-- ghi <http://wiki.openstack.org/ghi>
-
-Secondly, a number of deployment specific parameters must be collected, those are:
+A number of deployment specific parameters must be collected, those are:
 
 1.     Provider sub-net and gateway information
 
@@ -103,117 +97,286 @@ Secondly, a number of deployment specific parameters must be collected, those ar
 
 This information will be needed for the configuration procedures provided in this document.
 
-4   Hardware requirements
-=========================
-<PROVIDE A LIST OF MINIMUM HARDWARE REQUIREMENTS NEEDED FOR THE INSTALL>
+Hardware requirements
+=====================
+
+The following minimum hardware requirements must be met for the installation of Arno using Fuel:
+
++--------------------+------------------------------------------------------+
+| **HW Aspect**      | **Requirement**                                      |
+|                    |                                                      |
++--------------------+------------------------------------------------------+
+| **# of servers**   | Minimum 5 (3 for non redundant deployment):          |
+|                    |                                                      |
+|                    | - 1 Fuel deployment master (may be virtualized)      |
+|                    |                                                      |
+|                    | - 3(1) Controllers                                   |
+|                    |                                                      |
+|                    | - 1 Compute                                          |
++--------------------+------------------------------------------------------+
+| **CPU**            | Minimum 1 socket x86_AMD64 Ivy bridge 1.6 GHz        |
+|                    |                                                      |
++--------------------+------------------------------------------------------+
+| **RAM**            | Minimum 16GB/server (Depending on VNF work load)     |
+|                    |                                                      |
++--------------------+------------------------------------------------------+
+| **Disk**           | Minimum 256GB 10kRPM spinning disks                  |
+|                    |                                                      |
++--------------------+------------------------------------------------------+
+| **NICs**           | - 2(1)x10GE Niantec for Private/Public (Redundant)   |
+|                    |                                                      |
+|                    | - 2(1)x10GE Niantec for SAN (Redundant)              |
+|                    |                                                      |
+|                    | - 2(1)x1GE for admin (PXE) and control (RabitMQ,etc) |
+|                    |                                                      |
++--------------------+------------------------------------------------------+
+
+Top of the rack (TOR) Configuration requirements
+================================================
+
+The switching infrastructure provides connectivity for the OPNFV infrastructure operations, tenant networks (East/West) and provider connectivity (North/South bound connectivity); it also provides needed connectivity for the storage Area Network (SAN). To avoid traffic congestion, it is strongly suggested that three physically separated networks are used, that is: 1 physical network for administration and control, one physical network for tenant private and public networks, and one physical network for SAN. The switching connectivity can (but does not need to) be fully redundant, in such case it and comprises a redundant 10GE switch pair for each of the three physically separated networks.
+
+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 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
+==========================================
+
+This section describes the installation of the OPNFV installation server (Fuel master) as well as the deployment of the full OPNFV reference platform stack across a server cluster.
+
+Install Fuel master
+-------------------
+1. Mount the built fuel.arno.2015.1.0.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.
+
+3. Change the grub boot parameters
+
+   - When the grub boot menu shows up - Press Tab to edit the kernel parameters
+
+   - Change <showmenu=no> to <showmenu=yes>.
+
+   - Change <netmask=255.255.255.0> to <netmask=255.255.0.0>.
+
+   - 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):
+
+   - Static Pool Start 10.20.0.3
+
+   - Static Pool End 10.20.0.254
+
+   - DHCP Pool Start 10.20.128.3
+
+   - DHCP Pool End 10.20.128.254
+
+6. Select DNS & Hostname and change the following fields to appropriate values:
+
+   - Hostname <CEE Region name>-fuel
+
+   - Domain <Domain Name>
+
+   - Search Domain <Search Domain Name>
+
+   - Hostname to test DNS <Hostname to test DNS>
+
+7. Select Time Sync and change the following fields to appropriate values:
 
-<EXAMPLE>:
+   - NTP Server 1 <Customer NTP server 1>
 
-Following minimum hardware requirements must be met for installation of Fuel@OPNFV:
+   - NTP Server 2 <Customer NTP server 2>
 
-+--------------------+----------------------------------------------------+
-| **HW Aspect**      | **Requirement**                                    |
-|                    |                                                    |
-+--------------------+----------------------------------------------------+
-| **# of servers**   | Minimum 5 (3 for non redundant deployment)         |
-|                    | 1 Fuel deployment master (may be virtualized)      |
-|                    | 3(1) Controllers                                   |
-|                    | 1 Compute                                          |
-+--------------------+----------------------------------------------------+
-| **CPU**            | Minimum 1 socket x86_AMD64 Ivy bridge 1.6 GHz      |
-|                    |                                                    |
-+--------------------+----------------------------------------------------+
-| **RAM**            | Minimum 16GB/server (Depending on VNF work load)   |
-|                    |                                                    |
-+--------------------+----------------------------------------------------+
-| **Disk**           | Minimum 256GB 10kRPM spinning disks                |
-|                    |                                                    |
-+--------------------+----------------------------------------------------+
-| **NICs**           | 2(1)x10GE Niantec for Private/Public (Redundant)   |
-|                    |                                                    |
-|                    | 2(1)x10GE Niantec for SAN (Redundant)              |
-|                    |                                                    |
-|                    | 2(1)x1GE for admin (PXE) and control (RabitMQ,etc) |
-|                    |                                                    |
-+--------------------+----------------------------------------------------+
+   - NTP Server 3<Customer NTP server 3>
 
-5   Top of the rack (TOR) Configuration requirements
-====================================================
-<DESCRIBE NEEDED NETWORK TOPOLOGY SETUP IN THE TORs>
+   **Note: This step is only to pass the network sanity test, the actual ntp parameters will be set with the pre-deploy script.**
 
-<EXAMPLE>:
+8. Start the installation.
 
-The switching infrastructure provides connectivity for the OPNFV infra-structure operations as well as for the tenant networks (East/West) and provider connectivity (North/South bound connectivity). The switching connectivity can (but does not need to) be fully redundant, in case it and comprises a redundant 10GE switch pair for “Traffic/Payload/SAN” purposes as well as a 1GE switch pair for “infrastructure control-, management and administration”
+   - Select Quit Setup and press Save and Quit.
 
-The switches are **not** automatically configured from the OPNFV reference platform. All the networks involved in the OPNFV infra-structure as well as the provider networks and the private tenant VLANs needs to be manually configured.
+   - Installation starts, wait until a screen with logon credentials is shown.
 
-This following sections guides through required black-box switch configurations.
+   Note: This will take about 15 minutes.
 
-5.1 VLAN considerations and blue-print
---------------------------------------
+Create an OPNFV Environment
+---------------------------
 
-5.2 IP Address plan considerations and blue-print
--------------------------------------------------
+9. Connect to Fuel with a browser towards port 8000
 
-6   OPNFV Software installation and deployment
-==============================================
-<DESCRIBE THE FULL PROCEDURES FOR THE INSTALLATION OF THE OPNFV COMPONENT INSTALLATION AND DEPLOYMENT>
+10. Create and name a new OpenStack environment, to be installed.
 
-<EXAMPLE>:
+11. Select <Juno on Ubuntu> or <Juno on CentOS> as per your which in the "OpenStack Release" field.
 
-This section describes the installation of the Fuel@OPNFV installation server (Fuel master) as well as the deployment of the full OPNFV reference platform stack across a server cluster.
-Etc.
+12. Select deployment mode.
 
-6.1 Install Fuel master
------------------------
+    - Select the Multi-node with HA.
 
-6.2 Create an OPNV (Fuel Environment)
--------------------------------------
+13. Select compute node mode.
 
-6.3 Configure the OPNFV environment
------------------------------------
+    - Select KVM as hypervisor (unless you're not deploying bare metal or nested KVM/ESXI).
 
-6.4 Deploy the OPNFV environment
---------------------------------
+14. Select network mode.
 
-7   Installation health-check
-============================
-<DESCRIBE ANY MEANS TO DO VERIFY THE INTEGRITY AND HEALTHYNESS OF THE INSTALL>
+    - Select Neutron with VLAN segmentation
 
-<EXAMPLE>:
+    ** Note: This will later be overridden to VXLAN by OpenDaylight.**
+
+15. Select Storage Back-ends.
+
+    - Select Ceph for Cinder and default for glance.
+
+16. Select additional services.
+
+    - Check option <Install Celiometer (OpenStack Telemetry)>.
+
+17. Create the new environment.
+
+Configure the OPNFV environment
+-------------------------------
+
+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.
+
+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.
+
+21. Open the environment you previously created.
+
+22. Open the networks tab.
+
+23. Update the public network configuration.
+
+    Change the following fields to appropriate values:
+
+    - IP Range Start to <Public IP Address start>
+
+    - IP Range End to <Public IP Address end>
+
+    - CIDR to <CIDR for Public IP Addresses>
+
+    - Gateway to <Gateway for Public IP Addresses>
+
+    - Check VLAN tagging.
+
+    - Set appropriate VLAN id.
+
+24. Update the management network configuration.
+
+    - Set CIDR to 172.16.255.128/25 (or as per your which).
+
+    - Check VLAN tagging.
+
+    - Set appropriate VLAN id.
+
+25. Update the Neutron L2 configuration.
+
+    - Set VLAN ID range.
+
+26. Update the Neutron L3 configuration.
+
+    - Set Internal network CIDR to an appropriate value
+
+    - Set Internal network gateway to an appropriate value
+
+    - Set Floating IP ranges.
+
+    - Set DNS Servers
+
+27. Save Settings.
+
+28. Click "verify network" to check the network set-up consistency and connectivity
+
+29. Update the storage configuration.
+
+30. Open the nodes tab.
+
+31. Assign roles.
+
+    - Check <Controller and Telemetry MongoDB>.
+
+    - Check the three servers you want to be installed as Controllers in pane <Assign Role>.
+
+    - Click <Apply Changes>.
+
+    - Check <Compute>.
+
+    - Check nodes to be installed as compute nodes in pane Assign Role.
+
+    - Click <Apply Changes>.
+
+32. Configure interfaces.
+
+    - Check Select <All> to select all nodes with Control, Telemetry, MongoDB and Compute node roles.
+
+    - Click <Configure Interfaces>
+
+    - Screen Configure interfaces on number of <number of nodes> nodes is shown.
+
+    - Assign interfaces (bonded) for mgmt-, admin-, private-, public- and storage networks
+
+Deploy the OPNFV environment
+----------------------------
+**NOTE: Before the deployment is performed, the OPNFV pre-deploy script must be run**
+
+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>
+
+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.
+
+37. Deploy the environment.
+    In the Fuel GUI, click Deploy Changes.
+
+Installation 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
+- Select all test cases
 - And click “Run tests”
 
 All test cases except the following should pass:
 
-8  Post installation and deployment actions
-============================================
-<DESCRIBE ANY POST INSTALLATION ACTIONS/CONFIGURATIONS NEEDED>
+Post installation and deployment actions
+========================================
+**-**
+
+References
+==========
+
+OPNFV
+-----
 
-<EXAMPLE>:
-After the OPNFV deployment is completed, the following manual changes needs to be performed in order for the system to work according OPNFV standards.
+OpenStack
+---------
 
-**Change host OS password:**
-Change the Host OS password by......
+OpenDaylight
+------------
 
-9  References
-=============
-<PROVIDE NEEDED/USEFUL REFERENCES>
+Fuel
+----
 
-<EXAMPLES>:
+:Authors: Jonas Bjurel (Ericsson AB)
+:Version: 0.0.5
 
-9.1    OPNFV
--------------
+**Documentation tracking**
 
-9.2    OpenStack
------------------
+Revision: _sha1_
 
-9.3    OpenDaylight
---------------------
+Build date:  _date_
 
-9.4    Fuel
-------------
\ No newline at end of file