A colleague of mine recently introduced me to the open source version of RHEL’s CloudForm, – Manage IQ .. While I wasn’t sure what exactly I could use it for at first (the idea just sounded cool) I got this thing setup and within 2 hours was giving a pitch to the management team on a lot of its functionality and show casing that it worked completely cross platform due to its HTML 5 capabilities for the console (friggen VMWare and their love of flash) and we could consolidate our many Vsphere environments into a single pane of glass which was AWESOME for me as I am all about streamlining and automation. I could go on and on about the functionality and stuff I am planning to add to it but for now I will keep it simple and write on those subjects later on.
So any way, a quick over view of the general setup and things that should be done once you get this appliance deployed.
- First things first hop on over to http://manageiq.org/download/vmware/ and grab the appliance.. It is roughly 1.2 gb so give yourself some time to download this (coffee breakkkk!)
- Deploy .ova template to vSphere Environment (File -> Deploy OVF Template) again give yourself about 15 minutes here for the deployment to finish
- Power on the appliance and wait for a full boot up
Now this is where things started to fall apart in the documentation provided by Manage IQ for me. I noticed that during the deployment of my ova template that there was only 1 vlan available to select. Which in itself was not a big issue as we could just change this later when its finished. But during this next step we will be taking care of setting up the network so I figured I would mention this.. If you are not familiar with how to set a new vlan on the NIC simply right click on the appliance click “Edit Settings” in the left pan click “Network adapter 1” and the in the bottom right select the correct vlan from the “Network Label” and click “OK”.. Alright off my soap box.
- Open the console in vmware (Select the VM from the pane on the left -> Console tab)
- Enter user credentials which by defaults are admin/smartvm
- This will bring you to your configuration screen. setup your network, hostname, TZ etc etc here is what it looks like (it pretty much walks you through everything)
- After this is all set up to your liking you can just log right into the webconsole @ https://yourIPhere/ using the same “admin” and “smartvm” credentials.
Now this will bring you to dashboard by default with no info on it yet (don’t worry it will populate shortly) lets not worry just yet about the pretty little graphs and such that your management is going to want to drool over(it will look like this in due time).
- Click on “Configure” in the top right hand corner of your screen
- In the left pane select your “Zone” and fill in its details (company name, host name etc etc)
- On this same page scroll down to the “Server Control” and assign the server roles.. You will notice there are some defaults already selected.. Save your self the trouble and select them all ahead of time, assess what functionality you need and just scale back instead of pondering why a feature is greyed out later on down the line.
- While you are on this screen now just fill out all the information on the right for your local smtp settings , and your ntp servers then click on the blue “Save” button on the bottom of the page.
- From the top menu select the “Infrastructure” menu option. You will see configuration button with a sprocket that will drop down a few more menu options. Click on “Add a new Infrastructure Provider”
- Now this screen is where you will add your vCenter instances. Give it a name, select the type of provider (vmware in my case), give it the IP of your vcenter and add your root credentials and then click on the “Validate” button to make sure a connection is possible using the provided information. If all is good click “Add”.. Repeat this step for every separate Vcenter instance you run into.
Take a little break at this point and let ManageIQ discover all of your hosts, vm’s , datastores etc etc.
- After you have given Manage IQ some time to do what it does head back over to the “Configure” menu and select “Configuration” from the sub menu below. In the left pane select the “CMFE Region” menu with the little globe to the left of it.
- On the right click the menu ” C & U Collection” This is where you select which items you want to collect performance and utilization information on. I personally checked “Collect for all Clusters” and “Collect for all Datastores” and then click on “Save” in the bottom right.
- Now time to change the password to something more secure.. In the left pane there are a few other options click the one that says “Access Control”
- Under “Users” select “Administrator” Click “Configuration” and “Edit this User” enter in a password in the appropriate field and click on “Save”
- Now that we have everything set up head over to the “Infrastructure” Menu and click on “Hosts” in the left filter for “ALL” on the bottom right adjust the results per page to accommodate the amount of hosts you have. in the top left click “Check all” then click the “Configuration” Option and select “Edit these hosts” (little pencil icon) add your ROOT credentials in these fields.. Choose the host to validate again and make sure they work and then click “Save” in the bottom right.
- The last Item I will have you do is to go to the “Infrastructure” Menu and click on the “Virtual Machines” Menu and browser through the folders to locate your appliance (The VM you deployed earlier). Once you find it click on it and then click the “Configuration” Button and “Edit Management Engine Relationship”. And then select the appliance name in the drop down and click save at the bottom.
Now you have a basic functioning Manage IQ instance… However I was interested checking out the Smartstate Analysis … And it turns out that the version botvinnik-1.20150629103140_eb92001 comes with a bugged version of the VixDiskLib library.. Which will give your errors in your “Tasks” (This is located in the “Configuration” menu under the sub menu “Tasks”) which look like this:
So there are two things I needed to do to resolve these issues…
1. Install a new version of VDDK (seems to be fixed in 5.5.4) You can get the installer from here https://my.vmware.com/web/vmware/details?downloadGroup=VDDK554&productId=396
a. Place the .gz in a working directory
b. untar the .gz
c. Move to the newly extracted folder and run the perl script that’s in there (this is quick and painless)
2. Setting the proper port for the smartproxy
a. Back on the web console head over to the “Configure” -> “Configuration” Menu
b. On the left pane underneath “Zone” select “Server: (Zone name here) ”
c. On the right now (in the main pane not the top menu) select the tab that says “Smart ProxY” and change the default of “1139” to “902” and click save.
If you made it this far you are a trooper.. I wanted to take some time to give credit where credit is due to the sources where I got my information from