Do you want to upgrade Tanzu Cloud Service Broker for AWS? The following sections tell you about the Upgrade procedure, Upgrading service instances, and specific details about Upgrading to v1.8.

Pre-upgrade Procedure

ImportantBefore upgrading, it is crucial to perform the checks suggested in this section. Failure to can cause the upgrade process to fail and leave the broker unable to manage your instances.

  • Check if services are up-to-date Execute the command:

    cf upgrade-all-services BROKER-NAME -check-up-to-date
    

    This command checks whether all services provided by the specified broker are up-to-date. An instance is considered not up-to-date if it is pending upgrade, or if it is an orphaned service instance.

  • Check for orphaned service instances For greater granularity, you can specifically check only orphan service instances by running this command:

    cf upgrade-all-services BROKER-NAME -check-deactivated-plans
    

    This checks for any service instances still using plans that have been deactivated. For more information, see Managing orphaned service instances documentation.

Upgrade Procedure

To upgrade Cloud Service Broker for AWS:

  1. Before you stage the new tile version, Ensure that all service instances are up to date. Installation stops if there are any outdated service instances. If your installation stops, Manually upgrade any outdated instances before trying to install the software again. Review the deploy-all errand logs in the change log to verify that no errors occurred when upgrading service instances.

  2. Download the new version of Cloud Service Broker for AWS from Broadcom Support.

  3. Stage and configure the tile by following the instructions in Installing with AWS.

  4. Make all the changes described in Upgrading to v1.8.

  5. Verify that your configuration complies with the important notes about upgrading service instances, especially regarding upgrading all instances of configuration, plans, and beta offerings.

  6. Go to the Ops Manager Installation Dashboard.

  7. Click Review Pending Changes and then click Apply Changes.

  8. Review the deploy-all errand logs for any errors created because of the upgrade instances task.

Ensure that Service Instances Are Up to Date before Upgrading the Tile

You might be unable to upgrade service instances that you did not upgrade with an earlier version of the tile. A step in the installation phase stops the process if there are any outdated instances.

For these reasons, verify that there are no service instances pending upgrade before staging the new version of the tile.

You can see whether there are instances with a pending upgrade by using the CLI plug-in. For more information, see Ensuring all instances are up to date with the CLI plug-in.

If you find instances that are pending upgrade, follow the upgrading instructions for your current version.

Important Notes about Upgrading Service Instances

Before you start upgrading service instances, see the following notes:

  • Enabling the Upgrade all services check box:

    If the Upgrade all services check box is not selected, service instances are not upgraded during installation. These instances become unmanageable by the broker. Any operations on that instance, such as update, bind, unbind, or delete, are blocked until you run the upgrade task. You can run the upgrade task at any time before upgrading the product to a later version. For more information about how to configure this task, see Upgrade All Service Instances Configuration. Alternatively, you can run the upgrade at a later stage by using the CLI plug-in.

  • Enabling the Enable Beta Offerings Check Box:

    If the Enable Beta offerings check box is not selected when applying changes, instances from those service offerings are not upgraded. These instances become unmanageable by the broker. Ensure that the Enable Beta offerings check box is selected if you have instances from those offerings you intend to keep updated.

  • Deleting custom plans:

    If you delete custom plans before upgrading all instances, instances from these plans are not upgraded. These instances become unmanageable by the broker. Delete plans after upgrading all instances, or see Release Notes for Cloud Service Broker for AWS and Upgrading to v1.8 to prevent conflicting upgrades.

  • Only upgrade the tile after all service instances are up to date:

    You can run the upgrade all instances task as many times as needed. If preferred, you can run the upgrade all instances task by using the cf CLI instead of, or in addition to, running it through the tile. Failure to upgrade one or more instances does not cause the tile installation to fail. Review the deploy all errand logs to ensure that all instances have upgraded.

Ensure that All Instances Are Up to Date with the CLI Plug-in

To verify that no instances are pending upgrade:

  1. Install the cf CLI UpgradeAllServices plugin.

  2. Follow the instructions in the Usage section of the README in the upgrade-all-services-cli-plugin GitHub repository to perform a check-up-to-date command.

    check-up-to-date example:

    cf upgrade-all-services BROKER-NAME -check-up-to-date
    

    These command provide a list, from enabled plans, of instances that are pending upgrades, and a list of orphaned service instances that belong to deactivated plans. Manage all the instances listed before attempting a tile upgrade.

Upgrade Instances through the CLI Plug-in

To use the cf CLI plug-in to upgrade instances:

  1. Install the cf CLI UpgradeAllServices plugin.

  2. Run the CLI plug-in with the -dry-run or -check-up-to-date flags before applying the service instance upgrade to discover which instances you need to upgrade

  3. To run the upgrade, follow the instructions in the Usage section of the README in the upgrade-all-services-cli-plugin GitHub repository.

    For example:

    cf upgrade-all-services BROKER-NAME
    

Upgrade to v1.8

There are currently no notes for upgrading to v1.8.

check-circle-line exclamation-circle-line close-line
Scroll to top icon