WO2017208319A1 - ストレージシステム及びストレージシステムの管理方法 - Google Patents

ストレージシステム及びストレージシステムの管理方法 Download PDF

Info

Publication number
WO2017208319A1
WO2017208319A1 PCT/JP2016/065961 JP2016065961W WO2017208319A1 WO 2017208319 A1 WO2017208319 A1 WO 2017208319A1 JP 2016065961 W JP2016065961 W JP 2016065961W WO 2017208319 A1 WO2017208319 A1 WO 2017208319A1
Authority
WO
WIPO (PCT)
Prior art keywords
copy
volume
pair
storage
control module
Prior art date
Application number
PCT/JP2016/065961
Other languages
English (en)
French (fr)
Inventor
圭祐 岡村
悦太郎 赤川
昇史 杉野
Original Assignee
株式会社日立製作所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2016/065961 priority Critical patent/WO2017208319A1/ja
Publication of WO2017208319A1 publication Critical patent/WO2017208319A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Definitions

  • the present invention relates to storage virtualization technology for a storage system having an HA configuration.
  • a storage virtualization technology that provides a virtual storage device used by a user using a storage system having a plurality of storage devices (storage subsystems) is known.
  • storage subsystems storage subsystems
  • BCM Business Continuity Management
  • a volume (storage area) managed by a plurality of storage apparatuses is mapped to one virtual volume included in the virtual storage apparatus.
  • a plurality of volumes mapped to one virtual volume constitute an HA pair. This ensures data redundancy.
  • Patent Document 1 describes an interface for managing the virtualization technology of a multiple storage subsystem.
  • a storage system is composed of a storage subsystem, a storage controller, and a control module.
  • a storage controller that manages virtual volumes manages multiple logical volumes and stores data of virtual volumes.
  • the control module controls the storage to the logical volume, and the control module receives the command for registering the storage function to the virtual volume, based on the mapping between the volume and the controller based on the mapping between the volume and the controller.
  • Convert commands that command storage function registration the storage controller processes the converted commands to the target logical volume, and the control module can handle at least one of the storage controllers or the storage controller.
  • the copy source volume when setting a local copy in a virtual storage device, the copy source volume constitutes an HA pair, and the copy destination volume also constitutes an HA pair. There are a plurality of data write paths for the volume. For this reason, data inconsistency may occur in the copy destination volume of the local copy.
  • Patent Document 1 a local copy cannot be set in a storage system having an HA configuration simply by transferring a command between storage apparatuses.
  • the present invention provides a storage system and a management method capable of setting a local copy that does not cause data inconsistency in a virtual storage apparatus in a storage system having an HA configuration.
  • a typical example of the invention disclosed in the present application is as follows. That is, a storage system having a plurality of storage devices, wherein the plurality of storage devices are a processor, a memory connected to the processor, a storage device connected to the processor, and an external device connected to the processor.
  • a control module that provides a user with a virtual storage device including a virtual volume to which a volume generated from a storage area of the storage device is mapped, the virtual volume having a different storage When the volume of the device is mapped and the control module receives a command for setting a local copy from the first virtual volume to the second virtual volume included in the virtual storage device, the control module is mapped to the first virtual volume.
  • a local copy from the first volume to the second volume included in the same storage device is set by changing the configuration of a copy pair composed of the plurality of volumes.
  • FIG. 1 is a diagram illustrating a configuration example of a storage system according to a first embodiment.
  • FIG. 3 is a diagram illustrating an example of a hardware configuration and a software configuration of a management computer according to the first embodiment.
  • 2 is a diagram illustrating an example of a hardware configuration and a software configuration of a storage apparatus according to Embodiment 1.
  • FIG. It is a figure which shows an example of the pair priority information of Example 1. It is a figure which shows an example of the mapping information of Example 1.
  • 6 is a diagram illustrating an example of volume pair information according to Embodiment 1.
  • FIG. It is a figure which shows an example of the HA pair status information of Example 1.
  • 10 is a flowchart illustrating local copy setting processing executed by the pair management module according to the first embodiment.
  • FIG. 6 is a flowchart illustrating local copy cancellation processing executed by the pair management module according to the first embodiment. 6 is a flowchart illustrating local copy cancellation processing executed by the pair management module according to the first embodiment. 6 is a flowchart illustrating local copy cancellation processing executed by the pair management module according to the first embodiment.
  • FIG. 1 is a diagram illustrating a configuration example of a storage system according to the first embodiment.
  • the storage system according to the first embodiment includes a management computer 100 and a plurality of storage devices (storage subsystems) 101.
  • the storage system shown in FIG. 1 has two storage devices 101-1 and 101-2.
  • the storage apparatuses 101-1 and 101-2 are described as the storage apparatus 101 when they are not distinguished.
  • the management computer 100 is connected to each of the plurality of storage apparatuses 101 via the network 105.
  • Each of the plurality of storage apparatuses 101 is connected to another storage apparatus 101 via the network 106.
  • the storage device 101 is a storage device that provides a volume used by a user.
  • the virtual storage apparatus 130 is configured using two storage apparatuses 101-1 and 101-2 having an HA configuration.
  • the user can use the virtual storage device 130 as one physical storage device.
  • terminals and systems used by the user are omitted.
  • the management computer 100 controls a plurality of storage devices 101. Details of the hardware configuration and software configuration of the management computer 100 will be described with reference to FIG.
  • the storage apparatus 101 has a function for managing the virtual storage apparatus 130.
  • the storage apparatus 101 has a function for generating copy pairs with different copy types. Note that the general functions of the storage apparatus 101 are well-known and will not be described in detail.
  • the storage apparatus 101 of this embodiment has a program for realizing the control module 110.
  • the control module 110 of this embodiment includes a pair management module 115.
  • the storage apparatus 101 also retains pair priority information 111, mapping information 112, volume pair information 113, and HA pair status information 114. Details of the hardware configuration and software configuration of the storage apparatus 101 will be described with reference to FIG.
  • the volume indicates a storage area having an arbitrary size.
  • One storage device 305 may be a volume, or an LU (Logical Unit) generated using a plurality of storage devices may be a volume.
  • LU Logical Unit
  • the storage apparatus 101 generates a volume and maps the volume to a virtual volume included in the virtual storage apparatus 130. In addition, the storage apparatus 101 generates copy pairs with different copy types.
  • the copy type includes, for example, a remote copy between volumes included in each of a plurality of storage apparatuses 101 having an HA configuration, and a local copy between volumes included in one storage apparatus 101.
  • remote copy when “remote copy” is described, it indicates remote copy between volumes included in each of the plurality of storage apparatuses 101 having the HA configuration.
  • a remote copy copy pair is described as an HA pair, and the above-mentioned local copy copy pair is described as a local copy pair.
  • HA pair bidirectional copying is performed between the volumes 120.
  • local copy a unidirectional copy is performed between the volumes 120.
  • the administrator When making a volume redundant, the administrator operates the management computer 100 to generate an HA pair from the volumes of the plurality of storage apparatuses 101 and maps the plurality of volumes constituting the HA pair to one virtual volume.
  • the dotted line in FIG. 1 indicates the mapping relationship, and the solid line in FIG. 1 indicates the data write path.
  • the virtual storage device 130 shown in FIG. 1 includes a virtual primary volume 140-1 and a virtual secondary volume 140-2.
  • a virtual volume 140 when the virtual primary volume 140-1 and the virtual secondary volume 140-2 are not distinguished, they are described as a virtual volume 140.
  • volume 120-1 of the storage device 101-1 and the volume 120-2 of the storage device 101-2 are mapped to the virtual primary volume 140-1.
  • Volume 120-1 and volume 120-2 constitute an HA pair.
  • volume 120-3 of the storage device 101-1 and the volume 120-4 of the storage device 101-2 are mapped to the virtual secondary volume 140-2. Local copies are set between the volume 120-1 and the volume 120-3 and between the volume 120-2 and the volume 120-4. That is, volume 120-1 and volume 120-3 constitute a local copy pair, and volume 120-2 and volume 120-4 constitute a local copy pair.
  • volume 120 when the volumes 120-1, 120-2, 120-3, and 120-4 are not distinguished, they are described as the volume 120.
  • FIG. 1 shows a system state after the user sets a local copy from the virtual primary volume 140-1 to the virtual secondary volume 140-2. Before the local copy is set in the virtual storage device 130, no local copy is set between the volumes 120 included in the local storage device 101, and the volume 120-3 and the volume 120-4 constitute an HA pair. Shall.
  • FIG. 2 is a diagram illustrating an example of a hardware configuration and a software configuration of the management computer 100 according to the first embodiment.
  • the management computer 100 includes a processor 200, a memory 201, an I / O adapter 202, and a NIC (Network Interface Card) 203. Each component is connected to each other via an internal bus or the like.
  • the processor 200 is an arithmetic device that executes a program stored in the memory 201.
  • the processor 200 executes a program stored in the memory 201, the functions of the management computer 100 are realized.
  • a process is described with a module as a subject, it indicates that the processor 200 is executing a program for realizing the module.
  • the memory 201 stores a program executed by the processor 200 and information used by the program.
  • the memory 201 of this embodiment stores a program that implements the storage management module 210.
  • the storage management module 210 controls a plurality of storage apparatuses 101.
  • the memory 201 includes a work area used by the program.
  • the I / O adapter 202 is an interface for connecting to an input / output device.
  • the input / output device includes a keyboard, a mouse, a touch panel, a display, and the like.
  • the NIC 203 is an interface for connecting to other devices via a network.
  • the management computer 100 may include two or more processors 200, a memory 201, an I / O adapter 202, and a NIC 203.
  • FIG. 3 is a diagram illustrating an example of a hardware configuration and a software configuration of the storage apparatus 101 according to the first embodiment.
  • the storage device 101 includes a processor 300, a memory 301, an I / O adapter 302, a NIC 303, a controller 304, and a plurality of storage devices 305. Each component is connected to each other via an internal bus or the like.
  • the processor 300, the memory 301, the I / O adapter 302, and the NIC 303 are the same as the processor 200, the memory 201, the I / O adapter 202, and the NIC 203.
  • the controller 304 controls a plurality of storage devices 305.
  • the storage device 305 is a storage device that permanently stores data. A volume is generated from the storage area of the storage device 305.
  • the storage device 305 may be, for example, an HDD (Hard Disk Drive), an SSD (Solid State Drive), or the like.
  • the memory 301 stores a program for realizing the control module 110.
  • the memory 301 also stores pair priority information 111, mapping information 112, volume pair information 113, and HA pair status information 114.
  • the control module 110 has various functions for providing the virtual storage device 130.
  • the control module 110 has a function of managing the mapping relationship between the volume 120 and the virtual volume 140, a function of controlling creation and deletion of copy pairs, a function of controlling copying between copy pairs, and the like.
  • the control module 110 of this embodiment includes a pair management module 115.
  • the pair management module 115 controls the configuration of the copy pair of each copy type when setting and canceling the local copy for the virtual storage device 130.
  • the pair management module 115 when setting the local copy, changes the configuration of the copy pair of each copy type so that the data writing path to the copy destination volume 120 of the local copy becomes one. Further, when canceling the local copy, the pair management module 115 changes the configuration of the copy pair of each copy type so that the volume 120 mapped to the virtual volume 140 in the virtual storage apparatus 130 has a redundant configuration.
  • the pair priority information 111 is information for managing the priority of the copy type. Details of the pair priority information 111 will be described with reference to FIG.
  • the mapping information 112 is information for managing the mapping relationship between the virtual volume 140 and the volume 120. Details of the mapping information 112 will be described with reference to FIG.
  • the volume pair information 113 is information for managing the copy pair configuration. Details of the volume pair information 113 will be described with reference to FIG.
  • the HA pair status information 114 is information for managing the I / O status of the volume 120 that constitutes the HA pair. Details of the HA pair status information 114 will be described with reference to FIG.
  • FIG. 4 is a diagram illustrating an example of the pair priority information 111 according to the first embodiment.
  • the pair priority information 111 includes a plurality of entries including a copy type 401 and a priority 402.
  • the copy type 401 is a copy type.
  • the copy type 401 stores “HA” indicating remote copy, “local copy” indicating local copy, and the like.
  • the administrator can update the pair priority information 111 as appropriate.
  • the priority 402 is a priority set for the copy type.
  • the priority is an index that defines the priority of copy pairs whose configuration is changed when setting a local copy. In this embodiment, the copy pairs are deleted in order from the lowest priority.
  • an integer greater than or equal to “1” is used as a value representing the priority level. “1” is set for the copy type with the highest priority. As shown in FIG. 4, in this embodiment, the priority of “local copy” is set higher than the priority of “HA”.
  • FIG. 5 is a diagram illustrating an example of the mapping information 112 according to the first embodiment.
  • the mapping information 112 includes a plurality of entries including a virtual volume ID 501, a device ID 502, and a volume ID 503.
  • mapping information 112 for one user.
  • a column storing user identifiers may be included in the entry, and the virtual volume 140 used by a plurality of users may be managed using one mapping information 112.
  • the virtual volume ID 501 is identification information that uniquely identifies the virtual volume 140 in the virtual storage device 130.
  • the device ID 502 is identification information for identifying the storage device 101 that provides the volume 120 mapped to the virtual volume 140.
  • the volume ID 503 is identification information for identifying the volume 120 mapped to the virtual volume 140.
  • FIG. 6 is a diagram illustrating an example of the volume pair information 113 according to the first embodiment.
  • the volume pair information 113 includes a plurality of entries including a first volume 601, a second volume 602, and a copy type 603.
  • the first volume 601 is a column group that stores information related to one volume 120 constituting a copy pair.
  • the first volume 601 includes a device ID 611 and a volume ID 612.
  • the device ID 611 and the volume ID 612 are the same as the device ID 502 and the volume ID 503.
  • the first volume 601 stores information related to the copy source volume 120 of the synchronous copy executed when the HA pair is generated.
  • the first volume 601 stores information related to the copy source volume 120 of the local copy.
  • the second volume 602 is a column group that stores information related to one volume 120 constituting a copy pair.
  • the second volume 602 includes a device ID 613 and a volume ID 614.
  • the device ID 613 and the volume ID 614 are the same as the device ID 502 and the volume ID 503.
  • the second volume 602 stores information related to the copy destination volume 120 of the synchronous copy executed when the HA pair is generated.
  • the second volume 602 stores information related to the copy destination volume 120 of the local copy.
  • the copy type 603 is a copy type of a copy pair, and is the same as the copy type 401.
  • FIG. 6 shows the volume pair information 113 before the local copy is set in the virtual storage device 130. Since only the remote copy is set before the local copy is set, the volume pair information 113 includes only an entry whose copy type 603 is “HA”.
  • FIG. 7 is a diagram illustrating an example of the HA pair status information 114 according to the first embodiment.
  • the HA pair status information 114 includes a plurality of entries including a first volume 701, a second volume 702, and a pair status 703.
  • the first volume 701 is a column group that stores information related to one volume 120 constituting the HA pair.
  • the second volume 702 is a column group that stores information related to one volume 120 constituting the HA pair.
  • the first volume 701 includes a device ID 711, a volume ID 712, and an I / O state 713.
  • the device ID 711 and the volume ID 712 are the same as the device ID 502 and the volume ID 503.
  • the I / O state 713 is an I / O state of the volume 120 corresponding to the device ID 711 and the volume ID 712. In the I / O state 713, either “normal” or “abnormal” is stored. “Normal” indicates that the data writing process can be performed normally, and “Abnormal” indicates that the data writing process cannot be performed normally.
  • the device ID 714, volume ID 715, and I / O state 716 included in the second volume 702 are the same as the device ID 711, volume ID 712, and I / O state 713.
  • the pair status 703 is an I / O status of the HA pair.
  • “normal” or “abnormal” is stored.
  • the I / O state 713 and the I / O state 716 are “normal”, “normal” is stored in the pair state 703, and one of the I / O state 713 and the I / O state 716 is “abnormal”. In this case, “abnormal” is stored in the pair status 703.
  • the storage apparatus 101 maintains at least one HA pair when setting a local copy. On the other hand, when canceling the local copy, the storage apparatus 101 generates an HA pair so that the volume 120 mapped to the virtual volume 140 has a redundant configuration.
  • the synchronous copy executed when the HA pair is generated is also simply referred to as a synchronous copy.
  • the storage apparatus 101 determines the copy direction (write direction) of synchronous copy based on the I / O state of the HA pair. Specifically, it is determined as follows.
  • any volume 120 may be designated as the copy source.
  • the volume 120 corresponding to the first volume 701 is set as the copy source of the synchronous copy.
  • the copy direction is set as follows.
  • the volume 120 corresponding to the first volume 701 is set as the copy source, and the volume 120 corresponding to the second volume 702 is set. Set to the copy destination.
  • the volume 120 corresponding to the second volume 702 is set as the copy source, and the volume 120 corresponding to the first volume 701 is set. Set to the copy destination.
  • the volume 120 corresponding to the first volume 701 is set as the copy source, and the volume 120 corresponding to the second volume 702 is the copy destination.
  • FIG. 8 is a flowchart illustrating the local copy setting process executed by the pair management module 115 according to the first embodiment.
  • 9A and 9B are diagrams illustrating an example of an update state of the volume pair information 113 according to the first embodiment.
  • the pair management module 115 executes the following processing.
  • the local copy setting command includes user identification information, and identification information of the copy source virtual volume 140 (virtual primary volume 140-1) and copy destination virtual volume 140 (virtual secondary volume 140-2). included.
  • the pair management module 115 determines whether or not there is a copy pair composed of the volume 120 mapped to the designated virtual volume 140 (step S801). Specifically, the following processing is executed.
  • the pair management module 115 identifies the mapping information 112 to be referenced based on the user identification information.
  • the pair management module 115 searches for an entry in which the virtual volume ID 501 of the specified mapping information 112 matches the identification information of the copy source virtual volume 140 included in the local copy setting command.
  • the pair management module 115 selects an entry whose device ID 502 matches the identification information of the own storage device 101 from the searched entries.
  • the pair management module 115 acquires the value of the volume ID 503 of the selected entry.
  • the pair management module 115 refers to the volume pair information 113, and the device ID 611 and volume ID 612, or the device ID 613 and volume ID 614 match the identification information of the storage device 101 and the acquired identification information of the volume 120. Search for an entry.
  • the pair management module 115 executes the processing from (1) to (3) for the copy destination virtual volume 140 as well.
  • the copy pair corresponding to the searched entry is also described as an existing copy pair.
  • the pair management module 115 determines that there is a copy pair composed of the volume 120 mapped to the specified virtual volume 140. judge. The above is the description of the process in step S801.
  • step S803 If it is determined that there is no copy pair composed of the volume 120 mapped to the designated virtual volume 140, the pair management module 115 proceeds to step S803.
  • the pair management module 115 determines whether or not a local copy can be set (step S802). That is, it is determined whether the configuration of the existing copy pair can be changed. Specifically, the following processing is executed.
  • the pair management module 115 refers to the pair priority information 111 and searches for an entry whose copy type 401 is “local copy” and an entry whose copy type 401 matches the copy type of the existing copy pair.
  • the pair management module 115 acquires the value of the priority 402 of the searched entry.
  • the pair management module 115 determines whether the local copy priority is higher than the copy type priority of the existing copy pair. When the local copy priority is higher than the copy type priority of the existing copy pair, the pair management module 115 determines that the configuration of the existing copy pair can be changed. That is, it is determined that a local copy can be set.
  • the pair management module 115 selects the copy type with the highest priority from among the copy types of the plurality of existing copy pairs. The pair management module 115 determines whether or not the local copy priority is higher than the copy type priority of the selected existing copy pair.
  • the local copy since the priority of the remote copy is lower than the priority of the local copy, it is determined that the local copy can be set when the existing copy pair is only the HA pair.
  • the pair management module 115 If it is determined that the local copy cannot be set, the pair management module 115 notifies the user of an error (step S809). Thereafter, the pair management module 115 ends the local copy setting process.
  • the pair management module 115 determines the copy pair change content (step S803). Specifically, the following processing is executed.
  • the pair management module 115 selects a volume 120 included in the local storage apparatus 101 and constituting a local copy pair from among the volumes 120 constituting an existing copy pair.
  • the pair management module 115 is included in the local storage apparatus 101 and is mapped to the copy source virtual volume 140, and is included in the local storage apparatus 101 and is a copy destination virtual volume.
  • the volume 120 mapped to 140 is selected.
  • the pair management module 115 selects an existing copy pair (HA pair) to be deleted from existing copy pairs.
  • the pair management module 115 specifies an entry of an existing copy pair in which the identification information of the own storage apparatus 101 is included in either the apparatus ID 611 or the apparatus ID 613.
  • the pair management module 115 does not delete the existing copy pair.
  • the pair management module 115 sets an existing copy pair other than the existing copy pair composed of the volume 120 mapped to the copy source virtual volume 140 as an existing copy pair to be deleted. select.
  • first HA pair composed of the volume 120 mapped to the virtual primary volume 140-1 and an HA pair (second HA pair) composed of the volume 120 mapped to the virtual secondary volume 140-2. If it exists, the second HA pair is selected as the existing copy pair to be deleted.
  • the pair management module 115 generates a local copy pair (step S804).
  • the pair management module 115 requests the control module 110 to generate a local copy pair.
  • the control module 110 includes the volume 120 included in the local storage apparatus 101 and mapped to the copy source virtual volume 140, and the volume included in the local storage apparatus 101 and mapped to the copy destination virtual volume 140.
  • a local copy pair is generated from 120.
  • Information on the local copy pair is temporarily stored in the memory 301.
  • the pair management module 115 determines whether or not an existing copy pair composed of the volume 120 mapped to the virtual primary volume 140-1 is being copied (step S805).
  • the pair management module 115 shifts to a waiting state (step S810). After a predetermined time has elapsed, the pair management module 115 releases the waiting state, returns to step S805, and executes the same processing.
  • the pair management module 115 executes the process of step S810.
  • the pair management module 115 deletes the existing copy pair to be deleted (step S806). Specifically, the following processing is executed.
  • the pair management module 115 requests the control module 110 to delete the existing copy pair to be deleted.
  • the pair management module 115 deletes the entry of the existing copy pair to be deleted from the volume pair information 113. Further, the pair management module 115 deletes the entry of the existing copy pair to be deleted from the HA pair status information 114.
  • the pair management module 115 requests the control module 110 to transmit an update command including information on the entry deleted in the other storage apparatus 101.
  • the update command is transmitted to all the storage apparatuses 101 included in the storage system. Note that the update command may be transmitted only to the storage apparatus 101 having the HA configuration.
  • the storage apparatus 101 that has received the update command deletes the entry of the existing copy pair to be deleted from the volume pair information 113 and the HA pair status information 114.
  • the above is the description of the process in step S806.
  • the pair management module 115 starts local copy (step S807). Specifically, the following processing is executed.
  • the pair management module 115 adds a local copy pair entry to the volume pair information 113 based on the local copy pair information stored in the memory 301.
  • the pair management module 115 sets the information of the volume 120 mapped to the copy source virtual volume 140 in the first volume 601 of the added entry, and the copy destination virtual volume 140 in the second volume 602 of the added entry.
  • the information of the volume 120 mapped to is set.
  • the pair management module 115 sets “local copy” as the copy type 603 of the added entry.
  • the pair management module 115 requests the control module 110 to start local copy.
  • the pair management module 115 requests the control module 110 to transmit an update command including information on the added entry to another storage apparatus 101.
  • the update command is transmitted to all the storage apparatuses 101 included in the storage system. Note that the update command may be transmitted only to the storage apparatus 101 having the HA configuration.
  • the storage apparatus 101 that has received the update command adds a local copy pair entry to the volume pair information 113.
  • the above is the description of the process in step S807. Note that the update of the volume pair information 113 may be executed in step S804.
  • the pair management module 115 determines whether or not the management computer 100 is the transmission source of the local copy setting command (step S808).
  • a method may be considered in which the pair management module 115 identifies the transmission source of the command based on the header information of the packet including the local copy setting command. Further, information indicating the transmission source may be included in the command.
  • the pair management module 115 ends the local copy setting process.
  • the pair management module 115 transfers the command to the other storage apparatus 101 having the HA configuration (step S811). Thereafter, the pair management module 115 ends the local copy setting process.
  • the pair management module 115 transfers the command to the storage apparatus 101 including the volume 120 that constitutes the existing copy pair.
  • the pair management module 115 when setting a local copy, maintains one HA pair and sets the copy pair so that there is one write path to the copy destination volume of the local copy pair. Change the configuration and set up a local copy. As a result, it is possible to set a local copy that does not cause data inconsistency while maintaining the redundant configuration of the virtual storage apparatus 130.
  • the storage apparatus 101-1 receives a local copy setting command including identification information of the virtual primary volume 140-1 and the virtual secondary volume 140-2 from the management computer 100.
  • An HA pair is configured from the volume 120-1 and volume 120-2 mapped to the virtual primary volume 140-1, and an HA pair from the volume 120-3 and volume 120-4 mapped to the virtual secondary volume 140-2. Is configured. Therefore, the determination result of step S801 is YES.
  • step S802 Since the local copy priority is higher than the remote copy priority, the determination result in step S802 is YES.
  • step S803 the storage apparatus 101-1 uses the volume 120-1 that constitutes the local copy pair from the volume 120-1 mapped to the virtual primary volume 140-1 and the volume 120-3 mapped to the virtual secondary volume 140-2. Choose as. In addition, the storage apparatus 101-1 selects the HA pair composed of the volume 120-3 and the volume 120-4 mapped to the virtual secondary volume 140-2 as the existing copy pair to be deleted.
  • step S804 the storage apparatus 101-1 generates a local copy pair from the volume 120-1 and the volume 120-3.
  • step S806 the storage apparatus 101-1 deletes the HA pair composed of the volume 120-3 and the volume 120-4. At this time, the storage apparatus 101-1 deletes the entry corresponding to the HA pair deleted from the volume pair information 113 and the HA pair status information 114. In addition, the storage apparatus 101-1 transmits an update command including information on the deleted entry to the storage apparatus 101-2.
  • the storage device 101-2 When the storage device 101-2 receives the update command, the storage device 101-2 deletes the entry corresponding to the HA pair to be deleted from the volume pair information 113 and the HA pair status information 114.
  • step S807 the storage apparatus 101-1 adds an entry to the volume pair information 113.
  • the storage apparatus 101-1 sets the identification information of the storage apparatus 101-1 in the apparatus ID 611 and the apparatus ID 613 of the added entry, and sets the identification information of the volume 120-1 in the volume ID 612 of the added entry.
  • the identification information of the volume 120-3 is set in the volume ID 614 of the entry.
  • the storage apparatus 101-1 sets “local copy” as the copy type 603 of the added entry.
  • the storage apparatus 101-1 transmits an update command including information on the entry added to the storage apparatus 101-2.
  • the storage device 101-2 receives the update command, the storage device 101-2 adds an entry for the local copy pair to the volume pair information 113.
  • the volume pair information 113 held by the storage apparatuses 101-1 and 101-2 is in the state shown in FIG. 9A.
  • step S808 Since the determination result of step S808 is YES, the storage apparatus 101-1 transmits a local copy setting command to the storage apparatus 101-2, and then ends the process.
  • the storage apparatus 101-2 receives the local copy setting command from the storage apparatus 101-1.
  • Volume 120-1 and volume 120-2 mapped to virtual primary volume 140-1 constitute an HA pair. Therefore, the determination result of step S801 is YES. Note that the HA pair composed of the volume 120-3 and the volume 120-4 mapped to the virtual secondary volume 140-2 has already been deleted.
  • step S802 Since the local copy priority is higher than the remote copy priority, the determination result in step S802 is YES.
  • step S803 the storage apparatus 101-2 uses the volume 120-2 that is mapped to the virtual primary volume 140-1 and the volume 120-4 that is mapped to the virtual secondary volume 140-2 as a volume 120 that constitutes a local copy pair. Choose as. Since the existing copy pair is only one HA pair, the existing copy pair to be deleted is not selected.
  • step S804 the storage apparatus 101-2 generates a local copy pair from the volume 120-2 and the volume 120-4.
  • step S806 since there is only one existing copy pair, the storage apparatus 101-2 proceeds to step S807 without deleting the existing copy pair.
  • step S807 the storage apparatus 101-2 adds an entry to the volume pair information 113.
  • the storage device 101-2 sets the identification information of the storage device 101-2 in the device ID 611 and the device ID 613 of the added entry, sets the identification information of the volume 120-2 in the volume ID 612 of the added entry, and adds The identification information of the volume 120-4 is set in the volume ID 614 of the entry. Further, the storage system 101-2 sets “local copy” as the copy type 603 of the added entry.
  • the storage apparatus 101-2 transmits an update command including information on the entry added to the storage apparatus 101-1.
  • the storage apparatus 101-1 receives the update command, it adds an entry for the local copy pair to the volume pair information 113.
  • the volume pair information 113 held by the storage apparatuses 101-1 and 101-2 is in the state shown in FIG. 9B.
  • step S808 Since the determination result of step S808 is NO, the storage apparatus 101-2 ends the process.
  • a link composed of a plurality of write paths is set to be an open circuit.
  • the write path to the volume 120-4 is the data write from the volume 120-3.
  • the pair management module 115 of the present embodiment leaves the HA pair composed of the volume 120 mapped to the virtual primary volume 140-1, deletes other HA pairs, and sets a local copy. Therefore, the above problem does not occur. In addition, since the user who uses the virtual storage apparatus 130 may use a normal operation command, the operation burden can be reduced.
  • FIG. 10A, FIG. 10B, and FIG. 10C are flowcharts for explaining local copy cancellation processing executed by the pair management module 115 of the first embodiment.
  • the pair management module 115 executes the following processing.
  • the local copy cancellation command includes user identification information and identification information of the copy source virtual volume 140 (virtual primary volume 140-1) and the copy destination virtual volume 140 (virtual secondary volume 140-2). .
  • the pair management module 115 identifies a local copy pair and an HA pair related to the designated virtual volume 140 (step S1001). Specifically, the following processing is executed.
  • the pair management module 115 identifies the mapping information 112 to be referenced based on the user identification information.
  • the pair management module 115 searches for an entry in which the virtual volume ID 501 of the identified mapping information 112 matches the identification information of the virtual volume 140 included in the local copy release command.
  • the pair management module 115 selects an entry whose device ID 502 matches the identification information of the own storage device 101 from the retrieved entries.
  • the pair management module 115 acquires the value of the volume ID 503 of the selected entry.
  • the pair management module 115 refers to the volume pair information 113 and searches for an entry in which the identification information of the own storage apparatus 101 is set in the apparatus ID 611 and the apparatus ID 613 and the copy type 603 is “local copy”.
  • the entry is a local copy pair entry.
  • the pair management module 115 refers to the volume pair information 113, and the identification information of the own storage device 101 and the identification information of the acquired volume 120 are set in the device ID 611 and the volume ID 612, or the device ID 613 and the volume ID 614.
  • an entry whose copy type 603 is “HA” is searched.
  • the entry is an HA pair entry. The above is the description of the processing in step S1001.
  • the pair management module 115 determines whether or not the pair status of the identified HA pair is “normal” (step S1002).
  • the pair management module 115 refers to the HA pair status information 114, and the device ID 711, volume ID 712, device ID 714, and volume ID 715 are the device ID 611, volume ID 612, device ID 613, and volume of the HA pair entry. The entry matching the ID 614 is searched. The pair management module 115 determines whether or not the pair status 703 of the retrieved entry is “normal”.
  • the pair management module 115 determines whether or not the own storage apparatus 101 includes the volume 120 corresponding to the first volume 601 of the identified HA pair. Is determined (step S1003).
  • the pair management module 115 determines whether or not the identification information of the own storage apparatus 101 is set in the apparatus ID 611 of the HA pair entry identified in step S1001.
  • the pair management module 115 includes the volume 120 corresponding to the first volume 601 of the HA pair in which the own storage apparatus 101 is specified. judge.
  • the pair management module 115 proceeds to step S1014.
  • the pair management module 115 deletes the local copy pair in the own storage apparatus 101 (step S1004). Specifically, the following processing is executed.
  • the pair management module 115 instructs the control module 110 to stop local copying. In addition, the pair management module 115 deletes the entry of the local copy pair identified in step S1001 from the volume pair information 113.
  • the pair management module 115 temporarily stores the entry of the deleted local copy pair in the memory 301 as information of the volume 120 constituting the new HA pair.
  • the pair management module 115 requests the control module 110 to transmit an update command including information on the entry deleted in the other storage apparatus 101. At this time, the pair management module 115 includes the entry of the deleted local copy pair in the update command as information on the volume 120 constituting the new HA pair.
  • the above is the description of the process in step S1004.
  • the pair management module 115 transmits a command completion to the management computer 100 (step S1005). Further, the pair management module 115 transfers a local copy cancellation command to the other storage apparatus 101 (step S1006).
  • the pair management module 115 transfers the local copy cancellation command to the other storage apparatus 101 including the volume 120 that constitutes the HA pair, based on the HA pair entry specified in step S1001.
  • the pair management module 115 determines whether or not a command completion has been received from another storage apparatus 101 that has transferred the local copy cancellation command (step S1007).
  • the pair management module 115 shifts to a waiting state (step S1010). After a predetermined time has elapsed, the pair management module 115 cancels the waiting state, returns to step S1007, and executes the same processing.
  • the pair management module 115 when the pair management module 115 receives an update command for the volume pair information 113 including information on the volume 120 constituting the new HA pair from another storage apparatus 101, the pair management module 115 temporarily stores the information in the memory 301.
  • the pair management module 115 is a volume that is included in the local storage apparatus 101 and that is the copy destination of the local copy pair. 120 is set as the copy source of the synchronous copy (step S1008). Specifically, the following processing is executed.
  • the pair management module 115 adds an entry to the volume pair information 113, sets the value of the volume 120 of the own storage apparatus 101 to the first volume 601, and sets the value of the volume 120 of the other storage apparatus 101 to the second volume 602. Set. Further, the pair management module 115 sets “HA” as the copy type 603.
  • the value of the volume 120 that was the copy destination of the local copy pair in the local storage apparatus 101 is set in the first volume 601, and the local copy pair in the other storage apparatus 101 is set in the second volume 602.
  • the value of the volume 120 that was the copy destination is set.
  • Information on each volume 120 is stored in the memory 301 as information on the volume 120 constituting the new HA pair.
  • the pair management module 115 adds an entry to the HA pair status information 114, sets the value of the volume 120 of the own storage apparatus 101 to the first volume 701, and sets the volume 120 of the other storage apparatus 101 to the second volume 702. Set the value of.
  • the same values as those of the I / O state 713 and the I / O state 716 of the entry corresponding to the HA pair specified in step S1002 are set.
  • the pair management module 115 requests the control module 110 to transmit the update command including the entry information added to each of the volume pair information 113 and the HA pair status information 114 to the other storage apparatus 101.
  • the other storage apparatus 101 updates the volume pair information 113 and the HA pair status information 114 based on the information included in the update command.
  • the pair management module 115 identifies the volume 120 that constitutes the HA pair using the entry corresponding to the local copy pair, but the present invention is not limited to this.
  • the pair management module 115 searches the volume 120 that is not registered in the volume pair information 113 from the volumes 120 that are mapped to the virtual volume 140. In this case, the retrieved volume 120 becomes the volume 120 constituting the HA pair.
  • the above is the description of the process in step S1008.
  • the pair management module 115 starts synchronous copying (step S1009). Thereafter, the pair management module 115 ends the local copy cancellation process.
  • the pair management module 115 requests the control module 110 to execute synchronous copy between the volume 120 of the local storage apparatus 101 and the volume 120 of the other storage apparatus 101.
  • the two control modules 110 that manage the volumes 120 constituting the HA pair cooperate with each other to transfer the data stored in the volume 120 corresponding to the first volume 601 to the volume 120 corresponding to the second volume 602. Copy to.
  • step S1002 If it is determined in step S1002 that the pair status of the identified HA pair is not “normal”, the pair management module 115 determines that the I / O status of the volume 120 corresponding to the first volume 701 of the identified HA pair is It is determined whether or not it is “normal” (step S1011).
  • the pair management module 115 determines whether or not the I / O state 713 of the entry searched in step S1002 is “normal”.
  • the pair management module 115 proceeds to step S1003.
  • the pair management module 115 corresponds to the second volume 702 of the identified HA pair. It is determined whether the I / O state of the volume 120 is “normal” (step S1012).
  • the pair management module 115 determines whether or not the I / O state 716 of the entry searched in step S1002 is “normal”.
  • the pair management module 115 proceeds to step S1003.
  • the pair management module 115 determines the second HA pair in which the own storage apparatus 101 is identified. It is determined whether or not the volume 120 corresponding to the volume 602 is included (step S1013).
  • the pair management module 115 determines whether or not the identification information of the own storage apparatus 101 is set in the apparatus ID 613 of the HA pair entry identified in step S1001.
  • the pair management module 115 includes the volume 120 corresponding to the second volume 602 of the HA pair in which the own storage apparatus 101 is specified. judge.
  • the pair management module 115 proceeds to step S1004.
  • the pair management module 115 determines whether the management computer 100 is the transmission source of the local copy cancellation command. Is determined (step S1014).
  • the processing in step S1014 uses the same method as in step S808.
  • step S1015 When it is determined that the management computer 100 is not the transmission source of the local copy cancellation command, the pair management module 115 deletes the local copy pair in the own storage apparatus 101 (step S1015).
  • the process in step S1015 is the same as the process in step S1004.
  • the pair management module 115 transmits command completion to the storage apparatus 101 that is the transmission source of the local copy cancellation command (step S1016). Thereafter, the pair management module 115 ends the local copy cancellation process.
  • step S1014 If it is determined in step S1014 that the management computer 100 is the source of the local copy cancellation command, the pair management module 115 transfers the local copy cancellation command to the other storage apparatus 101 (step S1017). Thereafter, the pair management module 115 ends the local copy cancellation process.
  • step S1017 The process of step S1017 is the same as the process of step S1006.
  • the pair management module 115 when canceling the local copy, changes the copy pair configuration so that each volume 120 mapped to the virtual volume 140 has a redundant configuration. And cancel the local copy. As a result, the redundant configuration of the virtual storage apparatus 130 can be maintained even after the local copy is released.
  • the pair status of the HA pair composed of the volume 120-1 and the volume 120-2 is the status shown in the first entry in FIG.
  • the storage apparatus 101-1 receives from the management computer 100 a local copy cancellation command including identification information of the virtual primary volume 140-1 and the virtual secondary volume 140-2.
  • step S1001 the storage apparatus 101-1 identifies the second entry in FIG. 9B as the entry for the local copy pair, and identifies the entry for the first entry in FIG. 9B as the entry for the HA pair.
  • step S1002 The determination result in step S1002 is NO, and the determination result in step S1011 is NO. In addition, the determination result of step S1012 is YES.
  • step S1013 Since the identification information of the own storage apparatus 101 is not set in the apparatus ID 613 of the entry corresponding to the specified HA pair, the determination result in step S1013 is NO. Therefore, the storage apparatus 101-1 proceeds to step S1014.
  • step S1014 Since the storage apparatus 101-1 has received the local copy cancellation command from the management computer 100, the determination result in step S1014 is YES. Therefore, the storage apparatus 101-1 proceeds to step S1017.
  • step S1017 the storage apparatus 101-1 transfers a local copy cancellation command to the storage apparatus 101-2.
  • the storage apparatus 101-2 receives the local copy cancellation command from the storage apparatus 101-1.
  • the storage apparatus 101-2 identifies the third entry in FIG. 9B as the entry for the local copy pair, and identifies the entry for the first entry in FIG. 9B as the entry for the HA pair.
  • step S1002 The determination result in step S1002 is NO, and the determination result in step S1011 is NO. In addition, the determination result of step S1012 is YES.
  • step S1013 Since the identification information of the own storage apparatus 101 is set in the apparatus ID 613 of the entry corresponding to the specified HA pair, the determination result in step S1013 is YES. Therefore, the storage apparatus 101-2 proceeds to step S1004.
  • step S1004 the storage apparatus 101-2 deletes the entry of the local copy pair in the own storage apparatus 101 from the volume pair information 113.
  • the storage apparatus 101-2 transmits an update command for the volume pair information 113 including the deleted entry information to the storage apparatus 101-1.
  • step S1005 the storage apparatus 101-2 transmits command completion to the management computer 100.
  • step S1006 the storage apparatus 101-2 transfers the local copy cancellation command to the storage apparatus 101-1.
  • the storage apparatus 101-2 waits until receiving a command completion from the storage apparatus 101-1.
  • the storage apparatus 101-1 receives the local copy cancellation command from the storage apparatus 101-2.
  • the second entry in FIG. 9B is specified as the entry of the local copy pair
  • the entry of the first entry in FIG. 9B is specified as the entry of the HA pair.
  • step S1002 The determination result in step S1002 is NO, and the determination result in step S1011 is NO. Further, the determination result of step S1012 is YES, and the determination result of step S1013 is NO.
  • step S1014 Since the storage apparatus 101-1 has received the local copy cancellation command from the storage apparatus 101-2, the determination result in step S1014 is NO. Therefore, the storage apparatus 101-1 proceeds to step S1015.
  • step S1015 the storage apparatus 101-1 deletes the local copy pair entry in the own storage apparatus 101 from the volume pair information 113.
  • the storage apparatus 101-1 transmits an update command for the volume pair information 113 including the deleted entry information to the storage apparatus 101-2.
  • step S1016 the storage apparatus 101-1 transmits a command completion to the storage apparatus 101-2.
  • step S1008 the following processing is executed.
  • Storage device 101-2 adds an entry to volume pair information 113.
  • the storage apparatus 101-2 sets the value of the copy destination volume 120-4 of the local copy pair deleted from the self storage apparatus 101 in the first volume 601. Further, the storage apparatus 101-2 sets the value of the copy destination volume 120-3 of the local copy pair deleted from the storage apparatus 101-1 to the second volume 602. Further, the storage system 101-2 sets “HA” as the copy type 603.
  • the storage apparatus 101-2 adds an entry to the HA pair status information 114.
  • the storage apparatus 101-2 sets the same value as the first volume 601 of the entry added to the volume pair information 113 in the first volume 701, and sets the second entry of the entry added to the volume pair information 113 in the second volume 702. 2
  • the same value as that of the volume 602 is set. That is, the storage apparatus 101-2 sets “abnormal” in the I / O state 713 and “normal” in the I / O state 716.
  • the storage apparatus 101-2 transmits an update command including information on the entry added to the volume pair information 113 and the HA pair status information 114 to the storage apparatus 101-1.
  • the storage apparatus 101-1 updates the volume pair information 113 and the HA pair status information 114 based on the information included in the update command.
  • the above is the description of the process in step S1008.
  • the volume pair information 113 is updated from the state of FIG. 9B to the state of FIG.
  • the pair management module 115 when canceling the local copy, changes the copy pair configuration so that the volume 120 mapped to the virtual volume 140 has a redundant configuration, Also, cancel local copy. As a result, the redundant configuration of the volume 120 mapped to the virtual volume 140 can be maintained.
  • the operation burden can be reduced.
  • control module 110 generates and deletes a copy pair, but the present invention is not limited to this.
  • the pair management module 115 may generate and delete a copy pair.
  • each storage apparatus 101 has the pair management module 115, but the present invention is not limited to this.
  • a similar module may be added to a device having a function of managing the HA configuration.
  • the management computer 100 may have the pair management module 115. In this case, the management computer 100 executes processing using the volume pair information 113 and transmits a control command of the storage apparatus 101 including the processing result to each storage apparatus 101.
  • this invention is not limited to the above-mentioned Example, Various modifications are included. Further, for example, the above-described embodiments are described in detail for easy understanding of the present invention, and are not necessarily limited to those provided with all the described configurations. In addition, a part of the configuration of the embodiment can be added to, deleted from, or replaced with another configuration.
  • each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit.
  • the present invention can also be realized by software program codes that implement the functions of the embodiments.
  • a storage medium in which the program code is recorded is provided to the computer, and a CPU included in the computer reads the program code stored in the storage medium.
  • the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing it constitute the present invention.
  • Examples of storage media for supplying such program codes include flexible disks, CD-ROMs, DVD-ROMs, hard disks, SSDs (Solid State Drives), optical disks, magneto-optical disks, CD-Rs, magnetic tapes, A non-volatile memory card, ROM, or the like is used.
  • program code for realizing the functions described in this embodiment can be implemented by a wide range of programs or script languages such as assembler, C / C ++, Perl, Shell, PHP, Java, and the like.
  • the program code is stored in a storage means such as a hard disk or memory of a computer or a storage medium such as a CD-RW or CD-R.
  • the CPU included in the computer may read and execute the program code stored in the storage unit or the storage medium.
  • control lines and information lines indicate those that are considered necessary for the explanation, and do not necessarily indicate all the control lines and information lines on the product. All the components may be connected to each other.

