1 ========================================================================================================
2 OPNFV Installation instruction for the Brahmaputra release of OPNFV when using Fuel as a deployment tool
3 ========================================================================================================
8 This work is licensed under a Creative Commons Attribution 4.0 International
9 License. .. http://creativecommons.org/licenses/by/4.0 ..
10 (c) Jonas Bjurel (Ericsson AB) and others
15 This document describes how to install the Brahmaputra release of
16 OPNFV when using Fuel as a deployment tool, covering it's usage,
17 limitations, dependencies and required system resources.
22 This document provides guidelines on how to install and
23 configure the Brahmaputra release of OPNFV when using Fuel as a
24 deployment tool, including required software and hardware configurations.
26 Although the available installation options give a high degree of
27 freedom in how the system is set-up, including architecture, services
28 and features, etc., said permutations may not provide an OPNFV
29 compliant reference architecture. This instruction provides a
30 step-by-step guide that results in an OPNFV Brahmaputra compliant
33 The audience of this document is assumed to have good knowledge in
34 networking and Unix/Linux administration.
38 Before starting the installation of the Brahmaputra release of
39 OPNFV, using Fuel as a deployment tool, some planning must be
42 Retrieving the ISO image
43 ------------------------
45 First of all, the Fuel deployment ISO image needs to be retrieved, the
46 Fuel .iso image of the Brahmaputra release can be found at *Reference: 2*
48 Building the ISO image
49 ----------------------
51 Alternatively, you may build the Fuel .iso from source by cloning the
52 opnfv/fuel git repository. To retrieve the repository for the Brahmaputra release use the following command:
54 $git clone https://<linux foundation uid>@gerrit.opnf.org/gerrit/fuel
56 Check-out the Brahmaputra release tag to set the branch to the
57 baseline required to replicate the Brahmaputra release:
59 $ git checkout brahmaputra.1.0
61 Go to the fuel directory and build the .iso:
63 $ cd fuel/build; make all
65 For more information on how to build, please see *Reference: 14*
70 Next, familiarize yourself with Fuel by reading the following documents:
72 - Fuel planning guide, please see *Reference: 8*
74 - Fuel user guide, please see *Reference: 9*
76 - Fuel operations guide, please see *Reference: 10*
78 - Fuel Plugin Developers Guide, please see *Reference: 11*
80 Prior to installation, a number of deployment specific parameters must be collected, those are:
82 #. Provider sub-net and gateway information
84 #. Provider VLAN information
86 #. Provider DNS addresses
88 #. Provider NTP addresses
90 #. Network overlay you plan to deploy (VLAN, VXLAN, FLAT)
92 #. How many nodes and what roles you want to deploy (Controllers, Storage, Computes)
94 #. Monitoring options you want to deploy (Ceilometer, Syslog, erc.).
96 #. Other options not covered in the document are available in the links above
99 This information will be needed for the configuration procedures
100 provided in this document.
102 Hardware requirements
103 =====================
105 The following minimum hardware requirements must be met for the
106 installation of Brahmaputra using Fuel:
108 +--------------------+------------------------------------------------------+
109 | **HW Aspect** | **Requirement** |
111 +====================+======================================================+
112 | **# of nodes** | Minimum 5 (3 for non redundant deployment): |
114 | | - 1 Fuel deployment master (may be virtualized) |
116 | | - 3(1) Controllers (1 colocated mongo/ceilometer |
117 | | role, 2 Ceph-OSD roles) |
119 | | - 1 Compute (1 co-located Ceph-OSD role) |
121 +--------------------+------------------------------------------------------+
122 | **CPU** | Minimum 1 socket x86_AMD64 with Virtualization |
124 +--------------------+------------------------------------------------------+
125 | **RAM** | Minimum 16GB/server (Depending on VNF work load) |
127 +--------------------+------------------------------------------------------+
128 | **Disk** | Minimum 256GB 10kRPM spinning disks |
130 +--------------------+------------------------------------------------------+
131 | **Networks** | 4 Tagged VLANs (PUBLIC, MGMT, STORAGE, PRIVATE) |
133 | | 1 Un-Tagged VLAN for PXE Boot - ADMIN Network |
135 | | Note: These can be allocated to a single NIC - |
136 | | or spread out over multiple NICs as your hardware |
138 +--------------------+------------------------------------------------------+
140 Help with Hardware Requirements
141 ===============================
143 Calculate hardware requirements:
145 For information on compatible hardware types available for use, please see *Reference: 11*.
147 When choosing the hardware on which you will deploy your OpenStack
148 environment, you should think about:
150 - CPU -- Consider the number of virtual machines that you plan to deploy in your cloud environment and the CPU per virtual machine.
152 - Memory -- Depends on the amount of RAM assigned per virtual machine and the controller node.
154 - Storage -- Depends on the local drive space per virtual machine, remote volumes that can be attached to a virtual machine, and object storage.
156 - Networking -- Depends on the Choose Network Topology, the network bandwidth per virtual machine, and network storage.
159 Top of the rack (TOR) Configuration requirements
160 ================================================
162 The switching infrastructure provides connectivity for the OPNFV
163 infrastructure operations, tenant networks (East/West) and provider
164 connectivity (North/South); it also provides needed connectivity for
165 the Storage Area Network (SAN).
166 To avoid traffic congestion, it is strongly suggested that three
167 physically separated networks are used, that is: 1 physical network
168 for administration and control, one physical network for tenant private
169 and public networks, and one physical network for SAN.
170 The switching connectivity can (but does not need to) be fully redundant,
171 in such case it comprises a redundant 10GE switch pair for each of the
172 three physically separated networks.
174 The physical TOR switches are **not** automatically configured from
175 the Fuel OPNFV reference platform. All the networks involved in the OPNFV
176 infrastructure as well as the provider networks and the private tenant
177 VLANs needs to be manually configured.
179 Manual configuration of the Brahmaputra hardware platform should
180 be carried out according to the OPNFV Pharos specification:
181 <https://wiki.opnfv.org/pharos/pharos_specification>
183 OPNFV Software installation and deployment
184 ==========================================
186 This section describes the installation of the OPNFV installation
187 server (Fuel master) as well as the deployment of the full OPNFV
188 reference platform stack across a server cluster.
192 #. Mount the Brahmaputra Fuel ISO file/media as a boot device to the jump host server.
194 #. Reboot the jump host to establish the Fuel server.
196 - The system now boots from the ISO image.
198 - Select "Fuel Install (Static IP)" (See figure below)
202 .. figure:: img/grub-1.png
204 #. Wait until screen Fuel setup is shown (Note: This can take up to 30 minutes).
206 #. In the "Fuel User" section - Confirm/change the default password (See figure below)
208 - Enter "admin" in the Fuel password input
210 - Enter "admin" in the Confirm password input
212 - Select "Check" and press [Enter]
214 .. figure:: img/fuelmenu1.png
216 #. In the "Network Setup" section - 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 (see figure below).
218 - Configure eth1 or other network interfaces here as well (if you have them present on your FUEL server).
220 .. figure:: img/fuelmenu2.png
222 #. In the "PXE Setup" section (see figure below) - Change the following fields to appropriate values (example below):
224 - DHCP Pool Start 10.20.0.3
226 - DHCP Pool End 10.20.0.254
228 - DHCP Pool Gateway 10.20.0.2 (IP address of Fuel node)
230 .. figure:: img/fuelmenu3.png
232 #. In the "DNS & Hostname" section (see figure below) - Change the following fields to appropriate values:
242 - Hostname to test DNS
244 - Select <Check> and press [Enter]
246 .. figure:: img/fuelmenu4.png
249 #. OPTION TO ENABLE PROXY SUPPORT - In the "Bootstrap Image" section (see figure below), edit the following fields to define a proxy. (**NOTE:** cannot be used in tandem with local repository support)
251 - Navigate to "HTTP proxy" and enter your http proxy address
253 - Select <Check> and press [Enter]
255 .. figure:: img/fuelmenu5.png
257 #. In the "Time Sync" section (see figure below) - Change the following fields to appropriate values:
259 - NTP Server 1 <Customer NTP server 1>
261 - NTP Server 2 <Customer NTP server 2>
263 - NTP Server 3 <Customer NTP server 3>
265 .. figure:: img/fuelmenu6.png
267 #. Start the installation.
269 - Select Quit Setup and press Save and Quit.
271 - Installation starts, wait until the login screen is shown.
274 Boot the Node Servers
275 ---------------------
277 After the Fuel Master node has rebooted from the above steps and is at
278 the login prompt, you should boot the Node Servers (Your
279 Compute/Control/Storage blades (nested or real) with a PXE booting
280 scheme so that the FUEL Master can pick them up for control.
282 #. Enable PXE booting
284 - 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.
286 #. Reboot all the control and compute blades.
288 #. Wait for the availability of nodes showing up in the Fuel GUI.
290 - Connect to the FUEL UI via the URL provided in the Console (default: https://10.20.0.2:8443)
292 - Wait until all nodes are displayed in top right corner of the Fuel GUI: Total nodes and Unallocated nodes (see figure below).
294 .. figure:: img/nodes.png
297 Install additional Plugins/Features on the FUEL node
298 ----------------------------------------------------
300 #. SSH to your FUEL node (e.g. root@10.20.0.2 pwd: r00tme)
302 #. Select wanted plugins/features from the /opt/opnfv/ directory.
304 #. Install the wanted plugin with the command "fuel plugins --install /opt/opnfv/<plugin-name>-<version>.<arch>.rpm"
305 Expected output: "Plugin ....... was successfully installed." (see figure below)
307 .. figure:: img/plugin_install.png
309 Create an OpenStack Environment
310 -------------------------------
312 #. Connect to Fuel WEB UI with a browser (default: https://10.20.0.2:8443) (login admin/admin)
314 #. Create and name a new OpenStack environment, to be installed.
316 .. figure:: img/newenv.png
318 #. Select "<Liberty on Ubuntu 14.04>" and press <Next>
320 #. Select "compute virtulization method".
322 - Select "QEMU-KVM as hypervisor" and press <Next>
324 #. Select "network mode".
326 - Select "Neutron with ML2 plugin"
328 - Select "Neutron with tunneling segmentation" (Required when using the ODL or ONOS plugins)
332 #. Select "Storage Back-ends".
334 - Select "Ceph for block storage" and press <Next>
336 #. Select "additional services" you wish to install.
338 - Check option "Install Celiometer (OpenStack Telemetry)" and press <Next>
340 #. Create the new environment.
342 - Click <Create> Button
344 Configure the network environment
345 ---------------------------------
347 #. Open the environment you previously created.
349 #. Open the networks tab and select the "default Node Networks group to" on the left pane (see figure below).
351 .. figure:: img/network.png
353 #. Update the Public network configuration and change the following fields to appropriate values:
355 - CIDR to <CIDR for Public IP Addresses>
357 - IP Range Start to <Public IP Address start>
359 - IP Range End to <Public IP Address end>
361 - Gateway to <Gateway for Public IP Addresses>
363 - Check <VLAN tagging>.
365 - Set appropriate VLAN id.
367 #. Update the Storage Network Configuration
369 - Set CIDR to appropriate value (default 192.168.1.0/24)
371 - Set IP Range Start to appropriate value (default 192.168.1.1)
373 - Set IP Range End to appropriate value (default 192.168.1.254)
375 - Set vlan to appropriate value (default 102)
377 #. Update the Management network configuration.
379 - Set CIDR to appropriate value (default 192.168.0.0/24)
381 - Set IP Range Start to appropriate value (default 192.168.0.1)
383 - Set IP Range End to appropriate value (default 192.168.0.254)
385 - Check <VLAN tagging>.
387 - Set appropriate VLAN id. (default 101)
389 #. Update the Private Network Information
391 - Set CIDR to appropriate value (default 192.168.2.0/24
393 - Set IP Range Start to appropriate value (default 192.168.2.1)
395 - Set IP Range End to appropriate value (default 192.168.2.254)
397 - Check <VLAN tagging>.
399 - Set appropriate VLAN tag (default 103)
401 #. Select the "Neutron L3 Node Networks group" on the left pane.
403 .. figure:: img/neutronl3.png
405 #. Update the Floating Network configuration.
407 - Set the Floating IP range start (default 172.16.0.130)
409 - Set the Floating IP range end (default 172.16.0.254)
411 - Set the Floating network name (default admin_floating_net)
413 #. Update the Internal Network configuration.
415 - Set Internal network CIDR to an appropriate value (default 192.168.111.0/24)
417 - Set Internal network gateway to an appropriate value
419 - Set the Internal network name (default admin_internal_net)
421 #. Update the Guest OS DNS servers.
423 - Set Guest OS DNS Server values appropriately
427 #. Select the "Other Node Networks group" on the left pane(see figure below).
429 .. figure:: img/other.png
431 #. Update the Public network assignment.
433 - Check the box for "Assign public network to all nodes" (Required by OpenDaylight)
435 #. Update Host OS DNS Servers.
437 - Provide the DNS server settings
439 #. Update Host OS NTP Servers.
441 - Provide the NTP server settings
443 Select Hypervisor type
444 ----------------------
446 #. In the FUEL UI of your Environment, click the "Settings" Tab
448 #. Select Compute on the left side pane (see figure below)
450 - Check the KVM box and press "Save settings"
452 .. figure:: img/compute.png
457 #. In the FUEL UI of your Environment, click the "Settings" Tab
459 #. Select Other on the left side pane (see figure below)
461 - Enable and configure the plugins of your choice
463 .. figure:: img/plugins.png
465 Allocate nodes to environment and assign functional roles
466 ---------------------------------------------------------
468 #. Click on the "Nodes" Tab in the FUEL WEB UI (see figure below).
470 .. figure:: img/addnodes.png
472 #. Assign roles (see figure below).
474 - Click on the <+Add Nodes> button
476 - Check <Controller>, <Telemetry - MongoDB> and optionally an SDN Controller role (OpenDaylight controller/ONOS) in the Assign Roles Section.
478 - Check one node which you want to act as a Controller from the bottom half of the screen
480 - Click <Apply Changes>.
482 - Click on the <+Add Nodes> button
484 - Check the <Controller> and <Storage - Ceph OSD> roles.
486 - Check the two next nodes you want to act as Controllers from the bottom half of the screen
488 - Click <Apply Changes>
490 - Click on <+Add Nodes> button
492 - Check the <Compute> and <Storage - Ceph OSD> roles.
494 - Check the Nodes you want to act as Computes from the bottom half of the screen
496 - Click <Apply Changes>.
498 .. figure:: img/computelist.png
500 #. Configure interfaces (see figure below).
502 - Check Select <All> to select all allocated nodes
504 - Click <Configure Interfaces>
506 - Assign interfaces (bonded) for mgmt-, admin-, private-, public-
511 .. figure:: img/interfaceconf.png
514 OPTIONAL - Set Local Mirror Repos
515 ---------------------------------
517 The following steps can be executed if you are in an environment with
518 no connection to the Internet. The Fuel server delivers a local repo
519 that can be used for installation / deployment of openstack.
521 #. In the Fuel UI of your Environment, click the Settings Tab and select General from the left pane.
523 - Replace the URI values for the "Name" values outlined below:
525 - "ubuntu" URI="deb http://<ip-of-fuel-server>:8080/mirrors/ubuntu/ trusty main"
527 - "ubuntu-security" URI="deb http://<ip-of-fuel-server>:8080/mirrors/ubuntu/ trusty-security main"
529 - "ubuntu-updates" URI="deb http://<ip-of-fuel-server>:8080/mirrors/ubuntu/ trusty-updates main"
531 - "mos" URI="deb http://<ip-of-fuel-server>::8080/liberty-8.0/ubuntu/x86_64 mos8.0 main restricted"
533 - "Auxiliary" URI="deb http://<ip-of-fuel-server>:8080/liberty-8.0/ubuntu/auxiliary auxiliary main restricted"
535 - Click <Save Settings> at the bottom to Save your changes
540 It is important that the Verify Networks action is performed as it will verify
541 that communicate works for the networks you have setup, as well as check that
542 packages needed for a successful deployment can be fetched.
544 #. From the FUEL UI in your Environment, Select the Networks Tab and select "Connectivity check" on the left pane (see figure below)
546 - Select <Verify Networks>
548 - Continue to fix your topology (physical switch, etc) until the "Verification Succeeded" and "Your network is configured correctly" message is shown
550 .. figure:: img/verifynet.png
553 Deploy Your Environment
554 -----------------------
556 38. Deploy the environment.
558 - In the Fuel GUI, click on the "Dashboard" Tab.
560 - Click on <Deploy Changes> in the "Ready to Deploy?" section
562 - Examine any information notice that pops up and click <Deploy>
564 Wait for your deployment to complete, you can view the "Dashboard"
565 Tab to see the progress and status of your deployment.
567 Installation health-check
568 =========================
570 #. Perform system health-check (see figure below)
572 - Click the "Health Check" tab inside your Environment in the FUEL Web UI
574 - Check <Select All> and Click <Run Tests>
576 - Allow tests to run and investigate results where appropriate
578 .. figure:: img/health.png
586 1) `OPNFV Home Page <www.opnfv.org>`_
588 2) `OPNFV documentation- and software downloads <https://www.opnfv.org/software/download>`_
593 3) `OpenStack Liberty Release artifacts <http://www.openstack.org/software/liberty>`_
595 4) `OpenStack documentation <http://docs.openstack.org>`_
600 5) `OpenDaylight artifacts <http://www.opendaylight.org/software/downloads>`_
605 6) `The Fuel OpenStack project <https://wiki.openstack.org/wiki/Fuel>`_
607 7) `Fuel documentation overview <https://docs.fuel-infra.org/openstack/fuel/fuel-7.0/#guides>`_
609 8) `Fuel planning guide <https://docs.mirantis.com/openstack/fuel/fuel-7.0/planning-guide.html>`_
611 9) `Fuel user guide <http://docs.mirantis.com/openstack/fuel/fuel-7.0/user-guide.html>`_
613 10) `Fuel operations guide <http://docs.mirantis.com/openstack/fuel/fuel-7.0/operations.html>`_
615 11) `Fuel Plugin Developers Guide <https://wiki.openstack.org/wiki/Fuel/Plugins>`_
617 12) `Fuel OpenStack Hardware Compatibility List <https://www.mirantis.com/products/openstack-drivers-and-plugins/hardware-compatibility-list>`_
622 13) OPNFV Installation instruction for the Brahmaputra release of OPNFV when using Fuel as a deployment tool
624 14) OPNFV Build instruction for the Brahmaputra release of OPNFV when using Fuel as a deployment tool
626 15) OPNFV Release Note for the Brahmaputra release of OPNFV when using Fuel as a deployment tool