In this section:
Prior releases supported the use of a dedicated SBC Configurator cluster to configure other SBC SWe clusters. This approach is replaced by using one of the SBC nodes within the cluster, referred to as the "Headend" SBC, to configure the other nodes. While the SBC Configurator currently remains supported for backward compatibility, it will be deprecated in a subsequent release. Beginning with release 7.1, you must use the Headend SBC configuration model. Refer to Configuring an SBC SWe Cluster using the EMS.
In an N:1 Redundancy Group, the M-SBCs must be upgraded first, followed by the S-SBCs.
This section describes the upgrade procedure for M-SBC instances in an N:1 Redundancy Group (RG) that were orchestrated in an OpenStack environment using Heat templates.
Perform the following activities prior to upgrading the M-SBC instances in an RG.
Download the required .QCOW2
and .md5
files from the Customer Portal.
To upload the .QCOW2
file to OpenStack, navigate to Project > Compute > Images. For more information, refer to Creating a Glance Image.
Beginning with release 7.1, you must include SSH keys or passwords for the admin and linuxadmin accounts in the userdata you provide during orchestration of an SBC instance. Therefore during upgrade to release 7.1 from a prior release, an updated Heat template that contains the mandatory keys or passwords must be applied.
Prior to upgrade, you must update the template used to deploy the instance to include the mandatory SSH key or password userdata. The example templates Sonus provides include information on how to include this data in a template. Because they are more secure, SSH key fields are mandatory in the example Heat templates. Passwords are optional fields.The password input is not plain text, it is a hash of the password. Refer to Metadata and Userdata Format for more information on generating and including the login userdata that must be provided.
During upgrade, the changed userdata in the Heat template results in the SBC instance being recreated in OpenStack with a new Universal Unique Identifier (UUID) value. After upgrade you will need to generate a new license using the new UUID.
In an M-SBC Redundancy Group, ensure all the five instances (4:1) and the EMS are up and running.
To check the instance status in the Instances window, navigate to Project > Compute > Instances in the Horizon GUI.
To identify the assigned standby instance, perform the following steps:
Log on to CLI of any of the instances as the admin user. Execute the following command and check the value of the parameter assignedRole
.
> show status system rgStatus rgStatus vsbc1-192.168.2.3 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 1; serviceId 0; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.3; appVersion V07.00.00; } rgStatus vsbc1-192.168.2.4 { actualCeName vsbc1; assignedRole standby; currentRole standby; nodeId 2; serviceId 1; syncStatus unprotectedRunningStandby; usingMetavarsOf vsbc1-192.168.2.4; appVersion V07.00.00; } rgStatus vsbc1-192.168.2.5 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 3; serviceId 2; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.5; appVersion V07.00.00; } rgStatus vsbc1-192.168.2.6 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 4; serviceId 3; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.6; appVersion V07.00.00; } rgStatus vsbc1-192.168.2.7 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 5; serviceId 4; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.7; appVersion V07.0.00; }
assignedRole
standby
instance must be upgraded first, followed by the active instances.Perform the following steps to upgrade, beginning on the standby instance.
Perform sbxstop
on the instance you are upgrading.
In OpenStack, use either the Horizon dashboard or the CLI (heat stack-update
command) to update the stack using the template you modified to include login userdata.
Repeat steps 1 to 4 to upgrade the active instances, one by one. Before upgrading an instance, check the syncStatus
field in the output of the rgStatus command
to ensure that all the currently active instances are in the syncCompleted
state. The standby instance displays syncStatus
as unprotectedRunningStandby
. For more information, see Post-Upgrade Monitoring.
Once the stack updates are completed, all the instances will be running the upgraded image.
To verify if the instances are up and running with the upgraded software image:
admin
user.Execute the following command and check the appVersion field for each of the instances. Check syncStatus
field in rgStatus
output to ensure that all the currently active instances are in syncCompleted
state. The standby instance displays syncStatus
as unprotectedRunningStandby
.
> show status system rgStatus rgStatus vsbc1-192.168.2.3 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 1; serviceId 0; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.3; appVersion V07.01.00; } rgStatus vsbc1-192.168.2.4 { actualCeName vsbc1; assignedRole standby; currentRole standby; nodeId 2; serviceId 1; syncStatus unprotectedRunningStandby; usingMetavarsOf vsbc1-192.168.2.4; appVersion V07.01.00; } rgStatus vsbc1-192.168.2.5 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 3; serviceId 2; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.5; appVersion V07.01.00; } rgStatus vsbc1-192.168.2.6 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 4; serviceId 3; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.6; appVersion V07.01.00; } rgStatus vsbc1-192.168.2.7 { actualCeName vsbc1; assignedRole active; currentRole active; nodeId 5; serviceId 4; syncStatus syncCompleted; usingMetavarsOf vsbc1-192.168.2.7; appVersion V07.01.00; }