Discover and Upgrade the Controller on AWS

The Enterprise Console provides the discover_upgrade command that will discover your Controller, determine its version, and then upgrade it if needed.

  1. Log in to the Enterprise Console:
    bin/platform-admin.sh login --user-name <admin_username> --password <admin_password>
  2. Run the following command:If your upgrade fails, you can resume by passing the flag useCheckpoint=true --args.
    bin/platform-admin.sh submit-job --service controller --job discover-upgrade --args controllerPrimaryHost="<hostname>" controllerRootUserPassword="<password>" mysqlRootPassword="<password>"  databaseType=aurora destinationDirectory="<controllerInstallationDirector>"

    If your upgrade fails, you can resume by passing the flag useCheckpoint=true as an argument after --args.

    Note:

    If several versions of the Enterprise Console exist in your environment, the discover-upgrade command will fail if the --target-version argument is not included. For details on adding the --target-version argument, see Upgrade the Controller from 4.1.x, 4.2.x, and 4.3.x to 4.5.x or Latest.

  3. Update the AMI after the job finishes.