Installing Mirantis OpenStack Manually
Installing Mirantis OpenStack Manually
OS Type: Linux
Version: Ubuntu (64bit)
CPU: 2 virtual CPU cores
RAM: 1536+ MB (2048+ MB recommended)
HDD (VDI): 64 GB dynamically allocated
Network: 2 Host-Only Adapters Intel PRO/1000 MT desktop driver, 1 NAT Adapter Intel PRO/1000
MT desktop driver
See also
3. Create three VirtualBox Host-Only Ethernet Adapters by clicking the Adds new host-only network icon.
VirtualBox creates three new Ethernet adapters. For the purpose of example, Ethernet adapters names
are:
o
4.
5.
6.
7.
See also
Installing Fuel
After you complete the steps described in Configuring Virtual Machines, install Fuel.
Procedure:
6. After the Fuel Master node installs, power on the Fuel Slave nodes. When the Fuel Slave nodes boot,
the Fuel Master node automatically discovers them.
7. Log in to the Fuel Master Node CLI using the default credentials.
8. Configure network interfaces:
1. Prepare the network configuration files:
2.
3.
4.
5.
6.
7.
sed -i.orig \
'/^UUID=\|^NM_CONTROLLED=/d;s/^\(.*\)=yes/\1=no/g;' \
/etc/sysconfig/network-scripts/ifcfg-eth{0,1,2}
sed -i.orig \
's/^ONBOOT=.*/ONBOOT=yes/;/^ONBOOT=/iNM_CONTROLLED=no' \
/etc/sysconfig/network-scripts/ifcfg-eth{0,1,2}
These commands create a backup of network configuration, removes the network manager
options, disables default settings, enables network interface activation at boot time, and disables
the network manager.
8. Configure eth1 to use as a static IP address with the corresponding netmask.
Example:
sed -i 's/^BOOTPROTO=.*/BOOTPROTO=static/' \
/etc/sysconfig/network-scripts/ifcfg-eth1
sed -i '/^BOOTPROTO/aIPADDR=172.16.0.1\nNETMASK=255.255.255.0' \
/etc/sysconfig/network-scripts/ifcfg-eth1
Therefore, eth1 will have a static IP address 172.16.0.1 with the netmask 255.255.255.0.
9. Configure eth2 to obtain an IP address from the VirtualBox DHCP server and use a default
route:
10.
11.
12.
13.
sed -i 's/^BOOTPROTO=.*/BOOTPROTO=dhcp/;s/^DEFROUTE=.*/DEFROUTE=yes/' \
/etc/sysconfig/network-scripts/ifcfg-eth2
sed -i '/^BOOTPROTO/aPERSISTENT_DHCLIENT=yes' \
/etc/sysconfig/network-scripts/ifcfg-eth2
file:
22. Enable NAT (MASQUERADE) and IP forwarding for the Public network:
Example:
iptables -I FORWARD 1 --dst 172.16.0.0/24 -j ACCEPT
iptables -I FORWARD 1 --src 172.16.0.0/24 -j ACCEPT
iptables -t nat -A POSTROUTING -s 172.16.0.0/24 \! -d 172.16.0.0/24 \
-j MASQUERADE
service iptables save
ping -c 3 google.com
bytes of data.
(216.58.214.206): icmp_seq=1
(216.58.214.206): icmp_seq=2
(216.58.214.206): icmp_seq=3
fuel-bootstrap list
9. Log in to the Fuel UI by pointing your browser to the URL specified in the command prompt.
Use the default login and password.
10. Proceed to Create an OpenStack environment in Fuel User Guide.