In my last Post I covered manual steps of vCloud Usage Meter deployment & configuration. In this post I will show how we can leverage Usage Meter API’s to perform end to end configuration.
Usage Meter Deployment: There is no API for UM deployment and we have to stick to ovftool method for this step.
1 |
ovftool --name=Usage-Meter --X:injectOvfEnv --X:logFile=ovftool.log --allowExtraConfig --datastore=vsanDatastore --network=VM_MGMT --acceptAllEulas --noSSLVerify --diskMode=thin --powerOn --prop:varoot-password=VMware123! --prop:vausagemeter-password=VMware123! --prop:vami.gateway.vCloud_Usage_Meter=x.x.x.x --prop:vami. |