In some situations, you might want to delay the automatic failback, this is done through the db2cluster command.
By default, DB2® cluster services fails back any member running in restart light mode as soon as that member's home host becomes available and any alerts are cleared. If you want to investigate the cause of a host failure, it can be useful to disable automatic member failback until a more suitable time.
To disable automatic failback:
Any member that is in restart light mode and any future restart light members will remain on their guest host even if all member alerts have been cleared and the member's resident host is active.
db2cluster -cm -set -option autofailback -value off
This
message is returned:The db2cluster command succeeded. The AUTOFAILBACK option has been set to "OFF". Automatic
failback will be disabled the next time that the DB2 database manager instance is restarted.
db2cluster -cm -set -option autofailback -value on
This
message is returned:The db2cluster command succeeded. The AUTOFAILBACK option has been set to "ON". Automatic
failback will be enabled the next time that the DB2 database manager instance is restarted.
db2cluster -cm -list -autofailback
This
message is returned:The AUTOFAILBACK option is set to "ON".