Storage system and communication path control method

JP2024122175AActive Publication Date: 2024-09-09HITACHI VANTARA LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023029573
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09
Estimated Expiration
2043-02-28

AI Technical Summary

Benefits of technology

【0013】 本発明によれば、ストレージシステムの正サイトと副サイトとでリモートコピーペアを作成するにあたり、ストレージシステムの運用コストを低減することができ、さらに、リモートコピー処理を実行する際の性能への悪影響を防止することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To reduce an operation cost of a storage system and prevent an adverse effect on performance when remote copy processing is executed when a remote copy pair is created between a primary site and a secondary site of a storage system.SOLUTION: In a storage system 101, a storage node at a primary site (site 201a) queries, when setting a communication path for remote copy from a primary volume (PVOL) to a secondary volume (SVOL), a discovery node (node 210z) at a secondary site (site 201b) for node information of a node having the secondary volume that forms a pair with the primary volume; and a primary volume owner node (node 210x) sets, on the basis of the node information acquired from the discovery node, a communication path 104 between the primary volume owner node (node 210x) and a secondary volume owner node (node 210y) for use in remote copying of volume data from the primary volume to the secondary volume.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a storage system and a communication path control method, and is suitable for use in a storage system and a communication path control method for creating a remote copy pair between a primary site and a secondary site. [Background technology]

[0002] 2. Description of the Related Art Conventionally, a storage system made up of a plurality of storage nodes is known. For example, the storage system is provided by executing predetermined software in each storage node (hereinafter, referred to as a node).

[0003] Furthermore, in order to continue business even in the event of a disaster, there is a remote copy function as a technology for replicating a storage system between multiple geographically separated data centers. In a storage system that is made up of multiple nodes and has a remote copy function, the site that normally processes business applications is called the primary site, and the site that switches over from the primary site to operate when a total site failure occurs on the primary site side and the storage system stops is called the secondary site.

[0004] For example, Patent Document 1 discloses a technology in which, when a remote copy pair is formed between a primary site and a secondary site in a configuration in which the secondary site is made up of multiple storage devices, a storage device at the secondary site is selected so as to satisfy the performance and capacity requirements of the primary site, and the pair is constructed. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] US Patent Application Publication No. 2018 / 0032254 Summary of the Invention [Problem to be solved by the invention]

[0006] Volumes in a storage system have ownership to process I / O requests from hosts or storage systems at other sites. Volume ownership is granted to one specific node for each site (the primary site and the secondary site), and I / O requests to any volume are processed by the node that has been granted ownership. In other words, when a node receives an I / O request for a volume for which it does not have ownership, the node transfers the I / O request to a node that has ownership, and the node that has ownership processes the I / O request.

[0007] In a storage system, the primary site and secondary site create a remote copy pair in units of one or more volumes. The volume at the primary site is called PVOL (Primary Volume), and the volume at the secondary site is called SVOL (Secondary Volume). When creating a remote copy pair, a communication path is set up to exchange I / O requests and various commands between the primary site and secondary site. This communication path is set up from a node at the primary site to a node at the secondary site.

[0008] Here, when setting the above communication path, from the viewpoint of processing performance, it is desirable to set a communication path between a node having ownership of the PVOL of the primary site and a node having ownership of the SVOL of the paired secondary site. This is because if a communication path is set between a node that does not have ownership (non-owner node), when executing remote copy processing, the non-owner node will once receive a request and transfer the request to a node with ownership before processing, which will have a negative impact in terms of CPU overhead, network bandwidth, and delay time. However, the conventional technology disclosed in Patent Document 1 has a problem in that it is not possible to set the above communication path because a remote copy pair is automatically constructed between sites.

[0009] In addition, when creating a remote copy pair, an operator can check information about the primary site and the secondary site and set up a communication path between the node that has ownership of the PVOL (PVOL owner node) and the node that has ownership of the SVOL (SVOL owner node). However, in this case, operational procedures become complicated, and there is a problem that implementation costs and operational costs increase.

[0010] The present invention has been made in consideration of the above points, and aims to propose a storage system and a communication path control method that, when creating a remote copy pair between a primary site and a secondary site of a storage system, can reduce the operating costs of the storage system and prevent adverse effects on performance when executing remote copy processing. [Means for solving the problem]

[0011] In order to solve such problems, the present invention provides a storage system comprising a primary site and a secondary site, each having a plurality of storage nodes, each having a processor package including a processor and a memory, and one or more drives, wherein the storage nodes constituting the primary site include a primary volume owner node having a primary volume, and the storage nodes constituting the secondary site include a secondary volume owner node having a secondary volume paired with the primary volume, and a discovery node which responds to an inquiry with node information of a node having a volume in its own site, wherein when setting a communication path for remote copying from the primary volume to the secondary volume, the storage node of the primary site inquires of the discovery node of the secondary site about node information of the node having the secondary volume paired with the primary volume, and the discovery node replies to the received inquiry with node information of the node having the secondary volume, and the primary volume owner node sets a communication path between the storage node of the primary site and the secondary volume owner node, used for remote copying of volume data from the primary volume to the secondary volume, based on the node information acquired from the discovery node.

[0012] In order to solve the above problem, the present invention provides a communication path control method for a storage system comprising a primary site and a secondary site, each having a plurality of storage nodes, each having a processor package including a processor and a memory, and one or more drives, wherein the storage nodes constituting the primary site include a primary volume owner node having a primary volume, and the storage nodes constituting the secondary site include a secondary volume owner node having a secondary volume paired with the primary volume, and a discovery node which responds to an inquiry with node information of a node having a volume in its own site, and when setting a communication path for remote copying from the primary volume to the secondary volume, the storage node of the primary site inquires of the discovery node of the secondary site about node information of a node having the secondary volume paired with the primary volume, and the discovery node replies to the received inquiry with node information of the node having the secondary volume, and the primary volume owner node sets a communication path between the storage node of the primary site and the secondary volume owner node, used for remote copying of volume data from the primary volume to the secondary volume, based on the node information acquired from the discovery node. Effect of the Invention

[0013] According to the present invention, when creating a remote copy pair between a primary site and a secondary site of a storage system, the operating costs of the storage system can be reduced, and further, adverse effects on performance when executing remote copy processing can be prevented. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a conceptual diagram showing an overview of a storage system 101 according to an embodiment of the present invention. [Diagram 2] FIG. 2 illustrates an example of the physical configuration of a storage system 101. [Diagram 3]FIG. 2 is a conceptual diagram showing an overview of a remote copy configuration in the storage system 101. [Figure 4] 1 is a conceptual diagram showing an overview of I / O request processing in the storage system 101. FIG. [Diagram 5] FIG. 2 is a conceptual diagram showing an overview of recovery processing from a node failure in the storage system 101. [Figure 6] FIG. 2 is a diagram showing an example of information held in a memory 212. [Figure 7] FIG. 6 illustrates an example of a system configuration management table 611. [Figure 8] 13 shows an example of a pair configuration management table 612. FIG. [Figure 9] FIG. 11 is a sequence diagram illustrating an example of a processing procedure for a path creation process. [Figure 10] FIG. 11 is a sequence diagram showing an example of a processing procedure of a write process including a first node failure recovery process. [Figure 11] FIG. 11 is a sequence diagram showing an example of a processing procedure of a write process including a second node failure recovery process. [Figure 12] FIG. 11 is a sequence diagram illustrating an example of a processing procedure for remote copy processing. [Figure 13] FIG. 11 is a sequence diagram illustrating an example of a processing procedure for a path change process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

