Resuming normal companion mode

To move from suspended mode to normal companion mode:

  1. Make sure both companions are running. As root, issue:

    hastatus
    
  2. Change the Critical attribute of the Sybase resource on the primary node to 1. As root, issue:

    hares -modify name_of_Sybase_resource Critical 1
    

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

    hares -modify syb_ase125 Critical 1
    
  3. Resume normal companion mode. From the secondary companion, issue:

    sp_companion primary_companion_name, resume
    

    For example, to resume normal companion mode for primary companion MONEY1:

    sp_companion MONEY1, resume
    

    NoteYou cannot connect clients with the failover property (for example isql -Q) until you issue sp_companion resume. If you do try to reconnect them after issuing sp_companion prepare_failback, the client hangs until you issue sp_companion resume.