Administering Sybase Failover  Suspending companion mode

Chapter 7: Configuring Adaptive Server for Failover on HP

Failing back to the primary companion and resuming normal companion mode

Failback moves the primary companion’s shared disks from the secondary node back to the primary node and starts the primary companion on the primary node. A failback is a planned event. To fail back to the primary companion:

  1. Issue sp_companion from the secondary companion to verify that it is in failover mode.

    NoteThe high availability system automatically restarts the primary companion.

  2. Issue the following from the secondary companion:

    sp_companion primary_companion_name, prepare_failback
    

    where primary_companion_name is the name of primary companion server.

  3. From the primary companion, issue:

    sp_companion secondary_companion_name, resume
    

    where secondary_companion_name is the name of the secondary companion server.

  4. Issue sp_companion without any options from either companion to make sure you are in normal companion mode.

NoteYou cannot connect clients with the failover property 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. Suspending companion mode

View this book as PDF