To resolve this issue:
- Ensure the vCloud Usage Meter appliance is correctly registered in the VMware Commerce Portal.
- Log in to the VMware Commerce Portal and verify if vCloud Usage Meter is present under the contact with which it has been registered.
- Check your vCloud Usage Meter connectivity to vCloud Usage Insight:
- vCloud Usage Meter must be connected to the Internet, and all supported VMware products that can be metered must have their ports open so that the appliance can connect to them. See for reference the ports of the VMware products that need to be open for vCloud Usage Meter: VMware Ports and Protocols.
- Enable SSH access to the vCloud Usage Meter by entering the following command in the vCloud Usage Meter (Web or Remote) Console as root: service sshd start
- Log in to vCloud Usage Meter via SSH as usagemeter.
ssh usagemeter@<usage-meter-address>
The vCloud Usage Meter address could be its IP address or Fully Qualified Domain Name (FQDN).
- Test connectivity to vCloud Usage Insight by using the curl command depending on the proxy usage:
- curl command when using a direct connection to vCloud Usage Insight:
curl -v https://ums.cloud.vmware.com/um/api/v1/ping
- curl command when using proxy to connect to vCloud Usage Insight:
curl -v https://ums.cloud.vmware.com/um/api/v1/ping --proxy <proxy-address>:<proxy-port>
The proxy server address could be its IP address or Fully Qualified Domain Name (FQDN).
For every curl request, the response should be HTTP status code 200. In case another HTTP status code is returned, contact VMware support to investigate the issue.
Example:
curl -v https://ums.cloud.vmware.com/um/api/v1/ping --proxy app-proxy.com:80
- Check the vCloud Usage Meter registration status in vCloud Usage Insight by using the curl command depending on the proxy usage:
- curl command when using a direct connection to vCloud Usage Insight:
curl -v https://ums.cloud.vmware.com/um/api/v1/upload/registration?um=<UM UUID>
- curl command when using proxy to connect to vCloud Usage Insight:
curl -v https://ums.cloud.vmware.com/um/api/v1/upload/registration?um=<UM UUID> --proxy <proxy-address>:<proxy-port>
The proxy server address could be its IP address or Fully Qualified Domain Name (FQDN).
For every curl request, the response should be HTTP status code 200. In case another HTTP status code is returned, contact VMware support to investigate the issue.
Example:
curl -v https://ums.cloud.vmware.com/um/api/v1/upload/registration?um=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --proxy app-proxy.com:80
- Log in to vCloud Usage Insight and check the vCloud Usage Meter upload status. Next to the vCloud Usage Meter name, under Status, you will also find information for the latest successful upload made from the appliance to vCloud Usage Insight.
- Check the Notifications tab in the vCloud Usage Meter web interface for specific details related to the detected missing uploads.
- Manually verify if usage data can be uploaded to vCloud Usage Insight:
- Log in to the web interface of your vCloud Usage Meter and navigate to the Settings tab. Click SEND UPDATE TO VUI. The returned notification should be "All Data Sent Successfully".
- Check if archive data is uploaded or not. Go to the vCloud Usage Meter archive folder and check if .info & .zip folders are present in the archive folders like collection/notification. In case those folders are not present, contact VMware support to investigate the issue.
Examples for vCloud Usage Meter 4.2:
ls -l /opt/vmware/cloudusagemetering/var/archive/notification/0/0/2/
ls -l /opt/vmware/cloudusagemetering/var/archive/collection/0/0/1/
Examples for vCloud Usage Meter 4.3:
ls -l /opt/vmware/umdata/Notification/2020/11/02/
ls -l /opt/vmware/umdata/Collection/2020/11/02/
Examples for vCloud Usage Meter 4.4:
ls -l /opt/vmware/umdata/Notification/2021/11/02/
ls -l /opt/vmware/umdata/Collection/2021/11/02/