Versions Compared

Key

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

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=8a00a0c86e9b2550016ec54396b5000a, userName='null'}
JIRAIDAUTHSBX-110285
REV5UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cb8305e9, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26cb8305e9, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a0c85652e498015669b485df0004, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26ca7c0455, userName='null'}

Internal_display_only

Procedure

The following steps describe the procedures to upgrade the Azure using IACIaC:

  1. Create an Ubuntu 18.04 LTS instance in Azure.
  2. Install the Azure CLI. Refer to Instantiate Standalone SBC on Azure > Install Azure CLI.
  3. Create Network Security Group rules to allow the instance to allow SSH access to SBC MGT IP on ports 22, 2024, 444, and 443. Refer to Instantiate Standalone SBC on Azure > Create Network Security Group

    Info
    titleNote

    If the NIC for the IAC IaC instance was created in the same subnet as the SBC MGT, this step is not needed.


  4. Run az login and sign in as a user with the role 'owner' for the subscription.

  5. If not yet created, create a Service Principal that contains 'owner' permissions for the subscription. For example: 

    Code Block
    az ad sp create-for-rbac -n rbbn-iac --role="owner" --scopes="/subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXa511"


  6. Export the following values from the Service Principal

    Code Block
    export ARM_SUBSCRIPTION_ID="<subscription_id>"
    export ARM_TENANT_ID="<tenant_id>"
    export ARM_CLIENT_ID="<client_id>"
    export ARM_CLIENT_SECRET="<client_secret>"
    
    


    Info
    titleNote

    You can add this values to the file and source it before running the upgrade command.


  7. Make a directory to extract the IAC IaC tarball.

  8. Copy the IAC IaC tarball to the created directory created above and change it to that directory.

  9. Extract the IAC IaC tarball using tar -zxvf.

  10. Follow the instructions available in ./README.md to set up IAC IaC the environment.

  11. Change to management/SBC/upgrade/.

  12. Follow the instructions available in ./management/SBC/upgrade/README.azure.md to edit the necessary files and run the upgrade. 

    Info

    Information about the update required in the azure_access.yml and upgrade-revert.yml files are available at the last paragraph of README.azure.md.