Hitachi

Hitachi Advanced Database Setup and Operation Guide


16.7 Switching over the master node by using a command

You can switch over the master node by executing a command. The procedure differs depending on whether you are using host reset or SCSI reservation for shared disk.

The slave node that becomes the new master node is decided based on the specifications in the initial and standbypri operands in the servers file of HA Monitor. For details about the initial and standbypri operands, see (3) Specifying the servers file in 16.3.4 Setting up an HA Monitor environment, and Server environment definition (servers) in the manual HA Monitor for Linux(R) (x86).

The node where the command was executed is separated from the multi-node configuration.

Note
  • For details about the monswap command, see Commands in the manual HA Monitor for Linux(R) (x86).

  • Switching over the master node through commands uses the HA Monitor planned hot standby function.