HP Serviceguard Toolkit for Integrity Virtual Servers Tkitmodule.sh, Etc/cmcluster/scripts/tkit

Page 11

Table 1 Files created after SG IVS toolkit is installed.

File Name

Description

Available in Directory

tkit_module.sh

This is a module script for the HP

/etc/cmcluster/scripts/tkit/

 

Serviceguard Toolkit for Integrity

vtn/

 

Virtual Servers.

 

havtn.sh

The script is used to start, stop, and

 

 

validate Integrity VM or vPar.

 

havtn.mon

This script contains functions that

 

 

monitor vswitchmgr process and status

 

 

of a VM or vPar guest.

 

cmdeployvpkg

This command is used to create and

 

 

manage Serviceguard package

 

 

configurations for HP Integrity VM or

 

 

vPar.

 

cmmovevpkg

This command is used for online

 

 

migration of VM guest integrated with

 

 

HP Serviceguard.

 

cmmovevnode

This command is used for the online

 

 

migration of a VM, that is a node in

 

 

a Serviceguard cluster.

 

ivs_vpar_utils

This script is used to perform vPar

 

 

related functions, such as vparboot

 

 

and vparreset.

 

ivs_hpvm_utils

This script is used to perform VM

 

 

related functions, such as hpvmstart

 

 

and hpvmstop.

 

ivs_common_utils

This script consists of function

 

 

definitions that are common to both

 

 

vPar and VM.

 

Table 2 Files for the Attribute definition file (ADF) Module

File Name

Description

Available in Directory

vtn

Soft link to vtn.1

/etc/cmcluster/modules/tkit/

vtn.1

ADF module definition for HP Integrity

vtn

 

 

VM.

 

vpar

Soft link to vpar.1

 

vpar.1

ADF module definition for vPar

 

Table 3 Scripts for monitoring virtual switch

File Name

Description

Available in Directory

vswitchmgr

This script is used to monitor and

/sbin/init.d/

 

reconfigure “vswitch” during physical

 

 

networking link (NIC) failover.

 

lanmond

This binary file is used to monitor the

/usr/sbin/lanmond

 

movement of IP address from primary

 

 

network interface to secondary

 

 

network interface during vswitch

 

 

reconfiguration.

 

K004vswitchmgr

Soft link to “vswitchmgr”.

/sbin/rc2.d/

S802vswitchmgr

Soft link to “vswitchmgr”

/sbin/rc3.d/

Files and directories created for SG IVS toolkit after Installation

11

Image 11
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