VMware vCloud Usage Meter 3.6.0.1 – End to End Deployment and Configuration (1 of 3)

At VMware, I get a lot of questions regarding the best way to install vCloud Usage Meter for a successful setup. This post will highlight the key points I’ve learned in my time working with the product. In a future post, I will detail how to use Usage Meter for estimating vRAM / points usage.

This Usage Meter review will be broken out into the following sections – I have split this into three posts.

  1. Key Requirements for Usage Meter
  2. vCloud Usage Meter Initial Configuration
  3. vCloud Usage Meter Web Configuration – Starts on Part 2
    1. vCenter and vROps Setup
    2. NSX Manager Setup
    3. vCloud Director Setup
  4. Verifying and Configuring vCloud Usage Meter Data Collection – Starts on Part 3
    1. Customer/Rules Setup and Walkthrough
    2. Monthly Report Walkthrough
    3. Monthly Report Collection 

Key Requirements for Usage Meter

  1. Ensure the network ports are open! Network/firewall rules are the #1 item that goes awry with a Usage Meter setup.
    1. Key Port: 443 TCP – this is used for Usage Meter -> vCenter/NSX/vCD/vROps – ensure this is open!
    2. 8443 TCP is needed inbound to access Usage Meter
    3. 443 and/or 25 outbound for SMTP emailing is required from Usage Meter
    4. All ports are in more detail here – vCloud Usage Meter TCP Port Configuration
  2. Appliance Size: 2vCPU / 3.6GB Memory / 60GB VMDK
  3. Create a fully qualified domain name and register the IP with your DNS server – just makes things easier.
  4. Have your service accounts created for the products that need to be monitored.
    1. vCenter – global read-only access (created at the top level)
    2. NSX Manager – read-only administrative privileges
    3. vCloud Director – system admin privileges
    4. vRealize Automation – read-only administrative privileges
    5. vROps – automatically discovered
  5. Create a Network Protocol Profile for the OVF deployment. This is a commonly missed step and barks about no network pools available.
    1. To set this up, browse to your Data Center -> Manage -> Network Protocol Profiles
    2. Create a new profile (or reuse one) and name it while setting what network(s) Usage Meter will sit on
    3. Under Configure IPv4 – set your subnet/CIDR, default gateway, and DNS server. I know this sounds counterintuitive, but you do not need to enable the IP Pool for manual/static configurations. I typically do not bother with IPv6. 
    4. Under Set other network configurations, I usually set the DNS domain and search path. 
  6. Deploy Usage Meter where it’s readily accessible to the monitored environments. For Providers, it usually makes sense to deploy this a management cluster that has access to resource vCenters.

vCloud Usage Meter Deployment Steps

  1. Download vCloud Usage Meter – https://my.vmware.com/en/web/vmware/info/slug/datacenter_cloud_infrastructure/vmware_vcloud_usage_meter/3_6 
  2. OK – before we start to deploy the OVA file, did you remember to establish your Network Protocol Profile??? 
  3. Let’s go ahead and deploy it to my Management Cluster – 
  4. Click Next and ensure we see vCloud Usage Meter 3.6.0.1 – 
  5. Accept the EULA
  6. Provide the VM name and folder location 
  7. Select your datastore 
  8. Network setup – select the network you put in the Network Protocol Profile and select your IP Allocation method. I typically do static since I have a DNS entry established. 
  9. The final step for initial deployment – now we need to provide the root and usgmtr passwords along with the IP address of the Usage Meter appliance. Make sure you remember these passwords! 
  10. Verify everything looks good and press that Finish button…

Excellent! Now we should see vCenter deploying and creating the new Usage Meter appliance.

It will take about five minutes for it to fully initialize and start to be available on the network.

vCloud Usage Meter Initial Configuration

  1. Open up the console and ensure the FQDN/IP is available from your workspace. 
  2. Now let’s hop into the console – we are going to do two things: 1) Set the timezone and 2) set the admin account to log into the web console – this is COMPLETELY separate from the root and usgmtr accounts.
  3. Setting timezone – click into the console and press the arrow down button to select Set Timezone 
  4. Select your appropriate continent, country, and timezone. Then confirm the changes. 
  5. You will then see a message stating timezone settings have been changed and now back to the blue screen. Let’s now login – 
  6. Press enter and type in root and the password that you set at deployment. 
  7. Now type in “webpass” without the quotations. Now type in the password you would like to set for the admin account when we log into the web interface.
  8. OK! One last thing – for some reason, my hostname did not set correctly when deploying. I see localhost when it should be usage361. Let’s use this as a teachable moment when something goes awry on the network side.
  9. Type in “/opt/vmware/share/vami/vami_config_net” – this is a script we use for Usage Meter network changes to this appliance. From here, you can update the IP address, hostname, DNS, etc. DO NOT use traditional Linux commands to update network values – use this script as this updates both the system and Tomcat configurations.
  10. Alright, selecting choice 3 and typing in the correct FQDN. For a hostname change, this does require a reboot – so I’m going to press 1 to exit and reboot Usage Meter.
  11. After the reboot, my hostname is correct. 

Next, we will go over the vCloud Usage Meter Web Configuration.

2 thoughts on “VMware vCloud Usage Meter 3.6.0.1 – End to End Deployment and Configuration (1 of 3)

  1. Pingback: VMware vCloud Usage Meter 3.6.0.1 – End to End Deployment and Configuration (2 of 3) | Clouds, etc.

  2. Pingback: VMware vCloud Usage Meter 3.6.0.1 – End to End Deployment and Configuration (3 of 3) | Clouds, etc.

Leave a Reply

Your email address will not be published. Required fields are marked *