[0016] In the following description, an "interface apparatus" may be one or more communication interface devices. The one or more communication interface devices may be one or more homogeneous communication interface devices (e.g., one or more NICs (Network Interface Cards)) or two or more heterogeneous communication interface devices (e.g., a NIC and an HBA (Host Bus Adapter)).

[0017] In the following description, a "memory" refers to one or more memory devices, which are an example of one or more storage devices, and may typically be a primary storage device. At least one memory device in the memory may be a volatile memory device or a non-volatile memory device.

[0018] In the following description, a "persistent storage device" may be one or more persistent storage devices, which are an example of one or more persistent storage devices. The persistent storage device may typically be a non-volatile storage device (e.g., an auxiliary storage device), and specifically may be, for example, a hard disk drive (HDD), a solid state drive (SSD), or a non-volatile memory express (NVMe) drive.

[0019] Also, in the following description, a "processor" may be one or more processor devices. The at least one processor device may typically be a microprocessor device such as a CPU (Central Processing Unit), but may also be other types of processor devices such as a GPU (Graphics Processing Unit). The at least one processor device may be a single-core or multi-core. The at least one processor device may be a processor core. The at least one processor device may also be a processor device in a broader sense, such as a hardware circuit that performs part or all of the processing (e.g., an FPGA (Field-Programmable Gate Array), a CPLD (Complex Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit)).

[0020] In the following description, information that provides an output for an input may be described using expressions such as "xxx table," but the information may be data of any structure (for example, structured data or unstructured data), or may be a neural network that generates an output for an input, or a learning model such as a genetic algorithm or random forest. Therefore, the "xxx table" may be referred to as "xxx information." In the following description, the configuration of each table is an example, and one table may be divided into two or more tables, or all or part of two or more tables may be one table.

[0021] In addition, in the following description, the processing may be described with a "program" as the subject, but since the program is executed by a processor to perform a defined process using a storage device and / or an interface device, etc. as appropriate, the subject of the processing may be the processor (or a device such as a controller having the processor). The program may be installed in a device such as a computer from a program source. The program source may be, for example, a program distribution server or a computer-readable (e.g., non-transitory) recording medium. In the following description, two or more programs may be realized as one program, and one program may be realized as two or more programs.

[0022] In the following description, when elements of the same kind are described without distinction, a common part (part excluding the branch number) of the reference code including the branch number may be used, and when elements of the same kind are described with distinction, a reference code including the branch number may be used. For example, when a node is described without distinction, it may be described as "node 210", and when each node is described with distinction, it may be described as "node 210a", "node 210b", etc. In addition, as another description method when elements of the same kind are described with distinction, an ID (e.g., an identification number) of the element may be used. Specifically, for example, the above-mentioned "node 210a" and "node 210b" may be described as "node 1" and "node 2". Furthermore, by adding v to the name of an element possessed by node v (v is an integer equal to or greater than 0), it is possible to distinguish which node the element belongs to (or which node the element corresponds to).

[0023] (1) System configuration and overview Fig. 1 is an image diagram showing an overview of a storage system 101 according to an embodiment of the present invention. Fig. 1 shows an overview when a remote copy pair is set between a volume 102x in a site 201a and a volume 102y in a site 201b in the storage system 101. The following describes, with reference to Fig. 1, an example in which a remote copy pair 103 is set with the site 201a as the primary site, its volume 102x as the PVOL, the site 201b as the secondary site, and its volume 102y as the SVOL.

[0024] The storage system 101 is configured to have a primary site 201a and a secondary site 201b, and an independent storage cluster is configured in each site including a plurality of nodes 210 and a shared database 105 that stores configuration information shared between the nodes in the site. The number of nodes that configure the storage cluster may be different between the primary site 201a and the secondary site 201b. For convenience of illustration, FIG. 1 illustrates only the shared database 105 in the secondary site 201b, and omits the shared database 105 in the primary site 201a. The user 100 configures a volume pair formed as a remote copy pair between the primary site 201a and the secondary site 201b in accordance with the procedure illustrated in FIG. 1.

[0025] A description will now be given of step (1) shown in Fig. 1. Note that, although step (1) will be described as processing by the user 100, it may also be executed by a program stored in the storage system 101.

[0026] In step (1), the user 100 instructs the primary site 201a to create a volume 102x that will be a PVOL, and instructs the secondary site 201b to create a volume 102y that will be an SVOL. The volume creation instruction may be issued to any node in the site, and the storage system 101 (more specifically, the active SCS 501 of the node 210 that received the instruction to create the volume 102y (or another node 210 that received the transferred instruction)) creates the volume 102 in a suitable node 210, taking into consideration the capacity usage rate and processing load of each node in the site. For example, the storage system 101 creates the volume 102 in a node with a low capacity usage rate and a low processing load. In FIG. 1, the storage system 101 creates the PVOL 102x in the node 210x in the primary site 201a, and creates the SVOL 102y in the node 210y in the secondary site 201b. The SCS 501 is storage control software (SCS) in which a processor executes a predetermined program, and the predetermined program includes a storage program 620 shown in Fig. 6, which will be described later. A pair of SCSs 501, an active and a standby, exist in each node 210. Details of the SCS 501 will be described later with reference to Fig. 5.

[0027] Step (2) shown in FIG. 1 will now be described.

[0028] In step (2), first, the user 100 instructs the primary site 201a to set a communication path for remote copy. At this time, the user 100 specifies the identifiers (PVOL ID, SVOL ID) of the PVOL and SVOL for which a remote copy pair is to be created, and the communication destination address (e.g., IP address and port number) of the discovery node (node ​​210z in FIG. 1) of the secondary site 201b. The discovery node is a node that has a function of responding with node information of the node 210 having a volume at its own site in response to an inquiry. For example, when the primary site 201a inquires about information from the discovery node 201z of the secondary site 201b, the discovery node 201z has a function of returning node information of the node that has ownership of the SVOL (SVOL owner node). The role of the discovery node may be shared by the SVOL owner node, or multiple nodes may have the function of the discovery node. When node 210x of the primary site 201a receives the user instruction, the node 210x queries the discovery node (node ​​210z) of the secondary site 201b specified by the user 100 for information about the node that has ownership (control) of the SVOL (step (2-a)).

[0029] In addition, the primary site 201a of the storage system 101 may also include a discovery node having a function of returning node information of a node (PVOL owner node) having ownership of a PVOL of its own site (primary site) in response to an inquiry, similar to the discovery node of the secondary site 201b. With such a configuration, each site can obtain node information of a node having ownership of a volume paired with a volume in its own site from the discovery node of the other site, regardless of which node of the other site is inquired of.

[0030] Next, node 210z in the secondary site 201b (more specifically, SCS 501 of node 210z) that receives the inquiry obtains node information that has ownership of the SVOL from the shared database 105 that stores configuration information within the site, and returns it to node 210x in the primary site 201a (step (2-b)).

[0031] Next, node 210x having ownership of the PVOL of the primary site 201a sets up a communication path 104 with node 210y having ownership of the SVOL of the secondary site 201b, whose node information was obtained in step (2-b) (step (2-c)).

[0032] Finally, the storage clusters of the primary site 201a and the secondary site 201b register in the shared database 105 in each site that PVOL 102x and SVOL 102y are a remote copy pair 103, completing the remote copy pair setting between PVOL and SVOL (step (2-d)).

[0033] The above-mentioned procedure (2) and the associated processing may be performed from the secondary site 201b to the primary site 201a when the user 100 instructs the secondary site 201b to set a communication path for remote copy. In this case, a node at the secondary site 201b inquires of a node at the primary site 201a about node information having ownership of PVOL, and the secondary site 201b sets a communication path between the nodes having ownership of PVOL and SVOL.

