HP Serviceguard Toolkit for Integrity Virtual Servers manual

Page 42

service_cmd

/usr/sbin/cmappmgr -node slvm1 -cmappserver_timeout 10 -service /apps/ping_mon

service_restart

none

service_fail_fast_enabled

no

service_halt_timeout

300

~

 

42 Sample package configuration file for HP Integrity VM guest package

Image 42
Contents Abstract Page Contents Advantages HP Serviceguard Toolkit for Integrity Virtual ServersOverview DependenciesHP Integrity VM Serviceguard toolkit HP Serviceguard Toolkit for Integrity Virtual Servers Supported configuration VM/vPar as Serviceguard packagesNetwork components Storage considerationsFor example, # cmdeployvpkg -m 1 -P vm1 Storage considerations # swinstall -s depot path # swlist -l product SG-IVS-Toolkit#swremove SG-IVS-Toolkit K004vswitchmgr Vparreset IvshpvmutilsVswitchmgr S802vswitchmgrUsing SG IVS toolkit PreconfigurationCreating packages Change the vgnamecmd to vgchange -a s Hpvmvolumegroup /dev/vgsharedA Check the configuration of the packageUsing Serviceguard commands Cd /etc/cmcluster/vm/vParnameCmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Servicename Using SG IVS Toolkit commandsCmdeployvpkg command Cmapplyconf -P pkg.confMaintaining packages Managing packagesRunning packages #cmdeployvpkg -m 1 -P vm or vpar nameHalting packages Deleting packagesConverting 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 HP-UX /opt/hp/cmappserver Key generation on the VM or vPar guestCmappserver Rpm -i cmappserverslesia64.rpm for SlesAdd /opt/hp/cmappserver to the path Cmappservertimeoutcmappserver connection timeout seconds #cmdeployvpkg -P vm1 -x merge -x appmon# cmdeployvpkg -P slvm1 -x merge -x appmon HpuxConfiguring guest application monitoring service Hostlogfile full Lanmon Usr/sbin/cmappmgr -node remo1 -cmappservertimeoutLoglevel Pathof fileonhostHelp Version Adm/vm1npivdiskmon.logUpgrading cmappmgr/cmappserver combination Configuring guest application monitoring service Online VM guest package migration For example # cmmovevpkg -v -P slvm1 -h xyzo2Online VM guest package migration Run cmdeployvpkg command with -m 0 option TroubleshootingService monitor detected a failure in guest vmname Etc/cmcluster/scripts Mscripts Mastercontrolscript.shCmcluster/scripts/tkit/vtn/ tkitmodule.sh Limitations How to contact HP Support and other resourcesInformation to collect before contacting HP HP authorized resellers Documentation feedbackRelated information Typographic conventions TIP Page Page Glossary DMPIndex