ifx_failover_callback.bat 1.0 KB

123456789101112131415161718192021222324252627
  1. REM ##########################################################################
  2. REM #
  3. REM # Licensed Materials - Property of IBM and/or HCL
  4. REM #
  5. REM # IBM Informix Dynamic Server
  6. REM # (c) Copyright IBM Corporation 2008 All rights reserved.
  7. REM # (c) Copyright HCL Technologies Ltd. 2017. All Rights Reserved.
  8. REM #
  9. REM # Title: ifx_failover_callback.sh
  10. REM #
  11. REM # Description: Failover callback script for secondary servers
  12. REM #
  13. REM # Notes: This script is executed when secondary server
  14. REM # switches to standard or primary mode.
  15. REM #
  16. REM # Script should exit with status 0 for secondary
  17. REM # to continue switching to new mode.
  18. REM #
  19. REM # This script is intended to be used for performing
  20. REM # necessary operation on system before secondary
  21. REM # can take of role of standard/primary server.
  22. REM #
  23. REM # One of the example is to prevent original primary
  24. REM # server from updating the shared disk using I/O fencing.
  25. REM ##########################################################################