Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP XC System Software : Administration Guide > Chapter 2 Improved Availability

Transferring Control of Services

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The HP XC System Software provides these commands to transfer control of services to and from the availability tool:

  • transfer_to_avail

    The transfer_to_avail command transfers the control of services from the HP XC system to the availability tool.

  • transfer_from_avail

    The transfer_from_avail command transfers the control of services from the availability tool back to the HP XC system.

IMPORTANT: You must issue these commands from the head node. Issuing these commands from a node other than head node may result in these commands hanging and not completing.

The following example shows the output of the transfer_from_avail command to transfer the control of services from the HP Serviceguard availability tool to the HP XC system:

# transfer_from_avail

Info: Status check for nodes supporting availability:
Info:  Node 'n16' up and running
Info:  Node 'n14' up and running
Info:  Head node 'nh' up and running

Info: Serviceguard-managed services are: 'nat lvs nagios dbserver'
Info: HeartBeat-managed services are: ''
Info: NAT HA servers are: 'n16 n14'

Info: confirming the list of services to transfer from availability...
Info: Serviceguard found running on these nodes: 'n16 n14'

Info: Starting transfer of services from Serviceguard...
stopAvailTool: ========== Executing
'/opt/hptc/availability/serviceguard/stop_av
ail'...

Stopping HP Serviceguard cluster [-C /usr/local/cmcluster/conf/avail1.config
-P
/usr/local/cmcluster/conf/nat.n16/nat.n16.config  -P
/usr/local/cmclust
er/conf/nat.n14/nat.n14.config  -P
/usr/local/cmcluster/conf/lvs.n16
/lvs.n16.config  -P
/usr/local/cmcluster/conf/nagios.n16/nagios.n16.
config  -P
/usr/local/cmcluster/conf/dbserver.n16/dbserver.n16.config ].
Halting cluster.
Deleting any cluster configuration.

stopAvailTool: ========== '/opt/hptc/availability/serviceguard/stop_avail'
finis
hed, exited with 0(0)
restoreServices: ========== Executing '/usr/bin/ssh nh
/opt/hptc/etc/nconfig.d/C
12dbserver nxferfrom n16'...

Starting MySQL:  [  OK  ]

restoreServices: ========== '/usr/bin/ssh nh
/opt/hptc/etc/nconfig.d/C12dbserver
nxferfrom n16' finished, exited with 0(0)
restoreServices: Info: DB up and running
restoreServices: ========== Executing '/opt/hptc/bin/pdsh -S -w n16
/opt/hpt
c/etc/nconfig.d/C50nat nxferfrom n16'...


restoreServices: ========== '/opt/hptc/bin/pdsh -S -w n16
/opt/hptc/etc/ncon
fig.d/C50nat nxferfrom n16' finished, exited with 0(0)
restoreServices: ========== Executing '/opt/hptc/bin/pdsh -S -w n14
/opt/hpt
c/etc/nconfig.d/C50nat nxferfrom n14'...


restoreServices: ========== '/opt/hptc/bin/pdsh -S -w n14
/opt/hptc/etc/ncon
fig.d/C50nat nxferfrom n14' finished, exited with 0(0)
Info: Successful transfer of services from Serviceguard.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.