-
Notifications
You must be signed in to change notification settings - Fork 6
Running Crowbar in VMWare VMs
It is helpful to be able run Crowbar on a virtual hardware for testing, development, and training. We highly recommend this approach and have used it extensively. We deployed Crowbar systems using KVM, Xen and VMware. While this is a good way to test Crowbar & Chef deployment; it may not be a great way to actually test Nova functionality unless you've considered running VMs in VMs and snakes eating their own tails. Discretion is advised.
Do not use VMware if you use Linux + Networkmanager Be very careful cause VMware really deletes your eth0 and does not set it up proper after uninstalling VMware! You do not have this issue using VMware + Windows. So the solution is Windows + VMware or Linux + VBox. If it is to late and you already loose your eth0 goole for "vmware linux eth0 missing {Your Linux Version}"
For reference, we'll target VMware Workstation. Other platforms will work equally well.
-
Get the ISO as per the Build Crowbar.ISO instructions
-
Open up VMware Workstation [VMplayer will not work due to networking config] ( ->n equals click Next)
- Configure Network
- Click Edit Virtual Network (you will need local admin rights on your PC if you don't have them already)
- Click on VMnet 8 set the options to:
- Enable Host-only (connect VMs internally in a private network)
- Enable connect a host virtual adapter to this network
- Disable use local DHCP service to distribute IP addresses to VMs [THIS IS VERY IMPORTANT]
- subnet IP 192.168.124.0/255.255.255.0
- Configure New Machine
- File -> New
- Virtual Machine
- Custom ->n
- Virtual Machine Hardware Compatibility: Best Available (I use Workstation 6.5-7.x) ->n
- Install from: Select -> I will installthe operating system later. ->n
- Guest Opeating System: Select Linux Version: Ubuntu ->n
- Virtual machine name: "you select" Locaction: "you select" ->n
- Processors: 1 with 2 cores ->n
- Memory: Should be 2 gb (minimum is 1 Gb or bad things happen!)
- Network Connection: Use Default ->n
- For the hard drives I create new virtual disk using LSI Logic - SCSI at 20GB
- On the Finish Page select Finish
- Now right click on Ubuntu and select "Settings"
- Click on Network Adapter
- Make Sure Device Status is Connect at power on
- Select Custom: Specific virtual network: VMnet8 (Host-only)
- Click on Add - Add one more Network Adapters with the same config (though more is fine).
- Click on Add - Add a second 20GB Hard Disk (optional)
- Click "Ok" and you are ready to power on
- Power on the Virtual Machine and let it install
- While it is installing create two+ more machines with the following changes:(these are the Host Nodes)
- Two network adapters
- Minimum RAM is 512 Mb. Recommended is >1 Gb
- Add a second 20GB Hard Disk
- CD/DVD is not set to boot iso
- Configure Network
Now you need to Install Crowbar. Remember, the nodes must PXE (network) boot!
As all further steps (configuring networks, rolling out OpenStack etc.) are similar to those from [ Running Crowbar in VirtualBox VMs ] ( https://github.com/dellcloudedge/crowbar/wiki/Running-Crowbar-in-VirtualBox-VMs ) please continue reading that page.
There is a video of this process: http://youtu.be/YSsCb5sJT5k