The following procedure is applicable when you have a Chargeback License and do not have access to the user interface of vRealize Operations.

Procedure

  1. Download the PAK file for VMware Chargeback on your local machine.
  2. Upload the PAK file to your vRealize Operations using any FTP medium.
  3. SSH to your vRealize Operations using root credentials (use primary node for Clustered Environment).
  4. Upload the PAK file and run the following command from the directory where the PAK File is uploaded.

    curl -k -X POST -i -u <ADMIN USER NAME>:<ADMIN PASSWORD> -H 'Content-Type: multipart/form-data' -H 'Accept: application/json' -F 'pak_handling_advice=CLOBBER' -F 'contents=@<PAK FILE NAME>' 'https://<VROPS IP>/casa/upgrade/cluster/pak/reserved/operation/upload'

    Example:

    curl -k -X POST -i -u admin:Admin@123 -H 'Content-Type: multipart/form-data' -H 'Accept: application/json' -F 'pak_handling_advice=CLOBBER' -F '[email protected]' 'https://10.192.64.19/casa/upgrade/cluster/pak/reserved/operation/upload'

  5. Copy the PAK_ID from the JSON output.
    For example, the PAK_ID is 'vCloud-52014769224' from the following JSON output.

    {"filename":"vmware-MPforvCloud-52014769224.pak","links":[{"rel":"pak_information","href":"https://10.192.64.19:443/casa/upgrade/cluster/pak/vCloud-52014769224/information?checkSignature=true"},{"rel":"pak_file_information","href":"https://10.192.64.19:443/casa/upgrade/slice/pak/vCloud-52014769224/file_information"},{"rel":"pak_cluster_status","href":"https://10.192.64.19:443/casa/upgrade/cluster/pak/vCloud-52014769224/status"}],"signed":true,"pak_id":"vCloud-52014769224","missing_suite_platforms":[],"is_signed":true}

  6. Run the following Install command.

    curl -k -X POST -i -u <ADMIN USER NAME>:<ADMIN PASSWORD> -H 'Content-Type: application/json' 'https://<VROPS IP>/casa/upgrade/cluster/pak/<PAK_ID>/operation/install'

    Example:

    curl -k -X POST -i -u admin:Admin@123 -H 'Content-Type: application/json' 'https://10.192.64.19/casa/upgrade/cluster/pak/vCloud-52014769224/operation/install'

  7. Check the installation status using the two URLs from the JSON output.
    • https://<VROPS_IP>/casa/upgrade/cluster/pak/<PAK_ID>/status
    • https://<VROPS_IP>/casa/upgrade/cluster/pak/reserved/current_activity
    Example:
    • https://10.192.64.19/casa/upgrade/cluster/pak/vCloud-52014769224/status
    • https://10.192.64.19/casa/upgrade/cluster/pak/reserved/current_activity

Results

Upon successful installation, the 'cluster_pak_install_status' changes from CANDIDATE to COMPLETED.