Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access XP P9000 for Linux B.12.00.00

6 Administering Metrocluster
Administering a Metrocluster using Continuous Access XP/P9000
replication
Adding a node to Metrocluster
To add a node to Metrocluster with Continuous Access XP P9000 for Linux, use the following
procedure:
1. Add a node in the cluster by editing the Serviceguard cluster configuration file and applying
the configuration:
# cmapplyconf -C cluster.config
2. Create the RAID Manager configuration on the newly added node. For more information, see
“Creating the RAID Manager configuration (page 15)
3. Update the HORCM_INST section in the RAID Manager instance file on nodes in the other
site with the information about the RAID Manager instance on the newly added node. Restart
the RAID Manager instance on nodes in the other site so that the new information in the
configuration file is read.
4. Add the newly added node in a Metrocluster package by editing the Metrocluster package
configuration and applying the configuration:
# cmapplyconf P <package_config_file>
Node maintenance
Planned maintenance of nodes is treated the same as a failure by the cluster. If you take a node
down for maintenance, package failover and quorum calculation is based on the remaining nodes.
Make sure that nodes are brought down evenly at every site, and that enough nodes remain on-line
to form a quorum if a failure occurs.
Planned maintenance
There might be situations when the package must be brought down for maintenance purposes
without having the package move to another node. The following procedure is recommended for
normal maintenance of the Metrocluster package:
1. Stop the package with the appropriate Serviceguard command.
# cmhaltpkg pkgname
2. If there are changes to the package attributes, edit the configuration file, and then apply the
updated package configuration.
# cmapplyconf -P pkgname.config
3. Start the package with the appropriate Serviceguard command.
# cmmodpkg -e pkgname
Failback
If the primary site is restored after a failover to the recovery site, you may want to fail back the
package to the primary site. Manually resync the data from the recovery site to the primary site
and wait for the resynchronization to complete. Before failing back the package from the recovery
site to the primary site, run the cmdrprev command on the primary site nodes to preview the data
replication storage failover. For more information about thecmdrprev command, see “Data
replication storage failover preview” (page 27).
Halt the package on the recovery site, and restart it on the primary site. Metrocluster performs a
failover of the storage, which returns the PVOL status to the disks in the primary site.
40 Administering Metrocluster