Transferring data between sites
AssigneeRed Hat, Inc.
InventorMircea Markus
Life of this patent
Estimating the term…
Abstract
The method including, receiving a transfer command at a transfer coordinator node of a first node cluster at a first site to initiate a transfer of data from the first node cluster to a second node cluster at a second site. The method further including causing a status of the second site to be switched from an inactive status to an active status at the nodes of the first node cluster. The method further including initiating a transfer of the data from the first node cluster to the second node cluster. The method further including determining that the second node cluster has the active status at the nodes of the first node cluster and causing the data transaction request to be transferred from the nodes at the first node cluster to the second node cluster during the transfer of the data.
Claims16
A method comprising:
- receiving a transfer command at a transfer coordinator node of a first node cluster at a first site to initiate a transfer of data from the first node cluster to a second node cluster at a second site, wherein the first node cluster comprises multiple nodes and the second node cluster comprises multiple nodes;
- causing, by the transfer coordinator node, a status of the second site to be switched from an inactive status to an active status at the nodes of the first node cluster;
- initiating, by the transfer coordinator node, a transfer of the data from the first node cluster to the second node cluster;
- responsive to receiving a data transaction request during the transfer of the data, determining that the second node cluster has the active status at the nodes of the first node cluster, and causing the data transaction request to be transferred from the nodes at the first node cluster to the second node cluster during the transfer of the data, wherein the data being transferred is identified for transfer by the nodes of the first node cluster;
- and
- responsive to receiving the data transaction request during the transfer of the data, blocking a plurality of commands received at the nodes of the first node cluster, the plurality of commands comprising:
- a prepare command associated with the data being transferred;
- a commit command associated with the data being transferred;
- and
- a rollback command associated with the data being transferred.
A non-transitory computer-readable storage medium having instructions that, when executed by a processing device, cause the processing device to:
- receive a transfer command at the processing device of a transfer coordinator node of a source node cluster at a source site to initiate a transfer of data from the source node cluster to a destination node cluster at a destination site, wherein:
- the source node cluster comprises multiple nodes, and
- the destination node cluster comprises multiple nodes;
- cause, by the transfer coordinator node, a status of a destination node cluster to be switched from an inactive status to an active status at the nodes of the source node cluster;
- initiate, by the transfer coordinator node, a transfer of the data from the source node cluster to the destination node cluster;
- responsive to receiving a data transaction request during the transfer of the data, determine that the destination node cluster has the active status at the nodes of the source node cluster, and cause the data transaction request to be transferred from the nodes at the source node cluster to the destination node cluster during the transfer of the data;
- and
- responsive to receiving the data transaction request during the transfer of the data, block a plurality of commands received at the nodes of the source node cluster, the plurality of commands comprising:
- a prepare command associated with the data being transferred;
- a commit command associated with the data being transferred;
- and
- a rollback command associated with the data being transferred.
A transfer coordinator node comprising:
- a memory to store data;
- and
- a processing device operatively coupled to the memory, the processing device is to:
- receive a transfer command at the transfer coordinator node of a first node cluster at a first site to initiate a transfer of data from the first node cluster to a second node cluster at a second site, wherein the first node cluster comprises multiple nodes and the second node cluster comprises multiple nodes;
- cause a status of the second site to be switched from an inactive status to an active status at the nodes of the first node cluster;
- initiate a transfer of the data from the first node cluster to the second node cluster;
- responsive to receiving a data transaction request during the transfer of the data, determine that the second node cluster has the active status at the nodes of the first node cluster, and cause the data transaction request to be transferred from the nodes at the first node cluster to the second node cluster during the transfer of the data;
- and
- responsive to receiving the data transaction request during the transfer of the data, block at least one command received at the nodes of the first node cluster, a plurality of commands received at the nodes of the source node cluster, the plurality of commands comprising:
- a prepare command associated with the data being transferred;
- a commit command associated with the data being transferred;
- and
- a rollback command associated with the data being transferred.
Dependencies are inferred from the claim text.