Abstract

複数のストレージ装置を有するストレージシステムであって、複数のストレージ装置は、ボリュームがマッピングされた仮想ボリュームを含む仮想ストレージ装置をユーザに提供する制御モジュールを有し、制御モジュールは、仮想ストレージ装置に含まれる第1仮想ボリュームから第2仮想ボリュームへのローカルコピーを設定するコマンドを受け付けた場合、第1仮想ボリュームにマッピングされた複数の第1ボリュームと、前記第2仮想ボリュームにマッピングされた複数の第2ボリュームとを特定し、ローカルコピーのコピー先となるボリュームに対するデータの書込経路が一つとなるようにコピーペアの構成を変更することによって、同一のストレージ装置に含まれる第1ボリュームから第2ボリュームへのローカルコピーを設定する。

Description

ストレージシステム及びストレージシステムの管理方法
 本発明は、HA構成のストレージシステムのストレージ仮想化技術に関する。
 複数のストレージ装置(ストレージサブシステム)を有するストレージシステムを用いて、ユーザが使用する仮想ストレージ装置を提供するストレージ仮想化技術が知られている。一方、BCM(事業継続マネジメント)の観点から、HA構成のストレージシステムが求められている。
 HA構成のストレージシステムを用いたストレージ仮想化では、仮想ストレージ装置に含まれる一つの仮想ボリュームに対して、複数のストレージ装置が管理するボリューム(記憶領域)がマッピングされる。一つの仮想ボリュームにマッピングされた複数のボリュームはHAペアを構成する。これによって、データの冗長性が確保される。