[0034] Fig. 2 is a diagram showing an example of the physical configuration of the storage system 101. As shown in Fig. 2, the storage system 101 may be provided with one or more sites 201.

[0035] Each site 201 is communicably connected via a network 202. The network 202 is, for example, a wide area network (WAN), but is not limited to a WAN. The site 201 is a data center or the like, and is configured to include one or more nodes 210.

[0036] The node 210 may have the configuration of a general server computer. The node 210 is configured to include, for example, one or more processor packages 213 including a processor 211 and a memory 212, one or more drives 214, and one or more ports 215. These components are connected via an internal bus 216.

[0037] The processor 211 is, for example, a CPU (Central Processing Unit), and performs various types of processing.

[0038] The memory 212 stores control information and data necessary for implementing the functions of the node 210. The memory 212 also stores, for example, a program executed by the processor 211. The memory 212 may be a volatile dynamic random access memory (DRAM), a non-volatile storage class memory (SCM), or another storage device.

[0039] The drive 214 stores various data, programs, etc. The drive 214 may be a hard disk drive (HDD) or solid state drive (SSD) connected with a serial attached SCSI (SAS) or serial advanced technology attachment (SATA), an SSD connected with a non-volatile memory express (NVMe), an SCM, or a drive box equipped with multiple HDDs or SSDs, and is an example of a storage device.

[0040] The port 215 is connected to a network 220, and communicably connects the node itself to other nodes 210 within the site 201 via the network 220. The network 220 is, for example, a LAN (Local Area Network), but is not limited to a LAN.

[0041] The physical configuration of the storage system 101 is not limited to the above. For example, the networks 202 and 220 may be made redundant. For example, the network 220 may be separated into a management network and a storage network, the connection standard may be Ethernet (registered trademark), Infiniband, or wireless, and the connection topology is not limited to the configuration shown in Fig. 2. For example, the drive 214 may be configured independent of the node 210.

[0042] Fig. 3 is an image diagram showing an overview of a remote copy configuration in the storage system 101. To be more specific, Fig. 3 shows an overview when a remote copy pair is constructed between a plurality of volumes in the storage system 101 between the primary site 201a and the secondary site 201b.

[0043] In the case of FIG. 3, two consistency groups 301a and 301b are constructed between the primary site 201a and the secondary site 201b. The consistency group is composed of multiple remote copy pair volumes, and multiple volumes of the primary site in the consistency group are copied to the secondary site while maintaining consistency. Specifically, update differential data up to the same time for multiple volumes 102 in the consistency group 301 is copied to the secondary site 201b. In addition, control of the consistency group (consistency control) is managed by a journal volume (JNL). In the journal volume, update differential data of multiple PVOLs is stored together with metadata such as the write time. When transferring data of PVOL to the secondary site 201b, the storage cluster of the primary site 201a transfers update differential data up to the same time of the update differential data of multiple PVOLs written in the journal volume to the secondary site 201b. This allows copying to the SVOL of the secondary site 201b while maintaining consistency of update times between multiple PVOLs.

[0044] 3, the consistency group 301a copies data to volumes 102i and 102j (i.e., SVOLs 102i and 102j of the consistency group 301c) in node 210d of the secondary site 201b while maintaining the consistency of volumes 102a and 102b in node 210a of the primary site 201a. The consistency group 301b copies data to volume 102l in node 210e of the secondary site 201b and volume 102n in node 210f (i.e., SVOLs 102l and 102n of the consistency group 301d) while maintaining the consistency of volume 102d in node 210b of the primary site 201a and volume 102f in node 210c.

[0045] As can be seen from the specific configurations described above, a consistency group 301 may be made up of volumes in a specific node within a site, or may be made up of volumes in multiple nodes within a site.

[0046] Also, although not shown in the figure, in the storage system 101, a remote copy pair may be constructed by directly associating PVOL and SVOL without a journal volume, in which case update differential data to the PVOL is transferred directly to a node having SVOL without going through a journal volume and written to the SVOL. When PVOL and SVOL are directly paired in this way, the update differential data from PVOL to SVOL is reflected without going through a journal volume, so the update differential data of PVOL can be reflected to SVOL at high speed. For this reason, this is useful in cases where remote copying is performed in synchronization with I / O processing from a host. On the other hand, when PVOL and SVOL are directly paired, there is no journal volume, so consistency control such as reflecting update differential data up to the same time in SVOL is not possible.

[0047] Fig. 4 is an image diagram showing an overview of I / O request processing in the storage system 101. To be more specific, Fig. 4 shows an overview of I / O processing in a state in which a remote copy pair is established between PVOL 102a of the primary site 201a and SVOL 102d of the secondary site 201b in the storage system 101.

[0048] First, an application 402 running on a host 401 issues a write request to a node 210a to write data 403a (data A) and data 403b (data B) to a PVOL 102a. The node 210a that receives the write request writes data A and data B to a PVOL 102a, and further writes data A and data B to a journal volume 102b (JNL1) as update differential data.

[0049] Next, the node 210a transfers the update difference data written in the journal volume 102b to the journal volumes 102c and 102e of the secondary site 201b. At this time, if multiple communication paths are established between the primary site 201a and the secondary site 201b, any of the communication paths may be used for data transfer. Normally, the node 210a of the primary site 201a transfers the update difference data to the node 210d that has ownership of the SVOL 102d paired with the PVOL 102a. However, if a failure occurs in the communication path that has ownership, the update difference data may be transferred to a node 210e or the like that does not have ownership. For example, when node 210a of the primary site 201a transfers update differential data to node 210e of the secondary site 201b which does not have ownership, node 210e of the secondary site 201b transfers the received update differential data to node 210d which has ownership, and node 210d writes the transferred update differential data to journal volume 102c.

[0050] Next, the node 210d periodically writes the update difference data written in the journal volume 102c of the secondary site 201b to the SVOL 102d. Then, the data 403a (data A) and 403b (data B) written to the SVOL 102d are written to the drive 214a via the storage pool 404a. When the configuration of the drive 214a is a direct attached storage (DAS) in which the node (server) and the drive are connected one-to-one, the data is written to a local drive (drive 214a) mounted on the node 210d. By writing all the data to be written to the SVOL 102d to the drive 214a of the node 210d having the ownership of the SVOL 102d in this way, when reading the data from the SVOL 102d later, it is not necessary to read the data from another node. This allows the storage system 101 to eliminate inter-node transfer processing and realize high-speed reading processing.

[0051] In addition, in the storage pool 404 (for example, the storage pool 404a), storage functions such as thin provisioning, compression, and deduplication are provided, and processing of the storage functions required for the written data is executed. Furthermore, in order to protect data from node failure when writing to the drive 214a, the storage system 101 also writes redundant data of the data to be written (data A, B) to the drive 214b of another node (for example, the node 210e, which is a standby node). Regarding writing of redundant data, if the data protection policy is replication, the storage system 101 writes a replica of the write data as redundant data to the drive 214b. On the other hand, if the data protection policy is erasure coding, the storage system 101 calculates parity from the write data, and writes the calculated parity as redundant data to the drive 214b.

[0052] Also, in FIG. 4, the internal configuration of nodes 210b, 210c, and 210f is omitted, but each of these nodes 210 may also have a PVOL and an SVOL, similar to the above-mentioned nodes 210a, 210d, and 210e, and process I / O from host 401.

[0053] In addition, the I / O processing flow shown in Figure 4 is an example of push-type I / O processing in which data is distributed from the primary site 201a to the secondary site 201b, but the storage system 101 can also execute pull-type I / O processing in which data is read from the secondary site 201b to the primary site 201a.

