Upgrading the Product

To upgrade the product, perform the following:

  1. Download the latest TAR ball from the URL.

    software-packages download URL 

    Example:

    SMI Cluster Manager# software-packages download http://<ipv4address>:<port_number>/packages/cee-2019-08-21.tar 
    
  2. Verify whether the TAR balls are loaded.

    software-packages list 

    Example:

    SMI Cluster Manager# software-packages list 
    [ cee-2019-08-21 ] 
    [ sample ] 
    
  3. Update the repository URL to point the correct product chart release to upgrade the product.

    configure 
       cluster cluster_name 
          ops-centers app_name instance_name 
             repository url 
             exit 
          exit 
    

    Example:

    SMI Cluster Manager# config 
    SMI Cluster Manager(config)# clusters test2 
    SMI Cluster Manager(config-clusters-test2)# ops-centers cee data 
    SMI Cluster Manager(config-ops-centers-cee/data)# repository http://charts.<ipv4address>.<domain_name>/cee-2019-08-21/ 
    SMI Cluster Manager(config-ops-centers-cee/data)# exit 
    SMI Cluster Manager(config-clusters-test2)# exit 
    
  4. Configure the secrets, if your local registry contains secrets.

    configure 
       cluster cluster_name 
          secrets docker-registry secret_name 
             docker-server server_name 
             docker-username username 
             docker-password password 
             docker-email email 
             namespace k8s namespace 
             commit 
             exit 
          exit 
    

    Example:

    SMI Cluster Manager# config 
    SMI Cluster Manager(config)# clusters test2 
    SMI Cluster Manager(config-clusters-test2)# secrets docker-registry sec1 
    SMI Cluster Manager(config-docker-registry-sec1)# docker-server serv1 
    SMI Cluster Manager(config-docker-registry-sec1)# docker-username user1 
    SMI Cluster Manager(config-docker-registry-sec1)# docker-password Cisco@123 
    SMI Cluster Manager(config-docker-registry-sec1)# docker-email reg@cisco.com 
    SMI Cluster Manager(config-docker-registry-sec1)# namespace ns1 
    SMI Cluster Manager(config-docker-registry-sec1)# exit 
    SMI Cluster Manager(config-clusters-test2)# exit 
    SMI Cluster Manager(config)# 
    
  5. Run the cluster synchronization.

    clusters cluster_name actions sync run 
    

    Example:

    SMI Cluster Manager# clusters test2 actions sync run