Clone
24
opnfv fuel
Amogh P C edited this page 2016-08-26 09:32:59 +02:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Note: This page is only a small summary for installation of OpNFV Brahmaputra, http://artifacts.opnfv.org/fuel/brahmaputra/docs/installation-instruction.html

1. Create fuel master VM

Download fuel ISO from http://artifacts.opnfv.org/fuel/brahmaputra/opnfv-brahmaputra.3.0.iso

  • Open virt-manager: sudo virt-manager;
  • Create a VM, select "Local install media (ISO image or CDROM)",
  • Allocate resources for the VM, RAM: 8GB, 4 CPUs, hard disk: 80GB.
  • Expand "Advance options", select "specify shared device name", and set bridge name to "brfuel", then finish.

Then begin to install.

2. Configure Fuel master

2.1 Begin to install Fuel master

select 1. fuel install (static IP)

image

2.2 Set fuel user password

Wait until screen Fuel setup is shown (Note: This can take up to 30 minutes). in the following step dont forget to CHECK and APPLY when you finish each item.

In the “Fuel User” section - Confirm/change the default password (See figure below),

  • Enter “admin” in the Fuel password input
  • Enter “admin” in the Confirm password input
  • Select “Check” and press [Enter]

image

2.3 Network setup

In the “Network Setup” section - Configure Static IP information for your FUEL node, Configure eth0 set as below:

  • eth0:

IP: 10.20.0.2

Enable interface: yes

Configuration via DHCP: static IP

netmask: 255.255.255.0

default gateway: 10.20.0.1

2.4 PXE setup

In the “PXE Setup” section use eth0 for PXE setup- Change the following fields to appropriate values (example below)

  • DHCP Pool Start 10.20.0.3
  • DHCP Pool End 10.20.0.254
  • DHCP Pool Gateway 10.20.0.2 (IP address of Fuel node)

2.5 DNS & hostname setup

In the “DNS & Hostname” section - Change the following fields to appropriate values:

  • Hostname (Leave it default, or change to your settings)
  • Domain (Leave it default, or change to your settings)
  • Search Domain (Leave it default, or change to your settings)
  • External DNS (use google dns, your network dns)
  • Hostname to test DNS
  • Select and press [Enter]

2.6 Bootstrap Image

In the “Bootstrap Image” section, you may fail in this step, we suggest you skip this step and build bootstrap image when OS is installed. Check “Skip building bootstrap image”; and then when Fuel master is fully installed, run following command to build bootstrap image:

fuel-bootstrap build  --activate

2.7 Set root password

We suggest you set the Root password to r00tme, as this password is hard coded in the Functest scripts, other wise you will need to modify the functest scripts. leave others default, and Save& Quit. Begin installation.

3. Create compute and control VM nodes

For a minimum installation, three nodes is needed, two for control, and one for compute. The configuration for VM: RAM: 16GB, CPU: 4, Hard Disk:200GB, Ethernet Interface: 2 connected to brfuel and brpublic, PXE boot. You can use following commands:

sudo virt-install --connect qemu:///system --name vm-1 --ram 16338 --vcpus 4 --disk size=200,format=qcow2,bus=virtio,io=native,pool=default --network bridge=brfuel,model=virtio --network bridge=brpublic,model=virtio --boot network,hd,menu=off --noautoconsole --vnc --print-xml | tee vm-1
sudo virsh -c qemu:///system define --file vm-1

Create 3 VMs, remember to change the VM name when created. After created, boot them.

4. Create Environment

For this part, you can refer to http://artifacts.opnfv.org/fuel/brahmaputra/docs/installation-instruction.html, from "Boot the Node Servers" Section.

However, there are some settings that need to be noticed:

  • A. In section “Create an OpenStack Environment”, step 7, if you check “ Install Ceilometer (OpenStack Telemetry)”, you need at least 4 VMs for compute and control node.
  • B. In section “Select Hypervisor type”, step 2, we suggest you choose Qemu, as you are running openstack in VM.
  • C. In section “Enable Plugins”, we suggest you don't install opendaylight plugin in, which also brings some error in our deployment.
  • D. in section “Allocate nodes to environment and assign functional roles”, step 2, add two nodes each with (Controller + Storage - Ceph OSD), add one compute node with Storage - Ceph OSD. If you chose to install ceilometer, you also need to add a control node with Telemetry - MongoDB and Opendaylight.
  • E. In section “Allocate nodes to environment and assign functional roles”, step 3, you need to make your interface like this:

image

Then finish the deployment.