[0054] Fig. 5 is an image diagram showing an overview of recovery processing from a node failure in the storage system 101. More specifically, Fig. 5 shows an overview of recovery processing when a node failure occurs in the secondary site 201b in a state in which a remote copy pair is constructed between the volumes of the primary site 201a and secondary site 201b in the storage system 101. The node failure referred to in this explanation is a failure that requires a change in the path setting.

[0055] In the storage system 101 shown in FIG. 5, in each node 210 (210d, 210e, 210f), storage control software (SCS) 501 for processing various storage functions such as I / O processing, thin provisioning, compression, and deduplication is operated. In each node 210, storage control software 501 of an active system that normally executes processing and storage control software 501 of a standby system are operated. Specifically, in the case of FIG. 5, storage control software (active) 501a and storage control software (standby) 501f are operated in node 210d, storage control software (active) 501b and storage control software (standby) 501c are operated in node 210e, and storage control software (active) 501e and storage control software (standby) 501d are operated in node 210f. The node 210 on which the active storage control software 501 operates is called an active node, and the node on which the standby storage control software 501 operates is called a standby node.

[0056] The active and standby storage control software 501 form a pair (in FIG. 5, SCSs with the same subscripts 1, 2, and 3 form a pair). Normally, storage control software (active) 501a, 501c, and 501e process I / O requests and storage functions, and if the active storage control software stops due to a failure, the paired standby storage control software is promoted to active and takes over the processing.

[0057] The process of recovering from a node failure will be described using the specific example shown in FIG.

[0058] Storage control software (active) 501a runs on node 210d, and paired storage control software (standby) 501b runs on node 210e. In addition, node 210d included in the secondary site 201b has SVOL 102h that forms a remote copy pair with PVOL 102a of node 210a of the primary site 201a.

[0059] In order to take over the remote copy pair information of the node 210d, the node 210e has a copy of the configuration information of the SVOL 102h and journal volume 102g of the node 210d. The node 210e also stores in the drive 214d redundant data of the data written to the drive 214a of the node 210d. Furthermore, the node 210e has established a communication path with the node 210a of the primary site 201a.

[0060] For example, when node 210d stops due to a failure, node 210e that detects the failure takes over the processing of storage control software (active) 501a of node 210d, promotes storage control software (standby) 501b to active, communicates with node 210a of primary site 201a, and continues remote copy processing between PVOL102a and SVOL102h. That is, when node 1 (node ​​210d) of secondary site 201b stops due to a failure, storage system 101 fails over the control of SCS1 to SCS1 (SCS501b) of node 2 that is paired with SCS1 (SCS501a) of node 1. In this way, in storage system 101, even if a node failure occurs in secondary site 201b, secondary site 201b can continue remote copy processing with primary site 201a.

[0061] Fig. 6 is a diagram showing an example of information held in the memory 212. The information shown in Fig. 6 includes information read from the drive 214 to the memory 212. Specifically, the various tables included in the control information table 610 and the various programs included in the storage program 620 are deployed on the memory 212 during execution of the process in which they are used, but at other times, they are stored in a non-volatile storage area such as the drive 214 in preparation for a power outage or the like.

[0062] The control information table 610 includes a system configuration management table 611 and a pair configuration management table 612. Details of each table will be described later with reference to FIGS.

[0063] The storage program 620 includes a path creation processing program 621, a node failure recovery processing program 622, a data transfer processing program 623, a path change processing program 624, an I / O processing program 625, and an owner migration processing program 626. Each program constituting the storage program 620 is an example of a program used when various functions of the node 210 (path creation, node failure recovery, data transfer, path change, owner migration processing) are realized by software (storage control software 501), and specifically, the processor 211 reads these programs stored in the drive 214 into the memory 212 and executes them to realize them. In the storage system 101 according to this embodiment, the various functions of the node 210 may be realized by hardware such as a dedicated circuit having a function corresponding to each of the above-mentioned programs, or may be realized by a combination of software and hardware. Also, some of the various functions of the node 210 may be realized by another computer capable of communicating with the node 210.

[0064] 7 is a diagram showing an example of the system configuration management table 611. The system configuration management table 611 stores information for managing the configuration of the nodes 210, drives 214, and ports 215 within the site 201.

[0065] The system configuration management table 611 includes a node configuration management table 710, a drive configuration management table 720, and a port configuration management table 730. The storage system 101 manages, for each site 201, the node configuration management table 710 for the multiple nodes 210 present in each site 201, and the node 210 manages the drive configuration management table 720 and the port configuration management table 730 for the multiple drives 214 within its own node 210.

[0066] A node configuration management table 710 is provided for each site 201, and stores information indicating the configuration related to the nodes 210 provided in the site 201 (such as the relationship between the nodes 210 and the drives 214). More specifically, the node configuration management table 710 stores information in which a node ID 711, a state 712, a drive ID list 713, and a port ID list 714 are associated with each other.

[0067] The node ID 711 is identification information capable of identifying the node 210. The status 712 is status information (e.g., NORMAL, WARNING, FAILURE, etc.) indicating the status of the node 210. The drive ID list 713 is identification information capable of identifying the drive 214 provided in the node 210. The port ID list 714 is identification information capable of identifying the port 215 provided in the node 210.

[0068] The drive configuration management table 720 is provided for each node 210, and stores information indicating the configuration related to the drives 214 provided in the node 210. More specifically, the drive configuration management table 720 stores information in which a drive ID 721, a status 722, and a size 723 are associated with each other.

[0069] The drive ID 721 is identification information capable of identifying the drive 214. The status 722 is status information (for example, NORMAL, WARNING, FAILURE, etc.) indicating the status of the drive 214. The size 723 is information indicating the capacity of the drive 214 (for example, TB (terabytes) or GB (gigabytes)).

[0070] The port configuration management table 730 is provided for each node 210, and stores information indicating the configuration related to the ports 215 provided in the node 210. More specifically, the port configuration management table 730 stores information in which a port ID 731, a state 732, and an address 733 are associated with each other.

[0071] The port ID 731 is identification information capable of identifying the port 215. The status 732 is status information (for example, NORMAL, WARNING, FAILURE, etc.) indicating the status of the port 215. The address 733 is information indicating an address (identification information) on the network assigned to the port 215. The address may be in the form of an IP (Internet Protocol), a WWN (World Wide Name), a MAC (Media Access Control) address, etc.

[0072] 8 is a diagram showing an example of the pair configuration management table 612. The pair configuration management table 612 stores information for managing the configuration of the volumes 102, remote copy pairs 103, and communication paths 104 of the remote copy pairs in the site 201.

[0073] The pair configuration management table 612 includes a volume management table 810, a pair management table 820, and a path management table 830. In the storage system 101, the node 210 in the site 201 stores information on the volume management table 810, the pair management table 820, and the path management table 830 in the shared database 105, and this information can be obtained from any node 210 in the site 201.

[0074] The volume management table 810 stores information indicating the configuration related to the volume 102. More specifically, the volume management table 810 stores information in which a volume ID 811, an owner node ID 812, a retreat destination node ID 813, a size 814, and an attribute 815 are associated with each other.

[0075] The volume ID 811 is identification information capable of identifying the volume 102. The owner node ID 812 is information indicating the node 210 having ownership of the volume 102. The fallback node ID 813 is information indicating the node 210 that takes over processing in the event of a failure of the node 210 having ownership of the SVOL. The size 814 is information indicating the capacity of the volume 102 (for example, TB (terabytes) or GB (gigabytes)). The attribute 815 is information indicating the attribute of the volume 102, and includes normal VOL (volume), PVOL (Primary Volume), SVOL (Secondary Volume), JNLVOL (Journal Volume), etc.

