1 :Authors: Jonas Bjurel (Ericsson AB)
4 ================================================
5 OPNFV Installation instructions for - Fuel@OPNFV
6 ================================================
11 This document describes how to install Fuel@OPNFV, it's dependencies and required system resources.
15 Fuel@OPNFV DOCs (c) by Jonas Bjurel (Ericsson AB)
17 Fuel@OPNFV DOCs are 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/>.
28 4 Hardware requirements
30 5 Top of the rack (TOR) Configuration requirements
32 6 OPNFV Software installation and deployment
34 7 Installation health-check
36 8 Post installation and deployment actions
43 +--------------------+--------------------+--------------------+--------------------+
44 | **Date** | **Ver.** | **Author** | **Comment** |
46 +--------------------+--------------------+--------------------+--------------------+
47 | 2015-04-15 | 0.0.1 | Jonas Bjurel | First draft |
48 | | | (Ericsson AB) | |
49 +--------------------+--------------------+--------------------+--------------------+
55 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.
57 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 R1 (Arno) compliant.
59 The audience of this document is assumed to have good knowledge in network and Unix/Linux administration.
64 Before starting the installation of Fuel@OPNFV, some planning must preceed.
66 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>
68 Alternatively, you may build the .iso from source by cloning the opnfv/genesis git repository:
70 <git clone https://<linux foundation uid>@gerrit.opnf.org/gerrit/genesis>
72 Check-out the Arno release:
74 <cd genesis; git checkout arno>
76 Goto the fuel directory and build the .iso
78 <cd fuel/build; make all>
80 For more information on how to build, please see "OPNF Build instructions for - FUel@OPNFV <http://www.opnfv.org/xyz
82 Next, familiarize yourself with the Fuel 6.0.1 version by reading the following documents:
84 - Fuel planning guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/planning-guide.html#planning-guide>
86 - Fuel user guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/user-guide.html#user-guide>
88 - Fuel operations guide <http://docs.mirantis.com/openstack/fuel/fuel-6.0/operations.html#operations-guide>
91 A number of deployment specific parameters must be collected, those are:
93 1. Provider sub-net and gateway information
95 2. Provider VLAN information
97 3. Provider DNS addresses
99 4. Provider NTP addresses
101 This information will be needed for the configuration procedures provided in this document.
103 4 Hardware requirements
104 =========================
106 Following minimum hardware requirements must be met for installation of Fuel@OPNFV:
108 +--------------------+------------------------------------------------------+
109 | **HW Aspect** | **Requirement** |
111 +--------------------+------------------------------------------------------+
112 | **# of servers** | Minimum 5 (3 for non redundant deployment): |
114 | | - 1 Fuel deployment master (may be virtualized) |
116 | | - 3(1) Controllers |
119 +--------------------+------------------------------------------------------+
120 | **CPU** | Minimum 1 socket x86_AMD64 Ivy bridge 1.6 GHz |
122 +--------------------+------------------------------------------------------+
123 | **RAM** | Minimum 16GB/server (Depending on VNF work load) |
125 +--------------------+------------------------------------------------------+
126 | **Disk** | Minimum 256GB 10kRPM spinning disks |
128 +--------------------+------------------------------------------------------+
129 | **NICs** | - 2(1)x10GE Niantec for Private/Public (Redundant) |
131 | | - 2(1)x10GE Niantec for SAN (Redundant) |
133 | | - 2(1)x1GE for admin (PXE) and control (RabitMQ,etc) |
135 +--------------------+------------------------------------------------------+
137 5 Top of the rack (TOR) Configuration requirements
138 ====================================================
140 The switching infrastructure provides connectivity for the OPNFV infra-structure operations, tenant networks (East/West) and provider connectivity (North/South bound connectivity); it als provides needed connectivity for the strage Area Network (SAN). To avoid traffic congestion, it is strongly sugested that three physcally 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 physcally separated networks.
142 The physical TOR 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.
144 The following sections guides through required black-box switch configurations.
146 5.1 VLAN considerations and blue-print
147 --------------------------------------
149 5.2 IP Address plan considerations and blue-print
150 -------------------------------------------------
152 6 OPNFV Software installation and deployment
153 ==============================================
155 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.
157 6.1 Install Fuel master
158 -----------------------
159 1. Mount the built .iso file (release/opnfv-<version>.iso) as a boot device to the fuel server.
161 2. Reboot the fuel server.
163 - The system now boots from the ISO image.
165 3. Change the grub boot parameters
167 - When the grub boot menu shows up - Press Tab to edit the kernel parameters
169 - Change <showmenu=no> to <showmenu=yes>.
171 - Change <netmask=255.255.255.0> to <netmask=255.255.0.0>.
175 4 Wait until screen Fuel setup is shown (Note: This can take up to 30 minutes).
177 5. Select PXE Setup and change the following fields to appropriate values (example below):
179 - Static Pool Start 10.20.0.3
181 - Static Pool End 10.20.0.254
183 - DHCP Pool Start 10.20.128.3
185 - DHCP Pool End 10.20.128.254
187 6. Select DNS & Hostname and change the following fields to appropriate values:
189 - Hostname <CEE Region name>-fuel
191 - Domain <Domain Name>
193 - Search Domain <Search Domain Name>
195 - Hostname to test DNS <Hostname to test DNS>
197 7. Select Time Sync and change the following fields to appropriate values:
199 - NTP Server 1 <Customer NTP server 1>
201 - NTP Server 2 <Customer NTP server 2>
203 - NTP Server 3<Customer NTP server 3>
205 **Note: This step is only to pass the network sanity test, the actual ntp parameters will be set with the pre-deploy script.**
207 8. Start the installation.
209 - Select Quit Setup and press Save and Quit.
211 - Installation starts, wait until a screen with logon credentials is shown.
213 Note: This will take about 15 minutes.
215 6.2 Create an OPNV (Fuel Environment)
216 -------------------------------------
218 9. Connect to Fuel with a browser towards port 8000
220 10. Create and name a new OpenStack environment, to be installed.
222 11. Select <Juno on Ubuntu> or <Juno on CentOS> as per your which in the "OpenStack Release" field.
224 12. Select deployment mode.
226 - Select the Multi-node with HA.
228 13. Select compute node mode.
230 - Select KVM as hypervisor (unless you're not deploying bare metal or nested KVM/ESXI).
232 14. Select network mode.
234 - Select Neutron with VLAN segmentation
236 ** Note: This will later be overridden to VXLAN by OpenDaylight.**
238 15. Select Storage Backends.
240 - Select Ceph for Cinder and default for glance.
242 16. Select additional services.
244 - Check option <Install Celiometer (OpenStack Telemetry)>.
246 17. Create the new environment.
248 6.3 Configure the OPNFV environment
249 -----------------------------------
251 18. Enable PXE booting
253 - 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.
255 19. Reboot all the controller- and compute blades.
257 20. Wait for the availability of nodes showing up in the Fuel GUI.
259 - 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.
261 21. Open the environment you previously created.
263 22. Open the networks tab.
265 23. Update the public network configuration.
267 Change the following fields to appropriate values:
269 - IP Range Start to <Public IP Address start>
271 - IP Range End to <Public IP Address end>
273 - CIDR to <CIDR for Public IP Addresses>
275 - Gateway to <Gateway for Public IP Addresses>
277 - Check VLAN tagging.
279 - Set appropriate VLAN id.
281 24. Update the management network configuration.
283 - Set CIDR to 172.16.255.128/25 (or as per your which).
285 - Check VLAN tagging.
287 - Set appropriate VLAN id.
289 25. Update the Neutron L2 configuration.
293 26. Update the Neutron L3 configuration.
295 - Set Internal network CIDR to an appropriate value
297 - Set Internal network gateway to an appropriate value
299 - Set Floating IP ranges.
305 28. Click "verify network" to check the network set-up consistency and connectivity
307 29. Update the storage configuration.
309 30. Open the nodes tab.
313 - Check <Controller and Telemetry MongoDB>.
315 - Check the three servers you want to be installed as Controllesr in pane <Assign Role>.
317 - Click <Apply Changes>.
321 - Check nodes to be installed as Compute nodes in pane Assign Role.
323 - Click <Apply Changes>.
325 32. Configure interfaces.
327 - Check Select <All> to select all nodes with Control, Telemetry . MongoDB and Compute node roles.
329 - Click <Configure Interfaces>
331 - Screen Configure interfaces on number of <number of nodes> nodes is shown.
332 - Assign interfaces (bonded) for mgmt-, admin-, private-, public- and storage networks
334 6.4 Deploy the OPNFV environment
335 --------------------------------
336 **NOTE: Before the deployment is performed, the OPNFV pre-deploy script must be ran**
338 35. Run the pre-deploy script.
339 Log on as root to the Fuel node.
340 Print Fuel environment Id (fuel env)
341 #> id | status | name | mode | release_id | changes <id>| new | <CEE Region name>| ha_compact | 2 | <ite specific information>
343 36. Run the pre-deployment script (/opt/opnfv/pre-deploy.sh <id>)
344 As prompted for-, set the DNS servers to go into /etc/resolv.conf.
345 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.
346 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.
348 37. Deploy the environment.
349 In the Fuel GUI, click Deploy Changes.
351 7 Installation health-check
352 =============================
354 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:
356 - Select the “Health check” TAB.
357 - Select all test-cases
358 - And click “Run tests”
360 All test cases except the following should pass:
362 8 Post installation and deployment actions
363 ============================================