Recovering From a Failed prepare_failback

During a failback, if prepare_failback was executed successfully on the secondary companion but the primary companion fails to boot, perform the following to rollback and then reissue the prepare_failback command:

  1. Check the primary companion’s error log and the HACMP error log to find the reason the server failed to boot, and correct the problems.

  2. Stop the HACMP services on the primary node with takeover

  3. Login to the secondary companion as LOGIN_NAME, and issue:

    dbcc ha_admin ("", "rollback_failback")
    	dbcc ha_admin ("", "rollback_failover")
    

    Your companion servers should both be back in the failover mode

  4. Restart HACMP on the primary node.