[0076] The pair management table 820 stores information indicating a configuration related to the remote copy pair 103. More specifically, the pair management table 820 stores information in which a pair ID 821, a primary journal volume ID 822, a primary volume ID 823, a secondary journal volume 824, a secondary volume ID 825, a path ID 826, and a status 827 are associated with each other.

[0077] The pair ID 821 is identification information capable of identifying the remote copy pair 103. The primary journal volume ID 822 is the ID of the volume 102 that records journal information on the primary site 201a side of the remote copy pair 103. The primary volume ID 823 is the ID of the volume 102 that is the copy source on the primary site 201a side of the remote copy pair 103. The secondary journal volume 824 is the ID of the volume 102 that records journal information on the secondary site 201b side of the remote copy pair. The secondary volume ID 825 is the ID of the volume 102 that is the copy destination on the secondary site 201b side of the remote copy pair. The path ID 826 is identification information capable of identifying the communication path 104 for executing the remote copy process, and detailed information of the communication path 104 corresponding to the path management table 830 is stored. The status 827 is status information (for example, NORMAL, COPYING, SUSPEND, etc.) that indicates the status of the remote copy pair 103.

[0078] The path management table 830 stores information indicating the configuration related to the communication path 104 of the remote copy pair 103. More specifically, the path management table 830 stores information in which a path ID 831, protocol information 832, a destination address 833, an access policy 834, and a preferred path 835 are associated with each other.

[0079] The path ID 831 is identification information that can identify the communication path 104. The protocol information 832 is information that indicates the communication protocol of the communication path 104. The communication protocol of the communication path 104 may be iSCSI (Internet Small Computer System Interface), FC (Fibre Channel), NVMe-oF (NVMe over Fabrics), or a unique protocol specific to a vendor. The destination address 833 is information that indicates the address of the communication destination of the communication path 104. The access policy 834 is information that indicates a method of issuing requests to multiple communication destinations when multiple communication destinations are recorded in the destination address 833. For example, in the "symmetric" issuing method, requests are issued in a round robin manner to multiple paths, and in the "asymmetric" issuing method, a priority path is set and requests are issued only to the priority path. The priority path 835 is information that indicates a communication destination to which a request is issued preferentially when the access policy 834 is "asymmetric".

[0080] (2) Processing Representative processes executed in the storage system 101 having the above-mentioned configuration will be described with reference to the sequence diagrams shown in Fig. 9 to Fig. 13. Note that in the explanation of each sequence diagram, the process described mainly by the storage control software (SCS) 501 may be considered to be the process executed by any of the storage programs 620 called by the SCS 501 (programs called at the time of execution of the target process or before, which are clearly indicated in each explanation).

[0081] (2-1) Path creation process Fig. 9 is a sequence diagram showing an example of a processing procedure for path creation processing. The path creation processing corresponds to step (2) in Fig. 1. After the user 100 creates a PVOL and an SVOL that will be a remote copy pair as shown in step (1) in Fig. 1, when the storage system 101 receives an instruction (path creation instruction) from the user 100 to set a communication path between the primary site and the secondary site, the path creation processing program 621 is called in the storage control software 501 (501A to 501C) of each node 210 related to the instruction, and the processing shown in Fig. 9 is executed.

[0082] The path creation process (path creation process program 621) shown in Figure 9 is composed of processing by storage control software (SCS) 501A of the PVOL owner node at the primary site, processing by storage control software (SCS) 501C of the discovery node at the secondary site, and processing by storage control software 501B (SCS) of the SVOL owner node at the secondary site.

[0083] According to FIG. 9, first, the user 100 issues an instruction to create a path including the address of the port to which the discovery node of the secondary site is connected, the IDs of the paired PVOL and SVOL, and the cluster ID of the secondary site (step S901).

[0084] Next, when the node having ownership of the PVOL of the primary site (PVOL owner node) receives a path creation instruction from the user, the SCS 501A of that node calls the path creation processing program 621 (step S902).

[0085] Then, the SCS 501A queries the discovery node of the secondary site specified by the user for node information having ownership of the SVOL (step S903).

[0086] When the discovery node of the secondary site receives the node information inquiry of step S902, the SCS 501C of that node calls the path creation processing program 621, references the shared database between the nodes, and acquires information about the node that has ownership of the SVOL (step S904).

[0087] Furthermore, the SCS501C responds to the node of the primary site that originated the inquiry with the node information acquired in step S904 (step S905). The node information in the response may include information for multiple nodes, and may include, for example, information on the node that has ownership of the SVOL and information on a standby node that will take over processing if a failure occurs in that node. The node information also includes information necessary for connection and communication, such as the node ID, the WWN of the connection destination, IP address, port number, and security key.

[0088] Then, the node having ownership of the PVOL in the primary site receives a response from the discovery node in the secondary site (step S906).

[0089] Next, in step S907, a communication path connection is established between the node of the primary site and the node of the secondary site (login process). The login process in step S907 is specifically composed of the processes in steps S908 to S913.

[0090] In step S908, the SCS 501A issues a login request to the node corresponding to the node information acquired in step S906 (that is, the owner node of the SVOL at the secondary site).

[0091] In step S 909 , the login request issued in step S 908 is received by the SVOL owner node at the secondary site, and the SCS 501 B of that node calls the path creation processing program 621 .

[0092] In step S910, the SCS 501B checks the login request received in step S909, and if there are no problems with the parameters, sends a login completion notification to the PVOL owner node.

[0093] In step S911, SCS501A, the PVOL owner node of the primary site, receives a login completion notification from the SVOL owner node of the secondary site. The login response includes node information of the SVOL owner node of the secondary site. Specifically, it includes the WWN and IP address of the connection destination port, port number, cluster ID of the secondary site, etc.

[0094] In step S912, the SCS 501A compares the input information from the user 100 received in step S902 with the login response information received in step S911, and verifies that the information matches.

[0095] In step S913, if the comparison in step S912 shows that the login response information matches the input information from the user 100, the SCS 501A determines that it has been possible to log in to the correct connection destination, and enables the established communication path as a communication path for remote copy. On the other hand, if the comparison in step S912 shows that the login response information does not match the input information from the user 100, the SCS 501A determines that the connection destination is incorrect, logs out, and responds to the user 100 that the path creation operation is an error.

[0096] As described above, when a redundant path is created in the storage system 101, a login process is also executed for the node that is the redundancy destination of the SVOL that is paired with the PVOL.

[0097] In step S914 after the login process in step S907 (steps S908 to S913) has been normally completed, the SCS 501A notifies the user 100 of the completion of the path creation operation.

[0098] Then, in step S915, user 100 receives the completion of the path creation operation sent from the PVOL owner node of the primary site in step S914, and the path creation process is now complete.

[0099] (2-2) Node failure recovery process The process of recovery from a node failure (node ​​failure recovery process) explained with reference to Fig. 5 will be explained in detail by exemplifying two processing procedures, namely, first and second procedures. In the node failure recovery process, the storage control software 501 (501A, 501D, 501E) of each node 210 involved in the process calls and executes the respective node failure recovery processing programs 622.

[0100] Fig. 10 is a sequence diagram showing an example of a processing procedure of a write process including a first node failure recovery process. The first node failure recovery process shown in Fig. 10 is characterized in that when a failure occurs in the SVOL owner node (active) at the secondary site, the destination of the command is switched to the fallback destination node (SVOL owner node (standby)) by using a communication path (fallback path) set up in advance between the PVOL owner node (active) at the primary site and the SVOL owner node (active) at the secondary site.

