Manually triggering a failover
You might want to change which machine runs as the primary head node. You have the flexibility to switch that role between machines. You might also want to take down a machine for maintenance, or other temporary actions. In that case, you can switch the primary role to the other head node before you shut down.
Before you begin
bigsql status -failoverController
If the automatic failover controller
is not stopped, run the following command on both Db2 Big SQL
head nodes:bigsql stop -failoverController
About this task
In some circumstances, the NEWLOGPATH database configuration parameter might be set to specify a different location for the transaction log files. As a result, the second failover that is triggered after this parameter is set might appear to hang. But that is not the case, and the command will complete within the value of the HADR peer window setting. No user intervention is required, and subsequent failovers will run normally.
The NEWLOGPATH parameter might be set to move the transaction logs to a new location due to space constraints. It is recommended that you enable automatic log pruning when HA is enabled.