Upgrading PAS and Other Pivotal Platform Products

This topic describes how to upgrade to a point release of Pivotal Application Service (PAS) and other product tiles without upgrading Pivotal Operations Manager. For example, use this topic to upgrade from PAS v2.5.0 to v2.5.1. You might need to perform this upgrade if a security update for PAS is released, or if new features are introduced in a point release of a product tile.

For PAS component and version information, see the PAS release notes.

Note: If you cannot download products from Pivotal Network due to restricted network connectivity, see Installing Pivotal Platform in Air-Gapped Environments.

Prerequisites

Before you upgrade to point releases:

Upgrading PAS

Note: If you are using the Pivotal Network API, the latest product versions will automatically appear in your Installation Dashboard. For more information, see the Using Pivotal Network API to Upgrade Products section of the Adding and Deleting Products topic.

To upgrade PAS without upgrading Ops Manager:

  1. Download the product file from Pivotal Network.

  2. Import the product file to your Ops Manager Installation Dashboard.

  3. Click the + icon next to the uploaded product description to add this product to your staging area.

  4. Click the newly added tile to review any configurable options.

  5. Click Review Pending Changes, then Apply Changes to install the service.

Upgrading Pivotal Platform Products

Note: If you are using the Pivotal Network API, the latest product versions will automatically appear in your Installation Dashboard. For more information, see the Using Pivotal Network API to Upgrade Products section of the Adding and Deleting Products topic.

This section describes how to upgrade individual products like Single Sign-On for Pivotal Platform, MySQL for Pivotal Platform, RabbitMQ® for Pivotal Platform, and Metrics for Pivotal Platform in your Pivotal Platform deployment. Ensure you review the individual product upgrade procedure for each tile.

To upgrade your products:

  1. Browse to Pivotal Network and sign in.

  2. Download the latest Pivotal Platform release for the product or products you want to upgrade. Every product is tied to exactly one stemcell. Download the stemcell that matches your product and version.

  3. Confirm that you have adequate disk space for your upgrades. You need at least 20 GB of free disk space to upgrade Ops Manager and Pivotal Application Service. If you plan to upgrade other products, the amount of disk space required depends on how many tiles you plan to deploy to your upgraded Pivotal Platform deployment.

    To check current persistent disk usage, select the BOSH Director tile from the Installation Dashboard. Select Status and review the value of the PERS. DISK column. If persistent disk usage is higher than 50%, select Settings > Resource Config, and increase your persistent disk space to handle the size of the resources. If you do not know how much disk space to allocate, set the value to at least 100 GB.

  4. Browse to the Ops Manager web interface and click Import a Product.

    Import

  5. Select the .pivotal file that you downloaded from Pivotal Network or received from your software distributor, then click Open. If the product is successfully added, it appears in your product list. If the product that you selected is not the latest version, the most up-to-date version will appear on your product list.

  6. Click the + icon next to the product description to add the product tile to the Installation Dashboard.

  7. Repeat the import, upload, and upgrade steps for each product you downloaded.

  8. If you are upgrading a product that uses a self-signed certificate from v1.1 to v1.2, you must configure the product to trust the self-signed certificate. To configure a product to trust the self-signed certificate:

    1. Click the product tile.
    2. In the left-hand column, select the setting page containing the SSL certificate configuration. For example, for PAS, select the HAProxy pane.
    3. Check the Trust Self-Signed Certificates box.
    4. Click Save.
  9. Click Review Pending Changes, then Apply Changes.

Upgrading Replicated Tiles

To upgrade a replicated tile, you must:

  • Generate a replica of the newer version of the tile using the replicator
  • Give the new replica the same name as the existing replica.

See the following example workflow.

Example Workflow

This example assumes the following:

  • You used the replicator to generate a replica of v1 of the Isolation Segment tile.
  • You used the name seg-one.
  • You installed the tile in Ops Manager.

Here is the sample replicator command you used for the initial installation:

./replicator-darwin\
--name seg-one\
--path /download/p-isolation-segment-v1.pivotal\
--output /output/p-isolation-segment-v1-seg-one.pivotal

To upgrade to v2:

  1. Download and unzip the new Isolation Segment Tile Replicator from Pivotal Network. You must download the version of Tile Replicator that corresponds with the version of the Isolation Segment Tile you want to replicate.

  2. Run the replicator command below to create the replica:

      ./replicator-darwin\
      --name NAME-OF-EXISTING-REPLICA \
      --path PATH-TO-NEW-TILE \
      --output /output/p-isolation-segment-v2-seg-one.pivotal
    

    Where:

    • NAME-OF-EXISTING-REPLICA must be the same as the name used for the existing replica. This is seg-one in this example.
    • PATH-TO-NEW-TILE is the path to the new Isolation Segment Tile.
  3. After you have the replica tile p-isolation-segment-v2-seg-one.pivotal, upload it to Ops Manager. This upgrades the v1 replica tile in place.