HP Serviceguard Toolkit for Integrity Virtual Servers manual Troubleshooting

Page 35

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 -P /etc/cmcluster/hpvm-sg1-g4/hpvm-sg1-g4.conf” command, the following error is displayed: Incorrect permissions for /etc/cmcluster/hpvm-sg1-g4 (40777). Directory must be executable for owner, and not writable by group and others on node hpvm-sg1-h1.

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 go-w /etc/cmcluster/<vm_name>

#cmapplyconf -P vpar4pkg.conf failed to validate

/etc/cmcluster/scripts/

mscripts/

master_control_script.sh.

On node node-1, validation of package vpar4 failed with: Failed to set application control for vpar4:

hpvmmodify: Cannot set '-j 1 because the guest has at least one DIO device.

hpvmmodify: Unable to modify the vPar or VM

ERROR: Set Distributed Control: Failed to set Distributed 1 on node-1

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

Image 35
Contents Abstract Page Contents Dependencies HP Serviceguard Toolkit for Integrity Virtual ServersOverview AdvantagesHP Integrity VM Serviceguard toolkit HP Serviceguard Toolkit for Integrity Virtual Servers VM/vPar as Serviceguard packages Supported configurationFor example, # cmdeployvpkg -m 1 -P vm1 Network componentsStorage considerations Storage considerations #swremove SG-IVS-Toolkit # swinstall -s depot path# swlist -l product SG-IVS-Toolkit S802vswitchmgr Vparreset IvshpvmutilsVswitchmgr K004vswitchmgrCreating packages Using SG IVS toolkitPreconfiguration Change the vgnamecmd to vgchange -a s Check the configuration of the package Hpvmvolumegroup /dev/vgsharedACmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Using Serviceguard commandsCd /etc/cmcluster/vm/vParname Cmapplyconf -P pkg.conf Using SG IVS Toolkit commandsCmdeployvpkg command Servicename#cmdeployvpkg -m 1 -P vm or vpar name Managing packagesRunning packages Maintaining packagesConverting packages Halting packagesDeleting packages Run cmdeployvpkg -C -P vmname Configuring guest application monitoring service Failure of a monitored VM or vPar guest application Configuring guest application monitoring service Key generation on the VM or vPar guest HP-UX /opt/hp/cmappserverRpm -i cmappserverslesia64.rpm for Sles CmappserverAdd /opt/hp/cmappserver to the path #cmdeployvpkg -P vm1 -x merge -x appmon Cmappservertimeoutcmappserver connection timeout secondsHpux # cmdeployvpkg -P slvm1 -x merge -x appmonConfiguring guest application monitoring service Pathof fileonhost Lanmon Usr/sbin/cmappmgr -node remo1 -cmappservertimeoutLoglevel Hostlogfile fullAdm/vm1npivdiskmon.log Help VersionUpgrading cmappmgr/cmappserver combination Configuring guest application monitoring service For example # cmmovevpkg -v -P slvm1 -h xyzo2 Online VM guest package migrationOnline VM guest package migration Etc/cmcluster/scripts Mscripts Mastercontrolscript.sh TroubleshootingService monitor detected a failure in guest vmname Run cmdeployvpkg command with -m 0 optionCmcluster/scripts/tkit/vtn/ tkitmodule.sh Limitations Information to collect before contacting HP How to contact HPSupport and other resources Related information Typographic conventions HP authorized resellersDocumentation feedback TIP Page Page DMP GlossaryIndex