Controlling Access to Service Plans by Org
Note: This version of MySQL for Pivotal Platform is no longer supported because it has reached the End of General Support phase. To stay up to date with the latest software and security updates, upgrade to a supported version.
This topic gives instructions for controlling access to service plans by org. You can also set limits for the number of service instances 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 and click Apply 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.