Update Instances

After updating the a9s LogMe for PCF tile, run the Deployment Updater errand to update all provisioned service instances to the new service and stemcell versions.

Note: anynines recommends running the smoke tests before running this errand. See Post-Deploy Errands.

Note: To run the errand, you must know how to use the BOSH Director. For more information, see Advanced Troubleshooting with the BOSH CLI.

  1. SSH into the Ops Manager VM:

    $ ssh ubuntu@OPS-MANAGER-FQDN
    Password: ***********

  2. Log in to the BOSH Director:

    $ bosh login
    Your username: director
    Enter password: DIRECTOR_CREDENTIAL
    Logged in as 'director'

  3. Run bosh deployments and record the name of the a9s LogMe for PCF deployment from the Name column:

    $ bosh deployments
    Using environment '' as client 'ops_manager'
    Name                                 Release(s)                            Stemcell(s)                                       Team(s)                              Cloud Config
    a9s-logme-94443f82b52dcf333bbd       a9s-consul/18                         bosh-vsphere-esxi-ubuntu-trusty-go_agent/3468.25  -                                    latest
    cf-7fcd1f89150a96b381d0              backup-and-restore-sdk/1.2.1          bosh-vsphere-esxi-ubuntu-trusty-go_agent/3468.25  -                                    latest

  4. Run bosh -d a9s-logme-service-94443f82b52dcf333bbd run errand deployment-updater to force the update for all existing a9s LogMe for PCF instances:

    $ bosh -d a9s-logme-0476d61a219a39bf0e1b run-errand deployment-updater
    Using environment '' as client 'ops_manager'
    Using deployment 'a9s-logme-0476d61a219a39bf0e1b'
    Task 14855
    Task 14855 | 12:02:00 | Preparing deployment: Preparing deployment (00:00:00)
    Task 14855 Started  Tue May 29 12:06:13 UTC 2018
    Task 14855 Finished Tue May 29 12:26:22 UTC 2018
    Task 14855 Duration 00:01:09
    Task 14855 done

    Note: Depending on the number of service instances, the Deployment Updater might take significant time to finish running. BOSH shows no logging output while the errand runs.

Create a pull request or raise an issue on the source for this page in GitHub