Computer system and storage managing method
Violation of a recovery requirement is prevented at the time of a failover to a secondary site in case of failure while suppressing cost on hardware of the secondary site in normal times. In a computer system including: a primary site storage system; a secondary site storage system; and a management device, the management device can change a resource of the secondary site storage system, and in the case where a failure occurs in the primary site, the management device performs a failover of making a corresponding secondary volume take over operation of the primary volume, controls so as to enhance a resource of the secondary site storage system, and controls the failover so that a secondary volume which starts operating by the failover before the enhancement of the resource and a secondary volume which starts operating by the failover after the enhancement of the resource exist.
1 . A computer system comprising:
a primary site storage system in which a primary site providing a plurality of primary volumes to a host is configured;
a secondary site storage system which is connected to the primary site storage system via a network and in which a secondary site providing a plurality of secondary volumes in which remote copies of the plurality of primary volumes are set is configured; and
a management device managing the primary site storage system and the secondary site storage system, wherein
the management device is configured to change a resource of the secondary site storage system,
in a case where a failure occurs in the primary site, the management device performs a failover of making a corresponding secondary volume take over operation of the primary volumes, controls so as to enhance a resource of the secondary site storage system, and controls the failover so that a secondary volume which starts operating by the failover before the enhancement of the resource and a secondary volume which starts operating by the failover after the enhancement of the resource exist, and
the management device:
holds recovery requirement information indicating a requirement of recovery with respect to the plurality of secondary volumes; and
determines a timing of performing a failover and starting operation, which is either before or after enhancement of the resource, for each of the secondary volumes on a basis of a surplus resource of the secondary site storage system and the recovery requirement information.
2 . The computer system according to claim 1 , wherein
recovery time objective is designated for the secondary volume as the recovery requirement information, and
the management device determines the timing of performing a failover, which is either before or after enhancement of a recourse on the basis of the surplus resource, the recovery time objective, and time required to enhance the resource.
3 . The computer system according to claim 1 ,
wherein, before a failure occurrence, the management device controls so that a node in which a secondary volume which starts operating by a failover before enhancement of the resource is placed has a surplus resource sufficient to make the secondary volume operate by a failover.
4 . A computer system comprising:
a primary site storage system in which a primary site providing a plurality of primary volumes to a host is configured;
a secondary site storage system which is connected to the primary site storage system via a network and in which a secondary site providing a plurality of secondary volumes in which remote copies of the plurality of primary volumes are set is configured; and
a management device managing the primary site storage system and the secondary site storage system,
wherein the management device is configured to change a resource of the secondary site storage system,
wherein, in a case where a failure occurs in the primary site, the management device performs a failover of making a corresponding secondary volume take over operation of the primary volumes, controls so as to enhance a resource of the secondary site storage system, and controls the failover so that a secondary volume which starts operating by the failover before the enhancement of the resource and a secondary volume which starts operating by the failover after the enhancement of the resource exist,
wherein the secondary site storage system has a plurality of nodes,
wherein the enhancement of the resource includes scale-up which improves performance of the node and scale-out which increases a number of nodes, and
wherein the management device determines which one of the scale-up and the scale-out is performed at the time of the resource enhancement.
5 . The computer system according to claim 4 , wherein, in a case where one node has a secondary volume which starts operating by a failover before enhancement of the resource and a secondary volume which starts operating by a failover after enhancement of the resource, the scale-out is performed and the secondary volume which starts operating by a failover after the enhancement of the resource is transferred to a node which is added by the scale-out and is made to operate.
6 . The computer system according to claim 5 , wherein
in the case where one node does not have a secondary volume which starts operating by a failover before enhancement of the resource and has a secondary volume which starts operating by a failover after enhancement of the resource, the scale-up is performed, and then the secondary volume which starts operating by a failover after enhancement of the resource is made to operate.
7 . A storage managing method performed by a computer system comprising: a primary site storage system in which a primary site providing a plurality of primary volumes to a host is configured; a secondary site storage system which is connected to the primary site storage system via a network and in which a secondary site providing a plurality of secondary volumes in which remote copies of the plurality of primary volumes are set is configured; and a management device managing the primary site storage system and the secondary site storage system, wherein
the management device is configured to change a resource of the secondary site storage system,
in a case where a failure occurs in the primary site, the management device performs a failover to make a corresponding secondary volume take over operation of the primary volume, controls so as to enhance a resource of the secondary site storage system, and controls the failover so that a secondary volume which starts operating by the failover before the enhancement of the resource and a secondary volume which starts operating by the failover after the enhancement of the resource exist, and
the management device:
holds recovery requirement information indicating a requirement of recovery with respect to the plurality of secondary volumes; and
determines a timing of performing a failover and starting operation, which is either before or after enhancement of the resource, for each of the secondary volumes on a basis of a surplus resource of the secondary site storage system and the recovery requirement information.