Upgrade > Upgrade > Upgrade a multimaster mesh

Upgrade a multimaster mesh

When upgrading a multimaster mesh, the following steps must be performed:

  1. Make sure that all CORD patches are uninstalled
  2. Check the transaction status
  3. Shutdown services on the Secondary cores
  4. Upgrade the Primary Core
  5. Upgrade the Secondary Cores

Check transaction status

Before starting to upgrade a multimaster mesh, make sure that there are no transactions that are not sent or received and that there are no conflicts.To determine any transaction conflicts, follow the procedures described in the SA Administering guide, under the View the state of the Multimaster Mesh section. If there are conflicts, check the Resolve mesh conflicts section.

Shut down the services on the secondary cores

Before starting the upgrade procedure of your cores, you must stop the services on all the secondary cores in the mesh, so as to avoid new running jobs to create conflicts.

Method 1: Shut down using the opsware-sas service

Run the following commands for each secondary core that is part of the mesh:

  1. Shut down all Secondary Core services by issuing the following command as a user with root privileges on each Secondary Core host:

    /etc/init.d/opsware-sas stop

  2. Start the Management and Core Gateways on the Secondary Core host by issuing the following command:

    /etc/init.d/opsware-sas start opswgw-mgw opswgw-cgws

Method 2: Shut down using the Management Console

You can also use the Management Console to stop the services. You need to invoke the following command once on each of the Secondary cores that is part of the mesh. On the Infrastructure host of each core, invoke the Management Console using the installation media:

<distro>/opsware_installer/hpsa_mgmt_console.sh –c <path_to_CDF_file>

where <distro> is the full path to the distribution media. For example:

/<mountpoint>/hpsa-primary/disk001

Select the Shutdown service option in the utility menu and follow the instructions.

For more details, see the section in the SA Install section.

Upgrade the Primary Core of a multimaster mesh

Once the steps described above have been performed, you may start to upgrade the Primary Core of the mesh.

The services must be running on the Primary core, but must be stopped on the Secondary cores, as described in the previous step.

The upgrade process is the same as listed in Upgrade a single-host core or Upgrade a single core with distributed components sections described above, depending on the core layout. Refer to the corresponding section for the complete procedure.

Upgrade the Secondary Core of a multimaster mesh

Important

  • Start the upgrade process on the secondary cores only after the Primary core upgrade is successfully complete.
  • Make sure to copy the cryptographic material from the upgraded Primary Core to the Secondary Cores. Paste the cryptographic material in the same directory: /var/opt/opsware/crypto/cadb/realm/.
    Otherwise, the Core upgrade fails.

You can upgrade the Secondary Cores in a mesh one at a time or upgrade multiple Secondary Cores concurrently. After each Secondary Core has been upgraded, its services will be restarted and can remain running while you upgrade the other Secondary Cores.

The upgrade process is the same as listed in Upgrade a single-host core or Upgrade a single core with distributed components sections described above, depending on the core layout. Refer to the corresponding section for the complete procedure.