Upgrading SMI Cluster Manager in HA
The SMI Cluster Manager HA upgrade involves the following process: adding a new software definition, updating the repository and synchronizing the cluster to apply the changes.
However, you can upgrade the SMI Cluster Manger HA only when the following conditions are met:
-
The active node must be active and running.
-
The standby node must be in standby mode and running.
Important |
|
To upgrade an SMI Cluster Manager in HA, use the following configuration:
-
Login to the Inception Cluster Manager CLI and enter the Global Configuration mode.
-
To upgrade, add a new software definition for the software.
configure software cnf <cnf_software_version> url <repo_url> user <user_name> password <password> sha256 <SHA256_hash_key> exit
Example:Cluster Manager# config Cluster Manager(config)# software cnf cm-2020-02-0-i06 Cluster Manager(config)# url <repo_url> Cluster Manager(config)#user <username> Cluster Manager(config)#password "<password>" Cluster Manager(config)#sha256 <sha256_key> Cluster Manager(config)#exit Cluster Manager(config)#
-
Update the repository to reference the new software.
clusters <cluster_name> cluster-manager repository-local <cnf_software_version> exit
Example:Cluster Manager# config Cluster Manager(config)# clusters cndp-testbed-cm Cluster Manager(config)#cluster-manager repository-local cm-2020-02-0-i06 Cluster Manager(config)#exit
-
Commit the changes.
-
Trigger the Cluster synchronization.
configure clusters <cluster_name> actions sync run debug true
Example:Cluster Manager# config Cluster Manager(config)# clusters cndp-testbed-cm actions sync run debug true
-
Monitor the upgrade progress
monitor syc-logs <cluster_name>
Example:Cluster Manager# monitor syc-logs cndp-testbed-cm
-
Login to the SMI Cluster Manager after the Cluster synchronization completes.
ssh admin@cli.smi-cluster-deployer.<ipv4_address>.<domain_name> -p <port_number>
-
Verify the software version using the following command.
show version
Example:
SMI Cluster Manager# show version
NOTES:
-
software cnf <cnf_software_version> - Specifies the Cloud Native Function software package.
-
url <repo_url> - Specifies the HTTP/HTTP/file URL of the software.
-
user <user_name> - Specifies the username for HTTP/HTTPS authentication.
-
password <password> - Specifies the password used for downloading the software package.
-
sha256 <SHA256_hash_key> - Specifies the SHA256 hash of the downloaded software.