While I see allot of people use vCOPS to monitor and alert on general VMware infrastructure, I don’t see many places use it to look at applications.
Today we will be looking at one of the 2 methods for setting up applications in vCOPS and that is with the VMware Infrastructure Navigator (VIN) integration.
If you are running vCloud Advanced or enterprise suite you should be fully licensed for VIN. It has to be the most basic appliance to install so I will not be covering the install of it but what to do with it afterwards.
Today unlike most my post I will be using my brand spanking new test lab to demo this in. that way I dont need to blank out names and ip addresses.
1) After the install and if has been running for a couple of days so it has a good map of the VM dependencies you select a VM that you know to be part of an application. I will be using VMware vCAC as my “application” but it can be anything. Note This is only available through the web client.
Nice pretty application map, executives love this stuff!!!
2)Now hold ctrl button and click on all the VMs you want to be part of the application, they we be highlighted with dark blue if selected. (don’t worry if not all are visible we can manually add later)
Then click the create application button which I have highlighted in red below,
6) Now its time to log into the vCOPS custom ui. Once logged in navigate to, environment overview -> resource kinds. You will notice there is now 2 application kinds First one is the vCOPS adapter Application which I will cover in Part 2 the second one is the VIN adapter Application. verify you can see your application in here.
Now its time to guide you through a pretty cool custom dashboard that will be used to monitor or view the application created through VIN. Att he end of this the dashboard should look like something similar to the image below.
2) for the application stats scoreboard we will need a custom xml files, The adapterkindkey for VIN is “VIN_Adapter” You will need to connect to the vCOPS UI server and navigate to /usr/lib/vmware-vcops/tomcat-enterprise/webapps/vcops-custom/WEB-INF/classes/resources/reskndmetrics using winscp and upload the new xml file. Download XML Files
3) For the Application VM stats we also use a custom XML file, this one is nothing fancy just standard VM metrics, Upload this to the same place as above.
3)You will notice I use super metrics for the Application Stats, the super metrics Im using are just converting KB to GB and MHz to GHz to make it more readable. I will not go into this here but is available on on of my other posts HERE When calling super metrics in an XML file you must use SM_id this ID will be shown on your supermetrics page in vCOPS.
Below is an image of one of my super metrics showing where to find the right metrics.
Thats it, This is just an example of what can be done, Obviously a custom desktop like this would be created for an application support team, The benefit of using VIN to create applications is that it will pick up the services being used too.