docs/doc/source/updates/kubernetes/aborting-simplex-system-upgrades.rst
Ron Stone 0012d76f09 Add updates and upgrades content
Some substitutions also added to accomodate StX vs partner file naming.
Add 750.006 alarm to performing-an-orchestrated-upgrade

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I33588f3c1b22cd0dbc96133cf8eb056c8c2e5162
Signed-off-by: Ron Stone <ronald.stone@windriver.com>
2021-05-17 07:12:27 -04:00

2.6 KiB

Abort Simplex System Upgrades

You can abort a Simplex System upgrade before or after upgrading controller-0.

Before upgrading controller-0

  1. Abort the upgrade with the upgrade-abort command.

    $ system upgrade-abort

    The upgrade state is set to aborting. Once this is executed, there is no canceling; the upgrade must be completely aborted.

  2. Complete the upgrade.

    $ system upgrade-complete

    At this time any upgrade data generated as part of the upgrade-start command will be deleted. This includes the upgrade data in /opt/platform-backup.

After upgrading controller-0

After controller-0 has been upgraded it is possible to roll back the software upgrade. This involves performing a system restore with the previous release.

  1. Abort the upgrade with the upgrade-abort command.

    $ system upgrade-abort

    The upgrade state is set to aborting. Once this is executed, there is no canceling; the upgrade must be completely aborted.

  2. Lock and downgrade controller-0

    $ system host-lock controller-0
    $ system host-downgrade controller-0

    The data is stored in /opt/platform-backup. Ensure the data is present,and preserved through the downgrade.

  3. Install the previous release of Simplex software via network or USB.

  4. Restore the system data. The restore is preserved in /opt/platform-backup.

    For more information, see, Upgrading All-in-One Simplex <upgrading-all-in-one-simplex>.

  5. Abort the upgrade with the upgrade-abort command.

    $ system upgrade-abort

    The system will be restored to the state when the upgrade-start command was issued. The upgrade-abort command must be issued at this time.

    The upgrade state is set to aborting. Once this is executed, there is no canceling; the upgrade must be completely aborted.

  6. Complete the upgrade.

    $ system upgrade-complete