主权项 |
1. An information processing apparatus for connecting to first and second storage devices via a storage control device, the information processing apparatus comprising:
a memory; a processor coupled to the memory which executes the following: receiving, when the storage control device is in a single mode, an instruction for transferring the storage control device to a mirroring mode, from a user; setting, in response to receiving the instruction, a rebuilding function of the storage control device to OFF; sending, after the rebuilding function of the storage control device is set to OFF, a first command for transferring the storage control device to the mirroring mode, to the storage control device, wherein, when the first command is sent to the storage control device, the storage control device transfers from the single mode to a first state of the mirroring mode in which rebuilding is not automatically executed, in a case where the rebuilding function of the storage control device is set to OFF, and the storage control device transfers from the single mode to a second state of the mirroring mode in which rebuilding is automatically executed, in a case where the rebuilding function of the storage control device is set to ON, acquiring, when the storage control device is in the mirroring mode, information for determining whether the second storage device is to be used; determining whether the second storage device is to be used, based on the information acquired; and sending, when the second storage device is to be used, a second command for transferring the storage control device to the second state of the mirroring mode, to the storage control device, wherein the storage control device transfers, when the second command is sent to the storage control device, from the first state of the mirroring mode to the second state of the mirroring mode. |