[0101] The processing of steps S1001 to S1005 shown in the upper part of Fig. 10 is a write process that is executed before a node failure occurs (when no node failure occurs). When data is written from the host to the PVOL of the primary site, the SCS 501A of the PVOL owner node calls the I / O processing program 625 to write the write data to the PVOL, and then calls the data transfer processing program 623 to execute the processing of steps S1001 to S1005.

[0102] 10 is a write process executed when a failure occurs in the SVOL owner node of the secondary site, and a first node recovery process is executed to recover from the node failure. More specifically, the process of steps S1006 to S1009 is executed by the node failure recovery process program 622, and the process of steps S1010 to S1014 is executed by the data transfer process program 623.

[0103] The processing of the data transfer processing program 623 shown in Fig. 10 and Fig. 11 described later is a data transfer processing in which the PVOL and SVOL are directly paired and update differential data is reflected synchronously with the I / O processing of the host. In addition to such a data transfer method, the data transfer processing program 623 of this embodiment may also execute an asynchronous data transfer processing via a journal volume, the details of which will be described later with reference to Fig. 12. The node failure recovery processing shown in Fig. 10 and Fig. 11 can be combined with any of the above data transfer processing.

[0104] In the first node failure recovery process by the node failure recovery process program 622, the processing of the SVOL is handed over to the standby node that will take over the processing of the SVOL, and the primary site switches the destination of the command to the standby node that was set in advance as the fallback path. This allows remote copy processing to continue even if a failure occurs in a node in the secondary site.

[0105] The processing before the occurrence of a node failure shown in the upper part of FIG. 10 (steps S1001 to S1005) will be described in detail.

[0106] First, when the PVOL owner node at the primary site receives a write request from the host, the SCS 501A of the PVOL owner node writes write data to the PVOL, and then in step S1001, the SCS 501A transfers the update difference data for the PVOL to the SVOL owner node (active) at the secondary site.

[0107] In step S1002, when the SVOL owner node (active) at the secondary site receives the update difference data sent from the PVOL owner node at the primary site in step S1001, the SCS 501D of that SVOL owner node (active) calls the data transfer processing program 623.

[0108] In step S1003, the SCS 501D writes the update difference data received in step S1002 to the SVOL, and in step S1004, the SCS 501D responds to the PVOL owner node of the primary site to notify that the update difference data has been reflected in the SVOL.

[0109] Then, in step S1005, when the PVOL owner node of the primary site receives the response (completion notification) of step S1004, the SCS 501A of the PVOL owner node determines that the data transfer has ended normally and ends the data transfer processing.

[0110] Next, a detailed explanation will be given of the process (steps S1001 to S1002, S1006 to S1014) when a node failure occurs, which is shown in the lower part of Fig. 10. Here, the process procedure is shown when a failure occurs in the active SVOL owner node during a write process from PVOL to SVOL.

[0111] Specifically, in step S1001, when the PVOL owner node at the primary site receives a write request from the host, SCS501A of the PVOL owner node writes write data to the PVOL, and then transfers the update difference data for the PVOL to the SVOL owner node (active) at the secondary site. Then, in step S1002, the SVOL owner node (active) at the secondary site receives the update difference data sent from the PVOL owner node at the primary site. After this, it is assumed that a failure occurs in the SVOL owner node (active) that disables communication.

[0112] In this case, in step S1006, the SCS 501E of the SVOL owner node (standby) linked to the SVOL owner node (active) of the secondary site where the failure occurred detects the failure of the SVOL owner node (active). As a method of detecting a failure, for example, the SVOL owner node (standby) regularly performs heartbeat communication with the SVOL owner node (active) and detects the failure when the heartbeats are no longer received.

[0113] In step S1007, the SCS501E executes failover processing to take over the processing of the SVOL owner node (active). In the failover processing, the redundant processing state of the takeover source is loaded into the memory of the process on the standby node, the processing authority of each process on the standby node is set to the same as that of the active node, and processing is resumed. Setting the processing authority of each process specifically means setting the ownership of each SVOL, processing of the storage function, and redundancy processing to be processed by the standby node.

[0114] In step S1008, SCS 501A of the PVOL owner node of the primary site is unable to receive the reflection completion notification for the update differential data sent to the SVOL of the secondary site in step S1001, and detects a timeout.

[0115] In this case, in step S1009, SCS 501A switches the transfer destination of the update differential data to the back-up path set up with the SVOL owner node (standby). In the first node failure recovery processing, the back-up path is set in advance before execution of path creation processing program 621. That is, before the node failure occurred, a main path was set up with the PVOL owner node at the primary site between the SVOL owner node (active) at the secondary site, and a back-up path was set up with the SVOL owner node (standby) at the secondary site, and in step S1009, switching from the main path to the back-up path is performed.

[0116] Thereafter, when the PVOL owner node at the primary site receives a write request from the host, in step S1010, SCS 501A writes the write data to the PVOL, and then transfers the update differential data to the PVOL to the SVOL owner node (standby) at the secondary site using the backup path switched in step S1009. That is, in step S1010, a retry is performed to transfer the write data (strictly speaking, the update differential data) to the PVOL.

[0117] In step S1011, the SVOL owner node (standby) at the secondary site receives the update difference data sent from the PVOL owner node at the primary site.

[0118] In step S1012, the SCS 501E, which is the SVOL owner node (standby), writes the update difference data received in step S1011 to the SVOL.

[0119] In step S1013, the SCS 501E responds to the PVOL owner node of the primary site to the effect that the update differential data has been reflected in the SVOL.

[0120] Then, in step S1014, the PVOL owner node of the primary site receives the response (completion notification) of step S1004, and the SCS 501A of the PVOL owner node considers the data transfer to have ended normally and ends the data transfer processing.

[0121] By executing the data transfer process via the node failure recovery process as described above, even if a node failure occurs in the SVOL owner node (active) at the secondary site, the update difference data of the write data written to the PVOL can be written to the SVOL of the SVOL owner node (standby) that has been promoted from standby to active.

[0122] FIG. 11 is a sequence diagram showing an example of a processing procedure of a write process including a second node failure recovery process. The second node failure recovery process included in FIG. 11 is characterized in that, when a failure occurs in the SVOL owner node (active) of the secondary site, node information of the SVOL owner node (standby) that has taken over the processing of the failed SVOL owner node (active) is acquired, and the communication path is dynamically reconfigured to the node (i.e., the retreat destination node) indicated by the acquired node information, to switch the destination of the command. This allows remote copy processing to continue even if a failure occurs in a node in the secondary site. The processing shown in FIG. 11 includes processing similar to the first node failure recovery processing described in FIG. 10, but detailed description of this will be omitted and only the differences will be described.

[0123] 11, the processes before step S1101 (steps S1001, S1002, S1008) are the same as the processes before step S1010 shown in the lower part of FIG. 10. To put it simply, the PVOL owner node at the primary site receives a write request from the host, and its SCS501A calls data transfer processing program 623 to transfer the update difference data for the PVOL to the SVOL owner node (active) at the secondary site (step S1001). Then, in the SVOL owner node (active) at the transfer destination secondary site, SCS501D calls data transfer processing program 623 (step S1002). If a failure occurs in the SVOL owner node (active) that disables communication thereafter, SCS501A of the PVOL owner node at the primary site detects a timeout (step S1008).

[0124] 11, the processes of steps S1101 to S1104 (or up to step S907) correspond to the second node failure recovery process, and are executed by the node failure recovery process program 622. The process of step S907 is executed by the path creation process program 621 as described in FIG.

[0125] In step S1101, SCS 501A, the PVOL owner node at the primary site, queries the discovery node at the secondary site for node information of the SVOL owner node (standby).

[0126] In step S1102, the SCS 501C of the discovery node in the secondary site that received the inquiry in step S1101 acquires node information related to the SVOL owner node (standby) from the shared database between the nodes in the secondary site.

