Upgrading to Scheduler for PCF v1.2

This topic explains how to upgrade Scheduler for PCF. It also explains how Scheduler for PCF v1.2 automatically migrates data from a MySQL for PCF v1 database to a MySQL for PCF v2 database. MySQL for PCF v1 has reached its End of Availability. This migration removes dependency on MySQL for PCF v1.

(Optional) Back Up MySQL for PCF Database

Pivotal recommends backing up your MySQL for PCF database before installing Scheduler for PCF v1.2. This is because upgrading your Scheduler for PCF installation from v1.1 to v1.2 triggers automatic migration of your data to a MySQL for PCF v2.x database.

To back up your MySQL for PCF database, do one of the following:

Update Add-Ons to Run with Xenial Stemcell

Scheduler for PCF v1.2.3 and later requires a Xenial stemcell. If you are using any of the following BOSH add-ons with your PCF deployment, you must update the add-on definition to include the Xenial stemcell before you deploy Scheduler for PCF v1.2.3:

Upgrade to Scheduler for PCF v1.2

During the upgrade, Scheduler for PCF automatically migrates your data from MySQL for PCF v1.x to MySQL for PCF v2.x. Scheduler for PCF detects your MySQL for PCF v1.x service binding and automatically migrates the MySQL for PCF v1.x database instance to a MySQL for PCF v2.x instance.

The errand migrates the database and executes smoke tests. When the migration has completed successfully, the errand removes the service binding to the MySQL for PCF v1.x instance.

To upgrade from Scheduler for PCF v1.1 to v1.2, do the following:

  1. Download the Ubuntu Xenial stemcell from Pivotal Network, and import it into the Ops Manager Stemcell Library. For instructions, see Update Stemcell.

  2. Install MySQL for PCF v2.3 or later in the same PCF environment as your MySQL for PCF v1.x service instance. In the Security pane in the MySQL for PCF v2.x tile, set TLS Options to Optional or Not Configured. For information about installing MySQL for PCF v2.x, see Installing and Configuring MySQL for PCF.

  3. Upgrade Scheduler for PCF to v1.2 with all errands enabled. For general information about upgrading a tile, see Upgrading PCF Products.

    Note: All Post-Deploy Errands must be enabled to migrate from a MySQL for PCF v1.x database to MySQL for PCF v2.x database. These settings are in the Scheduler for PCF Errands pane of the Scheduler for PCF tile.