Tanzu Platform for Cloud Foundry 6.0

Upgrading from Small Footprint to full TAS for VMs

Last Updated March 13, 2025

If you have installed Small Footprint VMware Tanzu Application Service for VMs, you can upgrade your installation to full TAS for VMs. The upgrade process preserves most of the existing tile configuration and transforms the existing Small Footprint TAS for VMs into full TAS for VMs.

Note This feature is only available in TAS for VMs v6.0.1 and later.

For more information about choosing between Small Footprint and full TAS for VMs, see When should you use Small Footprint TAS for VMs? in Installing TAS for VMs.

Preserving data after the upgrade

TAS for VMs stores data in two separate locations: a database and a blobstore. By default, full TAS for VMs uses internal disks, created and maintained by the BOSH Director, for both datastores. Operators can instead provide their own external database and blobstore, if desired.

When you upgrade a Small Footprint TAS for VMs tile to a full TAS for VMs tile:

  • Any internal disks containing application data are not automatically transferred over. These disks are orphaned, unattached to any TAS for VMs instance and no longer actively read or written to by your deployment. To restore the data, you must reattach any orphaned Small Footprint TAS for VMs disks to the full TAS for VMs deployment, using one of the two procedures described below.

  • External datastores do not have disks managed by BOSH, and therefore are not orphaned. When the upgrade is complete, these datastores are automatically attached to the new full TAS for VMs deployment, and the stored data is immediately available. You do not need to perform any further steps for external datastores.

It is critical to be aware of which datastores are internal and which are external before beginning the process to upgrade from Small Footprint to full TAS for VMs.

Caution Disks become orphaned after you perform the Apply Changes to upgrade to full TAS for VMs. After a period of time (by default, five days), BOSH automatically and permanently deletes orphaned disks. Failure to reattach any orphaned Small Footprint TAS disks will result in loss of your data. For more information about orphaned disks, see the BOSH documentation.

Requirements and prerequisites

In order to upgrade from Small Footprint TAS for VMs, you must:

  • Upgrade to the same major and minor as your Small Footprint TAS for VMs deployment, but a higher patch version. For example, if your Small Footprint TAS for VMs deployment is at version v6.0.1, you can upgrade to full TAS for VMs v6.0.2, but not to v6.1.0. This prevents potentially severe and unforeseen upgrading issues, due to changes in the topology of TAS for VMs between major or minor versions.

    Note You cannot upgrade to the same patch version as your Small Footprint TAS for VMs deployment. This is due to a limitation of VMware Tanzu Operations Manager (Tanzu Operations Manager).

  • Finalize all configuration and ensure that no other processes are running on your Small Footprint TAS for VMs deployment.

    For example, there must not be any of these:

    • Changes being applied by Tanzu Operations Manager

    • Pending changes for any tile, including TAS for VMs

    • Actively running operator-initiated BOSH tasks against the deployment

    During the upgrade process:

    • You must not modify any choices regarding use of internal or external databases and blobstores.

    • The underlying IaaS infrastructure for the deployment must not be modified or moved.

  • Back up your deployment using BOSH Backup and Restore.

If using the Assisted upgrade approach, you will need:

Upgrade to full TAS for VMs

You can upgrade Small Footprint TAS for VMs to full TAS for VMs either manually, or with the assistance of the Bash scripts provided by VMware. When planning your upgrade schedule, keep in mind that both procedures cause several hours of downtime and involve at least one Apply Changes step, as well as stopping and restarting the entire BOSH deployment.

Caution During the upgrade process, ensure that all aspects of the deployment and control plane remain constant except when directed otherwise. Making any changes not described in the upgrade procedures can result in unforeseen and potentially unrecoverable data loss or deployment issues.

Manual upgrade

