Techniques for managing a data replication mode
AssigneeInternational Business Machines Corporation
InventorsLei Chen, Yi Yang, Jun Wei Zhang
Life of this patent
Estimating the term…
Abstract
A technique for managing a data replication mode between a primary storage device and a secondary storage device includes in response to a data replication state between the primary storage device and the secondary storage device satisfying a first predetermined condition, selecting at least one candidate logical unit from a plurality of logical units implementing synchronous replication in the primary storage device at least according to priority information of the plurality of logical units. A data replication mode of the at least one candidate logical unit is then modified from synchronous replication to asynchronous replication.
Claims14
A method for managing a data replication mode between a primary storage device and a secondary storage device, comprising:
- in response to a data replication state between the primary storage device and the secondary storage device satisfying a first predetermined condition, selecting, by a selecting unit, at least one candidate logical unit from a plurality of logical units that are implementing synchronous replication in the primary storage device, wherein the selecting, by a selecting unit, at least one candidate logical unit further includes selecting the at least one candidate logical unit from at least one preliminary candidate logical unit by:
- estimating a data transmission rate in a future time period according to historical information of data transmission rate of the at least one preliminary candidate logical unit by obtaining data transmission rates of the at least one preliminary candidate logical unit in a plurality of corresponding past time periods according to the historical information of the at least one preliminary candidate logical unit and estimating the data transmission rate in the future time period based on the data transmission rates in the plurality of corresponding past time periods;
- and
- selecting the at least one candidate logical unit according to the estimated data transmission rate;
- and
- modifying, by a modifying unit, a data replication mode of the at least one candidate logical unit that is selected from synchronous replication to asynchronous replication to reduce an impact of bandwidth pressure on performance when performing data replication, wherein the first predetermined condition includes at least one of a total data transmission rate of data replication being greater than a first rate threshold and write latency of at least one of the plurality of logical units being greater than a first latency threshold.
An apparatus for managing a data replication mode between a primary storage device and a secondary storage device, comprising:
- a selecting unit configured to select, in response to a data replication state between the primary storage device and the secondary storage device satisfying a first predetermined condition, at least one candidate logical unit from a plurality of logical units that are implementing synchronous replication in the primary storage device;
- and
- a modifying unit configured to modify a data replication mode of the at least one candidate logical unit that is selected from synchronous replication to asynchronous replication to reduce an impact of bandwidth pressure on performance when performing data replication, wherein the first predetermined condition includes at least one of a total data transmission rate of data replication being greater than a first rate threshold and write latency of at least one of the plurality of logical units being greater than a first latency threshold, wherein the selecting unit includes a first selecting module and a second selecting module that is configured to:
- estimate a data transmission rate in a future time period according to historical information of a data transmission rate of the at least one preliminary candidate logical unit by obtaining data transmission rates of the at least one preliminary candidate logical unit in a plurality of corresponding past time periods according to the historical information of the at least one preliminary candidate logical unit and estimating the data transmission rate in the future time period based on the data transmission rates in the plurality of corresponding past time periods;
- and
- select the at least one candidate logical unit according to the estimated data transmission rate.
A computer program product, comprising:
- a computer readable storage device;
- and
- program code stored on the computer readable storage device, wherein the program code, when executed by a processor, configures the processor to:
- in response to a data replication state between a primary storage device and a secondary storage device satisfying a first predetermined condition, selecting, by a selecting unit, at least one candidate logical unit from a plurality of logical units that are implementing synchronous replication in the primary storage device;
- and
- modifying a data replication mode of the at least one candidate logical unit that is selected from synchronous replication to asynchronous replication to reduce an impact of bandwidth pressure on performance when performing data replication, wherein the first predetermined condition includes at least one of a total data transmission rate of data replication being greater than a first rate threshold and write latency of at least one of the plurality of logical units being greater than a first latency threshold, wherein the selecting unit includes a first selecting module and a second selecting module that is configured to:
- estimate a data transmission rate in a future time period according to historical information of a data transmission rate of at least one preliminary candidate logical unit by obtaining data transmission rates of the at least one preliminary candidate logical unit in a plurality of corresponding past time periods according to the historical information of the at least one preliminary candidate logical unit and estimating the data transmission rate in the future time period based on the data transmission rates in the plurality of corresponding past time periods;
- and
- select the at least one candidate logical unit according to the estimated data transmission rate.
Dependencies are inferred from the claim text.