特開2013-186883号公報
 特許文献1には、多重ストレージサブシステムの仮想化技術を管理するインタフェースについて記載されている。具体的には、「ストレージ・システムは、ストレージ・サブシステム、ストレージ・コントローラ、制御モジュールから構成される。仮想ボリュームを管理するストレージ・コントローラは、複数の論理ボリュームを管理し、仮想ボリュームのデータの論理ボリュームへの記憶を制御する。制御モジュールは、仮想ボリュームへのストレージ機能登録を命令するコマンドの受信を契機に、コマンドをボリューム及びコントローラ間のマッピングに基づき、論理ボリュームの中のターゲット論理ボリュームに対するストレージ機能の登録を命令するコマンドを変換する。ストレージ・コントローラは、ターゲット論理ボリュームへの変換済みコマンドを処理する。制御モジュールは、ストレージ・コントローラのうちの少なくとも1つまたはストレージ・システム内の別のコンピュータに設けられる。」ことが記載されている。
 HA構成のストレージシステムにおいて、仮想ストレージ装置にローカルコピーを設定する場合、コピー元のボリュームがHAペアを構成し、また、コピー先のボリュームもHAペアを構成しているため、ローカルコピーのコピー先のボリュームに対して、複数のデータの書込経路が存在する。そのため、ローカルコピーのコピー先のボリュームにデータ矛盾が発生する可能性がある。
 したがって、特許文献1に記載されているように、ストレージ装置間でコマンドを転送するだけでは、HA構成のストレージシステムにローカルコピーを設定することができない。
 本発明は、HA構成のストレージシステムにおいて、仮想ストレージ装置に対してデータ矛盾が発生しないローカルコピーの設定を可能とするストレージシステム及び管理方法を提供する。
 本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、複数のストレージ装置を有するストレージシステムであって、前記複数のストレージ装置は、プロセッサ、前記プロセッサに接続されるメモリ、前記プロセッサに接続される記憶装置、及び前記プロセッサに接続され、外部装置と接続するためのインタフェースを有し、前記記憶装置の記憶領域から生成されるボリュームがマッピングされた仮想ボリュームを含む仮想ストレージ装置をユーザに提供する制御モジュールを有し、前記仮想ボリュームには、異なるストレージ装置の前記ボリュームがマッピングされ、前記制御モジュールは、前記仮想ストレージ装置に含まれる第1仮想ボリュームから第2仮想ボリュームへのローカルコピーを設定するコマンドを受け付けた場合、前記第1仮想ボリュームにマッピングされた複数の第1ボリュームと、前記第2仮想ボリュームにマッピングされた複数の第2ボリュームとを特定し、同一の前記ストレージ装置内のローカルコピーのコピー先となるボリュームに対するデータの書込経路が一つとなるように前記複数のボリュームから構成されるコピーペアの構成を変更することによって、同一の前記ストレージ装置に含まれる前記第1ボリュームから前記第2ボリュームへのローカルコピーを設定することを特徴とする。
 本発明によれば、HA構成のストレージシステムにおいて、仮想ストレージ装置に対してデータ矛盾が発生しないローカルコピーの設定が可能となる。前述した以外の課題、構成及び効果は、以下の実施例の説明によって明らかにされる。
