Failing back to the primary companion  Resuming normal companion mode

Chapter 10: Configuring Linux Adaptive Server for Failover on Veritas 2.1

Suspending normal companion mode

Suspended mode temporarily disables the ability of the primary companion to fail over to the secondary companion. To switch from normal companion mode to suspended mode:

  1. As root, use hares to change the attribute Critical for the Sybase resource on primary node to 0. The syntax is:

    hares -modify name_of_Sybase_resource Critical 0
    

    For example, to modify the attribute Critical of the Sybase resource, syb_ase125 for primary companion, MONEY1:

    hares -modify syb_ase125 Critical 0
    

    (See the Veritas Cluster Server User's Guide for more information about the hares command.)

  2. Suspend normal companion mode. From the secondary companion, issue:

    sp_companion companion_name, suspend
    

    For example, to suspend primary companion MONEY1 for maintenance, connect to secondary companion PERSONNEL1 and issue:

    sp_companion MONEY1, suspend
    




Copyright © 2004. Sybase Inc. All rights reserved. Resuming normal companion mode

View this book as PDF