HP Serviceguard Toolkit for Integrity Virtual Servers manual Add /opt/hp/cmappserver to the path

Page 25

NOTE: If cmappserver is already installed, use —uinstead of -i.

Add /opt/hp/cmappserver to the path.

Verify that Java 1.4.2 or 1.5 or 1.6 is installed and included in the path.

For Windows VM or vPar guests (subdirectory windows):

Copy the cmappserver.exe file from the VM or vPar Host to a local directory on the VM or vPar guest.

To install the required files in the directoryC:\Program Files\Hewlett-Packard\ cmappserver in the VM or vPar guest, run the cmappserver.exe file, .

Verify that Java 1.4.2 or 1.5 or 1.6 is installed on the VM or vPar guest.

4.Configure the cmappserver.conf file on the VM or vPar guests.

Similar to the cmappmgr.conf file, the file cmappserver.conf on the VM or vPar Host is used to specify location information for the SSL keys used for cmappmgr to cmappserver communications from the VM or vPar Host. An example of a cmappserver.conf file is shown below:

###############################################################

#(C) Copyright 2008 Hewlett-Packard Development Company, L.P.

#Serviceguard cmappserver Configuration File

#cmappserver.conf version 1.0

###############################################################

keyStore=

#If unspecified, the default value is /opt/hp/cmappserver/server.private on

#HP-UX and Linux systems, Program Files\Hewlett-Packard\cmappserver\server.private

#on Windows.

keyStorePassword=

#If unspecified, the default value is serverpw trustStore=

#If unspecified, the default value is /opt/hp/cmappserver/client.public on

#HP-UX and Linux systems, Program Files\Hewlett-Packard\cmappserver\client.public

#on Windows.

trustStorePassword=

# If unspecified, the default value is public

25

Image 25
Contents Abstract Page Contents Overview HP Serviceguard Toolkit for Integrity Virtual ServersAdvantages DependenciesHP Integrity VM Serviceguard toolkit HP Serviceguard Toolkit for Integrity Virtual Servers VM/vPar as Serviceguard packages Supported configurationStorage considerations Network componentsFor example, # cmdeployvpkg -m 1 -P vm1 Storage considerations # swlist -l product SG-IVS-Toolkit # swinstall -s depot path#swremove SG-IVS-Toolkit Vswitchmgr Vparreset IvshpvmutilsK004vswitchmgr S802vswitchmgrPreconfiguration Using SG IVS toolkitCreating packages Change the vgnamecmd to vgchange -a s Check the configuration of the package Hpvmvolumegroup /dev/vgsharedACd /etc/cmcluster/vm/vParname Using Serviceguard commandsCmmakepkg -m tkit/vtn/vpar -n vparname pkg.conf Cmdeployvpkg command Using SG IVS Toolkit commandsServicename Cmapplyconf -P pkg.confRunning packages Managing packagesMaintaining packages #cmdeployvpkg -m 1 -P vm or vpar nameDeleting packages Halting 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 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 Loglevel Lanmon Usr/sbin/cmappmgr -node remo1 -cmappservertimeoutHostlogfile full Pathof fileonhostAdm/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 Service monitor detected a failure in guest vmname TroubleshootingRun cmdeployvpkg command with -m 0 option Etc/cmcluster/scripts Mscripts Mastercontrolscript.shCmcluster/scripts/tkit/vtn/ tkitmodule.sh Limitations Support and other resources How to contact HPInformation to collect before contacting HP Documentation feedback HP authorized resellersRelated information Typographic conventions TIP Page Page DMP GlossaryIndex