実施例1のストレージシステムの構成例を示す図である。 実施例1の管理計算機のハードウェア構成及びソフトウェア構成の一例を示す図である。 実施例1のストレージ装置のハードウェア構成及びソフトウェア構成の一例を示す図である。 実施例1のペア優先度情報の一例を示す図である。 実施例1のマッピング情報の一例を示す図である。 実施例1のボリュームペア情報の一例を示す図である。 実施例1のHAペア状態情報の一例を示す図である。 実施例1のペア管理モジュールが実行するローカルコピー設定処理を説明するフローチャートである。 実施例1のボリュームペア情報の更新状態の一例を示す図である。 実施例1のボリュームペア情報の更新状態の一例を示す図である。 実施例1のペア管理モジュールが実行するローカルコピー解除処理を説明するフローチャートである。 実施例1のペア管理モジュールが実行するローカルコピー解除処理を説明するフローチャートである。 実施例1のペア管理モジュールが実行するローカルコピー解除処理を説明するフローチャートである。
 図1は、実施例1のストレージシステムの構成例を示す図である。
 実施例1のストレージシステムは、管理計算機100及び複数のストレージ装置(ストレージサブシステム)101から構成される。図1に示すストレージシステムは、二つのストレージ装置101-1、101-2を有する。以下の説明では、ストレージ装置101-1、101-2を区別しない場合、ストレージ装置101と記載する。
 管理計算機100は、ネットワーク105を介して、複数のストレージ装置101の各々と接続する。また、複数のストレージ装置101の各々は、ネットワーク106を介して他のストレージ装置101と接続する。
 ストレージ装置101は、ユーザが使用するボリュームを提供する記憶装置である。本実施例では、HA構成の二つのストレージ装置101-1、101-2を用いて仮想ストレージ装置130を構成する。ユーザは、仮想ストレージ装置130を一つの物理的なストレージ装置として利用することができる。なお、図1では、ユーザが使用する端末及びシステム等は省略している。
 管理計算機100は、複数のストレージ装置101を制御する。管理計算機100のハードウェア構成及びソフトウェア構成の詳細は、図2を用いて説明する。
 ストレージ装置101は、仮想ストレージ装置130を管理するための機能を有する。例えば、ストレージ装置101は、コピー種別が異なるコピーペアの生成するための機能を有する。なお、ストレージ装置101が有する一般的な機能は、公知のものであるため詳細な説明は省略する。
 本実施例のストレージ装置101は、制御モジュール110を実現するプログラムを有する。本実施例の制御モジュール110は、ペア管理モジュール115を含む。また、ストレージ装置101は、ペア優先度情報111、マッピング情報112、ボリュームペア情報113、及びHAペア状態情報114を保持する。ストレージ装置101のハードウェア構成及びソフトウェア構成の詳細は、図3を用いて説明する。
 ここで、複数のストレージ装置101内のボリュームについて説明する。なお、ボリュームは、任意のサイズの記憶領域を示すものである。一つの記憶装置305(図3参照)をボリュームとしてもよいし、また、複数の記憶装置を用いて生成されたLU(Logical Unit)をボリュームとしてもよい。
 ストレージ装置101は、ボリュームを生成し、仮想ストレージ装置130に含まれる仮想ボリュームにボリュームをマッピングする。また、ストレージ装置101は、コピー種別が異なるコピーペアを生成する。
 コピー種別には、例えば、HA構成の複数のストレージ装置101の各々に含まれるボリューム間のリモートコピー、及び一つのストレージ装置101に含まれるボリューム間のローカルコピーが含まれる。
 以下の説明では、リモートコピーと記載した場合、HA構成の複数のストレージ装置101の各々に含まれるボリューム間のリモートコピーを示すものとする。また、以下の説明では、リモートコピーのコピーペアをHAペアと記載し、また、前述のローカルコピーのコピーペアをローカルコピーペアと記載する。HAペアでは、ボリューム120間で双方向のコピーが行われる。ローカルコピーでは、ボリューム120間で単方向のコピーが行われる。
 ボリュームを冗長化する場合、管理者は、管理計算機100を操作して、複数のストレージ装置101のボリュームからHAペアを生成し、HAペアを構成する複数のボリュームを一つの仮想ボリュームにマッピングする。なお、図1の点線はマッピング関係を示し、図1の実線はデータの書込経路を示す。
 図1に示す仮想ストレージ装置130は、仮想正ボリューム140-1及び仮想副ボリューム140-2を含む。以下の説明では、仮想正ボリューム140-1及び仮想副ボリューム140-2を区別しない場合、仮想ボリューム140と記載する。
 仮想正ボリューム140-1には、ストレージ装置101-1のボリューム120-1及びストレージ装置101-2のボリューム120-2がマッピングされる。ボリューム120-1及びボリューム120-2は、HAペアを構成する。
 仮想副ボリューム140-2には、ストレージ装置101-1のボリューム120-3及びストレージ装置101-2のボリューム120-4がマッピングされる。ボリューム120-1とボリューム120-3との間、及びボリューム120-2とボリューム120-4との間には、ローカルコピーが設定される。すなわち、ボリューム120-1及びボリューム120-3はローカルコピーペアを構成し、また、ボリューム120-2及びボリューム120-4はローカルコピーペアを構成する。
 以下の説明では、ボリューム120-1、120-2、120-3、120-4を区別しない場合、ボリューム120と記載する。
 図1は、ユーザが仮想正ボリューム140-1から仮想副ボリューム140-2へのローカルコピーを設定した後のシステム状態を示す。なお、仮想ストレージ装置130にローカルコピーが設定される前は、自ストレージ装置101に含まれるボリューム120間にはローカルコピーが設定されず、ボリューム120-3及びボリューム120-4がHAペアを構成するものとする。
 図2は、実施例1の管理計算機100のハードウェア構成及びソフトウェア構成の一例を示す図である。
 管理計算機100は、プロセッサ200、メモリ201、I/Oアダプタ202、及びNIC(Network Interface Card)203を有する。各構成は、内部バス等を介して互いに接続される。
 プロセッサ200は、メモリ201に格納されるプログラムを実行する演算装置である。プロセッサ200がメモリ201に格納されるプログラムを実行することによって、管理計算機100が有する機能を実現する。以下の説明では、モジュールを主語に処理を説明する場合、プロセッサ200が当該モジュールを実現するプログラムを実行していることを示す。
 メモリ201は、プロセッサ200が実行するプログラム及び当該プログラムが使用する情報を格納する。本実施例のメモリ201は、ストレージ管理モジュール210を実現するプログラムを格納する。ストレージ管理モジュール210は、複数のストレージ装置101を制御する。また、メモリ201は、プログラムが使用するワークエリアを含む。
 I/Oアダプタ202は、入出力装置に接続するためのインタフェースである。入出力装置は、キーボード、マウス、タッチパネル、及びディスプレイ等を含む。NIC203は、ネットワークを介して他の装置と接続するためのインタフェースである。
 なお、管理計算機100は、プロセッサ200、メモリ201、I/Oアダプタ202、及びNIC203を二つ以上有してもよい。
 図3は、実施例1のストレージ装置101のハードウェア構成及びソフトウェア構成の一例を示す図である。
 ストレージ装置101は、プロセッサ300、メモリ301、I/Oアダプタ302、NIC303、コントローラ304、及び複数の記憶装置305を有する。各構成は、内部バス等を介して互いに接続される。プロセッサ300、メモリ301、I/Oアダプタ302、及びNIC303は、プロセッサ200、メモリ201、I/Oアダプタ202、及びNIC203と同一のものである。
 コントローラ304は、複数の記憶装置305を制御する。記憶装置305は、データを永続的に記憶する記憶装置である。記憶装置305の記憶領域からボリュームが生成される。記憶装置305は、例えば、HDD(Hard Disk Drive)及びSSD(Solid State Drive)等が考えられる。
 ここで、メモリ301に格納されるプログラム及び情報について説明する。メモリ301は、制御モジュール110を実現するプログラムを格納する。また、メモリ301は、ペア優先度情報111、マッピング情報112、ボリュームペア情報113、及びHAペア状態情報114を格納する。
 制御モジュール110は、仮想ストレージ装置130を提供するための各種機能を有する。例えば、制御モジュール110は、ボリューム120及び仮想ボリューム140間のマッピング関係を管理する機能、コピーペアの生成及び削除を制御する機能、並びに、コピーペア間のコピーを制御する機能等を有する。本実施例の制御モジュール110は、ペア管理モジュール115を含む。
 ペア管理モジュール115は、仮想ストレージ装置130に対するローカルコピーの設定時及び解除時に各コピー種別のコピーペアの構成を制御する。
 具体的には、ペア管理モジュール115は、ローカルコピーを設定する場合、ローカルコピーのコピー先のボリューム120に対するデータの書込経路が一つとなるように各コピー種別のコピーペアの構成を変更する。また、ペア管理モジュール115は、ローカルコピーを解除する場合、仮想ストレージ装置130内の仮想ボリューム140にマッピングされるボリューム120が冗長構成となるように、各コピー種別のコピーペアの構成を変更する。
 ペア優先度情報111は、コピー種別の優先度を管理する情報である。ペア優先度情報111の詳細は、図4を用いて説明する。マッピング情報112は、仮想ボリューム140とボリューム120との間のマッピング関係を管理する情報である。マッピング情報112の詳細は、図5を用いて説明する。ボリュームペア情報113は、コピーペアの構成を管理する情報である。ボリュームペア情報113の詳細は、図6を用いて説明する。HAペア状態情報114は、HAペアを構成するボリューム120のI/O状態を管理する情報である。HAペア状態情報114の詳細は、図7を用いて説明する。
 図4は、実施例1のペア優先度情報111の一例を示す図である。
 ペア優先度情報111は、コピー種別401及び優先度402から構成されるエントリを複数含む。
 コピー種別401は、コピー種別である。コピー種別401にはリモートコピーを示す「HA」、ローカルコピーを示す「ローカルコピー」等が格納される。管理者は、適宜、ペア優先度情報111を更新できる。優先度402は、コピー種別に設定される優先度である。優先度は、ローカルコピーを設定する場合に構成を変更するコピーペアの優先順位を規定する指標である。本実施例では、優先度が低いコピーペアから順に削除される。
 本実施例では、「1」以上の整数が優先度の高さを表す値として用いられる。最も優先度が高いコピー種別には「1」が設定される。図4に示すように、本実施例では、「ローカルコピー」の優先度が「HA」の優先度より高く設定される。
 図5は、実施例1のマッピング情報112の一例を示す図である。
 マッピング情報112は、仮想ボリュームID501、装置ID502、及びボリュームID503から構成される複数のエントリを含む。
 本実施例では、一ユーザに対して一つのマッピング情報112が存在するものとする。なお、ユーザの識別子を格納するカラムをエントリに含めて、複数のユーザが使用する仮想ボリューム140を一つのマッピング情報112を用いて管理してもよい。
 仮想ボリュームID501は、仮想ストレージ装置130内の仮想ボリューム140を一意に識別する識別情報である。装置ID502は、仮想ボリューム140にマッピングされたボリューム120を提供するストレージ装置101を識別する識別情報である。ボリュームID503は、仮想ボリューム140にマッピングされたボリューム120を識別する識別情報である。
 図6は、実施例1のボリュームペア情報113の一例を示す図である。
 ボリュームペア情報113は、第1ボリューム601、第2ボリューム602、及びコピー種別603から構成されるエントリを複数含む。
 第1ボリューム601は、コピーペアを構成する一つのボリューム120に関する情報を格納するカラム群である。第1ボリューム601は、装置ID611及びボリュームID612を含む。装置ID611及びボリュームID612は、装置ID502及びボリュームID503と同一のものである。
 HAペアのエントリの場合、第1ボリューム601には、HAペアの生成時に実行される同期コピーのコピー元のボリューム120に関する情報が格納される。ローカルコピーペアのエントリの場合、第1ボリューム601には、ローカルコピーのコピー元のボリューム120に関する情報が格納される。
 第2ボリューム602は、コピーペアを構成する一つのボリューム120に関する情報を格納するカラム群である。第2ボリューム602は、装置ID613及びボリュームID614を含む。装置ID613及びボリュームID614は、装置ID502及びボリュームID503と同一のものである。
 HAペアのエントリの場合、第2ボリューム602には、HAペアの生成時に実行される同期コピーのコピー先のボリューム120に関する情報が格納される。ローカルコピーペアのエントリの場合、第2ボリューム602には、ローカルコピーのコピー先のボリューム120に関する情報が格納される。
 コピー種別603は、コピーペアのコピー種別であり、コピー種別401と同一のものである。
 図6は、仮想ストレージ装置130にローカルコピーが設定される前のボリュームペア情報113を示す。ローカルコピーが設定される前はリモートコピーのみが設定されるため、ボリュームペア情報113は、コピー種別603が「HA」であるエントリのみを含む。
 図7は、実施例1のHAペア状態情報114の一例を示す図である。
 HAペア状態情報114は、第1ボリューム701、第2ボリューム702、及びペア状態703から構成される複数のエントリを含む。
 第1ボリューム701は、HAペアを構成する一つのボリューム120に関する情報を格納するカラム群である。第2ボリューム702は、HAペアを構成する一つのボリューム120に関する情報を格納するカラム群である。
 第1ボリューム701は、装置ID711、ボリュームID712、及びI/O状態713を含む。装置ID711及びボリュームID712は、装置ID502及びボリュームID503と同一のものである。
 I/O状態713は、装置ID711及びボリュームID712に対応するボリューム120のI/O状態である。I/O状態713には「正常」又は「異常」のいずれかが格納される。「正常」はデータの書込処理が正常に行える状態であることを示し、「異常」はデータの書込処理が正常に行えない状態であることを示す。
 第2ボリューム702に含まれる装置ID714、ボリュームID715、及びI/O状態716は、装置ID711、ボリュームID712、及びI/O状態713と同一のものである。
 ペア状態703は、HAペアのI/O状態である。ペア状態703には「正常」又は「異常」のいずれかが格納される。I/O状態713及びI/O状態716が「正常」である場合、ペア状態703には「正常」が格納され、I/O状態713及びI/O状態716のいずれか一方が「異常」である場合、ペア状態703には「異常」が格納される。
 本実施例のストレージ装置101は、ローカルコピーを設定する場合、少なくとも一つのHAペアを維持する。一方、ストレージ装置101は、ローカルコピーを解除する場合、仮想ボリューム140にマッピングされたボリューム120が冗長構成となるようにHAペアを生成する。
 ローカルコピーの解除に伴ってHAペアを新たに生成する場合、二つのボリューム120を同期させるために、いずれかのボリューム120をコピー元に指定する必要がある。以下の説明では、HAペアの生成時に実行される同期コピーを、単に、同期コピーとも記載する。
 I/O状態が正常であるボリューム120には、最新のデータが格納されている可能性が高い。そこで、ストレージ装置101は、HAペアのI/O状態に基づいて、同期コピーのコピー方向(書込方向)を決定する。具体的には、以下のように決定される。
 ペア状態703が「正常」である場合、I/O状態は特に気にする必要はない。すなわち、いずれのボリューム120をコピー元に指定してもよい。本実施例では、第1ボリューム701に対応するボリューム120が同期コピーのコピー元に設定される。
 ペア状態703が「異常」である場合、以下のようにコピー方向を設定される。I/O状態713が「正常」かつI/O状態716が「異常」の場合、第1ボリューム701に対応するボリューム120がコピー元に設定され、また、第2ボリューム702に対応するボリューム120がコピー先に設定される。I/O状態713が「異常」かつI/O状態716が「正常」の場合、第2ボリューム702に対応するボリューム120がコピー元に設定され、また、第1ボリューム701に対応するボリューム120がコピー先に設定される。I/O状態713が「異常」かつI/O状態716が「異常」の場合、第1ボリューム701に対応するボリューム120がコピー元に設定され、第2ボリューム702に対応するボリューム120がコピー先に設定される。
 図8は、実施例1のペア管理モジュール115が実行するローカルコピー設定処理を説明するフローチャートである。図9A及び図9Bは、実施例1のボリュームペア情報113の更新状態の一例を示す図である。
 ペア管理モジュール115は、任意のユーザが使用する仮想ストレージ装置130に対して発行されたローカルコピー設定コマンドを受信した場合(ステップS800)、以下の処理を実行する。
 なお、ローカルコピー設定コマンドには、ユーザの識別情報、並びコピー元の仮想ボリューム140(仮想正ボリューム140-1)及びコピー先の仮想ボリューム140(仮想副ボリューム140-2)のそれぞれの識別情報が含まれる。
 まず、ペア管理モジュール115は、指定された仮想ボリューム140にマッピングされたボリューム120から構成されるコピーペアが存在するか否かを判定する(ステップS801)。具体的には、以下のような処理が実行される。
 ペア管理モジュール115は、ユーザの識別情報に基づいて参照するマッピング情報112を特定する。
 (1)ペア管理モジュール115は、特定されたマッピング情報112の仮想ボリュームID501がローカルコピー設定コマンドに含まれるコピー元の仮想ボリューム140の識別情報に一致するエントリを検索する。
 (2)ペア管理モジュール115は、検索されたエントリの中から、装置ID502が自ストレージ装置101の識別情報と一致するエントリを選択する。ペア管理モジュール115は、選択されたエントリのボリュームID503の値を取得する。
 (3)ペア管理モジュール115は、ボリュームペア情報113を参照し、装置ID611及びボリュームID612、又は、装置ID613及びボリュームID614が、ストレージ装置101の識別情報及び取得されたボリューム120の識別情報に一致するエントリを検索する。
 ペア管理モジュール115は、コピー先の仮想ボリューム140についても(1)から(3)までの処理を実行する。
 以下の説明では、検索されたエントリに対応するコピーペアを既存コピーペアとも記載する。
 二つの仮想ボリューム140のいずれかの一方について、前述の条件を満たすエントリが存在する場合、ペア管理モジュール115は、指定された仮想ボリューム140にマッピングされたボリューム120から構成されるコピーペアが存在すると判定する。以上がステップS801の処理の説明である。
 指定された仮想ボリューム140にマッピングされたボリューム120から構成されるコピーペアが存在しないと判定された場合、ペア管理モジュール115は、ステップS803に進む。
 指定された仮想ボリューム140にマッピングされたボリューム120から構成されるコピーペアが存在すると判定された場合、ペア管理モジュール115は、ローカルコピーを設定できるか否かを判定する(ステップS802)。すなわち、既存コピーペアの構成を変更できるか否かが判定される。具体的には、以下のような処理が実行される。
 ペア管理モジュール115は、ペア優先度情報111を参照して、コピー種別401が「ローカルコピー」であるエントリ、及びコピー種別401が既存コピーペアのコピー種別に一致するエントリを検索する。ペア管理モジュール115は、検索されたエントリの優先度402の値を取得する。
 ペア管理モジュール115は、ローカルコピーの優先度が既存コピーペアのコピー種別の優先度より高いか否かを判定する。ローカルコピーの優先度が既存コピーペアのコピー種別の優先度より高い場合、ペア管理モジュール115は、既存コピーペアの構成を変更できると判定する。すなわち、ローカルコピーを設定できると判定される。
 なお、複数の既存コピーペアが存在する場合、ペア管理モジュール115は、複数の既存コピーペアのコピー種別の中から最も高い優先度が高いコピー種別を選択する。ペア管理モジュール115は、ローカルコピーの優先度が選択された既存コピーペアのコピー種別の優先度より高いか否かを判定する。
 本実施例では、リモートコピーの優先度がローカルコピーの優先度より低いため、既存コピーペアがHAペアのみである場合、ローカルコピーを設定できると判定される。
 ローカルコピーを設定できないと判定された場合、ペア管理モジュール115は、ユーザにエラーを通知する(ステップS809)。その後、ペア管理モジュール115は、ローカルコピー設定処理を終了する。
 ローカルコピーを設定できると判定された場合、ペア管理モジュール115は、コピーペアの変更内容を決定する(ステップS803)。具体的には、以下のような処理が実行される。
 (1)ペア管理モジュール115は、自ストレージ装置101に含まれ、かつ、既存コピーペアを構成するボリューム120の中からローカルコピーペアを構成するボリューム120を選択する。
 具体的には、ペア管理モジュール115は、自ストレージ装置101に含まれ、かつ、コピー元の仮想ボリューム140にマッピングされるボリューム120、及び自ストレージ装置101に含まれ、かつ、コピー先の仮想ボリューム140にマッピングされるボリューム120を選択する。
 (2)ペア管理モジュール115は、既存コピーペアの中から削除する既存コピーペア(HAペア)を選択する。
 具体的には、ペア管理モジュール115は、装置ID611及び装置ID613のいずれかに自ストレージ装置101の識別情報が含まれる既存コピーペアのエントリを特定する。特定された既存コピーペアが一つである場合、ペア管理モジュール115は、既存コピーペアを削除しない。特定された既存コピーペアが複数存在する場合、ペア管理モジュール115は、コピー元の仮想ボリューム140にマッピングされたボリューム120から構成される既存コピーペア以外の既存コピーペアを削除対象の既存コピーペアに選択する。
 例えば、仮想正ボリューム140-1にマッピングされたボリューム120から構成されるHAペア(第1HAペア)及び仮想副ボリューム140-2にマッピングされたボリューム120から構成されるHAペア(第2HAペア)が存在する場合、第2HAペアが削除対象の既存コピーペアとして選択される。
 なお、仮想ボリューム140のコピー階層が3以上の場合、最も階層が高い既存コピーペア以外の既存コピーペアが削除対象の既存コピーペアとして選択される。以上が、ステップS803の処理の説明である。
 次に、ペア管理モジュール115は、ローカルコピーペアを生成する(ステップS804)。
 具体的には、ペア管理モジュール115は、制御モジュール110にローカルコピーペアの生成を要求する。制御モジュール110は、自ストレージ装置101に含まれ、かつ、コピー元の仮想ボリューム140にマッピングされるボリューム120、及び自ストレージ装置101に含まれ、かつ、コピー先の仮想ボリューム140にマッピングされたボリューム120からローカルコピーペアを生成する。当該ローカルコピーペアの情報は、メモリ301に一時的に格納される。
 次に、ペア管理モジュール115は、仮想正ボリューム140-1にマッピングされたボリューム120から構成される既存コピーペアがコピー中であるか否かを判定する(ステップS805)。
 仮想正ボリューム140-1にマッピングされたボリューム120から構成される既存コピーペアがコピー中であると判定された場合、ペア管理モジュール115は、待ち状態に移行する(ステップS810)。一定時間経過した後、ペア管理モジュール115は、待ち状態を解除し、ステップS805に戻り、同様の処理を実行する。
 仮想正ボリューム140-1にマッピングされたボリューム120から構成される既存コピーペアのコピー中にローカルコピーを有効化した場合、以下のような問題が発生する。一つの問題は、同期型のコピーを行うローカルコピーの場合、書込の待ち時間が長くなることである。もう一つの問題は、差分型のコピーを行うローカルコピーの場合、差分データが大量に発生することである。前述した問題を解消するために、ペア管理モジュール115は、ステップS810の処理を実行する。
 仮想正ボリューム140-1にマッピングされたボリューム120から構成される既存コピーペアがコピー中でないと判定された場合、ペア管理モジュール115は、削除対象の既存コピーペアを削除する(ステップS806)。具体的には、以下のような処理が実行される。
 ペア管理モジュール115は、制御モジュール110に削除対象の既存コピーペアの削除を要求する。ペア管理モジュール115は、ボリュームペア情報113から、削除対象の既存コピーペアのエントリを削除する。また、ペア管理モジュール115は、HAペア状態情報114から、削除対象の既存コピーペアのエントリを削除する。
 ペア管理モジュール115は、他のストレージ装置101に削除したエントリの情報を含む更新コマンドの送信を制御モジュール110に要求する。更新コマンドは、ストレージシステムに含まれる全てのストレージ装置101に送信される。なお、HA構成のストレージ装置101にのみ更新コマンドが送信されてもよい。
 更新コマンドを受信したストレージ装置101は、ボリュームペア情報113及びHAペア状態情報114から、削除対象の既存コピーペアのエントリを削除する。以上がステップS806の処理の説明である。
 次に、ペア管理モジュール115は、ローカルコピーを開始する(ステップS807)。具体的には、以下のような処理が実行される。
 ペア管理モジュール115は、メモリ301に格納されるローカルコピーペアの情報に基づいて、ボリュームペア情報113にローカルコピーペアのエントリを追加する。ペア管理モジュール115は、追加されたエントリの第1ボリューム601にコピー元の仮想ボリューム140にマッピングされたボリューム120の情報を設定し、追加されたエントリの第2ボリューム602にコピー先の仮想ボリューム140にマッピングされたボリューム120の情報を設定する。また、ペア管理モジュール115は、追加されたエントリのコピー種別603に「ローカルコピー」を設定する。
 ペア管理モジュール115は、制御モジュール110にローカルコピーの開始を要求する。ペア管理モジュール115は、追加されたエントリの情報を含む更新コマンドの他のストレージ装置101への送信を制御モジュール110に要求する。更新コマンドは、ストレージシステムに含まれる全てのストレージ装置101に送信される。なお、HA構成のストレージ装置101にのみ更新コマンドが送信されてもよい。
 更新コマンドを受信したストレージ装置101は、ボリュームペア情報113に、ローカルコピーペアのエントリを追加する。以上がステップS807の処理の説明である。なお、ボリュームペア情報113の更新は、ステップS804で実行されてもよい。
 次に、ペア管理モジュール115は、管理計算機100がローカルコピー設定コマンドの送信元であるか否かを判定する(ステップS808)。
 例えば、ペア管理モジュール115は、ローカルコピー設定コマンドを含むパケットのヘッダ情報に基づいて、当該コマンドの送信元を特定する方法が考えられる。また、コマンドに送信元を示す情報を含めてもよい。
 管理計算機100がローカルコピー設定コマンドの送信元ではないと判定された場合、ペア管理モジュール115は、ローカルコピー設定処理を終了する。
 管理計算機100がローカルコピー設定コマンドの送信元であると判定された場合、ペア管理モジュール115は、HA構成の他のストレージ装置101にコマンドを転送する(ステップS811)。その後、ペア管理モジュール115は、ローカルコピー設定処理を終了する。
 具体的には、ペア管理モジュール115は、既存コピーペアを構成するボリューム120を含むストレージ装置101にコマンドを転送する。
 図8に示すように、ペア管理モジュール115は、ローカルコピーを設定する場合、一つのHAペアを維持し、ローカルコピーペアのコピー先のボリュームへの書込経路が一つとなるようにコピーペアの構成を変更し、また、ローカルコピーを設定する。これによって、仮想ストレージ装置130の冗長構成を保ちつつ、データ矛盾が発生しないローカルコピーを設定できる。
 ここで、具体例を用いてローカルコピー設定処理を説明する。
 処理の開始前は、仮想ストレージ装置130にはローカルコピーが設定されていないものとする。また、処理の開始前は、ボリューム120-1及びボリューム120-2がHAペアを構成し、また、ボリューム120-3及びボリューム120-4がHAペアを構成するものとする。仮想正ボリューム140-1にマッピングされたボリューム120-1及びボリューム120-2から構成されるHAペアはコピー中ではないものとする。
 ストレージ装置101-1は、仮想正ボリューム140-1及び仮想副ボリューム140-2の識別情報を含むローカルコピー設定コマンドを管理計算機100から受信する。
 仮想正ボリューム140-1にマッピングされるボリューム120-1及びボリューム120-2からHAペアが構成され、また、仮想副ボリューム140-2にマッピングされるボリューム120-3及びボリューム120-4からHAペアが構成される。したがって、ステップS801の判定結果はYESとなる。
 ローカルコピーの優先度はリモートコピーの優先度より高いため、ステップS802の判定結果はYESとなる。
 ステップS803では、ストレージ装置101-1は、仮想正ボリューム140-1にマッピングされるボリューム120-1及び仮想副ボリューム140-2にマッピングされるボリューム120-3を、ローカルコピーペアを構成するボリューム120として選択する。また、ストレージ装置101-1は、仮想副ボリューム140-2にマッピングされるボリューム120-3及びボリューム120-4から構成されるHAペアを、削除対象の既存コピーペアに選択する。
 ステップS804では、ストレージ装置101-1は、ボリューム120-1及びボリューム120-3からローカルコピーペアを生成する。
 ステップS806において、ストレージ装置101-1は、ボリューム120-3及びボリューム120-4から構成されるHAペアを削除する。このとき、ストレージ装置101-1は、ボリュームペア情報113及びHAペア状態情報114から削除されたHAペアに対応するエントリを削除する。また、ストレージ装置101-1は、ストレージ装置101-2に削除したエントリの情報を含む更新コマンドを送信する。
 ストレージ装置101-2は、更新コマンドを受信した場合、ボリュームペア情報113及びHAペア状態情報114から、削除対象のHAペアに対応するエントリを削除する。
 ステップS807において、ストレージ装置101-1は、ボリュームペア情報113にエントリを追加する。ストレージ装置101-1は、追加されたエントリの装置ID611及び装置ID613にストレージ装置101-1の識別情報を設定し、追加されたエントリのボリュームID612にボリューム120-1の識別情報が設定し、追加されたエントリのボリュームID614にボリューム120-3の識別情報が設定する。また、ストレージ装置101-1は、追加されたエントリのコピー種別603に「ローカルコピー」を設定する。
 ストレージ装置101-1は、ストレージ装置101-2に追加したエントリの情報を含む更新コマンドを送信する。ストレージ装置101-2は、更新コマンドを受信した場合、ボリュームペア情報113にローカルコピーペアのエントリを追加する。
 この時点では、ストレージ装置101-1、101-2が保持するボリュームペア情報113は図9Aに示す状態となる。
 ステップS808の判定結果はYESであるため、ストレージ装置101-1は、ストレージ装置101-2にローカルコピー設定コマンドを送信し、その後、処理を終了する。
 ストレージ装置101-2は、ストレージ装置101-1からローカルコピー設定コマンドを受信する。仮想正ボリューム140-1にマッピングされるボリューム120-1及びボリューム120-2はHAペアを構成する。したがって、ステップS801の判定結果はYESとなる。なお、仮想副ボリューム140-2にマッピングされるボリューム120-3及びボリューム120-4から構成されるHAペアは既に削除されている。
 ローカルコピーの優先度はリモートコピーの優先度より高いため、ステップS802の判定結果はYESとなる。
 ステップS803では、ストレージ装置101-2は、仮想正ボリューム140-1にマッピングされるボリューム120-2及び仮想副ボリューム140-2にマッピングされるボリューム120-4を、ローカルコピーペアを構成するボリューム120として選択する。既存コピーペアは一つのHAペアのみであるため、削除対象の既存コピーペアは選択されない。
 ステップS804では、ストレージ装置101-2は、ボリューム120-2及びボリューム120-4からローカルコピーペアを生成する。
 ステップS806において、既存コピーペアは一つのみであるため、ストレージ装置101-2は、既存コピーペアは削除せずに、ステップS807に進む。
 ステップS807において、ストレージ装置101-2は、ボリュームペア情報113にエントリを追加する。ストレージ装置101-2は、追加されたエントリの装置ID611及び装置ID613にストレージ装置101-2の識別情報を設定し、追加されたエントリのボリュームID612にボリューム120-2の識別情報を設定し、追加されたエントリのボリュームID614にボリューム120-4の識別情報を設定する。また、ストレージ装置101-2は、追加されたエントリのコピー種別603に「ローカルコピー」を設定する。
 ストレージ装置101-2は、ストレージ装置101-1に追加したエントリの情報を含む更新コマンドを送信する。ストレージ装置101-1は、更新コマンドを受信した場合、ボリュームペア情報113にローカルコピーペアのエントリを追加する。
 この時点では、ストレージ装置101-1、101-2が保持するボリュームペア情報113は図9Bに示す状態となる。
 ステップS808の判定結果はNOであるため、ストレージ装置101-2は処理を終了する。
 以上の処理によって、ストレージ装置101-1、101-2は図1に示すような状態となる。本実施例の処理を実行することによって、複数の書込経路から構成されるリンクは開回路となるように設定される。
 ボリューム120-3及びボリューム120-4から構成されるHAペアを削除せずにローカルコピーが設定された場合、例えば、ボリューム120-4に対する書込経路は、ボリューム120-3からのデータの書込経路、及びボリューム120-2からの書込経路が存在する。この場合、データ矛盾が発生する可能性がある。
 一方、本実施例のペア管理モジュール115は、仮想正ボリューム140-1にマッピングされたボリューム120から構成されるHAペアを残し、他のHAペアを削除した上で、ローカルコピーを設定する。したがって、前述のような問題が発生しない。また、仮想ストレージ装置130を利用するユーザは、通常の操作コマンドを用いればよいため、操作負担を削減することができる。
 図10A、図10B、及び図10Cは、実施例1のペア管理モジュール115が実行するローカルコピー解除処理を説明するフローチャートである。
 ペア管理モジュール115は、任意のユーザが使用する仮想ストレージ装置130に対して発行されたローカルコピー解除コマンドを受信した場合(ステップS1000)、以下の処理を実行する。
 なお、ローカルコピー解除コマンドには、ユーザの識別情報、並びにコピー元の仮想ボリューム140(仮想正ボリューム140-1)及びコピー先の仮想ボリューム140(仮想副ボリューム140-2)の識別情報が含まれる。
 まず、ペア管理モジュール115は、指定された仮想ボリューム140に関連するローカルコピーペア及びHAペアを特定する(ステップS1001)。具体的には、以下のような処理が実行される。
 ペア管理モジュール115は、ユーザの識別情報に基づいて参照するマッピング情報112を特定する。ペア管理モジュール115は、特定されたマッピング情報112の仮想ボリュームID501がローカルコピー解除コマンドに含まれる仮想ボリューム140の識別情報に一致するエントリを検索する。
 ペア管理モジュール115は、検索されたエントリの中から、装置ID502が自ストレージ装置101の識別情報と一致するエントリを選択する。ペア管理モジュール115は、選択されたエントリのボリュームID503の値を取得する。
 ペア管理モジュール115は、ボリュームペア情報113を参照し、装置ID611及び装置ID613に自ストレージ装置101の識別情報が設定され、かつ、コピー種別603が「ローカルコピー」であるエントリを検索する。当該エントリがローカルコピーペアのエントリである。
 また、ペア管理モジュール115は、ボリュームペア情報113を参照し、装置ID611及びボリュームID612、又は、装置ID613及びボリュームID614に、自ストレージ装置101の識別情報及び取得されたボリューム120の識別情報が設定され、かつ、コピー種別603が「HA」であるエントリを検索する。当該エントリがHAペアのエントリである。以上がステップS1001の処理の説明である。
 次に、ペア管理モジュール115は、特定されたHAペアのペア状態が「正常」であるか否かを判定する(ステップS1002)。
 具体的には、ペア管理モジュール115は、HAペア状態情報114を参照し、装置ID711、ボリュームID712、装置ID714、及びボリュームID715が、HAペアのエントリの装置ID611、ボリュームID612、装置ID613、及びボリュームID614に一致するエントリを検索する。ペア管理モジュール115は、検索されたエントリのペア状態703が「正常」であるか否かを判定する。
 特定されたHAペアのペア状態が「正常」であると判定された場合、ペア管理モジュール115は、自ストレージ装置101が特定されたHAペアの第1ボリューム601に対応するボリューム120を含むか否かを判定する(ステップS1003)。
 具体的には、ペア管理モジュール115は、ステップS1001において特定されたHAペアのエントリの装置ID611に自ストレージ装置101の識別情報が設定されるか否かを判定する。HAペアのエントリの装置ID611に自ストレージ装置101の識別情報が設定される場合、ペア管理モジュール115は、自ストレージ装置101が特定されたHAペアの第1ボリューム601に対応するボリューム120を含むと判定する。
 自ストレージ装置101が特定されたHAペアの第1ボリューム601に対応するボリューム120を含まないと判定された場合、ペア管理モジュール115は、ステップS1014に進む。
 自ストレージ装置101が特定されたHAペアの第1ボリューム601に対応するボリューム120を含むと判定された場合、ペア管理モジュール115は、自ストレージ装置101内のローカルコピーペアを削除する(ステップS1004)。具体的には、以下のような処理が実行される。
 ペア管理モジュール115は、制御モジュール110にローカルコピーの停止を指示する。また、ペア管理モジュール115は、ステップS1001において特定されたローカルコピーペアのエントリをボリュームペア情報113から削除する。
 このとき、ペア管理モジュール115は、削除されたローカルコピーペアのエントリを、新規HAペアを構成するボリューム120の情報としてメモリ301に一時的に格納する。
 ペア管理モジュール115は、他のストレージ装置101に削除されたエントリの情報を含む更新コマンドの送信を制御モジュール110に要求する。このとき、ペア管理モジュール115は、削除されたローカルコピーペアのエントリを、新規HAペアを構成するボリューム120の情報として更新コマンドに含める。以上がステップS1004の処理の説明である。
 次に、ペア管理モジュール115は、管理計算機100にコマンド完了を送信する(ステップS1005)。さらに、ペア管理モジュール115は、他のストレージ装置101にローカルコピー解除コマンドを転送する(ステップS1006)。
 具体的には、ペア管理モジュール115は、ステップS1001において特定されたHAペアのエントリに基づいて、HAペアを構成するボリューム120を含む他のストレージ装置101にローカルコピー解除コマンドを転送する。
 次に、ペア管理モジュール115は、ローカルコピー解除コマンドを転送した他のストレージ装置101からコマンド完了を受信したか否かを判定する(ステップS1007)。
 ローカルコピー解除コマンドを転送した他のストレージ装置101からコマンド完了を受信していないと判定された場合、ペア管理モジュール115は、待ち状態に移行する(ステップS1010)。一定時間経過した後、ペア管理モジュール115は、待ち状態を解除し、ステップS1007に戻り、同様の処理を実行する。
 なお、ペア管理モジュール115は、他のストレージ装置101から新規HAペアを構成するボリューム120の情報を含むボリュームペア情報113の更新コマンドを受信した場合、当該情報をメモリ301に一時的に格納する。
 ローカルコピー解除コマンドを転送した他のストレージ装置101からコマンド完了を受信したと判定された場合、ペア管理モジュール115は、自ストレージ装置101に含まれ、かつ、ローカルコピーペアのコピー先であったボリューム120を同期コピーのコピー元に設定する(ステップS1008)。具体的には、以下のような処理が実行される。
 ペア管理モジュール115は、ボリュームペア情報113にエントリを追加し、第1ボリューム601に自ストレージ装置101のボリューム120の値を設定し、第2ボリューム602に他のストレージ装置101のボリューム120の値を設定する。さらに、ペア管理モジュール115は、コピー種別603に「HA」を設定する。
 なお、第1ボリューム601には、自ストレージ装置101内のローカルコピーペアのコピー先であったボリューム120の値が設定され、第2ボリューム602には、他のストレージ装置101内のローカルコピーペアのコピー先であったボリューム120の値が設定される。各ボリューム120の情報は、新規HAペアを構成するボリューム120の情報としてメモリ301に格納される。
 また、ペア管理モジュール115は、HAペア状態情報114にエントリを追加し、第1ボリューム701に自ストレージ装置101のボリューム120の値を設定し、第2ボリューム702に他のストレージ装置101のボリューム120の値を設定する。I/O状態713及びI/O状態716には、ステップS1002において特定されたHAペアに対応するエントリのI/O状態713及びI/O状態716と同一の値が設定されるものとする。
 ペア管理モジュール115は、ボリュームペア情報113及びHAペア状態情報114の各々に追加されたエントリの情報を含む更新コマンドの他のストレージ装置101への送信を制御モジュール110に要求する。
 他のストレージ装置101は、更新コマンドに含まれる情報に基づいて、ボリュームペア情報113及びHAペア状態情報114を更新する。
 本実施例では、ペア管理モジュール115は、ローカルコピーペアに対応するエントリを用いてHAペアを構成するボリューム120を特定しているが、これに限定されない。例えば、ペア管理モジュール115は、仮想ボリューム140にマッピングされるボリューム120の中から、ボリュームペア情報113に登録されていないボリューム120を検索する。この場合、検索されたボリューム120がHAペアを構成するボリューム120となる。以上がステップS1008の処理の説明である。
 次に、ペア管理モジュール115は、同期コピーを開始する(ステップS1009)。その後、ペア管理モジュール115は、ローカルコピー解除処理を終了する。
 具体的には、ペア管理モジュール115は、制御モジュール110に自ストレージ装置101のボリューム120と他のストレージ装置101のボリューム120との間の同期コピーの実行を要求する。この場合、HAペアを構成するボリューム120を管理する二つの制御モジュール110は、互いに連携して、第1ボリューム601に対応するボリューム120に格納されるデータを、第2ボリューム602に対応するボリューム120にコピーする。
 ステップS1002において、特定されたHAペアのペア状態が「正常」でないと判定された場合、ペア管理モジュール115は、特定されたHAペアの第1ボリューム701に対応するボリューム120のI/O状態が「正常」であるか否かを判定する(ステップS1011)。
 具体的には、ペア管理モジュール115は、ステップS1002において検索されたエントリのI/O状態713が「正常」であるか否かを判定する。
 特定されたHAペアの第1ボリューム701に対応するボリューム120のI/O状態が「正常」であると判定された場合、ペア管理モジュール115は、ステップS1003に進む。
 特定されたHAペアの第1ボリューム701に対応するボリューム120のI/O状態が「正常」でないと判定された場合、ペア管理モジュール115は、特定されたHAペアの第2ボリューム702に対応するボリューム120のI/O状態が「正常」であるか否かを判定する(ステップS1012)。
 具体的には、ペア管理モジュール115は、ステップS1002において検索されたエントリのI/O状態716が「正常」であるか否かを判定する。
 特定されたHAペアの第2ボリューム602に対応するボリュームのI/O状態が「正常」でないと判定された場合、ペア管理モジュール115は、ステップS1003に進む。
 特定されたHAペアの第2ボリューム602に対応するボリュームのI/O状態が「正常」であると判定された場合、ペア管理モジュール115は、自ストレージ装置101が特定されたHAペアの第2ボリューム602に対応するボリューム120を含むか否かを判定する(ステップS1013)。
 具体的には、ペア管理モジュール115は、ステップS1001において特定されたHAペアのエントリの装置ID613に自ストレージ装置101の識別情報が設定されるか否かを判定する。HAペアのエントリの装置ID613に自ストレージ装置101の識別情報が設定される場合、ペア管理モジュール115は、自ストレージ装置101が特定されたHAペアの第2ボリューム602に対応するボリューム120を含むと判定する。
 自ストレージ装置101が特定されたHAペアの第2ボリューム602に対応するボリューム120を含むと判定された場合、ペア管理モジュール115は、ステップS1004に進む。
 自ストレージ装置101が特定されたHAペアの第2ボリューム602に対応するボリューム120を含まないと判定された場合、ペア管理モジュール115は、管理計算機100がローカルコピー解除コマンドの送信元であるか否かを判定する(ステップS1014)。ステップS1014の処理は、ステップS808と同様の方法を用いるものとする。
 管理計算機100がローカルコピー解除コマンドの送信元でないと判定された場合、ペア管理モジュール115は、自ストレージ装置101内のローカルコピーペアを削除する(ステップS1015)。ステップS1015の処理はステップS1004の処理と同一である。
 次に、ペア管理モジュール115は、ローカルコピー解除コマンドの送信元のストレージ装置101にコマンド完了を送信する(ステップS1016)。その後、ペア管理モジュール115は、ローカルコピー解除処理を終了する。
 ステップS1014において、管理計算機100がローカルコピー解除コマンドの送信元であると判定された場合、ペア管理モジュール115は、他のストレージ装置101にローカルコピー解除コマンドを転送する(ステップS1017)。その後、ペア管理モジュール115は、ローカルコピー解除処理を終了する。ステップS1017の処理はステップS1006の処理と同一である。
 図10A、図10B、及び図10Cに示すように、ペア管理モジュール115は、ローカルコピーを解除する場合、仮想ボリューム140にマッピングされた各ボリューム120が冗長構成となるようにコピーペアの構成を変更し、ローカルコピーを解除する。これによって、ローカルコピーが解除された後も、仮想ストレージ装置130の冗長構成を維持できる。
 ここで、具体例を用いてローカルコピー解除処理を説明する。
 処理の開始前は、図1に示すような仮想ストレージ装置130のローカルコピーが設定されているものとする。また、ボリューム120-1及びボリューム120-2から構成されるHAペアのペア状態は、図7の一番目のエントリに示す状態であるものとする。
 ストレージ装置101-1は、仮想正ボリューム140-1及び仮想副ボリューム140-2の識別情報を含むローカルコピー解除コマンドを管理計算機100から受信する。
 ステップS1001では、ストレージ装置101-1は、図9Bの2番目のエントリをローカルコピーペアのエントリとして特定し、図9Bの1番目のエントリのエントリをHAペアのエントリとして特定する。
 ステップS1002の判定結果はNOとなり、また、ステップS1011の判定結果はNOとなる。また、ステップS1012の判定結果はYESとなる。
 特定されたHAペアに対応するエントリの装置ID613には自ストレージ装置101の識別情報が設定されないため、ステップS1013の判定結果はNOとなる。したがって、ストレージ装置101-1は、ステップS1014に進む。
 ストレージ装置101-1は管理計算機100からローカルコピー解除コマンドを受信したため、ステップS1014の判定結果はYESとなる。したがって、ストレージ装置101-1は、ステップS1017に進む。
 ステップS1017では、ストレージ装置101-1は、ストレージ装置101-2にローカルコピー解除コマンドを転送する。
 ストレージ装置101-2は、ストレージ装置101-1からローカルコピー解除コマンドを受信する。ステップS1001において、ストレージ装置101-2は、図9Bの3番目のエントリをローカルコピーペアのエントリとして特定し、図9Bの1番目のエントリのエントリをHAペアのエントリとして特定する。
 ステップS1002の判定結果はNOとなり、また、ステップS1011の判定結果はNOとなる。また、ステップS1012の判定結果はYESとなる。
 特定されたHAペアに対応するエントリの装置ID613には自ストレージ装置101の識別情報が設定されるため、ステップS1013の判定結果はYESとなる。したがって、ストレージ装置101-2は、ステップS1004に進む。
 ステップS1004では、ストレージ装置101-2は、ボリュームペア情報113から自ストレージ装置101内のローカルコピーペアのエントリを削除する。ストレージ装置101-2は、削除されたエントリの情報を含むボリュームペア情報113の更新コマンドをストレージ装置101-1に送信する。
 ステップS1005では、ストレージ装置101-2は、管理計算機100にコマンド完了を送信する。ステップS1006では、ストレージ装置101-2は、ローカルコピー解除コマンドをストレージ装置101-1に転送する。ストレージ装置101-2は、ストレージ装置101-1からコマンド完了を受信するまで待ち状態となる。
 ストレージ装置101-1は、ストレージ装置101-2からローカルコピー解除コマンドを受信する。ステップS1001では、図9Bの2番目のエントリをローカルコピーペアのエントリとして特定し、図9Bの1番目のエントリのエントリをHAペアのエントリとして特定する。
 ステップS1002の判定結果はNOとなり、また、ステップS1011の判定結果はNOとなる。また、ステップS1012の判定結果はYESとなり、ステップS1013の判定結果はNOとなる。
 ストレージ装置101-1はストレージ装置101-2からローカルコピー解除コマンドを受信したため、ステップS1014の判定結果はNOとなる。したがって、ストレージ装置101-1は、ステップS1015に進む。
 ステップS1015では、ストレージ装置101-1は、ボリュームペア情報113から自ストレージ装置101内のローカルコピーペアのエントリを削除する。ストレージ装置101-1は、削除されたエントリの情報を含むボリュームペア情報113の更新コマンドをストレージ装置101-2に送信する。
 ステップS1016では、ストレージ装置101-1は、ストレージ装置101-2にコマンド完了を送信する。
 ストレージ装置101-2は、ストレージ装置101-1からコマンド完了を受信した場合、ステップS1008に進む。ステップS1008では、以下のような処理が実行される。
 ストレージ装置101-2は、ボリュームペア情報113にエントリを追加する。ストレージ装置101-2は、第1ボリューム601に自ストレージ装置101から削除されたローカルコピーペアのコピー先のボリューム120-4の値を設定する。また、ストレージ装置101-2は、第2ボリューム602にストレージ装置101-1から削除されたローカルコピーペアのコピー先のボリューム120-3の値を設定する。さらに、ストレージ装置101-2は、コピー種別603に「HA」を設定する。
 ストレージ装置101-2は、HAペア状態情報114にエントリを追加する。ストレージ装置101-2は、第1ボリューム701にボリュームペア情報113に追加されたエントリの第1ボリューム601と同一の値を設定し、第2ボリューム702にボリュームペア情報113に追加されたエントリの第2ボリューム602と同一の値を設定する。すなわち、ストレージ装置101-2は、I/O状態713に「異常」を設定し、I/O状態716に「正常」を設定する。
 ストレージ装置101-2は、ボリュームペア情報113及びHAペア状態情報114に追加されたエントリの情報を含む更新コマンドを、ストレージ装置101-1に送信する。
 ストレージ装置101-1は、更新コマンドに含まれる情報に基づいて、ボリュームペア情報113及びHAペア状態情報114を更新する。以上がステップS1008の処理の説明である。
 以上の処理によって、ボリュームペア情報113は、図9Bから図6の状態に更新される。
 図10A、図10B及び図10Cに示すように、ペア管理モジュール115は、ローカルコピーを解除する場合、仮想ボリューム140にマッピングされたボリューム120が冗長構成となるようにコピーペアの構成を変更し、また、ローカルコピーを解除する。これによって、仮想ボリューム140にマッピングされたボリューム120の冗長構成を維持することができる。
 本実施例によれば、仮想ストレージ装置130に対してデータ矛盾が発生しないローカルコピーを設定できる。また、仮想ボリューム140にマッピングされたボリューム120の冗長構成が維持されるようにローカルコピーが解除される。また、仮想ストレージ装置130を利用するユーザは、一般的なコマンドを使用して、仮想ストレージ装置130に対するローカルコピーの設定及び解除を行えるため、操作負担を低減できる。
 本実施例では、制御モジュール110がコピーペアの生成及び削除を実行していたが、これに限定されない。ペア管理モジュール115がコピーペアを生成及び削除してもよい。
 本実施例では、ストレージ装置101の各々がペア管理モジュール115を有するが、これに限定されない。HA構成を管理する機能を有する装置に同様のモジュールを追加してもよい。例えば、管理計算機100がペア管理モジュール115を有してもよい。この場合、管理計算機100がボリュームペア情報113を用いて、処理を実行し、処理結果を含むストレージ装置101の制御コマンドを各ストレージ装置101に送信する。
 なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。また、例えば、上記した実施例は本発明を分かりやすく説明するために構成を詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、実施例の構成の一部について、他の構成に追加、削除、置換することが可能である。
 また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、本発明は、実施例の機能を実現するソフトウェアのプログラムコードによっても実現できる。この場合、プログラムコードを記録した記憶媒体をコンピュータに提供し、そのコンピュータが備えるCPUが記憶媒体に格納されたプログラムコードを読み出す。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコード自体、及びそれを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、CD-ROM、DVD-ROM、ハードディスク、SSD(Solid State Drive)、光ディスク、光磁気ディスク、CD-R、磁気テープ、不揮発性のメモリカード、ROMなどが用いられる。
 また、本実施例に記載の機能を実現するプログラムコードは、例えば、アセンブラ、C/C++、perl、Shell、PHP、Java等の広範囲のプログラム又はスクリプト言語で実装できる。
 さらに、実施例の機能を実現するソフトウェアのプログラムコードを、ネットワークを介して配信することによって、それをコンピュータのハードディスクやメモリ等の記憶手段又はCD-RW、CD-R等の記憶媒体に格納し、コンピュータが備えるCPUが当該記憶手段や当該記憶媒体に格納されたプログラムコードを読み出して実行するようにしてもよい。
 上述の実施例において、制御線や情報線は、説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。全ての構成が相互に接続されていてもよい。

