The failback switches the service group that originally belonged to the primary node from the secondary node back to the primary node and brings it online.
To initiate a failback:
After your primary node is ready to take back the service group, issue the following from the secondary companion:
sp_companion primary_companion_name, prepare_failback
where primary_companion_name is the name of primary companion. This command switches the primary node’s service group from secondary node back to primary node.
Make sure the primary nodes service group is successfully switched to primary node by issuing this command from the command line:
hastatus -group service_group_name
This command displays the status of the primary nodes service group.
To resume normal companion mode, issue the following from the primary companion:
sp_companion secondary_companion_name, resume
where secondary_companion_name is the name of the secondary companion server.
You cannot connect clients with the failover property
to Adaptive Server until you issue sp_companion
resume. If you do try to reconnect them after issuing sp_companion
prepare_failback, the client stops responding
until you issue sp_companion resume.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |