VMware vCloud Usage Meter – 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 – 
  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.

Updated Cloud Provider Program Hands On Lab

One of my esteemed peers, Eric Stine, has updated our Cloud Provider Program Hands On Lab (HOL).


For those of you that do not know what the VMware HOL is, it’s our free solution that allows you to try out VMware solutions.

Eric and Dan go over NSX, vSAN, vROps, Log Insight, vCD, vCAv, AND Usage Meter! What’s important is Usage Meter is updated to version 3.6 for those of you that wanted to test out the new functionality before upgrading.

Definitely check it out and give it a whirl!

vCloud Architecture Toolkit – Released!

If you are looking for some extremely valuable reference architecture AT NO COST – check out what we published today on VMware’s site –


So why is this so special? The vCAT page is a single entity for all of our vCloud designs posted by our Global Cloud Practice. We break this out by the following categories:

  1. Cloud Automation and Orchestration
  2. Cloud Operations and Management
  3. Hybridity
  4. Network and Security
  5. Storage and Availability
  6. Digital Workspace

As you can see in the chart below, we have multiple architecture papers in each of these domains.

Some of my favorites:

  1. Architecting a vCD Solution by Tomas Fojta – LINK
  2. Architecting a NSX Solution by Michael Haines and Jeffrey Moore – LINK
  3. VMware vCenter Use Cases and Architectures by Martin Hoskin – LINK

Honestly, all of them are amazing. Moreover, these are publicly available. If you aren’t reading up on them, you are missing out on some valuable information.

A little about the Global Cloud Practice – they are my peer team here in the Cloud Provider Program and we are working together to support our strategic SP’s. I truly enjoy working with them and quite frankly, learning from them.

Definitely review and engage us to discuss your objectives further!


vROps Management Pack for vCD – NOW Tenant App!

I recently did a blog on the Management Pack for vCD on vROps – great way of a vCD admin to manage their vCD solution.

VMware just released the vRealize Operation Tenant App for vCloud Director 1.0 – this now allows you to provide tenant access to their org/VDC and provide tenant-level metrics! Very excited about this.

What’s New?

  1. Tenant Admin specific views to enable Operations Management solving monitoring, troubleshooting and capacity planning use cases
  2. Provider Admin can pick and choose the tenants to whom access it to be provided
  3. Photon OS based Virtual appliance (OVA) for easier installation
  4. HTML5 Client based on VMWare Clarity

Get it here: https://marketplace.vmware.com/vsx/solutions/management-pack-for-vcloud-director