Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=8a00a0c86e9b2550016ec54396b5000a, userName='null'}
JIRAIDAUTHSBX-110042118497
REV5UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cb8305e9, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cb8305e9, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cc4107b4, userName='null'}REV4UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26ca7c0455, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a0c86c120d6f016c46267a38002b8a00a02355cd1c2f0155cd26cc4107b4, userName='null'}



Panel

In this section:

Table of Contents


Volume-based Upgrade Overview


Info
titleNote

In this section, the upgrade procedure for a redundancy group consisting of one active and one standby is illustrated. However, the same procedure is applicable for a standalone instance upgrade. If you are doing volume-based upgrade of a standalone instance, ignore the instructions involving the standby.


A volume-based upgrade is a procedure which reuses the computing and network resources. Use this document to upgrade SBC software from release 7.x.


Tip
titleTip

Before you start the upgrade process, ensure the following:

  • Save all of the CLI commands used for configuring the instance as a text file (.txtin your local machine. To reapply the existing configuration on the upgraded instance, copy this file to the upgraded instance using SCP or SFTP, and source it using the source <file_name/full_path> command. Reapply the configuration after you have completed executed the procedure described in this section.
  • Do not use any SBC Configuration Manager/EMA-based tool for downloading and reapplying the configurations.
  • Take a sysdump before the upgrade.

Procedure

  1. Login to the Active SBC CLI admin, and execute the following command to perform a backup of the configuration. The backup file is stored in the path as shown.

    Code Block
    % requests system admin vsbcSystem saveConfig







  2. SCP this configuration file from SBC to local server as below.


  3. Check the Status on SBC before upgrade.


    Ensure that you complete the configuration and userdata backup from the existing instances (both active and standby).
    Also, ensure that in your local machine, you have a copy of the license bundle you downloaded from the Ribbon Support Portal and used in the existing instance.

    Info

    The hypervisor changes when migrating from C4/M4 to C5/M5, rendering existing hypervisor licenses invalid. Contact your Ribbon representatives for new licenses.


  4. If user-data changes are required before the upgrade, then perform the substeps below. Otherwise, skip to step 5. 
    1. Shut down both the active and standby instances.
      1. Select the instance, right-click and select Stop Instance.
    2. While in stopped state, modify the userdata. You must provide the new userdata variables for the upgraded instance. Refer to Metadata and Userdata Formats on AWS for additional details.
    3. To view and modify userdata, on your AWS dashboard,
      1. Select the instance, right-click and select Instance Settings > View/Change User Data.
      2. Modify the userdata and then click Save.

        Info
        titleNote

        For assistance in modifying the userdata to suit the the upgraded instance requirements, refer to Metadata and Userdata Formats on AWS.

        The following new userdata variables are added for the upgraded instance:

        Anchor
        Mandatory New Userdata Variables
        Mandatory New Userdata Variables


        Multiexcerpt include
        MultiExcerptNameHA user-data
        PageWithExcerptUpgrade SBC SWe on AWS

        Info
        titleNote

        You need to set the SbcHaMode from "Nto1" to "1to1" before performing an upgrade in the instance of a standalone system.


    4. Start both the active and standby instances
      1. Select the instance, right-click and select Start Instance.
  5. If IAC is used for upgrade, proceed to Replacement Upgrade for AWS and then continue from step 11 for restoring the config. Otherwise if IAC is not used for the upgrade, follow the steps below and continue to the end of this procedure. 

  6. Create two new volumes using the new AMI ID snapshot provided for the volume-based upgrade. For information on creating volumes, refer to Create, Detach, and Attach Volumes in AWS.

    Info
    titleNote

    Ensure that the new volumes are created in the same "Availability zone" as that of the running the existing instance.


  7. Shut down the existing instance (both active and standby volumes).

    Info
    titleNote

    Volume-based upgrade is applicable only for offline upgrade. All participating HA pair instances should be turned off during the upgrade.


  8. After the existing instance is completely shut down, detach the active and standby volumes from the instance. For information on detaching volumes, refer to Create, Detach, and Attach Volumes in AWS.

  9. Attach the new active and standby volumes created using the upgraded instance AMI snapshot to the existing instance. For information on attaching volumes, refer to Create, Detach, and Attach Volumes in AWS.

    Info
    titleNote

    The new volumes must be associated as root volumes (device name: /dev/sda1) to the corresponding instances.


    Note
    titleCaution

    Do not start the instance immediately after attaching the new volumes. You must execute the next steps.


    Info

    The following step applies only for volume-based upgrades from 5.1 to 6.2.1. Skip this step if you are not upgrading on this specific path.


  10. Start the upgraded instances.

  11. Login to the CLI of the upgraded instance as linuxadmin and perform the following steps:
    1. Check for the persistence of the UUID of the instance. On successful upgrade, it must remain same.
      (Refer to Metadata and Userdata Formats on AWS for details)

    2. Check for the correctness of the upgrade by executing the command swinfo.
      (Refer to Metadata and Userdata Formats on AWS for details)

      Info
      titleNote

      On successful upgrade, the values for the fields OS, SonusDB, EMA, and SBC must change to reflect the new build.

      The values displayed against the fields Installed host role and Current host role varies depending on whether the volume to which you have logged on is active or standby.


    3. Check whether the userdata variables reflect the modified values.
      (Refer to Metadata and Userdata Formats on AWS for additonal details)

  12. Copy the saved configuration from release 7.x on local server to the upgraded Active SBC.


  13. Run below command to load the 7.x configuration. After loading the configuration, both SBCs will go for restart. This will take approximately 10 minutess (depending on the configuration size) for the 7.x configuration to load.



  14. After loading the configuration, check the server status using the CLI ‘show table system serverStatus’ to ensure that calls are running successfully.


  15. Login to the CLI of the upgraded instance as linuxadmin, and then SSH to admin to verify the licenses are correctly retained using the command:
    > show table system licenseInfo

    Info
    titleNote

    Login is via the AdminSshKey in the userdata..


Volume-based Revert

Procedure

Use the following procedure to perform the revert operation:

  1. Shut down both the active and standby instances.
    1. Select the instance and then right-click and select Stop Instance.
    2. In the stopped state, modify the user data to an older release, if changed while upgrading. For more information, refer to Metadata and Userdata Formats on AWS.
    3. To view and modify the user data:
      1. Select the instance on your AWS dashboard.
      2. Right-click and select Instance SettingsView/Change User Data.
      3. Modify the user data and then click Save.
  2. Detach the Upgrade Volume from the Active instance and then from the Standby instance from the AWS Dashboard. For information, refer to Create, Detach, and Attach Volumes in AWS.
  3. Attach the older version SBC Active volume to Active instance and Standby volume to Standby instance. For more information, refer to Create, Detach, and Attach Volumes in AWS.
  4. Once step 3 is completed for the Active and Standby instances, start the Active instance first and make sure the application is up on Active. Then start the Standby instance and make sure the application is up on Standby.
    To see the older version, run the command "show table system severStatus" on the Active SBC.

Recover SBC SWe on Public Cloud After Reverting to a pre-11.0 Release

pagebreak
Excerpt Include
How to Recover SBC SWe on Public Cloud After Reverting to a pre-11.0 Release
How to Recover SBC SWe on Public Cloud After Reverting to a pre-11.0 Release
nopaneltrue