Hitachi

Hitachi Advanced Database Setup and Operation Guide


16.10.3 Adding, deleting, or expanding data DB areas (when the multi-node function is being used)

This section explains how to use the adbmodarea command to add, delete, or expand data DB areas when the multi-node function is being used.

Organization of this subsection

(1) Adding data DB areas

For details about how to add data DB areas, see 11.10.1 Adding data DB areas.

The adbmodarea command for adding data DB areas must be executed on the master node.

Important

If there are any nodes that have been separated from the multi-node configuration, you cannot add data DB areas. Add data DB areas after returning the separated nodes to the multi-node configuration.

If you have added any data DB areas in the period between deleting and re-adding a node due to a server machine failure, you need to re-create the DB directory. For details about how to do so, see 16.17.1 Adding nodes.

Note

If the HADB server terminates abnormally while adding a data DB area, a symbolic link to the data DB area file you tried to add might remain in that node's DB directory. Even if a symbolic link remains, this will not cause problems in operation.

■ When using SCSI reservation for shared disk

When using SCSI reservation for shared disk, you need to change the specification of the operands in the servers file of HA Monitor before adding the data DB area. To add a data DB area:

Procedure

  1. Terminate the HADB servers in the multi-node configuration normally.

    For details about how to terminate the HADB server, see 16.4.2 Terminating HADB servers in the multi-node configuration.

  2. Change the specification of the servers file of HA Monitor.

    Add the device name of the disk to be added in the scsi_device or dmmp_device operand. Change the specification in the HA Monitor servers file on all nodes.

  3. Start the HADB servers in the multi-node configuration.

    For details about how to start the HADB server, see 16.4.1 Starting the HADB servers in the multi-node configuration.

  4. Execute the adbmodarea command to add the data DB area.

    For details about how to add data DB areas, see 11.10.1 Adding data DB areas.

(2) Deleting a data DB area

For details about how to delete data DB areas, see 11.10.2 Deleting a data DB area.

The adbmodarea command for deleting data DB areas must be executed on the master node.

Note

If any nodes are stopped at the time a data DB area is deleted, those nodes' DB directories might still contain symbolic links to the deleted DB area's data DB area files. Even if a symbolic link remains, this will not cause problems in operation.

■ When using SCSI reservation for shared disk

When using SCSI reservation for shared disk, you need to change the specification of the operands in the servers file of HA Monitor after deleting the data DB area. To delete a data DB area:

Procedure

  1. Delete a data DB area by executing the adbmodarea command.

    For details about how to delete data DB areas, see 11.10.2 Deleting a data DB area.

  2. Terminate the HADB servers in the multi-node configuration normally.

    For details about how to terminate the HADB server, see 16.4.2 Terminating HADB servers in the multi-node configuration.

  3. Change the specification of the servers file of HA Monitor.

    Delete the device name of the deleted disk from the scsi_device or dmmp_device operand. Change the specification in the HA Monitor servers file on all nodes.

  4. Start the HADB servers in the multi-node configuration.

    For details about how to start the HADB servers, see 16.4.1 Starting the HADB servers in the multi-node configuration.

(3) Expanding a data DB area (adding a data DB area file)

For details about how to expand data DB areas, see 11.10.3 Expanding a data DB area (adding a data DB area file).

The adbmodarea command for expanding data DB areas must be executed on the master node.

Important

If there are any nodes that have been separated from the multi-node configuration, you cannot expand data DB areas. Expand data DB areas after returning the separated nodes to the multi-node configuration.

If you have expanded any data DB areas in the period between deleting and re-adding a node due to a server machine failure, you need to re-create the DB directory. For details about how to do so, see 16.17.1 Adding nodes.

Note

If the HADB server terminates abnormally while expanding a data DB area, a symbolic link to the data DB area file you tried to add might remain in that node's DB directory. Even if a symbolic link remains, this will not cause problems in operation.

■ When using SCSI reservation for shared disk

When using SCSI reservation for shared disk, you need to change the specification of the operands in the servers file of HA Monitor before expanding a data DB area. To expand a data DB area:

Procedure

  1. Terminate the HADB servers in the multi-node configuration normally.

    For details about how to terminate the HADB server, see 16.4.2 Terminating HADB servers in the multi-node configuration.

  2. Change the specification of the servers file of HA Monitor.

    Add the device name of the disk to be added in the scsi_device or dmmp_device operand. Change the specification in the HA Monitor servers file on all nodes.

  3. Start the HADB servers in the multi-node configuration.

    For details about how to start the HADB servers, see 16.4.1 Starting the HADB servers in the multi-node configuration.

  4. Execute the adbmodarea command to expand the data DB area.

    For details about how to expand data DB areas, see 11.10.3 Expanding a data DB area (adding a data DB area file).