In this section:
The 12.0 Insight EMS supports two configuration models for SBC 8.0 clusters. SBC clusters comprising multiple active SBC instances must be defined with a configuration type of "OAM." For these clusters, a 1:1 OAM node pair provides the northbound Operations, Administration, and Maintenance (OA&M) functions for the cluster. SBC clusters containing a single SBC or a 1:1 SBC HA pair can be defined with a configuration type of "Direct Single." For these clusters, the active SBC is used for OA&M operations.
The 12.0 Insight EMS continues to support the existing HeadEnd model for SBC 7.2 clusters. However, SBC cluster deployments must migrate to one of the new configuration models when upgrading to SBC 8.0. Refer to Migrating an Existing SBC Cluster to OAM Configuration Mode or to Migrating an Existing SBC Cluster to Direct Single Configuration Mode before upgrading an SBC cluster.
In a distributed SBC deployment, upgrade the clusters in the following order: OAM nodes, then T-SBC clusters, then M-SBC clusters, then S-SBC clusters.
This section describes the upgrade procedure for SBC instances in an N:1 redundancy group orchestrated in an OpenStack environment using Heat templates. N represents the number of active instances and can be up to 4, so a full 4:1 deployment has 5 total SBC instances. The following procedure shows example data for a full 4:1 deployment. Your implementation could include fewer instances and therefore require fewer steps.
Perform the following activities prior to upgrading the SBC instances in the redundancy group.
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 from a pre-7.1 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 Ribbon 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. If a node is configured to use node-locked licensing, after upgrading the node you must generate a new license for the node using the new UUID.
Ensure all the SBC instances (five, in a 4:1 redundancy group) 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.02.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.02.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.02.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.02.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.02.00; }
assignedRole
standby
instance must be upgraded first, followed by the assignedRole active instances.Perform the following steps to upgrade, beginning with the instance you identified as the assigned standby instance.
Using EMA or the SBC CLI, determine the current role of the SBC instance to be upgraded. If the current role is active:
Check the syncStatus
field in the output of the rgStatus command
to ensure that the sync status of the instance is syncCompleted.
It may take up to 10 minutes after the previous SBC was upgraded before sync is achieved.
Use EMA or the SBC CLI to force a switchover of the SBC instance.
In OpenStack, use either the Horizon dashboard or the CLI to shut down the instance (Shut off Instance option in Horizon).
Ensure you have updated any metadata or other parameters in Heat templates as required for the target release. Refer to Metadata and Userdata Format and Developing a Heat Template.
In OpenStack, use either the Horizon dashboard or the CLI (heat stack-update
command) to replace the instance.
Select the next SBC instance to be upgraded. Repeat steps 1 through 5 on the instance.
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 V08.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 V08.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 V08.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 V08.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 V08.00.00; }