Claims (12)

  1.  複数のストレージ装置を有するストレージシステムであって、
     前記複数のストレージ装置は、
     プロセッサ、前記プロセッサに接続されるメモリ、前記プロセッサに接続される記憶装置、及び前記プロセッサに接続され、外部装置と接続するためのインタフェースを有し、
     前記記憶装置の記憶領域から生成されるボリュームがマッピングされた仮想ボリュームを含む仮想ストレージ装置をユーザに提供する制御モジュールを有し、
     前記仮想ボリュームには、異なるストレージ装置の前記ボリュームがマッピングされ、
     前記制御モジュールは、
     前記仮想ストレージ装置に含まれる第1仮想ボリュームから第2仮想ボリュームへのローカルコピーを設定するコマンドを受け付けた場合、前記第1仮想ボリュームにマッピングされた複数の第1ボリュームと、前記第2仮想ボリュームにマッピングされた複数の第2ボリュームとを特定し、
     同一の前記ストレージ装置内のローカルコピーのコピー先となるボリュームに対するデータの書込経路が一つとなるように前記複数のボリュームから構成されるコピーペアの構成を変更することによって、同一の前記ストレージ装置に含まれる前記第1ボリュームから前記第2ボリュームへのローカルコピーを設定することを特徴とするストレージシステム。
  2.  請求項1に記載のストレージシステムであって、
     前記制御モジュールは、
     前記コピーペアを管理するボリュームペア情報、及び、コピーペアの種別毎に、構成を変更するコピーペアの優先順位を規定する優先度を管理するペア優先度情報を管理し、
     前記複数の第1ボリューム及び前記複数の第2ボリュームが特定された後、前記ボリュームペア情報に基づいて、前記複数の第1ボリューム及び前記複数の第2ボリュームから構成されるコピーペアを特定し、
     前記ペア優先度情報に基づいて、前記特定されたコピーペアの構成を変更できるか否かを判定し、
     前記特定されたコピーペアの構成を変更できると判定された場合、前記特定されたコピーペアの中から構成を変更するコピーペアを選択し、
     前記選択されたコピーペアの構成を変更することを特徴とするストレージシステム。
  3.  請求項2に記載のストレージシステムであって、
     前記コピーペアは、同一の前記ストレージ装置に含まれる前記複数のボリュームを用いて構成されるローカルコピーのコピーペアと、二つの前記ストレージ装置の各々に含まれる前記ボリュームを用いて構成されるリモートコピーのコピーペアとを含み、
     前記ストレージシステムは、前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成されるリモートコピーのコピーペアと、前記複数のストレージ装置の各々に含まれる前記第2ボリュームから構成されるリモートコピーのコピーペアとを含み、
     前記制御モジュールは、
     前記リモートコピーの優先度が前記ローカルコピーの優先度より低い場合、前記特定されたコピーペアの構成を変更できると判定し、
     同一の前記ストレージ装置に含まれる前記第1ボリューム及び前記第2ボリュームから構成される前記ローカルコピーのコピーペアを生成し、
     前記複数のストレージ装置の各々に含まれる前記第2ボリュームから構成されるリモートコピーのコピーペアを削除することを特徴とするストレージシステム。
  4.  請求項3に記載のストレージシステムであって、
     前記制御モジュールは、
     前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成されるリモートコピーのコピーペアがコピー中であるか否かを判定し、
     前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成されるリモートコピーのコピーペアがコピー中である場合、当該コピーの完了後に、前記複数のストレージ装置の各々に含まれる前記第2ボリュームから構成されるリモートコピーのコピーペアを削除し、
     同一の前記ストレージ装置に含まれる前記第1ボリュームから前記第2ボリュームへのローカルコピーを開始することを特徴とするストレージシステム。
  5.  請求項3に記載のストレージシステムであって、
     前記制御モジュールは、
     ローカルコピーを解除するコマンドを受け付けた場合、前記ローカルコピーのコピーペアを構成する前記第2ボリュームを特定し、
     前記ローカルコピーのコピーペアを削除し、
     前記複数のストレージ装置の各々に含まれる前記特定された第2ボリュームから構成されるリモートコピーのコピーペアを生成することを特徴とするストレージシステム。
  6.  請求項5に記載のストレージシステムであって、
     前記制御モジュールは、
     前記複数のストレージ装置の各々に含まれる前記特定された第2ボリュームから構成されるリモートコピーのコピーペアの生成する場合、前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成される前記リモートコピーのコピーペアのI/O状態を特定し、
     前記特定されたI/O状態に基づいて、前記複数のストレージ装置の各々に含まれる前記特定された第2ボリュームから構成されるリモートコピーのコピーペアの生成時に実行される同期コピーのコピー方向を決定することを特徴とするストレージシステム。
  7.  複数のストレージ装置を有するストレージシステムの管理方法であって、
     前記複数のストレージ装置は、
     プロセッサ、前記プロセッサに接続されるメモリ、前記プロセッサに接続される記憶装置、及び前記プロセッサに接続され、外部装置と接続するためのインタフェースを有し、
     前記記憶装置の記憶領域から生成されるボリュームがマッピングされた仮想ボリュームを含む仮想ストレージ装置をユーザに提供する制御モジュールを有し、
     前記仮想ボリュームには、異なるストレージ装置の前記ボリュームがマッピングされ、
     前記ストレージシステムの管理方法は、
     前記制御モジュールが、前記仮想ストレージ装置に含まれる第1仮想ボリュームから第2仮想ボリュームへのローカルコピーを設定するコマンドを受け付けた場合、前記第1仮想ボリュームにマッピングされた複数の第1ボリュームと、前記第2仮想ボリュームにマッピングされた複数の第2ボリュームとを特定する第1のステップと、
     前記制御モジュールが、同一の前記ストレージ装置内のローカルコピーのコピー先となるボリュームに対するデータの書込経路が一つとなるように前記複数のボリュームから構成されるコピーペアの構成を変更することによって、同一の前記ストレージ装置に含まれる前記第1ボリュームから前記第2ボリュームへのローカルコピーを設定する第2のステップと、を含むことを特徴とするストレージシステムの管理方法。
  8.  請求項7に記載のストレージシステムの管理方法であって、
     前記制御モジュールは、前記コピーペアを管理するボリュームペア情報、及び、コピーペアの種別毎に、構成を変更するコピーペアの優先順位を規定する優先度を管理するペア優先度情報を管理し、
     前記第1のステップは、前記制御モジュールが、前記ボリュームペア情報に基づいて、前記複数の第1ボリューム及び前記複数の第2ボリュームから構成されるコピーペアを特定するステップを含み、
     前記第2のステップは、
     前記制御モジュールが、前記ペア優先度情報に基づいて、前記特定されたコピーペアの構成を変更できるか否かを判定する第3のステップと、
     前記特定されたコピーペアの構成を変更できると判定された場合、前記制御モジュールが、前記特定されたコピーペアの中から構成を変更するコピーペアを選択する第4のステップと、
     前記制御モジュールが、前記選択されたコピーペアの構成を変更する第5のステップと、を含むことを特徴とするストレージシステムの管理方法。
  9.  請求項8に記載のストレージシステムの管理方法であって、
     前記コピーペアは、同一の前記ストレージ装置に含まれる前記複数のボリュームを用いて構成されるローカルコピーのコピーペアと、二つの前記ストレージ装置の各々に含まれる前記ボリュームを用いて構成されるリモートコピーのコピーペアとを含み、
     前記ストレージシステムは、前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成されるリモートコピーのコピーペアと、前記複数のストレージ装置の各々に含まれる前記第2ボリュームから構成されるリモートコピーのコピーペアとを含み、
     前記第3のステップでは、前記リモートコピーの優先度が前記ローカルコピーの優先度より低い場合、前記制御モジュールが、前記特定されたコピーペアの構成を変更できると判定し、
     前記第5のステップは、
     前記制御モジュールが、前記同一のストレージ装置に含まれる前記第1ボリューム及び前記第2ボリュームから構成される前記ローカルコピーのコピーペアを生成する第6のステップと、
     前記制御モジュールが、前記複数のストレージ装置の各々に含まれる前記第2ボリュームから構成されるリモートコピーのコピーペアを削除する第7のステップと、を含むことを特徴とするストレージシステムの管理方法。
  10.  請求項9に記載のストレージシステムの管理方法であって、
     前記第7のステップは、
     前記制御モジュールが、前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成されるリモートコピーのコピーペアがコピー中であるか否かを判定するステップと、
     前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成されるリモートコピーのコピーペアがコピー中である場合、前記制御モジュールが、当該コピーの完了後に、前記複数のストレージ装置の各々に含まれる前記第2ボリュームから構成されるリモートコピーのコピーペアを削除するステップと、
     前記制御モジュールが、同一の前記ストレージ装置に含まれる前記第1ボリュームから前記第2ボリュームへのローカルコピーを開始するステップと、を含むことを特徴とするストレージシステムの管理方法。
  11.  請求項9に記載のストレージシステムの管理方法であって、
     前記制御モジュールが、ローカルコピーを解除するコマンドを受け付けた場合、前記ローカルコピーのコピーペアを構成する前記第2ボリュームを特定する第8のステップと、
     前記制御モジュールが、前記ローカルコピーのコピーペアを削除する第9のステップと、
     前記制御モジュールが、前記複数のストレージ装置の各々に含まれる前記特定された第2ボリュームから構成されるリモートコピーのコピーペアを生成する第10のステップと、を含むことを特徴とするストレージシステムの管理方法。
  12.  請求項11に記載のストレージシステムの管理方法であって、
     前記第8のステップは、前記制御モジュールが、前記複数のストレージ装置の各々に含まれる前記第1ボリュームから構成される前記リモートコピーのコピーペアのI/O状態を特定するステップを含み、
     前記第10のステップは、前記制御モジュールが、前記特定されたI/O状態に基づいて、前記複数のストレージ装置の各々に含まれる前記特定された第2ボリュームから構成されるリモートコピーのコピーペアの生成時に実行される同期コピーのコピー方向を決定するステップを含むことを特徴とするストレージシステムの管理方法。