[0127] In step S1103, the SCS 501C returns the node information of the SVOL owner node (standby) acquired in step S1102 to the PVOL owner node of the primary site.

[0128] In step S1104, the PVOL owner node at the primary site receives the node information of the SVOL owner node (standby) from the secondary site as a response.

[0129] Thereafter, in step S907, the SCS 501A of the PVOL owner node of the primary site calls the path creation processing program 621 to establish a communication path with the SVOL owner node (standby) node. Detailed processing of step S907 is as described in FIG.

[0130] By completing the process of step S907, a communication path is set from the PVOL owner node of the primary site to the SVOL owner node (standby) which is the retreat destination node. Therefore, thereafter, by performing the processes of steps S1010 to S1014 as in the case of Fig. 10, the update differential data to the PVOL can be reflected in the SVOL even when the second node failure recovery process is executed.

[0131] Although the above-mentioned first and second node failure recovery processes are described as node failure recovery processes when a failure occurs in a node in a secondary site, if the primary site and secondary site are interchanged, the storage system 101 can execute node failure recovery processes in the same way when a failure occurs in a node in the primary site. The interchange of the primary site and secondary site can also be considered in the above-mentioned path creation process and the below-mentioned path change process.

[0132] (2-3) Remote copy processing Fig. 12 is a sequence diagram showing an example of a processing procedure for remote copy processing. Fig. 12 shows remote copy processing as an asynchronous data transfer processing via a journal volume (JNLVOL). The remote copy processing shown in Fig. 12 is configured by the processing of an I / O processing program 625 and a data transfer processing program 623.

[0133] In remote copy processing via a journal volume, update differential data for the PVOL at the primary site is recorded in the journal volume, and a node having a journal volume for the SVOL at the secondary site inquires of a node having a journal volume for the PVOL at the primary site about the update differential data, writes the obtained update differential data to the journal volume of the SVOL, and further reflects the update differential data from the journal volume of the SVOL to the SVOL body. By going via the journal volume, when multiple PVOLs and SVOLs are registered as remote copy pairs and belong to the same consistency group, consistency between multiple SVOLs can be maintained by reflecting the update differential data written to the journal volume to the SVOL up to the same time.

[0134] The remote copy process will now be described in detail with reference to FIG.

[0135] First, when the PVOL owner node at the primary site receives a write request from the host, SCS501A of the PVOL owner node calls the I / O processing program 625 and executes the processing of steps S1201 to S1202. Steps S1201 to S1202 show the write processing that is part of the I / O processing program 625, and when there is a write request from the host, write data is written to the PVOL and update difference data is written to the JNLVOL.

[0136] In step S1201, the SCS 501A writes write data from the host to the PVOL. In step S1202, the SCS 501A writes the write data to the PVOL to the JNLVOL of the PVOL together with metadata. The metadata includes the write time, the write destination PVOL ID, the write destination LBA (Logical Block Address), the transfer length of the write data, etc.

[0137] After the data is written to the PVOL of the primary site, the SCS 501A calls the data transfer processing program 623, and steps S1203 to S1208 are executed. Steps S1203 to S1208 may be started and executed every time an I / O process is completed, or may be executed periodically.

[0138] In step S1203, the SVOL owner node SCS 501B at the secondary site sends a journal read request to the corresponding PVOL owner node at the primary site.

[0139] In step S1204, the SCS 501A of the PVOL owner node at the primary site receives the journal read request from the SVOL owner node at the secondary site. In the next step S1205, the SCS 501A reads update difference data that has not been reflected in the SVOL from the journal volume and transfers it together with metadata to the SVOL owner node at the secondary site.

[0140] In step S1206, the SCS 501B receives the update difference data and metadata from the PVOL owner node of the primary site. In the next step S1207, the SCS 501B writes the update difference data and metadata received in step S1206 to the journal volume of the SVOL.

[0141] Then, in step S1208, SCS501B reads the update differential data and metadata from the journal volume of the SVOL and writes the update differential data to the SVOL. When multiple volumes form a remote copy pair, that is, when multiple volumes at each of the primary and secondary sites share one journal volume to execute remote copy processing, SCS501B references the metadata read from the journal volume of the secondary site in step S1208 and writes the update differential data up to the same time to multiple SVOLs. This makes it possible to realize remote copy processing that maintains consistency between multiple volumes.

[0142] (2-4) Path change processing Fig. 13 is a sequence diagram showing an example of the processing procedure of a path change process. When an SVOL or a journal volume is moved to another node in the same site due to a lack of capacity of a node or the like (or the ownership may be moved), the path change processing program 624 is called and the path change process shown in Fig. 13 is executed.

[0143] In the path change process, when ownership of the SVOL is moved from one node (the source SVOL node) to another node (the destination SVOL node), the storage control software (SCS) 501F of the source SVOL node notifies the primary site that ownership has been moved, and the storage control software (SCS) 501A of the node (the PVOL owner node) that has ownership of the PVOL at the primary site queries the secondary site for node information of the destination SVOL node and re-establishes the communication path to the node indicated by the obtained node information (i.e. the destination SVOL node).

[0144] The processing of steps S1301 to S1307 is processing for transferring the ownership of the SVOL at the secondary site, and is executed by the owner migration processing program 626.

[0145] In step S1301, the SCS 501F of the SVOL owner node at the secondary site starts the Ownership Migration of the SVOL. The Ownership Migration process starts when it is detected that the node has insufficient performance or capacity.

[0146] In step S1302, the SCS 501F of the SVOL node (source SVOL node) that is the source of ownership transfer within the secondary site transfers the SVOL data to the SVOL node (destination SVOL node) that is the destination of ownership transfer. If a write request is received from the host while data is being transferred, the write data is written to both the source SVOL node and the destination SVOL node.

[0147] In step S1303, the SCS 501G of the destination SVOL node in the secondary site receives the SVOL data of the source SVOL node from the source SVOL node and writes it to the SVOL of its own node.

[0148] In step S1304, when the SCS 501F of the source SVOL node of the secondary site has completed the transfer of all data of the SVOL, it transmits a notification of completion of transfer of all data to the destination SVOL node.

[0149] In step S1305, the destination SVOL node in the secondary site receives the transfer completion notification sent in step S1304.

[0150] In step S1306, the SCS 501F of the source SVOL node of the secondary site updates the control information of the SVOL of its own node to non-owner attributes.

[0151] In step S1307, the SCS 501G of the migration destination SVOL node in the secondary site updates the control information of the SVOL of its own node to the owner attribute.

[0152] By performing the above process, the destination SVOL node has ownership of the SVOL and processes any subsequent I / O requests from the host. Note that when the source SVOL node, which has a non-owner attribute, receives an I / O request from the host, the I / O request is forwarded from the source SVOL node to the destination SVOL node, where it is processed.

[0153] Also, if the cluster at the secondary site is configured using drive boxes shared between nodes, the data transfer process in steps S1302 to S1305 may be skipped. This is because each node can physically access data owned by any node, and ownership transfer can be achieved simply by updating the control information related to ownership in steps S1306 to S1307.

[0154] The processing of steps S1308 to S1313 is processing for changing the communication path between the PVOL owner node at the primary site and the SVOL node at the secondary site, and is executed by the path change processing program 624.

[0155] In step S1308, the SCS 501F of the source SVOL node at the secondary site notifies the PVOL owner node at the primary site that the current communication path is not optimal. Not optimal here means that a communication path has not been set to the new SVOL owner node (destination SVOL node). This notification may be included in the response to the I / O request from the host, or may be sent asynchronously with the host I / O request. This notification may also be replaced by disconnecting the communication path to the source SVOL node.

