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:

  1. The active node must be active and running.

  2. The standby node must be in standby mode and running.

Important
  • You cannot perform an upgrade when one of the SMI Cluster manger node (Active or Standby) is down. The SMI Cluster Manager does not support partition upgrade.

  • The SMI Cluster Manager does not allow any cluster synchronization while performing an upgrade. Also, while upgrading the SMI Cluster manager, the control flip-flops from Active to Standby node and from Standby to Active node. This may result in minor service interruptions.

To upgrade an SMI Cluster Manager in HA, use the following configuration:

  1. Login to the Inception Cluster Manager CLI and enter the Global Configuration mode.

  2. 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)# 
  3. 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
  4. Commit the changes.

  5. 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
  6. Monitor the upgrade progress

    monitor syc-logs <cluster_name> 
    Example:
    Cluster Manager# monitor syc-logs cndp-testbed-cm
  7. Login to the SMI Cluster Manager after the Cluster synchronization completes.

    ssh admin@cli.smi-cluster-deployer.<ipv4_address>.<domain_name> -p <port_number> 
  8. 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.