Skip to main content
SnapManager Oracle

Performing rolling upgrade on a single host or multiple hosts

Contributors NetAppZacharyWambold

You can perform rolling upgrade on a single or multiple SnapManager server hosts by using the command-line interface (CLI). The upgraded SnapManager server host is then managed only with the later version of SnapManager.

You must ensure that all the prerequisites for performing rolling upgrade are completed.

  1. To perform a rolling upgrade on a single host, enter the following command: smorepository rollingupgrade-repository-dbnamerepo_service_name-hostrepo_host-login-usernamerepo_username-portrepo_port-upgradehosthost_with_target_database-force [-quiet | -verbose]

    The following command performs the rolling upgrade of all target databases mounted on hostA and a repository database named repoA located on repo_host:

    smo repository rollingupgrade
        -repository
          -dbname repoA
          -host repo_host
          -login
           -username repouser
           -port 1521
         -upgradehost hostA
  2. To perform a rolling upgrade on multiple hosts, enter the following command: smorepository rollingupgrade-repository-dbnamerepo_service_name-hostrepo_host-login-usernamerepo_username-portrepo_port-upgradehosthost_with_target_database1,host_with_target_database2-force [-quiet | -verbose]

    Note For multiple hosts, enter the host names separated by a comma and ensure that you do not include any space between the comma and the next host name.Also, ensure that you enter all the host names within double quotation marks.

    The following command performs the rolling upgrade of all the target databases mounted on the hosts, hostA and hostB and a repository database named repoA located on repo_host:

    smo repository rollingupgrade
        -repository
          -dbname repoA
          -host repo_host
          -login
           -username repouser
           -port 1521
         -upgradehost hostA,hostB
  3. To perform a rolling upgrade on all the hosts on a repository database, enter the following command: smorepository rollingupgrade-repository-dbnamerepo_service_name-hostrepo_host-login-usernamerepo_username-portrepo_port-allhosts-force [-quiet | -verbose]

    After successfully upgrading the repository database, you can perform all the SnapManager operations on the target database.

    The upgraded SnapManager for Oracle retains the host-based user credentials, the Oracle software user credentials, and the Oracle Recovery Manager (RMAN) user credentials from the earlier version of SnapManager for Oracle.

    The following command performs the rolling upgrade of all the target databases available on a repository database named repoA located on repo_host:

    smo repository rollingupgrade
        -repository
          -dbname repoA
          -host repo_host
          -login
           -username repouser
           -port 1521
          -allhosts
    • If the SnapManager server starts automatically, you must restart the server to ensure that you can view the schedules.

    • If you upgrade one of the two related hosts, you must upgrade the second host after upgrading the first.

      For example, if you have created a clone from host A to host B or mounted a backup from host A to host B, the hosts A and B are related to each other. When you upgrade host A, a warning message is displayed asking you to upgrade the host B soon after upgrading host A.

      Note The warning messages are displayed even though the clone is deleted or the backup is unmounted from host B during the rolling upgrade of host A. This is because metadata exists in the repository for the operations performed on the remote host.

Related information