vRealize Business for Cloud 7.3 allows you to ignore a partial inventory at the cluster level to avoid use of license and perform cost analysis for unwanted virtual machines.

About this task

Note:

Partial inventory is support at cluster level and not at data center level or virtual machine level.

Prerequisites

Ensure that you add the cluster that you want to blacklist or ignore in the configuration service.

Procedure

  1. Log in to SSH with the root credentials.
  2. Run the GET command to verify if there are any black-listed clusters.

    python /usr/ITFM-Cloud/va-tools/bin/partialVC.py GET vcenter-url

  3. Add a cluster that you want to blacklist or ignore.

    python /usr/ITFM-Cloud/va-tools/bin/partialVC.py SET vcenter-url cluster-name1 cluster-name2

  4. Run the monit restart vrbc-xenon-services command to update the changes.
  5. Perform one of the following to delete the virtual machines under the blacklisted clusters:
    • Go to the Administration tab on the vRealize Business for Cloud user interface, delete the vCenter Server and again add the vCenter Server.

    • Run the monit restart itbm-data-collector command and trigger the cost calculation manually on the vRealize Business for Cloud user interface.

      Note:

      Even if you restart the data collector, you see the deleted virtual machines listed in the Virtual Machine report that are marked as deleted. However, when the cost calculation happens in the next month, these virtual machines will not appear in the report.

  6. To remove the blacklisted cluster or white-list a cluster for cost calculation, perform the following steps:
    1. Run the GET command to see the list of blacklisted clusters.
    2. Run the Set command by removing the cluster that you want to white-list.

      For example, if you have two blacklisted clusters and you want to white-list one of those, run the following command:

      python /usr/ITFM-Cloud/va-tools/bin/partialVC.py SET vcenter-url cluster-name1

      Note:

      If you run the SET command without specifying the cluster name, all the blacklisted clusters in the vCenter Server will be white-listed.