Controlling Access to Service Plans by Org

Warning: MySQL for Pivotal Cloud Foundry v2.4 is no longer supported because it has reached the End of General Support (EOGS) 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.

Control Access to Service Plan by Orgs

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:

  1. Set the Service Plan Access field to Manual on any active service plan.

    For more information, see Configure Active Service Plans.

  2. Click Save.

  3. Return to the Ops Manager Installation Dashboard to apply changes:

    1. 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.

    2. Click Apply Changes.
  4. For each org that you want to use the service plan, do the following:

    1. Log in to the Cloud Foundry Command Line Interface (cf CLI) as an admin user:

      cf login

    2. 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 PLAN

      For example,

      $ 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...

The org is now able to use the plan.

For information about modifying and viewing service-plan access, see Managing Access to Service Plans.