Asynchronous commands and logical cluster states

The sp_cluster logical commands deactivate, failback, failover, and offline are asynchronous. They stop an online instance that may have existing transactions. These transactions must be handled before the instance can actually be taken offline or made inactive. As a consequence, these commands can be allowed to complete at a later time and context.

When you execute any of these commands, the target instance is placed in the time_wait state, and no longer accepts new connections.

Each asynchronous command provides three “wait” options for handling existing transactions. Values are:

NoteIf you do not specify a wait option when executing an sp_cluster logical asynchronous command, Adaptive Server assumes an infinite wait.

When the last connection using the instance disconnects, the instance state changes from time_wait to offline or inactive.