To upgrade from Small Footprint TAS for VMs to full TAS for VMs manually:

  1. Verify that your foundation is in the correct state.

    1. If using an internal database and/or blobstore, scale each down to exactly one (1) instance.

      To count the database and/or blobstore instances:

      • If using Ops Manager, open the Resource Config pane of the Small Footprint TAS for VMs tile settings. The database is labeled Database. The blobstore is labeled File Storage.

      • If using the BOSH CLI tool, run the bosh instances command. The database is called database. The blobstore is called blobstore.

      If necessary, scale down either or both instance groups to 1 in Ops Manager and then run Apply Changes.

    2. In the Advanced Features pane of the Small Footprint TAS for VMs tile settings, check the Enable upgrade from Small Footprint Tanzu Application Service to VMware Tanzu Application Service for VMs checkbox.

  2. Upgrade the tile.

    1. Select the version of full TAS for VMs to which you wish to upgrade Small Footprint TAS for VMs. This version must be the same major and minor as the existing Small Footprint TAS for VMs installation, and must be a higher patch version than your existing Small Footprint TAS for VMs installation. Download the full TAS for VMs release from Broadcom Support.

    2. Upload the full TAS for VMs release to your foundation and stage it.

    3. If your deployment uses an internal database and / or blobstore:

      1. Open the Resource Config pane of the full TAS for VMs tile settings.

      2. Scale down both of the following instance groups to 1:

        • MySQL Server

        • NFS Store

    4. Review the staged configuration changes.

    5. Click Apply Changes.

    If the foundation uses both an external database and an external blobstore, the upgrade procedure is now complete. If not, continue to the next step.

  3. Reattach the Small Footprint TAS for VMs disks to the full TAS for VMs deployment.

    Note The following instructions assume both an internal database and an internal blobstore. If your foundation uses an external database or an external blobstore, ignore instructions for that specific datastore.

    1. Locate the two Small Footprint TAS for VMs disk CIDs that contain your application data.

      In a terminal window, run the following command:

      bosh disks --orphaned
      

      For the database disk CID:

      • Instance begins with database/.

      • Orphaned At is the most recent of all database/… rows.

      • Deployment is the ID of your deployment.

      For the blobstore disk CID:

      • Instance begins with blobstore/.

      • Orphaned At is the most recent of all blobstore/… rows.

      • Deployment is the ID of your deployment.

      Record the instance for each of the disks.

    2. Locate the two full TAS for VMs instance IDs to which the Small Footprint TAS for VMs disks will be reattached.

      In a terminal window, run the following command:

      bosh -d [DEPLOYMENT] instances -i
      

      Where [DEPLOYMENT] is the ID of your deployment.

      Find the two instance IDs:

      • For the database instance ID, Instance begins with mysql/.

      • For the blobstore instance ID, Instance begins with nfs_store/.

      Record the entire value of both instance IDs.

    3. Stop the entire BOSH deployment.

      Run the following command:

      bosh -d [DEPLOYMENT] stop
      

      Where [DEPLOYMENT] is the ID of your deployment.

    4. Delete the database and blobstore VMs.

      • Run the following command to delete the database VM:

        bosh -d [DEPLOYMENT] stop --hard mysql
        

        Where [DEPLOYMENT] is the ID of your deployment.

      • Run the following command to delete the blobstore VM:

        bosh -d [DEPLOYMENT] stop --hard nfs_store
        

        Where [DEPLOYMENT] is the ID of your deployment.

    5. Reattach the orphaned Small Footprint TAS for VMs disks to the correct full TAS for VMs instances.

      • Run the following command to reattach the database disk:

        bosh -d [DEPLOYMENT] attach-disk [FULL_TAS_DATABASE_ID] [SF_TAS_DATABASE_CID]
        

        Where:

        • [DEPLOYMENT] is the ID of your deployment.

        • [FULL_TAS_DATABASE_ID] is the ID of the full TAS for VMs instance to which the database disk will be attached.

        • [SF_TAS_DATABASE_CID] is the CID of the orphaned Small Footprint TAS for VMs database disk.

      • Run the following command to reattach the blobstore disk:

        bosh -d [DEPLOYMENT] attach-disk [FULL_TAS_BLOBSTORE_ID] [SF_TAS_BLOBSTORE_CID]
        

        Where:

        • [DEPLOYMENT] is the ID of your deployment.

        • [FULL_TAS_BLOBSTORE_ID] is the ID of the full TAS for VMs instance to which the blobstore disk will be attached.

        • [SF_TAS_BLOBSTORE_CID] is the CID of the orphaned Small Footprint TAS for VMs blobstore disk.

  4. Verify that the correct disks were reattached to the database and blobstore instances.

    Run the following command:

    bosh instances -i
    
  5. Restart the BOSH deployment.

    Run the following command:

    bosh -d [DEPLOYMENT] start
    

    Where [DEPLOYMENT] is the ID of your deployment.

    After the deployment has restarted, the upgrade from Small Footprint TAS for VMs to full TAS for VMs is complete.

After upgrading to full TAS for VMs, verify that your applications are functioning as expected. If you encounter any issues, contact Support.

A full TAS for VMs deployment can be configured to provide high availability (HA) for applications. For information about HA options and best practices, see High Availability in TAS for VMs.

Assisted upgrade

VMware provides a set of Bash scripts to assist in the upgrade process. To download these scripts, see Automation scripts for upgrading Small Footprint TAS for VMs 6.0 to “full” TAS for VMs 6.0.

The downloaded archive contains:

  • Two automation scripts.

    • The validate_sf_tas_deployment script runs against a Small Footprint TAS for VMs deployment and does not alter the deployment in any way. The script scans the deployment configuration to determine if all requirements for the upgrade process are met, and prints out any missing requirements for you to correct. When the script executes successfully, the deployment is ready to be upgraded to full TAS for VMs.

    • The reattach_sf_tas_disks script runs against a full TAS for VMs deployment after the deployment has been upgraded from Small Footprint TAS for VMs. The script scans the deployment to ensure that the database and blobstore have at most one instance, and if so, automatically stops all VMs, reattaches the Small Footprint TAS disks, and restarts the deployment. You can run the script multiple times if necessary. It creates log files to determine which instances already have disks reattached, and skips those instances in future executions. When the script executes successfully, the upgrade from Small Footprint TAS for VMs to full TAS for VMs is complete.

  • Common helper code.

  • A directory in which to store logs.

Important Do not modify the directory structure or contents. If you do, the scripts may not work correctly.

To upgrade from Small Footprint TAS for VMs to full TAS for VMs using the automation scripts:

  1. Verify that your foundation is in the correct state.

    In a terminal window, run the validate_sf_tas_deployment script to determine whether all requirements have been met for the upgrade to full TAS for VMs.

    • If the script discovers any missing requirements, correct them. For information about how to correct any missing requirements, see Manual upgrade.

    • When the script succeeds, the deployment is ready to be upgraded to full TAS for VMs.

  2. Upgrade the tile.

    1. Select the version of full TAS for VMs to which you wish to upgrade Small Footprint TAS for VMs. This version must be the same major and minor as the existing Small Footprint TAS for VMs installation, and must be a higher patch version than your existing Small Footprint TAS for VMs installation. Download the full TAS for VMs release from Broadcom Support.

    2. Upload the full TAS for VMs release to your foundation and stage it.

    3. If your deployment uses an internal database and / or blobstore:

      1. Open the Resource Config pane of the full TAS for VMs tile settings.

      2. Scale down both of the following instance groups to 1:

        • MySQL Server

        • NFS Store

    4. Review the staged configuration changes.

    5. Click Apply Changes.

    If the foundation uses both an external database and an external blobstore, the upgrade procedure is now complete. If not, continue to the next step.

  3. Reattach the Small Footprint TAS for VMs disks to the full TAS for VMs deployment.

    In a terminal window, run the reattach_sf_tas_disks script against the newly upgraded full TAS for VMs deployment to automatically reattach the Small Footprint TAS for VMs disks that contain your applications’ data.

    • If the script exits early with errors, examine the script logs, correct the errors, and rerun the script. You can also contact Support for assistance.

    • When the script succeeds, the upgrade from Small Footprint TAS for VMs to full TAS for VMs is complete.