1. Access the Ops Manager API and retrieve your
UAA Access Token Value: https://docs.pivotal.io/ops-manager/2-10/install/ops-man-api.html
2. Use the following API command to globally upgrade the VM hardware version:
curl -v -k "https://OPSMAN_FQDN/api/v0/staged/director/iaas_configurations/DIRECTOR_ID" \
-X PUT \
-H "Authorization: Bearer $UAA_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"iaas_configuration":{"additional_cloud_properties":{"upgrade_hw_version":true}}}'
- OPSMAN_FQDN is the Ops Manager name
- DIRECTOR_ID is the ID shown when browsing the BOSH director tile in Ops Manager GUI. An example in the following URL:
- https://opsmgr-14.slot-59.pez.vmware.com/infrastructure/iaas_configurations/5fc5925f5387047e706f/edit
- DIRECTOR_ID is 5fc5925f5387047e706f
- UAA_ACCESS_TOKEN is your UAA Access Token Value from step 1
3. Select "
Recreate All VMs" in the BOSH Director tile and
Apply Changes.