Pages

Tuesday, December 31, 2013

How to deploy an ova template (vAPP) for vCenter Operations Manager (vCOPS) without a DRS license


To deploy the vCenter operations manager which can be downloaded as a ova file, a DRS license is required. If you attempt to deploy the template without a DRS license, you will receive the following error

"Cannot deploy OVF descriptor on cluster-01 since it contains a vAPP and the cluster is not in DRS mode"

vCenter Operations manager foundation now is available free from the VMware website. So how to deploy it? Well, here  is how

vAPP is essentially just a container for virtual machines that holds settings for the two virtual machines such as IP pools, boot order etc. vAPP can be treated as a single entity and has the options to turn on or off the vAPP. However, vAPP can be split and the individual virtual machines can be taken out from the vAPP by removing the vAPP layer. vCOPs contains two VMs - UI VM and Analytics VM which are part of the vAPP. Please do remember, a vCenter license is required. vCOPs cannot work without vCenter.

To split the vAPP we must first deploy the vAPP. For example I have a cluster of 3 hosts on the vCenter. Follow the steps below to deploy the vAPP

  1. Remove one of the hosts from the cluster such that it is no longer part of the cluster but still a part of the datacenter. For achieving this, you can either drag and drop the host out of the cluster or you can remove the host to the cluster and add the host at the datacenter level. You will have to remove all VMs from the host and take it in maintenance mode.
  2. Once the host is no longer a part of the cluster but just a part of the datacenter, deploy the vAPP on the host. You will have to configure the vAPP with IP settings, name etc.
  3. Once the vAPP has been deployed, turn on the vAPP. Wait for both the VMs to be up and running. Once the VMs are up and running, make sure you can access the UI VM. Check the DNS settings and the make sure you have DNS entries for the VMs on your DNS servers. VMs must be able to resolve each other.
  4. If you can access the registration page, we are good to go. You can either to register the vCOPs with the vCenter server now or later. You will need an account with admin privileges on vCenter to complete the registration.
  5. Now turn off the vAPP and after the vAPP has completely turned off, move the server back into the cluster by dragging and dropping the server into the cluster. This will remove the vAPP layer and you will see two VMs in the cluster called UI VM and Analytics VM.
  6. You might receive an error and you can choose to ignore it.
  7. It is very IMPORTANT that you turn on the analytics VMs at least 10 minutes before the UI VM. You will break it if you mess up the boot order. The vAPP is no longer there to manage the boot order, so the boot order will have to be managed manually.

And this is it. vCenter operations manager has been deployed.

No comments:

Post a Comment