0% found this document useful (0 votes)
67 views5 pages

Openstack Kilo Basic Installation

The document outlines the steps to configure a virtual OpenStack cloud environment using VirtualBox including: 1. Creating 3 host-only network interfaces for management, tunnel, and external networks 2. Installing Ubuntu Server 14.04.4 as the controller VM and configuring its 2 network adapters 3. Cloning the controller to create network and compute nodes and configuring their multiple network adapters 4. Configuring hostnames and network interfaces on the network and compute nodes to connect to the management, tunnel and external networks
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views5 pages

Openstack Kilo Basic Installation

The document outlines the steps to configure a virtual OpenStack cloud environment using VirtualBox including: 1. Creating 3 host-only network interfaces for management, tunnel, and external networks 2. Installing Ubuntu Server 14.04.4 as the controller VM and configuring its 2 network adapters 3. Cloning the controller to create network and compute nodes and configuring their multiple network adapters 4. Configuring hostnames and network interfaces on the network and compute nodes to connect to the management, tunnel and external networks
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1.

Creating network interfaces ( 3 interfaces )


File > Preferences > Network > Host-only Networks
Interface 1 (Management Network)
IPv4 Address: 172.16.0.1
Network Mask: 255.255.255.0
Interface 2 (Tunnel Network)
IPv4 Address: 10.10.0.1
Network Mask: 255.255.255.0
Interface 3 (External Network)
IPv4 Address: 192.168.100.1
Network Mask: 255.255.255.0
2. Create a VM - controller
Install Ubuntu Server 14.04.4 - Download from Ubuntu (iso file)
Assign network adapter as above
Settings > Network
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All
Adapter 2:
Attached to: NAT
Adapter Type: Paravirtualized Network
Boot controller VM:
Always use root user
$ sudo su
# apt-get update
# apt-get update
# apt-get install ubuntu-cloud-keyring
# echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" "trustyupdates/kilo main" > /etc/apt/sources.list.d/cloudarchive-kilo.list
# cat /etc/apt/sources.list.d/cloudarchive-kilo.list
# apt-get update & apt-get dist-upgrade
Configuring Hostname

# vi /etc/hostname
controller
Configuring Network Interfaces
# vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 172.16.0.10
netmask 255.255.255.0
auto eth1
iface eth1 inet dhcp
Configuring Name resolution
# vi /etc/hosts
172.16.0.10 controller
172.16.0.11 compute
172.16.0.12 network
172.16.0.13 block
172.16.0.14 object1
172.16.0.15 object2
127.0.0.1 localhost
# 127.0.1.1 - comment this out or delete
# reboot
Update Ubuntu Server
# sudo apt-get update
# powerof
3. Clone Controller Node (Full Clone) and create network node and compute
node
Assign network adapter to Network Node
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All
Adapter 2:
Attached to: Host-only Adapter
Name: Interface 2

Adapter Type: Paravirtualized Network


Promiscuous Mode: Allow All
Adapter 3:
Attached to: Host-only Adapter
Name: Interface 3
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All
Adapter 4:
Attached to: NAT
Adapter Type: Paravirtualized Network
=============================================
4. To Compute Node
Adapter 1:
Attached to: Host-only Adapter
Name: Interface 1
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All
Adapter 2:
Attached to: Host-only Adapter
Name: Interface 2
Adapter Type: Paravirtualized Network
Promiscuous Mode: Allow All
Adapter 3:
Attached to: NAT
Adapter Type: Paravirtualized Network
5. In Network Node
Boot the network VM.
Configuring Hostname
# vi /etc/hostname
network
Configuring Network Interfaces
# vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 172.16.0.12
netmask 255.255.255.0
auto eth1
iface eth1 inet static

address 10.10.0.12
netmask 255.255.255.0
auto eth2
iface eth2 inet manual
up ip link set dev $IFACE up
down ip link set dev $IFACE down
auto eth3
iface eth3 inet dhcp
# reboot
6. In Compute Node
Boot the compute VM.
Configuring Hostname
# vi /etc/hostname
compute
Configuring Network Interfaces
# vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 172.16.0.11
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 10.10.0.11
netmask 255.255.255.0
auto eth2
iface eth2 inet dhcp
# reboot
7. In Controller Node
# ping network
# ping compute
# ping google.com
8. In compute Node

# ping network
# ping controller
# ping google.com
9. In network Node
# ping compute
# ping controller
# ping google.com

You might also like