HP Serviceguard Toolkit for Integrity Virtual Servers manual # swinstall -s depot path

Page 10

3 Installing and uninstalling HP Serviceguard toolkit for Integrity virtual servers

To install the HP Serviceguard toolkit for Integrity virtual servers:

1.Run the command:

# swinstall -s <depot path>

The “SD Install - Software Selection” user interface appears.

2.On the “SD Install - Software Selection” screen, mark the product, “SG-IVS-Toolkit”.

3.To mark the product for installation, select Action > Mark For Install (m)

4.Select Action > Install , to initiate the installation.

To verify that the installation is complete, run the command:

# swlist -l product SG-IVS-Toolkit

This command returns the entry, SG-IVS-Toolkit, if it is installed successfully.

To uninstall the SG IVS toolkit, run the command:

#swremove SG-IVS-Toolkit

Files and directories created for SG IVS toolkit after Installation

After the SG IVS toolkit is installed, a script directory /etc/cmcluster/scripts/tkit/vtn/ and a module directory /etc/cmcluster/modules/tkit/vtn is created. The script directory contains toolkit scripts and other supported command scripts.

10 Installing and uninstalling HP Serviceguard toolkit for Integrity virtual servers

Image 10
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 packagesStorage 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 K004vswitchmgr Vparreset IvshpvmutilsVswitchmgr S802vswitchmgrPreconfiguration Using SG IVS toolkitCreating packages Change the vgnamecmd to vgchange -a s Hpvmvolumegroup /dev/vgsharedA Check the configuration of the packageCd /etc/cmcluster/vm/vParname Using Serviceguard commandsCmmakepkg -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 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 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 Support and other resources How to contact HPInformation to collect before contacting HP Documentation feedback HP authorized resellersRelated information Typographic conventions TIP Page Page Glossary DMPIndex