Table B-4 includes information about the dbcc ha_admin options.
Option name |
Function |
Syntax and comments |
---|---|---|
rollback_failback |
Rolls back the effect of sp_companion... prepare_failback and returns the companion to failover mode. This command works regardless of the results of the prepare_failback command. |
dbcc ha_admin (" ", rollback_failback) Where
|
rollback_failover |
Rolls back the effects of fail over from the primary companion, and returns it to normal companion mode. rollback_failover does not affect the secondary companion. |
dbcc ha_admin (" ", rollback_failover) Where
|
drop_failoverdb |
Used only in failover mode. drop_failoeverdb drops the failed-over databases that could not be dropped with the drop database command. This command also cleans up the master_companion of all the metadata relating to the dropped database. |
dbcc ha_admin (" ", drop_failedoverdb, database_name) Where
|
clusterlock |
Acquires or releases cluster-wide locks during a cluster operation. |
dbcc ha_admin (" ", clusterlock, [acquire | release]) For more information about cluster-wide locks and releasing them, see “Cluster locks in a high availability node”. |
state_machine |
Moves the companion server to single-server mode. |
dbcc ha_admin (' ', 'state_machine', 'halt') Where |
session |
Invokes clients that are sleeping because of a failed sp_companion...resume. Clients that are invoked disconnect from the secondary companion and connect to the primary companion. |
dbcc ha_admin (SYB_HACMP, session, "drop") |
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |