Manually migrate autoscaler on gold and bronze plans to newer plan
search cancel

Manually migrate autoscaler on gold and bronze plans to newer plan

book

Article ID: 297977

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

You still have autoscaler instances using gold and bronze instances despite upgrading the platform. 

You can manually update these instance without downtime.

Environment

Product Version: 2.6

Resolution

1. Get the autoscaler broker unique identifier:
cf curl '/v2/services?q=label:app-autoscaler' | jq -r '.resources[0].metadata.guid'
Note: This assumes you have jq installed.
2. Get the plans associated with the broker:
cf curl '/v2/service_plans?q=service_guid:<GUID_FROM_STEP_1>'
Please write down the guid of the "standard" plan
3. Get the instance ID of the service you want to migrate:
cf service <service-name> --guid
4. Update the service metadata:
cf curl -X PUT -d '{"service_plan_guid":"<standard_plan_guid_from_step_2>"}' '/v2/service_instances/<instance_guid_from_step_3>' 
5. Confirm the plan was updated:
cf service <service_name>