[0156] In step S1309, the PVOL owner node of the primary site receives a notification from the source SVOL node that the current communication path is not optimal.

[0157] In step S1310, the SCS 501A, which is the PVOL owner node in the primary site, queries the discovery node in the secondary site for information about the node that has ownership of the SVOL.

[0158] In step S1311, the SCS 501C of the discovery node at the secondary site acquires node information on the node having ownership of the SVOL (ie, the migration destination SVOL node) from the shared database between the nodes at the secondary site.

[0159] Then, in step S1312, the SCS 501C returns the node information acquired in step S1311 to the PVOL owner node of the primary site.

[0160] In step S1313, the PVOL owner node at the primary site receives node information regarding the SVOL owner node from the discovery node at the secondary site.

[0161] Then, SCS 501A, the PVOL owner node of the primary site, executes the login process in step S907 based on the received node information, thereby logging in to the destination SVOL node indicated by the node information and establishing a communication path.

[0162] By completing the processing of step S907 above, the PVOL owner node at the primary site can thereafter communicate with the destination SVOL node for remote copy data transfer. In other words, when storage system 101 changes the SVOL owner node at the secondary site, it can change the settings of the communication path between the PVOL owner node and the SVOL owner node by using the discovery node at the secondary site.

[0163] By executing each of the processes described above, storage system 101 according to this embodiment can inquire about information about the PVOL owner node or SVOL owner node between the primary site and secondary site when creating a remote copy pair, and can automatically set a communication path between the PVOL owner node and the SVOL owner node. Also, in storage system 101, each site records ownership information about the PVOL or SVOL in shared database 105 between nodes, so that the primary site or secondary site can obtain information about the node that has ownership of the paired volume by inquiring about any node at the other site.

[0164] Thus, according to the storage system 101 of this embodiment, when creating a remote copy pair at the primary site and the secondary site, it is possible to automatically set up a communication path between the nodes that have ownership of the paired volumes, thereby reducing the operating costs of the storage system and preventing adverse effects on performance when executing remote copy processing. [Explanation of symbols]

[0165] 100 users 101 Storage System 102 Volume (PVOL, SVOL, JNLVOL) 103 Remote Copy Pair 104 Communication Path 105 Shared Database 201 sites (main site, secondary site) 202,220 Network 210 nodes 211 Processor 212 Memory 213 processor package 214 Drive 215 Port 216 Internal Bus 401 Host 402 Application 403 Data 404 Storage Pool 501 Storage Control Software (SCS) 610 Control Information Table 611 System Configuration Management Table 612 Pair Configuration Management Table 620 Storage Program 621 Path creation processing program 622 Node failure recovery processing program 623 Data transfer processing program 624 Path change processing program 625 I / O processing program 626 Owner Migration Processing Program

Claims

1. A storage system including a primary site and a secondary site, each of which has a plurality of storage nodes, each of which has a processor package including a processor and a memory, and one or more drives, The storage nodes constituting the primary site include a primary volume owner node having a primary volume, The storage node constituting the secondary site includes a secondary volume owner node having a secondary volume paired with the primary volume, and a discovery node which responds to an inquiry with node information of a node having a volume in its own site, When setting a communication path for remote copy from the primary volume to the secondary volume, the storage node of the primary site inquires of a discovery node of the secondary site about node information of a node having the secondary volume that is paired with the primary volume; The discovery node responds to the received inquiry by sending node information of a node having the secondary volume; The primary volume owner node sets a communication path between the primary volume owner node and the secondary volume owner node, the communication path being used for remote copying of volume data from the primary volume to the secondary volume, based on the node information acquired from the discovery node. A storage system comprising:

2. each of the primary volume owner node and the secondary volume owner node has an active node that executes processing and a standby node that takes over processing when a failure occurs in the active node; In the setting of the communication paths, the communication paths are set between active nodes of the primary volume owner node and the secondary volume owner node, and a fallback path is set between the active nodes of the primary volume owner node and the secondary volume owner node and a standby node; When a failure occurs in either the primary volume owner node or the secondary volume owner node, The standby node takes over processing from the active node where the failure occurred; The communication path in the pair is switched to the fallback path to continue processing between the pair.

2. The storage system according to claim 1.

3. each of the primary site and the secondary site includes the discovery node; Each of the primary site and the secondary site includes a plurality of storage nodes, each of which includes an active node that executes processing and a standby node that takes over processing when a failure occurs in the active node; When a failure occurs in either the primary volume owner node or the secondary volume owner node, The standby node takes over processing from the active node where the failure occurred; sending a query from the active node of the non-failed site to the discovery node of the failed site for node information of the node that has taken over the process; The primary volume owner node reconfigures the communication path from the active node of the site where the failure has not occurred to the node that has taken over the processing based on the node information acquired from the discovery node, and continues the processing between the pair.

2. The storage system according to claim 1.

4. When a predetermined volume is moved between storage nodes in the same site in one of the primary site and the secondary site, An owner node of a volume at the other site that forms the pair with the predetermined volume re-establishes the communication path between the owner node and a destination node of the volume at the one site.

2. The storage system according to claim 1.

5. When a predetermined volume is moved between storage nodes in the same site in one of the primary site and the secondary site, a source node of the moved specified volume notifying an owner node of a volume at the other site that forms a pair with the moved specified volume that the current communication path is not suitable; The owner node of the volume at the other site that has received the notification inquires of a discovery node at the one site about node information of a destination node having the specified volume, and re-establishes the communication path with the destination node of the volume based on the node information acquired from the inquired discovery node.

2. The storage system according to claim 1.

6. each of the primary site and the secondary site has a shared database for storing configuration information shared among storage nodes within the respective sites; When one of the primary site and the secondary site makes an inquiry to a storage node of the other site regarding a node having a volume of the other site, The storage node that receives the inquiry acquires node information of the node that is the subject of the inquiry by referring to the shared database of its own site, and responds to the source of the inquiry.

2. The storage system according to claim 1.

7. the primary site has a journal volume in which update differential data of a plurality of primary volumes is stored together with metadata including write time information; At a predetermined timing, the secondary volume owner node transmits a journal read request to the primary volume owner node, the primary volume owner node that has received the journal read request transfers the update difference data and its metadata to the secondary volume owner node by referencing the journal volume of the primary site; The secondary volume owner node writes the update difference data transferred from the primary volume owner node to the corresponding secondary volume by referring to the metadata.

2. The storage system according to claim 1.

8. A communication path control method for a storage system including a primary site and a secondary site each having a plurality of storage nodes each having a processor package including a processor and a memory, and one or more drives, comprising: The storage nodes constituting the primary site include a primary volume owner node having a primary volume, The storage node constituting the secondary site includes a secondary volume owner node having a secondary volume paired with the primary volume, and a discovery node which responds to an inquiry with node information of a node having a volume in its own site, When setting a communication path for remote copy from the primary volume to the secondary volume, the storage node of the primary site inquires of a discovery node of the secondary site about node information of a node having the secondary volume that is paired with the primary volume; The discovery node responds to the received inquiry by sending node information of a node having the secondary volume; The primary volume owner node sets a communication path between the primary volume owner node and the secondary volume owner node, the communication path being used for remote copying of volume data from the primary volume to the secondary volume, based on the node information acquired from the discovery node. A communication path control method comprising:

Citation Information

Patent Citations

  • Storage system and path setting method

    JP2011197920A

  • Information processing system and path management method

    JP2019185328A

  • Remote copy system

    JP2021033782A

  • Distributed storage system and volume migration method

    JP2022169249A

  • Computer system and management method for computer system

    WO2016194096A1