Perform this task only if you configured
improved availability of services regardless of the availability tool
you are using. Omit this task if you did not configure availability
sets.
Run the transfer_to_avail command
to shut down all HP XC services and IP aliases that will be
managed by an availability tool:
 |
# transfer_to_avail
Info: Status check for nodes supporting availability:
Info: Node 'n7' up and running
Info: Node 'n8' up and running
Info: Serviceguard-managed services are: 'nat lvs nagios dbserver'
Info: HeartBeat-managed services are: ''
Info: NAT HA servers are: 'n7 n8'
Info: confirming the list of services to transfer to availability...
Info: 'serviceguard' not running anywhere.
Info: Starting transfer of services to ServiceGuard...
prepForAvail:
==========
Executing 'pdsh -S -w n7 '/opt/hptc/etc/nconfig.d/C50nat nxferto n7''...
pdsh@n8: n7: RC=0
prepForAvail:
==========
'pdsh -S -w n7 '/opt/hptc/etc/nconfig.d/C50nat nxferto n7'' finished, exited with 0(0)
prepForAvail:
========== Executing 'pdsh -S -w n8 '/opt/hptc/etc/nconfig.d/C50nat nxferto n8''...
pdsh@n8: n8: RC=0
prepForAvail:
==========
'pdsh -S -w n8 '/opt/hptc/etc/nconfig.d/C50nat nxferto n8'' finished, exited with 0(0)
prepForAvail:
==========
Executing '/opt/hptc/etc/nconfig.d/C12dbserver nxferto n8'...
Stopping MySQL: [ OK ]
my.cnf 100% 287 0.3KB/s 00:00
prepForAvail:
==========
'/opt/hptc/etc/nconfig.d/C12dbserver nxferto n8' finished, exited with 0(0)
startAvailTool:
==========
Executing '/opt/hptc/availability/serviceguard/start_avail'...
Configuring HP Serviceguard cluster [-C
/usr/local/cmcluster/conf/avail1.config -P
/usr/local/cmcluster/conf/nat.n7/nat.n7.config -P
/usr/local/cmcluster/conf/nat.n8/nat.n8.config -P
/usr/local/cmcluster/conf/lvs.n8/lvs.n8.config -P
/usr/local/cmcluster/conf/nagios.n8/nagios.n8.config -P
/usr/local/cmcluster/conf/dbserver.n8/dbserver.n8.config ].
Applying the cluster configuration.
Begin cluster verification...
Warning: No additional packages can be added to this cluster.
Adding node n7 to cluster avail1.
Adding node n8 to cluster avail1.
Completed the cluster creation.
Starting the cluster.
cmruncl : Validating network configuration...
cmruncl : Network validation complete
cmruncl : Waiting for cluster to form....
cmruncl : Cluster successfully formed.
cmruncl : Check the syslog files on all nodes in the cluster
cmruncl : to verify that no warnings occurred during startup.
startAvailTool:
==========
'/opt/hptc/availability/serviceguard/start_avail' finished, exited with 0(0)
Info: Successful transfer of services to Serviceguard. |
 |
After services and IP aliases are shut down, each
availability tool is started. Then, the availability tool starts up
the services and IP aliases it is managing.
Proceed to “Task 16: Configure SNMP Trap Destination for Enclosures”.