7 Troubleshooting
This section explains some of the problem scenarios that you might encounter while working with the SG IVS toolkit in a Serviceguard Cluster.
Problem Scenario
If the syslog/package log contains the following error:
Jul 28 17:26:06 node1 cmappmgr[5654]: Could not connect to the node slvm1 Connection timed out (errno:238)
Jul 28 17:26:06 node1 cmappmgr[5654]: java.net.ConnectException: Connection timed out (errno:238)
—
-
-
Jul 28 17:26:06 node1 cmappmgr[5654]:
PROGRAM EXIT CODE 1
Possible Cause
When you start a package, the VM guest OS is still not up, therefore, cmappmgr fails to communicate with the cmappserver on the VM guest. If this error occurs continuously, it might be because there is an issue with network or DNS configurations on the VM Host or VM guest or an issue with SSL setup. This is logged from the cmappmgr. Therefore, see the cmappmgr guide for usage and trouble shooting.
Recommended Action
Check the network or DNS configurations on the VM Host or VM guest or the SSL setup.
If the package log contains the warning:
<hostname> WARNING: Maintenance mode is enabled
for the package <hostname> Disable the maintenance mode to start service monitoring
If the package log contains the error:
Service monitor detected a failure in guest <vm_name>.
When you run the “# cmapplyconf
During the package startup, a maintenance file is detected in the package directory.
NOTE: If the maintenance mode is not disabled and MAINTENANCE _FLAG is configured to yes, the VM guest package does not failover to the other host when the VM guest fails.
Unintended failure is found in the VM guest process. During the service monitor, the particular VM guest process is not found and the maintenance mode is not enabled.
Package directory was created by cmdeployvpkg command with insufficient permission.
Run cmdeployvpkg command with —m 0 option.
Restart the package if HP Serviceguard does not fail over the package.
Use a chmod command similar to the following command to provide permissions for the package directory on each of the cluster members:
#chmod
#cmapplyconf
/etc/cmcluster/scripts/
mscripts/
master_control_script.sh.
On node
hpvmmodify: Cannot set
hpvmmodify: Unable to modify the vPar or VM
ERROR: Set Distributed Control: Failed to set Distributed 1 on
ERROR: Failed in verify_and_distribute
You might have configured a guest with DIO LAN and want to package it in the Serviceguard cluster.
You must set the parameter HPVMDIOSGPKG=1 in the /etc/ rc.config.d/hpvmconf file on all the cluster nodes, before creating guest package in the cluster.
35