PCT/JP2016/065961 2016-05-31 2016-05-31 ストレージシステム及びストレージシステムの管理方法 WO2017208319A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/065961 WO2017208319A1 (ja) 2016-05-31 2016-05-31 ストレージシステム及びストレージシステムの管理方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/065961 WO2017208319A1 (ja) 2016-05-31 2016-05-31 ストレージシステム及びストレージシステムの管理方法

Publications (1)

Publication Number Publication Date
WO2017208319A1 true WO2017208319A1 (ja) 2017-12-07

Family

ID=60478238

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/065961 WO2017208319A1 (ja) 2016-05-31 2016-05-31 ストレージシステム及びストレージシステムの管理方法

Country Status (1)

Country Link
WO (1) WO2017208319A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008134988A (ja) * 2006-10-30 2008-06-12 Hitachi Ltd 情報システム及びデータ転送方法
JP5718533B1 (ja) * 2014-04-22 2015-05-13 株式会社日立製作所 ストレージシステムのデータ移行方法
WO2015189925A1 (ja) * 2014-06-11 2015-12-17 株式会社日立製作所 ストレージシステム、ストレージ装置及びデータ移行方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008134988A (ja) * 2006-10-30 2008-06-12 Hitachi Ltd 情報システム及びデータ転送方法
JP5718533B1 (ja) * 2014-04-22 2015-05-13 株式会社日立製作所 ストレージシステムのデータ移行方法
WO2015189925A1 (ja) * 2014-06-11 2015-12-17 株式会社日立製作所 ストレージシステム、ストレージ装置及びデータ移行方法

