Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00
• The CVM DG MNP packages will log to a file named /etc/cmcluster/cfs/<CVM DG
MNP package name>.log on their corresponding CFS sub-cluster nodes.
• The Site Safety Latch mechanism logs are saved in the/etc/opt/resmon/log/api.log
file.
Cleaning the site to restart the Site Controller package
The Site Controller Package startup on a site can fail for various reasons. The Site Safety Latch is
in a special state: INTERMEDIATE. In this state, the Site Controller Package cannot be started
from either of the sites. A special tool called cmresetsc is provided to cleanup a site under this
condition. This tool cleans the Metrocluster environment in site for the Site Controller Package. But,
it does not clean any of the managed packages for the Site Controller Package. Any issues in the
packages managed by Site Controller Package must be fixed by the operator and the package’s
node switching must be enabled before restarting the Site Controller Package.
When the Site Controller Package has failed, the following message appears in the Site Controller
Package log file on the node where it was last running or was last started:
Verify the package log files on all nodes of all other packages managed
by the Site Controller Package to identify issues in those packages.
To clean a site for a site aware disaster tolerant application:
1. Clean the Site Safety Latch on the site by running the cmresetsc tool.
On a node from the site, run the following command:
/usr/sbin/cmresetsc <Site_controller_package_name>
IMPORTANT: Root user credentials are required to run this command.
2. Check the package log file of the Site Controller Package on the node it failed on and fix any
reported issues.
3. Enable node switching for the Site Controller Package on that node.
cmmodpkg –e -n <node name> <site_controller_package_name>
4. Check the package log file on all the nodes of the MNP packages managed by the Site
Controller Package on the site.
5. Fix any issues reported in the package log files and enable node switching for the MNP
packages on the failed nodes.
cmmodpkg -e -n <node 1 name> -n <node 2 name> <MNP Package name>
6. Restart the Site Controller Package and enable global switching.
cmrunpkg <site_controller_package_name>
cmmodpkg -e <site_controller_package_name>
In addition to the cmresetsc tool, use the cmviewsc tool to view information on the Site Controller
Package managed workload package. This tool is available in the /usr/sbin directory. Run the
following command to use the cmviewsc tool.
/usr/sbin/cmviewsc [-v] [site_controller_package_name]
The cmresetsc tool displays the following information:
• Number of critical and managed packages at every site.
• Status of the Site Controller managed packages (halted or started).
• Site Controller managed packages halted cleanly or not.
• Site active or passive.
• Site Safety Latch value on every node. The value can be Close, Open, or Intermediate.
84 Troubleshooting