A storage controller control method to be executed by a storage controller,
- the storage controller including
- a switch unit configured to receive an IO from a host and
- a first storage control device and a second storage control device configured to process the IO received by the switch unit and to output and receive data to and from a disc device,
- the switch unit including
- an input port configured to receive the IO from the host, and
- an output port configured to output the IO to a port of the first storage control device and a port of the second storage control device,
- a storage unit of the storage controller storing
- port management information for managing host path definition information for each of the first storage control device and the second storage control device, the host path definition information indicating a correspondence relation between the host and address information held by the port of a transmission destination to which the host transmits the IO, and
- route management information for managing a connection route for connecting the input port to the output port connected to the port holding the address information in the switch unit to transfer the IO,
- the storage controller control method comprising:
- by a processor of the storage controller,
- receiving an instruction to stop the second storage control device;
- converting second address information to first address information, the second address information indicating the address information held by the port of the second storage control device, and the first address information indicating the address information held by the port of the first storage control device;
- setting, in the port management information, a first host path definition indicating the host path definition information between the host and the first address information in the first storage control device, in addition to a second host path definition indicating the host path definition information between the host and the second address information in the second storage control device;
- setting, in the route management information, a first connection route indicating the connection route between the input port and a first output port serving as the output port to which the port holding the first address information is connected, in addition to a second connection route indicating the connection route between the input port and a second output port serving as the output port to which the port holding the second address information is connected;
- and
- controlling the switch unit based on the route management information and controlling the first storage control device and the second storage control device based on the port management information to transfer the IO to the first storage control device or the second storage control device.