Similar Documents

Publication Publication Date Title
JP4727437B2 (ja) データベースを有するストレージシステムの記憶制御方法
US9678686B2 (en) Managing sequentiality of tracks for asynchronous PPRC tracks on secondary
JP5052376B2 (ja) ストレージシステム及びストレージシステムにおける論理ユニットの引継方法
US10002048B2 (en) Point-in-time snap copy management in a deduplication environment
US9098466B2 (en) Switching between mirrored volumes
JP4756992B2 (ja) ストレージシステム及び記憶制御方法
JP4659526B2 (ja) ストレージシステムにインストールされるプログラムのライセンスを管理する管理計算機、計算機システム及び制御方法
US20120159232A1 (en) Failure recovery method for information processing service and virtual machine image generation apparatus
WO2015068239A1 (ja) 計算機システムおよびデータ制御方法
JP2006099495A (ja) リモートコピーシステムおよびリモートコピー方法
JP6898393B2 (ja) ストレージシステム及びデータ転送方法
JP2004252686A (ja) 情報処理システム
JP2010191958A (ja) 論理ボリューム管理の為の方法と装置
JP2004227558A (ja) 仮想化制御装置およびデータ移行制御方法
US20170017433A1 (en) Storage system, storage device, and data transfer method
JP2008269469A (ja) ストレージシステム及びその管理方法
JP2005309793A (ja) データ処理システム
JP4629342B2 (ja) ストレージ装置およびその制御方法
JP2008287405A (ja) パス管理方法、ホスト計算機及びパス管理プログラム
JP6271769B2 (ja) 計算機システム、計算機システムにおけるデータの移行方法
JP5272185B2 (ja) 計算機システム及びストレージシステム
JP5900096B2 (ja) レプリケーションシステム、レプリケーションプログラム及びレプリケーション構成の再構築方法
US8996908B1 (en) Information system, host system and access control method
WO2017208319A1 (ja) ストレージシステム及びストレージシステムの管理方法
JP4294692B2 (ja) 情報処理システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16903947

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16903947

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP