Sunteți pe pagina 1din 16

How To Install Mirantis OpenStack

Prerequisites: A 64-bit host OS with at least 8 GB RAM and 300 GB of free


space. Virtualization must be enabled in the BIOS. If you use Microsoft
Windows, use Cygwin.

Note: Since virtual box usages thin provisioning 50G free disk space is
enough.

1. Install VirtualBox.
2. Download Mirantis OpenStack.
3. Download the Mirantis VirtualBox Scripts.
4. Copy the Mirantis OpenStack ISO to the /iso directory.
5. Edit the config.sh if needed.
6. Run the launch.sh file in a console, such as Terminal on Mac OS X.
7. Wait for the script to completely finish. When its completed, youll
have a Fuel VM and 3 additional VMs running in VirtualBox.
8. Point your web browser to http://10.20.0.2:8000/. Log in as
admin:admin.

Detail Explanation:

Cygwin installation Note:


For window hosts we need to install Cygwin ,once Cygwin is installed ,install
the below packages in Cygwin aswell- expect , openssh , procps.
Download and install virtual box, also install virtual box
extension pack.
Download Mirantis Openstack
Site: https://www.mirantis.com/software/mirantis-openstack/releases/
Releases and openstack version
Mirantis openstack 9 ------> Openstack Mitaka
Mirantis openstack 8 ------> Openstack Liberty
Mirantis openstack 7 ------> Openstack Kilo

Download Mirantis VirtualBox script


Note: Each Mirantis openstack release has it own Virtual box
script,download corresponding one.

Extract and put mirantis openstack ISO under ISO directory.

Deploy fuel node and its slave node using script.


Open Cygwin and navigate to path where you have kept mirantis virtual box
script.
And run launch.sh it will deploy fuel node and its slave node.
gyan@gyan-PC /cygdrive/c/Users/gyan/Downloads/vbox-scripts-8.0-mu-1/virtualbox
$ ./launch.sh

Prepare the host system...

Checking for 'free'... OK

Checking for 'expect'... OK

Checking for 'xxd'... OK

Checking for "VBoxManage"... OK

Checking for VirtualBox Extension Pack... OK

Checking for VirtualBox iPXE firmware...SKIP

VirtualBox iPXE firmware is not found. Used standard firmware from the VirtualBox Extension Pack.

Checking for Mirantis OpenStack ISO image... OK

Going to use Mirantis OpenStack ISO file iso/MirantisOpenStack-8.0.iso

Checking if SSH client installed... OK

Checking if ipconfig or ifconfig installed... OK

Done.

Check available memory on the host system...

Done.
Creating host-only interface...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Interface VirtualBox Host-Only Ethernet Adapter was successfully created

Disabling DHCP server on interface: VirtualBox Host-Only Ethernet Adapter...

Configuring IP address 10.20.0.1 and network mask 255.255.255.0 on interface: VirtualBox Host-
Only Ethernet Adapter...

Verifying interface VirtualBox Host-Only Ethernet Adapter has IP 10.20.0.1 and mask 255.255.255.0
properly set.

OK.

Creating host-only interface...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Interface VirtualBox Host-Only Ethernet Adapter #2 was successfully created

Disabling DHCP server on interface: VirtualBox Host-Only Ethernet Adapter #2...

Configuring IP address 172.16.0.254 and network mask 255.255.255.0 on interface: VirtualBox Host-
Only Ethernet Adapter #2...

Verifying interface VirtualBox Host-Only Ethernet Adapter #2 has IP 172.16.0.254 and mask
255.255.255.0 properly set.

OK.

Creating host-only interface...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Interface VirtualBox Host-Only Ethernet Adapter #3 was successfully created

Disabling DHCP server on interface: VirtualBox Host-Only Ethernet Adapter #3...

Configuring IP address 172.16.1.1 and network mask 255.255.255.0 on interface: VirtualBox Host-
Only Ethernet Adapter #3...

Verifying interface VirtualBox Host-Only Ethernet Adapter #3 has IP 172.16.1.1 and mask
255.255.255.0 properly set.

OK.

Virtual machine 'fuel-master' is created and registered.

UUID: c3b2be0f-19bd-436b-ae45-43882cafb66b

Settings file: 'E:\mirantis\fuel-master\fuel-master.vbox'

Adding hostonly adapter to fuel-master and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter...

Adding disk to fuel-master, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: 418d135c-d778-4963-88f7-03d9de42efd1

Adding serial numbers of disks to fuel-master...


Adding hostonly adapter to fuel-master and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter #2...

Adding NAT adapter to fuel-master for outbound network access through the host system...

Waiting for VM "fuel-master" to power on...

VM "fuel-master" has been successfully started.

Waiting for product VM to download files. Please do NOT abort the script... OK

Checking for internet connectivity on the host system... OK

Checking local DNS configuration... /etc/resolv.conf does not contain a nameserver. Using 8.8.8.8
for DNS.

Enabling outbound network/internet access for the product VM... OK

Waiting until the network services are restarted... OK

Waiting for product VM to install. Please do NOT abort the script... OK

Master node has been installed.

Virtual machine 'fuel-slave-1' is created and registered.

UUID: dd6735f9-c3e7-4905-a582-e5e14ddfa885

Settings file: 'E:\mirantis\fuel-slave-1\fuel-slave-1.vbox'

Adding hostonly adapter to fuel-slave-1 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter...

Adding disk to fuel-slave-1, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: 1872ba40-d3af-4b73-b277-14076efd19e1

Adding serial numbers of disks to fuel-slave-1...

Adding hostonly adapter to fuel-slave-1 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter #2...

Adding hostonly adapter to fuel-slave-1 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter #3...

Adding disk to fuel-slave-1, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: 5b0d751c-04e6-4897-88d3-87e3a9c126d0

Adding serial numbers of disks to fuel-slave-1...

Adding disk to fuel-slave-1, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: 27ccf1b9-8331-4049-ab3b-c8664d688401


Adding serial numbers of disks to fuel-slave-1...

Waiting for VM "fuel-slave-1" to power on...

VM "fuel-slave-1" has been successfully started.

Virtual machine 'fuel-slave-2' is created and registered.

UUID: cc762cc6-cc58-4263-84cb-262e47a7ae0b

Settings file: 'E:\mirantis\fuel-slave-2\fuel-slave-2.vbox'

Adding hostonly adapter to fuel-slave-2 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter...

Adding disk to fuel-slave-2, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: f6b21f73-009a-417b-a06b-0c26f11b3e6b

Adding serial numbers of disks to fuel-slave-2...

Adding hostonly adapter to fuel-slave-2 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter #2...

Adding hostonly adapter to fuel-slave-2 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter #3...

Adding disk to fuel-slave-2, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: 0005c15c-2fe7-4121-9df1-3de07d868741

Adding serial numbers of disks to fuel-slave-2...

Adding disk to fuel-slave-2, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: 0e4690d1-7319-4546-b33e-cfdd50b7005f

Adding serial numbers of disks to fuel-slave-2...

Waiting for VM "fuel-slave-2" to power on...

VM "fuel-slave-2" has been successfully started.

Virtual machine 'fuel-slave-3' is created and registered.

UUID: 351c7aba-8e76-4352-b8b4-33873888db0e

Settings file: 'E:\mirantis\fuel-slave-3\fuel-slave-3.vbox'

Adding hostonly adapter to fuel-slave-3 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter...

Adding disk to fuel-slave-3, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: a0779ecb-2796-4846-b307-7c45a2ee5c4e

Adding serial numbers of disks to fuel-slave-3...

Adding hostonly adapter to fuel-slave-3 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter #2...

Adding hostonly adapter to fuel-slave-3 and bridging with host NIC VirtualBox Host-Only Ethernet
Adapter #3...

Adding disk to fuel-slave-3, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: fa056a8f-1be6-4004-b63f-633f1d4590d8

Adding serial numbers of disks to fuel-slave-3...

Adding disk to fuel-slave-3, with size 65535 Mb...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

Medium created. UUID: 5457665c-4044-4e14-87d2-3b6bcc80e22d

Adding serial numbers of disks to fuel-slave-3...

Waiting for VM "fuel-slave-3" to power on...

VM "fuel-slave-3" has been successfully started.

Slave nodes have been created. They will boot over PXE and get discovered by the master node.

To access master node, please point your browser to:

http://10.20.0.2:8000/

The default username and password is admin:admin

Fuel node console message will show all the info to login to fuel node:
Now open fuel ip https://10.20.0.2:8443 using web browser and create
openstack environment and deploy your openstack ,please note you need
internet connection and it will download Ubuntu and some openstack
packages from internet. You can create local repository also.
It will take approx. 2 hrs. Once it is successful, you will get dashboard of
Horizon in fuel node UI dashboard tab,for user name password of openstack
dashboard check fuel UI setting(Home-->Environments--><env name>--
>Settings)- default is username-admin, password admin.
also you can login to all the Ubuntu node from fuel node using root user.

S-ar putea să vă placă și