Controlling Access to Service Plans by Org
This topic gives instructions for controlling access to service plans by org. You can also set limits for the number of service intances globally and per plan. For more information, see Setting Limits for On-Demand Instances.
MySQL for PCF v2 allows you to control which CF orgs are able to access specific service plans. By default, active service plans are visible to all orgs. Controlling which orgs have access to a specific service plan allows you to ensure that the resource-intensive service plans are only available to the orgs that explicitly need them.
To configure MySQL for PCF v2 to control service-plan access, do the following:
Set the Service Plan Access field to Manual on any active service plan.
For more information, see Configure Active Service Plans.
Return to the Ops Manager Installation Dashboard to apply changes:
- If you are using Ops Manager v2.3 or later, click Review Pending Changes.
For more information about this Ops Manager page, see
Reviewing Pending Product Changes.
- Click Apply Changes.
- If you are using Ops Manager v2.3 or later, click Review Pending Changes. For more information about this Ops Manager page, see Reviewing Pending Product Changes.
For each org that you want to use the service plan, do the following:
Log in to the Cloud Foundry Command Line Interface (cf CLI) as an admin user:
Enable service access to the org:
cf enable-service-access p.mysql -p PLAN -o ORGANIZATION
PLAN: The name of the specific plan to enable, set to manual in step 1 above.
ORGANIZATION: The name of the org that needs access to
$ cf enable-service-access p.mysql -o prodteam -p db-large Enabling access to plan db-large of service p.mysql for org prodteam as admin... OK
The org is now able to use the plan.
For information about modifying and viewing service-plan access, see Managing Access to Service Plans.