HP XC System Software Administration Guide Version 3.1
2.5 Transferring Control of Services
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 ]
2.5 Transferring Control of Services 47