WO2015162674A1 - ストレージシステム - Google Patents
ストレージシステム Download PDFInfo
- Publication number
- WO2015162674A1 WO2015162674A1 PCT/JP2014/061194 JP2014061194W WO2015162674A1 WO 2015162674 A1 WO2015162674 A1 WO 2015162674A1 JP 2014061194 W JP2014061194 W JP 2014061194W WO 2015162674 A1 WO2015162674 A1 WO 2015162674A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- volume
- storage device
- write
- physical
- migration
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0617—Improving the reliability of storage systems in relation to availability
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0664—Virtualisation aspects at device level, e.g. emulation of a storage device or system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0665—Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0685—Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error 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
- G06F11/2053—Error 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 where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2056—Error 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 where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
- G06F11/2071—Error 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 where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring using a plurality of controllers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error 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
- G06F11/2053—Error 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 where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2094—Redundant storage or storage space
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/805—Real-time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/82—Solving problems relating to consistency
Definitions
- the present invention relates to a storage system, and more particularly to migration of a volume group in a storage system.
- Patent Document 1 discloses a host I / O that eliminates the need to change storage device information and volume information recognized by a server when performing data migration between physical storage devices in a virtual storage device including a plurality of physical storage devices. A technique for realizing data migration without stopping is disclosed.
- a high availability (HA) function based on a cluster configuration of storage devices is required.
- the HA function realizes high availability of the storage system.
- the HA configuration has a duplex system, and when a failure occurs, the faulty system is automatically disconnected, and the operation is continued using only a normal system.
- the Active-Active HA configuration operates all systems as active systems.
- the storage system accepts any I / O access of the volume pair.
- One aspect of the present invention is a storage system including a plurality of storage apparatuses that perform migration from a pre-migration volume group to a post-migration volume group, wherein the plurality of storage apparatuses are configured to perform the pre-migration volume group and A write command from a host to an arbitrary volume in a plurality of volumes of the post-migration volume group is received, and the plurality of storage devices write the write data of the write command to each of the plurality of volumes in a predetermined order.
- the first storage device in the plurality of storage devices writes the write data to the last volume at the end of the plurality of volumes, and provides a different volume from the last volume in the plurality of storage devices.
- Device, in each of said different volumes writes the write data after performing an exclusive lock, releasing the exclusive lock after the completion of writing of the write data to the last volume.
- data migration can be realized without stopping host I / O and maintaining availability.
- Example 1 it is a figure explaining the outline
- Example 1 it is a figure which shows the structural example of a computer system.
- Example 1 it is a figure which shows the structural example of a host computer.
- 2 is a diagram illustrating a configuration example of a physical storage device in Embodiment 1.
- FIG. 3 is a diagram illustrating a software configuration example in a memory of a physical storage device in Embodiment 1.
- FIG. 6 is a diagram illustrating a configuration example of a resource management table in a physical storage device in Embodiment 1.
- FIG. 6 is a diagram illustrating a configuration example of a host group management table in a physical storage in Embodiment 1.
- FIG. 6 is a diagram illustrating a configuration example of a virtual storage box management table in a physical storage device in Embodiment 1.
- FIG. 6 is a diagram illustrating a configuration example of a virtual storage management table in a physical storage device in Embodiment 1.
- FIG. 10 is a diagram illustrating a configuration example of a volume copy pair management table in the physical storage device in the first embodiment.
- 6 is a diagram illustrating a configuration example of an exclusive lock management table in a physical storage device in Embodiment 1.
- FIG. 6 is a diagram illustrating a configuration example of a virtual storage management table in a management computer in the first embodiment.
- FIG. 10 is a diagram illustrating a configuration example of a virtual storage box management table in the management computer in the first embodiment.
- FIG. 6 is a diagram illustrating a configuration example of a virtual storage resource management table in the management computer in the first embodiment. 6 is a diagram showing a configuration example of a volume copy pair management table in the migration destination physical storage device B in Embodiment 1.
- FIG. FIG. 10 is a diagram illustrating an HA volume migration step in the first embodiment.
- 10 is a flowchart illustrating an example of WRITE command processing from the host computer to the physical storage device in the first embodiment.
- 10 is a flowchart illustrating an example of WRITE command processing of a physical storage device in an HA multi-target configuration in the first embodiment.
- 10 is a flowchart illustrating an example of WRITE command processing when transferring a WRITE command between physical storage devices in an HA multi-target configuration in the first embodiment.
- 6 is a flowchart illustrating an example of READ command processing from the host computer to the physical storage device in the first embodiment.
- 6 is a flowchart illustrating an example of exclusive lock release command processing in the physical storage device in the first embodiment.
- 10 is a sequence showing an example of WRITE command processing from the host computer to the PVOL in the HA single volume pair in the first embodiment.
- 10 is a sequence showing an example of WRITE command processing from the host computer to the SVOL in the HA single volume pair in the first embodiment.
- Example 10 is a sequence showing an example of READ command processing from the host computer to the PVOL in the HA single volume pair in the first embodiment.
- 11 is a sequence showing an example of READ command processing from the host computer to the SVOL in the HA single volume pair in the first embodiment.
- Example 1 it is a sequence which shows the example of WRITE command processing from the host computer in a HA multi target structure to 1st pair PVOL.
- Example 1 it is the sequence which shows the example of the WRITE command processing from the host computer in the HA multi target constitution to 1st pair SVOL.
- Example 1 is a sequence which shows the example of a WRITE command process from the host computer in a HA multi-target structure to SVOL of a 2nd pair.
- Example 1 it is the sequence which shows the READ command processing example from the host computer in the HA multi target constitution to 1st pair PVOL. In Example 1, it is the sequence which shows the example of READ command processing from the host computer in the HA multi target constitution to 1st pair SVOL.
- 11 is a sequence illustrating an example of READ command processing from the host computer to the second pair of SVOLs in the HA multi-target configuration in the first embodiment.
- Example 2 it is a figure explaining the characteristic of this invention in HA cascade structure.
- Example 2 it is a figure which shows a HA volume transfer step.
- 10 is a flowchart illustrating an example of a WRITE command process for a physical storage in an HA cascade configuration according to the second embodiment.
- Example 10 is a flowchart illustrating an example of WRITE command processing when transferring a WRITE command between physical storages in an HA cascade configuration according to the second embodiment.
- Example 2 it is the sequence which shows the example of WRITE command processing from the host computer to the 1st pair PVOL in HA cascade constitution.
- Example 2 it is a sequence which shows the example of WRITE command processing from the host computer in a HA cascade structure to SVOL of a 1st pair.
- Example 2 it is a sequence which shows the example of WRITE command processing from the host computer in a HA cascade structure to 2nd pair SVOL.
- Example 3 it is a figure which shows a HA volume pair transfer step.
- Example 3 it is a figure which shows a HA volume pair transfer step.
- Example 4 it is a figure which shows a HA volume pair transfer step.
- Example 4 it is a figure which shows a HA volume pair transfer step.
- Example 5 it is a figure which shows a HA volume pair transfer step.
- the storage system described below has an Active-Active HA configuration.
- the HA configuration has a duplex system, and has an automatic failure recovery function for automatically disconnecting a failed system when a failure occurs and continuing operation using only a normal system.
- the Active-Active HA configuration realizes effective use of resources and load distribution by operating all systems as active systems.
- an HA configuration and an HA pair mean an Active-Active type HA configuration and an HA pair.
- the storage system accepts I / O access to any of the HA pairs.
- the migration of HA volume pairs will be described. Specifically, in the migration of the HA volume pair, one of the pre-migration HA volume pairs is migrated to another volume, and the other HA volume pair before migration and a new volume constitute a post-migration HA volume pair. .
- the storage system accepts I / O access to all volumes during migration. The storage system switches the HA volume pair after the migration is completed.
- the HA volume pair is composed of a primary volume (PVOL) and a secondary volume (SVOL).
- PVOL primary volume
- SVOL secondary volume
- the storage system copies the PVOL data to the SVOL when creating a pair.
- the storage system receives a WRITE command to the SVOL at the time of non-migration, after the write data write to the PVOL (either write to the write cache or write to the storage drive) is completed, the SVOL Write write data to.
- the I / O access to the PVOL is accompanied by an exclusive lock of the PVOL, and the exclusive lock is not used in the I / O access to the SVOL.
- An exclusive lock may be used in accessing the SVOL.
- exclusive lock in write processing prohibits other write processing and read processing.
- the exclusive lock in the read process prohibits other write processes and may or may not prohibit other read processes.
- the exclusive lock in the read process can suppress a response delay to the host by permitting another read process.
- FIG. 1 is a diagram showing an outline of the HA multi-target configuration in volume migration.
- one volume is set as a common PVOL of two HA volume pairs, and two HA volume pairs are configured by these three volumes.
- the 1 includes a host computer 1000, a physical storage device (also simply referred to as a storage device) 2000, and a virtual storage device 3000.
- the virtual storage device 3000 includes a plurality of physical storage devices 2000.
- This system has an Active-Active HA configuration (hereinafter also referred to as HA volume configuration) with a plurality of physical storage apparatuses 2000.
- the multiple physical storage devices 2000 are provided to the host computer 1000 as a single virtual storage device 3000.
- Each physical storage device 2000 provides the same storage device configuration information, that is, the configuration information of the virtual storage device 1 (3000) in response to a request from the host computer 1000.
- the physical VOL 1 (2900) of the physical storage device 1 (2000) and the physical VOL 2 (2900) of the physical storage device 2 (2000) constitute an HA volume pair 7100.
- the physical VOL1 (2900) is a PVOL
- the physical VOL2 (2900) is an SVOL.
- the same VOL information that is, the information on the virtual VOL11 (3900) is provided to the host computer 1000. Since the host computer 1000 accesses the virtual VOL 11 (3900), the path to either the physical VOL 1 (2900) or the physical VOL 2 (2900) can be used.
- Write data for one physical VOL 2900 is transferred to the other physical VOL 2900. Thereby, the data identity between the physical VOL1 (2900) and the physical VOL2 (2900) is maintained.
- Each of the physical storage device 1 (2000) and the physical storage device 2 (2000) transmits data read from the physical volume 2900 provided by the own device in response to the READ command from the host computer 1000.
- the physical VOL 1 (2900) and the physical VOL 2 (2900) can be I / O accessed as one volume from the host computer 1000, and even if a failure occurs in any of the physical volumes, I / O access to the physical volume is possible.
- This example describes the migration of a volume pair in which the host I / O is not stopped and the Active-Active HA configuration is maintained.
- the physical VOL 2 (2900) is migrated to the physical VOL 3 will be described.
- the physical VOL1 and physical VOL2 constitute a pre-migration volume pair
- the physical VOL1 (2900) and physical VOL3 (2900) constitute a post-migration volume pair.
- the HA volume pair 7200 is formed by the physical VOL1 (2900) and the physical VOL3 (2900).
- the physical VOL1 (2900) is PVOL
- the physical VOL3 (2900) is SVOL.
- data is copied from the physical VOL 1 (2900) that is the PVOL to the physical VOL 3 (2900) that is the SVOL.
- a path 8300 from the host computer 1000 to the physical VOL 3 (2900) is defined.
- the physical storage device 3 (2000) returns the information on the virtual VOL11 (3900) in the same manner as the physical VOL1 (2900) and physical VOL2 (2900). .
- the path 8200 from the host computer 1000 to the physical VOL 2 (2900) is deleted. Further, the physical storage device 1 (2000) and the physical storage device 2 (2000) delete the HA volume pair 7100. Thereby, the migration from the physical VOL 2 (2900) of the physical storage device 2 (2000) to the physical VOL 3 (2900) of the physical storage device 3 (2000) is completed.
- FIG. 2 shows a configuration example of the computer system in this embodiment.
- the computer system of FIG. 2 includes a host computer 1000, a physical storage device 2000, and a management computer 4000.
- the number of various devices (systems) included in the computer system depends on the design.
- the physical storage devices 1 to 3 (2000) constitute a virtual storage device that is one virtual storage device.
- two or three physical storage devices constitute one virtual storage, but the number of constituent physical storages depends on the design.
- the physical storage device A (2000) has a Quorum Disk.
- the Quorum Disk provides a function of determining which of the physical storage devices 2000 with the HA configuration to be continuously operated and what to stop when communication between the physical storage devices 2000 in the HA configuration becomes impossible. Quorum Disk can prevent the split brain problem.
- the host computer 1000, the management computer 4000, and the physical storage device 2000 are communicably connected via a management network configured by a LAN 6000.
- the management network 6000 is an IP network.
- the management network 6000 may be any type of network as long as it is a network for management data communication.
- the host computer 1000 and the physical storage device 2000 are connected by a data network configured with a SAN (Storage Area Network) 5000.
- the host computer 1000 accesses the volume of the physical storage device 2000 via the SAN 5000.
- the data network 5000 may be any type of network as long as it is a data communication network.
- the data network 5000 and the management network 6000 may be the same network.
- FIG. 3 schematically shows a configuration example of the host computer 1000.
- the host computer 1000 includes a CPU (Central Processing Unit) 1100 that is a processor, a non-volatile secondary storage device 1200, a memory 1300 that is a main storage device, an input / output device 1400, and an initiator port 1600 that is an I / O request issuer interface.
- Each component is communicably connected via a bus 1500.
- CPU 1100 operates in accordance with a program stored in memory 1300.
- programs and data stored in the secondary storage device 1200 are loaded into the memory 1300.
- the memory 1300 holds an OS (Operating System) 1310, an alternate path program 1320, and an application program 1330.
- the application program 1330 reads and writes data from and to the volume provided by the physical storage device 2000.
- the initiator port 1600 is a network interface connected to the SAN 4000.
- the initiator port 1600 transmits / receives data and requests to / from the physical storage device 2000 via the SAN 5000.
- the management interface 1700 is a network interface connected to the LAN 6000.
- the management interface 1700 transmits / receives management data and control commands to / from the physical storage device 2000 via the LAN 6000.
- the management interface 1700 further transmits / receives management data and control commands to / from the management computer 4000 via the LAN 6000.
- FIG. 4 is a diagram schematically illustrating a configuration example of the physical storage device 2000.
- the basic configuration of all the physical storage apparatuses 2000 is the same, but the number of components, storage capacity, and the like depend on each physical storage apparatus 2000. These may have different basic configurations.
- the physical storage device 2000 controls a plurality of storage devices (for example, a hard disk drive and / or SSD (Solid State Drive)) 2200 and the physical storage device 2000 to manage the volume, the host computer 1000, or another physical storage device 2000. And a storage controller for performing data communication and the like.
- a storage controller for performing data communication and the like.
- the storage controller includes a CPU 2100 that is a processor, a program memory 2300, an initiator port 2600 that is an I / O request issuer interface, a target port 2700 that is an I / O request reception interface, a management interface 2800, and a cache memory for data transfer 2400.
- the components of the storage device 2000 are communicably connected via a bus 2500.
- the physical storage device 2000 is connected to the external (other) physical storage device 2000 via the initiator port 2600 and transmits an I / O request and write data to the external physical storage device 2000, and the external physical storage device 2000. Read data can be received from.
- the initiator port 2600 is connected to the SAN 5000.
- the initiator port 2600 has a function of converting a protocol such as FC, Fiber Channel Over Ethernet (FCoE), iSCSI used for communication with the external physical storage device 2000 into a protocol used inside the storage controller, for example, PCIe. .
- FC Fiber Channel Over Ethernet
- iSCSI used for communication with the external physical storage device 2000
- PCIe used inside the storage controller
- the physical storage device 2000 is connected to the host computer 1000 or the external physical storage device 2000 at the target port 2700.
- the physical storage device 2000 receives an I / O request and write data from the host computer 1000 or the external physical storage device 2000 via the target port 2700, and reads data from the host computer 1000 or the external physical storage device 2000. Send.
- the target port 2700 is connected to the SAN 5000.
- the target port 2700 converts protocols such as FC, Fiber Channel Over Ethernet (FCoE), and iSCSI used for communication with the host computer 1000 or the external physical storage device 2000 into a protocol used inside the storage controller, for example, PCIe. It has the function to do.
- protocols such as FC, Fiber Channel Over Ethernet (FCoE), and iSCSI used for communication with the host computer 1000 or the external physical storage device 2000 into a protocol used inside the storage controller, for example, PCIe. It has the function to do.
- the management interface 2800 is a device for connecting to the LAN 6000.
- the management interface 2800 has a function of converting a protocol used in the LAN 6000 into a protocol used in the storage controller, for example, PCIe.
- the CPU 2100 executes a program for controlling the physical storage device 2000 and realizes predetermined functions including I / O control from the host computer 1000 and management and control of the physical storage device 2000 volume. At least a part of the functions realized by the CPU 2100 described in this embodiment may be realized by a logic circuit different from the CPU 2100.
- the program is executed by a processor (CPU) to perform a predetermined process using a memory and an interface. Therefore, in the present disclosure, the description with the program as the subject may be an explanation with the processor as the subject. Alternatively, the processing executed by the program is processing performed by the device (for example, the physical storage device 2000 or the host computer 1000) and the system on which the program operates.
- a processor CPU
- the processing executed by the program is processing performed by the device (for example, the physical storage device 2000 or the host computer 1000) and the system on which the program operates.
- the program memory 2300 stores data and programs handled by the CPU 2100.
- the data in the program memory 2300 is stored in a non-transitory storage medium such as any storage device 2200 in the physical storage apparatus 2000, flash memory (not shown), or other apparatus connected via the LAN 5000, for example. It is loaded into the program memory 2300 from the device.
- FIG. 4 shows a software configuration example in the program memory 2300 of each physical storage device 2000.
- the program memory 2300 holds a data input / output processing program 2350, a resource management program 2360, and a volume copy control program 2370. Further, the program memory 2300 holds a resource management table 2310, a virtual storage box management table 2320, a virtual storage management table 2330, a volume copy pair management table 2340, a host group management table 2380, and an exclusive lock management table 2390.
- the data input / output processing program 2350 ⁇ ⁇ reads and writes user data according to an I / O request from the host computer 1000, and performs necessary data communication between the host computer 1000 and other physical storage devices 2000.
- the resource management program 2360 manages the resources of the physical storage device 2000.
- the resource management program 2360 creates and updates a table (information) described below in addition to creating and deleting a volume.
- the resource management program 2360 transmits / receives information necessary for resource management to / from the management computer 4000.
- the table having the same name has the same configuration (column) in each physical storage device 2000.
- the table described below with reference to the drawings is a table held by the physical storage device 1 (2000). Note that information held by each device may be stored in a structure other than a table.
- FIG. 6A shows a configuration example of the resource management table 2310.
- the resource management table 2310 is a table for managing resources of the physical storage device 1 (2000).
- the resource management table 2310 includes a resource type column 2311 for storing the resource type of the physical storage device 1 (2000), a resource ID column 2312 for storing a resource ID, and a resource group ID column 2313 for storing a resource group ID to which the resource belongs. And a virtual resource ID column 2314 for storing a virtual resource ID assigned to the resource.
- FIG. 6B shows a configuration example of the host group management table 2380.
- the host group is a group of WWN (World Wide Name) of the host computer 1000 connected to the port for each OS type of the host computer 1000.
- the host group management table 2380 includes a port ID column 2381 for storing a port ID, a host group ID column 2382 for storing a host group ID related to the port, a host mode ID column 2383 indicating the OS type of the host computer 1000, the host It has a host WWN column 2384 for storing the host WWN registered in the group, and a volume ID 2385 for storing a volume ID accessible to the host computer 1000 belonging to the host group ID 2382.
- FIG. 7 shows a configuration example of the virtual storage box management table 2320.
- a virtual storage box is a set of resource groups possessed by one virtual storage device within one physical storage device.
- the virtual storage box management table 2320 is a table for managing virtual storage boxes of the virtual storage device 3000.
- the virtual storage box management table 2320 has a virtual storage box ID column 2321 for storing a virtual storage box ID, and a resource group ID column 2322 for storing a resource group ID belonging to the virtual storage box.
- FIG. 8 shows a configuration example of the virtual storage management table 2330.
- the virtual storage management table 2330 is a table for managing the virtual storage device 3000.
- the virtual storage management table 2330 has a virtual storage ID column 2331 for storing a virtual storage ID and a virtual storage box ID column 2332 for storing a virtual storage box ID belonging to the virtual storage device.
- FIG. 9A shows a configuration example of the volume copy pair management table 2340.
- the volume copy pair management table 2340 is a table for managing a volume copy pair including a volume provided by the physical storage device 2000.
- the volume copy pair management table 2340 includes a pair ID column 2341 that stores a pair ID of a volume copy pair, a pair type column 2342 that stores the type of the pair, and a pair status column 2343 that stores the state of the pair.
- the volume copy pair management table 2340 further includes a PVOLID column 2344 for storing a PVOLID and an SVOLID column 2345 for storing an SVOLID.
- the PVOLID and the SVOLID are configured by identification information of the physical storage device 2000 and volume identification information in the physical storage device.
- the volume copy pair management table 2340 further includes a related pair ID column 2346 for storing the ID of a pair related to the pair, and a priority column 2347 for storing the priority of the pair and the related pair.
- the pair type stored in the pair type column 2342 is “HA” for HA, “LC” for volume local copy in physical storage, “RC” for volume remote copy between physical storages, and HA multi-target. If the configuration is “HA-MLT”, the HA cascade configuration (see FIG. 31) indicates the type of volume copy pair, such as “HA-CAS”.
- the pair status stored in the pair status column 2343 is a volume copy pair such as “COPY” if data copying is in progress, “PAIR” if the data copy is in a synchronized state, “SUSPEND” if data copy is suspended, etc. Stores character strings and numbers indicating the status of data copy between.
- the priority stored in the priority column 2347 indicates information for determining the data write order in the HA multi-target configuration or the HA cascade configuration. In this embodiment, writing is performed in the order of the first pair of PVOL, the first pair of SVOL, the second pair of PVOL, and the second pair of SVOL.
- the priority may be determined according to the order in which the pairs are created, or the user may determine an arbitrary priority when setting the HA multi-target configuration or setting the HA cascade configuration.
- FIG. 9B shows a configuration example of the exclusive lock management table 2390.
- the exclusive lock management table 2390 holds information for managing the exclusive lock of the volume.
- the exclusive lock management table 2390 has an exclusive lock ID column 2391, a volume ID column 2392, and an LBA column 2393.
- the exclusive lock management table 2390 manages the data storage area that is exclusively locked. Each entry indicates an area in the volume that is exclusively locked, and is specified by, for example, the start LBA and the data length using the volume ID and the address (LBA) in the volume. In this example, the partial area in the volume is exclusively locked, but may be exclusively locked in volume units.
- FIG. 10 is a diagram showing a configuration example of the management computer 4000.
- the management computer 4000 includes a CPU 4100 as a processor, a memory 4300 as a main storage device, a secondary storage device 4200, an input / output device 4400, and a management interface (I / F) 4600.
- the devices of the management computer 4000 are communicably connected via a bus 4500.
- the management computer 4000 executes a management program and operates according to it.
- the management I / F 4600 is connected to the LAN 6000 and performs conversion between the protocol in the computer and the protocol of the LAN 6000.
- the management computer 4000 can communicate with the physical storage apparatus 2000 and the host computer 1000 via the management I / F 4600 and the LAN 6000.
- the input / output device 4400 includes one or more devices such as a display, a pointer, or a keyboard. Users (in the above example, users User01 to User03) can operate the management computer 4000 using the input / output device 4400, and may access the management computer 4000 from a client computer connected via a network.
- the client computer is included in the management system together with the management computer 4000.
- the user can input necessary information with an input device (for example, a mouse and a keyboard), and can visually recognize the necessary information with an output device.
- the CPU 4100 implements a predetermined function of the management computer 4000 by executing a program stored in the memory 4300.
- the memory 4300 stores a program executed by the CPU 4100 and data necessary for executing the program.
- a program that runs on the management computer 4000 will be described later.
- At least a part of the functions realized by the CPU 4100 described in this embodiment may be realized by a logic circuit different from the CPU 4100.
- the program is loaded from the secondary storage device 4200 to the memory 4300.
- the secondary storage device 4200 is a storage device provided with a non-volatile non-transitory storage medium that stores programs and data necessary for realizing predetermined functions of the management computer 4000.
- the secondary storage device 4200 may be an external storage device connected via a network.
- the management system of this configuration example is composed of management computers, but the management system may be composed of a plurality of computers.
- One of the plurality of computers may be a display computer, and the plurality of computers may realize processing equivalent to that of the management computer in order to increase management processing speed and reliability.
- the management system may be configured in the physical storage. Some functions of the management system may be implemented in the physical storage device.
- the program memory 4300 of the management computer 40000 stores data and programs handled by the CPU 4100.
- the data in the program memory 4300 is loaded into the program memory 4300 from, for example, any storage device 2200 or flash memory (not shown) in the physical storage apparatus 2000 or another apparatus connected via the LAN 6000.
- the program memory 4300 holds an OS 4310 and a virtual storage management program. Further, the program memory 4300 holds a virtual storage management table 4320, a virtual storage box management table 4330, a virtual storage resource management table 4340, and a volume copy pair management table 4350.
- the virtual storage management program 4360 manages the resources of the physical storage device 2000 and the virtual storage device 3000.
- the virtual storage management program 4360 creates and updates a table (information) described below in addition to volume creation and deletion.
- the virtual storage management program 4360 transmits / receives information necessary for resource management to / from the physical storage device 2000.
- FIG. 11 shows a configuration example of the virtual storage management table 4320.
- the virtual storage management table 4320 is a table for managing resources of the virtual storage device 3000 and the physical storage device 2000 that is a component of the virtual storage device 3000.
- the virtual storage management table 4320 is a table in which the virtual storage management tables 2330 of all physical storage apparatuses 2000 are integrated.
- the virtual storage management table 4320 has a virtual storage ID column 4321 for storing a virtual storage ID, and a virtual storage box ID 4322 for storing a virtual storage box ID belonging to the virtual storage.
- FIG. 12 shows a configuration example of the virtual storage box management table 4330.
- the virtual storage box management table 4330 is a table for managing the virtual storage boxes of the virtual storage device 3000.
- the virtual storage box management table 4330 is a table in which the virtual storage box management tables 2320 of all physical storage apparatuses 2000 are integrated.
- the virtual storage box management table 4330 has a virtual storage box ID column 4331 for storing a virtual storage box ID and a resource group ID column 4332 for storing a resource group ID belonging to the virtual storage box.
- FIG. 13 shows a configuration example of the virtual storage resource management table 4340.
- the virtual storage resource management table 4340 is a table for managing the resources of the virtual storage device 3000.
- the virtual storage resource management table 4340 is a table in which the resource management tables 2310 of all physical storage apparatuses 2000 are integrated.
- the virtual storage resource management table 4340 is assigned to a resource type column 4341 that stores a resource type, a resource ID column 4342 that stores the resource ID, a resource group ID column 4343 that stores a resource group ID to which the resource belongs.
- FIG. 14 shows a configuration example of the volume copy pair management table 4350.
- the volume copy pair management table 4350 is a table for managing volume copy pairs of the physical storage device 2000 managed by the management computer 4000.
- the volume copy pair management table 4350 is a table in which the volume copy pair management table 2340 of all physical storage apparatuses 2000 is integrated.
- the volume copy pair management table 4350 stores a pair ID column 4351 for storing a pair ID of a volume copy pair, a pair type column 4352 for storing the type of the pair, a pair status column 4353 for storing the status of the pair, and a PVOLID. It has a PVOLID column 4354, a SVOLID column 4355 for storing the SVOLID, a related pair ID column 4356 for storing the pair ID related to the pair, and a priority column 4357 for storing the priority of the pair and the related pair.
- the meaning of the words in each column of the volume copy pair management table 4350 is the same as that of the volume copy pair management table 2340.
- FIG. 15 shows the steps of migrating the physical VOL2 (SVOL) 2900 of the physical storage device 2 (ST2) (2000) to the physical VOL3 (SVOL) 2900 of the physical storage device 3 (ST3) (2000).
- the physical VOL1, VOL2, and VOL3 (2900) are components of the virtual VOL11 (3000). Note that some symbols are omitted.
- the physical VOL 2 (SVOL) 2900 and the physical VOL 1 (PVOL) 2900 of the physical storage device 2 (2000) are pre-migration volume pairs (first volume pairs).
- the physical VOL3 (2900) and the physical VOL1 (PVOL) 2900 are post-migration volume pairs (second volume pairs). In the migration, data of the physical VOL1 (PVOL) 2900 is copied to the physical VOL3 (2900).
- a system administrator who can perform both host management and storage management performs path and volume settings.
- step A-0 shows an initial state.
- a path is defined between the host computer 1000 and the physical VOL1, VOL2.
- the physical VOL1 and VOL2 constitute a volume pair.
- the physical VOL1 and VOL2 are components of the virtual VOL11, and the host computer 1000 can access any of the physical VOL1 and VOL for accessing the virtual VOL11.
- Step A-1 the physical storage device 3 creates a physical VOL 3 in accordance with an instruction from the system administrator.
- the physical storage device 1 (ST1) and the physical storage device 3 create an HA volume pair of the physical VOL1 and the physical VOL3.
- a virtual ID is assigned to VOL3.
- VOL1, VOL2, and VOL3 have an HA multi-target configuration.
- step A-2 the host computer 1000 and the physical storage device 3 define a path from the host computer 1000 to the physical VOL 3 in accordance with an instruction from the system administrator.
- the physical storage device 3 adds host WWN, port ID, and VOL3 volume ID information to the host group management table 2380.
- step A-3 the host computer 1000 and the physical storage device 2 delete the path from the host computer 1000 to the physical VOL 2 in accordance with an instruction from the system administrator.
- the physical storage device 2 deletes the information of the host WWN, port ID, and VOL2 volume ID from the host group management table 2380.
- step A-4 according to the instruction from the system administrator, the physical storage devices 1 and 2 delete the HA pair of the physical VOL1 and physical VOL2, and the physical storage device 2 assigns the virtual ID of the physical VOL2. delete.
- FIG. 16 shows an example of a flowchart when the data input / output processing program 2350 of the physical storage device 2000 processes the WRITE command when the WRITE command is issued from the host computer 1000 to the physical storage device 2000.
- the WRITE command includes a data write instruction and write data.
- step S101 the data input / output processing program 2350 receives a WRITE command from the host computer 1000.
- step S102 the data input / output processing program 2350 determines whether the HA volume pair configuration of the WRITE target volume indicated by the WRITE command is an HA multi-target configuration (HA-MLT).
- the data input / output processing program 2350 refers to the pair type column 2342 in the volume copy pair management table 2340 for the determination.
- step S102 If the decision result in step S102 is Yes, the data input / output processing program 2350 proceeds to step S103. After step S103 is completed, the data input / output processing program 2350 ends the flow. Details of step S103 will be described later with reference to FIG.
- step S104 the data input / output processing program 2350 refers to the volume copy pair management table 2340 to determine whether or not the WRITE target volume copy pair configuration is an HA cascade configuration (HA-CAS).
- HA-CAS HA cascade configuration
- step S104 If the decision result in step S104 is Yes, the data input / output processing program 2350 proceeds to step S105. After step S105 is completed, the data input / output processing program 2350 ends the flow. Details of step S105 will be described later with reference to FIG.
- step S104 the data input / output processing program 2350 proceeds to step S106.
- the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether the WRITE target volume is a PVOL of a single HA volume pair (S-HA).
- S-HA single HA volume pair is an HA volume pair that is not being migrated.
- step S106 determines whether the access destination is a PVL of a single volume pair. If the determination result in step S106 is Yes, that is, if the access destination is a PVL of a single volume pair, the data input / output processing program 2350 proceeds to step S107.
- step S107 the data input / output processing program 2350 executes exclusive lock processing. In this example, the data input / output processing program 2350 exclusively locks the access destination address area in the access destination physical volume.
- Exclusive lock processing is WRITE / READ exclusive control for WRITE target data or READ target data.
- the WRITE / READ exclusive control unit in the exclusive lock process may be an LBA unit or a volume unit.
- Information on the exclusive lock state is managed in the exclusive lock management table 2390 in units of exclusive control.
- the exclusive lock management table 2390 is updated each time an exclusive lock process and an exclusive lock release process are performed.
- step S108 the data input / output processing program 2350 writes the write data to the WRITE target volume.
- Writing the write data to the target volume by the WRITE command means writing to the storage device 2200 or the cache memory 2400. This is the same for other WRITE processes.
- step S109 the data input / output processing program 2350 transfers the WRITE command to the physical storage device 2000 having the corresponding SVOL.
- the data input / output processing program 2350 acquires the identifier of the physical storage device 2000 that provides the corresponding SVOL from the volume copy pair management table 2340.
- step S110 the data input / output processing program 2350 receives a WRITE command completion response from the physical storage device 2000 having the SVOL.
- step S111 the data input / output processing program 2350 releases the exclusive lock executed for the WRITE command, and updates the exclusive lock management table 2390.
- step S112 the data input / output processing program 2350 transmits a WRITE command completion response to the host computer 1000 and ends the flow.
- step S106 determines whether the target of the WRITE command is SVOL in a single HA volume pair. If the determination result of step S106 is No, that is, if the target of the WRITE command is SVOL in a single HA volume pair, the data input / output processing program 2350 proceeds to step S113.
- step S113 the data input / output processing program 2350 transfers the WRITE command to the physical storage device 2000 having the corresponding PVOL.
- the data input / output processing program 2350 acquires from the volume copy pair management table 2340 the physical storage device 2000 that provides the corresponding PVOL and the SVOL identifier in the physical storage device 2000.
- step S114 the data input / output processing program 2350 receives a WRITE command completion response from the physical storage device 2000 having the PVOL.
- step S115 the data input / output processing program 2350 writes the write data to the WRITE target volume, that is, the SVOL held by the own device.
- step S116 the data input / output processing program 2350 transmits a WRITE command completion response to the host computer 1000.
- the data input / output processing program 2350 transmits an exclusive lock release command to the physical storage apparatus 2000 having the PVOL.
- the exclusive lock release command includes, for example, the identifier of the WRITE command or the designated address of the virtual volume.
- step S108 the data input / output processing program 2350 receives the exclusive lock release command completion response from the physical storage apparatus 2000 with the PVOL, and ends the flow.
- FIG. 21 shows a sequence from step S107 to step S112.
- Steps S107 to S112 are a flow of a WRITE command from the host computer 1000 to the PVOL of the single volume pair.
- the physical storage device 1 (2000) receives a WIRITE command to the physical VOL1 (virtual VOL11) 2900 from the host computer 1000 (S101).
- the physical VOL 1 (2900) is a PVOL of a single volume pair.
- the physical storage device 1 (2000) exclusively locks the designated area (S107) and writes the write data (S108).
- the physical storage device 1 (2000) transfers the WIRITE command to the physical storage device 2 (2000) that provides the physical VOL2 (2900) that is the corresponding SVOL (S109).
- the physical storage device 2 (2000) writes the transferred write data to the designated area of the physical VOL2 (2900) without exclusive lock (S2101), and returns a write completion response to the physical storage device 1 (2000) (S110). ).
- the physical storage device 1 (2000) that has received the write completion response releases the exclusive lock (S111), and returns a write completion response to the host computer 1000 (S112).
- FIG. 22 shows a sequence from step S113 to step S118.
- Steps S113 to S118 are a flow of a WRITE command from the host computer 1000 to the SVOL of the single volume pair.
- the physical storage device 2 (2000) receives a WIRITE command to the physical VOL2 (virtual VOL11) 2900 from the host computer 1000 (S101).
- the physical VOL 2 (2900) is a single volume pair SVOL.
- the physical storage device 2 (2000) transfers the WRITE command to the physical storage device 1 (2000) that provides the corresponding PVOL (physical VOL1 (2900)) (S113).
- the physical storage device 1 (2000) exclusively locks the designated area of the physical VOL1 (2900) (S2201) and writes the write data (S2202).
- the physical storage device 1 (2000) returns a write completion response to the physical storage device 2 (2000) (S114).
- the physical storage device 2 (2000) that has received the write completion response writes the write data to the physical VOL 2 (2900) (S115), and returns a write completion response to the host computer 1000 (S116). Thereafter, the physical storage device 2 (2000) transmits an exclusive lock release command to the physical storage device 1 (2000) (S117). The physical storage device 1 (2000) releases the exclusive lock (S2203), and returns an exclusive lock release completion response to the physical storage device 2 (2000) (S118).
- FIG. 17 shows a flowchart example of the WRITE process in the HA multi-target configuration in step S103.
- the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether the WRITE target volume is a PVOL of the first volume pair.
- the priority column 2347 indicates whether the volume pair is a first volume pair or a second volume pair. As described above, in this example, the first volume pair is a pre-migration volume pair.
- the data input / output processing program 2350 refers to the volume copy pair management table 2340 to determine the priority of the volume pair (copy pair) to which the WRITE target volume belongs, and whether the volume is a PVOL or SVOL. Can be determined.
- step S201 If the determination result of step S201 is No, the data input / output processing program 2350 proceeds to step S202.
- step S202 the WRITE command is transferred to the PVOL of the first volume pair. Details of step S202 will be described later.
- step S202 the data input / output processing program 2350 proceeds to step S203. If the determination result in step S201 is Yes, the data input / output processing program 2350 proceeds to step S203.
- step S203 the data input / output processing program 2350 determines whether or not the WRITE target volume is a PVOL of the first volume pair or an SVOL of the first volume pair.
- step S203 determines whether the WRITE target volume is included in the first volume pair. If the determination result in step S203 is Yes, that is, if the WRITE target volume is included in the first volume pair, the data input / output processing program 2350 proceeds to step S204. In step S204, the data input / output processing program 2350 executes exclusive lock processing on the WRITE target volume, and the process proceeds to step S205.
- step S203 determines whether the WRITE target volume is a new migration destination volume. If the determination result in step S203 is No, that is, if the WRITE target volume is a new migration destination volume, the data input / output processing program 2350 proceeds to step S205. In step S205, the data input / output processing program 2350 writes data to the WRITE target volume without performing an exclusive lock.
- step S206 the data input / output processing program 2350 determines whether the WRITE target volume is a PVOL of the first volume pair. If the determination result in step S206 is Yes, the data input / output processing program 2350 proceeds in the order of step S207, step S208, and step S209. Details of step S207 and step S208 will be described later.
- step S206 determines whether or not the WRITE target volume is a PVOL of the first volume pair or an SVOL of the first volume pair. If the determination result of step S209 is Yes, the data input / output processing program 2350 proceeds to step 210.
- step S210 the data input / output processing program 2350 releases the exclusive lock and proceeds to step S211. If the determination result of step S209 is No, the data input / output processing program 2350 proceeds to step 211.
- step S211 the data input / output processing program 2350 transmits a WRITE command completion response to the host computer 1000.
- the data input / output processing program 2350 determines whether or not the WRITE target volume is the first pair PVOL. If the determination result of step S212 is No, the data input / output processing program 2350 ends the flow.
- step S212 If the determination result in step S212 is Yes, the data input / output processing program 2350 transmits an exclusive lock release command to the physical storage device 2000 having the SVOL of the first volume pair in step S213.
- step S214 the data input / output processing program 2350 receives the exclusive lock release command completion response from the physical storage device 2000 having the SVOL of the first volume pair, and ends the flow.
- FIG. 18 shows a flowchart of steps S202, S207, and S208 in the flowchart of FIG. Steps S202, 207, and 208 show WRITE command transfer processing between physical storage apparatuses in the HA multi-target configuration.
- step S301 the data input / output processing program 2350 determines whether the WRITE target volume is the PVOL of the first volume pair or the SVOL of the first pair. As described above, the data input / output processing program 2350 refers to the volume copy pair management table 2340 to determine the priority of the volume pair (copy pair) to which the WRITE target volume belongs, and whether the volume is a PVOL or SVOL. Can be determined.
- step S301 determines whether the data input / output processing program 2350 is Yes. If the determination result in step S301 is Yes, the data input / output processing program 2350 proceeds to step S302. In step S302, the data input / output processing program 2350 executes exclusive lock processing for the WRITE target area, and the process proceeds to step S303. If the determination result in step S301 is No, the data input / output processing program 2350 proceeds to step S303.
- step S303 the data input / output processing program 2350 writes the data to the WRITE target volume, and proceeds to step S304.
- step S304 the data input / output processing program 2350 determines whether the WRITE target volume is a PVOL of the first volume pair.
- step S304 If the determination result in step S304 is Yes, the data input / output processing program 2350 proceeds in the order of step S305, step S306, and step S307.
- step S305 the data input / output processing program 2350 transfers the WRITE command to the physical storage device 2000 having the SVOL of the first volume pair.
- the physical storage apparatus 2000 having the SVOL of the first volume pair executes the WRITE command transfer process of FIG.
- step S306 the data input / output processing program 2350 transfers the WRITE command to the physical storage device 2000 having the SVOL of the second volume pair.
- the physical storage apparatus 2000 having the SVOL of the second volume pair executes the WRITE command transfer process of FIG.
- step S307 the data input / output processing program 2350 determines whether the WRITE target volume is a PVOL of the first volume pair. If the determination result in step S307 is Yes, the data input / output processing program 2350 executes the exclusive lock release processing, and proceeds to step S309. If the determination result of step S307 is No, the data input / output processing program 2350 proceeds to step S309.
- step S309 the data input / output processing program 2350 transmits a WRITE command completion response to the WRITE command transfer source physical storage device 2000, and proceeds to step S313.
- step S313 the data input / output processing program 2350 determines whether the WRITE target volume is an SVOL of the first volume pair. If the determination result in step S313 is Yes, the data input / output processing program 2350 waits for an exclusive lock release command from the physical storage device 1 (2000) that provides the physical VOL1 (2900), which is the WRITE command transfer source.
- step S314 the data input / output processing program 2350 receives the exclusive lock release command.
- step S313 the data input / output processing program 2350 proceeds to step S310.
- step S310 the data input / output processing program 2350 determines whether or not the volume in the WRITE command transfer source physical storage device 2000 is the SVOL of the first volume pair. If the determination result in step S310 is Yes, the data input / output processing program 2350 ends the flow.
- step S311 the data input / output processing program 2350 transmits an exclusive lock release command to the physical storage device 2 (2000). Thereafter, in step S312, the data input / output processing program 2350 receives the exclusive lock release command completion response from the physical storage device 2 (2000), and ends the flow.
- FIG. 25 shows the processing sequence of the WRITE command from the host computer 1000 to the PVOL of the first volume pair.
- FIG. 26 shows the processing sequence of the WRITE command from the host computer 1000 to the SVOL of the first volume pair.
- FIG. 27 shows the processing sequence of the WRITE command from the host computer 1000 to the SVOL of the second volume pair.
- the physical storage device 1 (2000) receives the WRITE command to the physical VOL1 (virtual VOL11) 2900 (S101).
- the physical VOL1 (2900) is a PVOL of the first volume pair and the second volume pair.
- the physical storage device 1 (2000) exclusively locks the designated address area of the physical VOL1 (2900) (S204) and writes the write data (S205).
- the physical storage device 1 (2000) transfers the WRITE command to the physical storage device 2 (2000) that provides the physical VOL2 (2900) (S207).
- the physical VOL 2 (2900) is the SVOL of the first volume pair.
- the physical storage device 2 (2000) exclusively locks the designated address area of the physical VOL2 (2900) (S302) and writes the write data (S303). Thereafter, the physical storage device 2 (2000) transmits a WRITE command completion response to the physical storage device 1 (2000) (S309).
- the physical storage device 1 (2000) transfers the WRITE command to the physical storage device 3 (2000) that provides the physical VOL3 (2900) (S208).
- the physical VOL 3 (2900) is the SVOL of the second volume pair.
- the physical storage device 3 (2000) writes the write data to the physical VOL 3 (2900) without performing an exclusive lock (S303).
- the physical storage device 3 (2000) transmits a WRITE command completion response to the physical storage device 1 (2000) (S309).
- the physical storage device 1 (2000) releases the exclusive lock (S210), and returns a WRITE command completion response to the host computer 1000 (S211).
- the physical storage device 1 (2000) transmits an exclusive lock release command to the physical storage device 2 (2000) (S213), and the physical storage device 2 releases the exclusive lock (S308).
- the physical storage device 1 (2000) receives the completion response (S214).
- the response time to the host computer 1000 can be shortened by sending an exclusive lock release command to another physical storage device 2000 after returning a WRITE command completion response to the host computer 1000. After receiving an exclusive lock release command completion response from another physical storage device 2000, a WRITE command completion response to the host computer 1000 may be returned. This is the same in other sequence diagrams.
- the physical storage device 2 (2000) receives the WRITE command to the physical VOL2 (virtual VOL11) 2900 (S101).
- the physical storage device 2 (2000) transfers the WRITE command to the physical storage device 1 (2000) (S202).
- the physical storage device 1 (2000) exclusively locks the designated address area of the physical VOL1 (2900) (S302) and writes the write data (S303). Next, the physical storage device 1 (2000) transfers the WRITE command to the physical storage device 2 (2000) (S305).
- the physical storage device 2 (2000) exclusively locks the designated address area of the physical VOL 2 (2900) (S302) and writes the write data (S303). Thereafter, the physical storage device 2 (2000) transmits a WRITE command completion response to the physical storage device 1 (2000) (S309).
- the physical storage device 1 (2000) transfers the WRITE command to the physical storage device 3 (2000) that provides the physical VOL3 (2900) (S306).
- the physical storage device 3 (2000) writes the write data to the physical VOL 3 (2900) without performing an exclusive lock (S303).
- the physical storage device 3 (2000) transmits a WRITE command completion response to the physical storage device 1 (2000) (S309).
- the physical storage device 1 (2000) releases the exclusive lock (S308), and returns a WRITE command completion response to the physical storage device 2 (2000) that is the WRITE command transfer source (S309).
- the physical storage device 2 (2000) releases the exclusive lock (S210), and returns a WRITE command completion response to the host computer 1000 (S211).
- the physical storage device 3 (2000) receives the WRITE command to the physical VOL3 (virtual VOL11) 2900 (S101).
- the physical storage device 3 (2000) transfers the WRITE command to the physical storage device 1 (2000) (S202).
- the physical storage device 1 (2000) exclusively locks the designated address area of the physical VOL1 (2900) (S302) and writes the write data (S303). Next, the physical storage device 1 (2000) transfers the WRITE command to the physical storage device 2 (2000) (S305).
- the physical storage device 2 (2000) exclusively locks the designated address area of the physical VOL 2 (2900) (S302) and writes the write data (S303). Thereafter, the physical storage device 2 (2000) transmits a WRITE command completion response to the physical storage device 1 (2000) (S309).
- the physical storage device 1 (2000) transfers the WRITE command to the physical storage device 3 (2000) that provides the physical VOL3 (2900) (S306).
- the physical storage device 3 (2000) writes the write data to the physical VOL 3 (2900) without performing an exclusive lock (S303).
- the physical storage device 3 (2000) transmits a WRITE command completion response to the physical storage device 1 (2000) (S309).
- the physical storage device 1 (2000) releases the exclusive lock (S308), and returns a WRITE command completion response to the physical storage device 3 (2000) that is the WRITE command transfer source (S309).
- the physical storage device 3 (2000) When the WRITE command completion response is received from the physical storage device 1 (2000), the physical storage device 3 (2000) returns a WRITE command completion response to the host computer 1000 (S211).
- the physical storage device 1 (2000) After returning a WRITE command completion response, the physical storage device 1 (2000) transmits an exclusive lock release command to the physical storage device 2 (2000) (S311).
- the physical storage device 2 (2000) receives the exclusive lock release command (S314), executes the exclusive lock release processing (S315), and returns a completion response of the exclusive lock release command to the physical storage device 1 (2000) (S316). ).
- FIG. 19 shows a flowchart example of processing of the data input / output processing program 2350 when a READ command is issued from the host computer 1000 to the physical storage device 2000.
- reading from the physical volume means reading from the storage device 2200 or the cache memory 2400.
- step S401 the data input / output processing program 2350 receives a READ command from the host.
- step S402 the data input / output processing program 2350 determines whether or not the READ target volume is the SVOL of the second volume pair or the SVOL of the single volume pair.
- the data input / output processing program 2350 refers to the volume copy pair management table 2340 in the determination.
- step S402 If the determination result in step S402 is Yes, the data input / output processing program 2350 reads data from the READ target volume in step S403, and proceeds to step S407.
- step S402 determines whether the determination in step S402 is No. If the determination in step S402 is No, the data input / output processing program 2350 executes exclusive lock processing in step S404, and reads data from the READ target volume in step S405. In step S406, the data input / output processing program 2350 executes exclusive lock release processing, and proceeds to step S407. In step S407, the data input / output processing program 2350 transmits a READ command completion response including the read data to the host computer 1000, and ends the flow.
- FIG. 23, FIG. 24, FIG. 28, FIG. 29 and FIG. 30 show the sequence of FIG.
- FIG. 23 shows a sequence of READ command processing to the PVOL of a single volume pair.
- FIG. 24 shows the sequence of READ command processing to the SVOL of a single volume pair.
- FIG. 28 shows a READ command processing sequence for the PVOL of the first volume pair.
- FIG. 29 shows a READ command processing sequence for the SVOL of the first volume pair.
- FIG. 30 shows a sequence of READ command processing to the SVOL of the second volume pair.
- the physical storage device 1 (2000) receives a READ command to the physical VOL1 (virtual VOL11) (S401).
- the physical storage device 1 (2000) exclusively locks the designated address area (S404), and reads the read data from the designated address area (S405).
- the physical storage device 1 (2000) releases the exclusive lock (S406), and returns a RAD command completion response including read data to the host computer 1000 (S407).
- the physical storage device 2 (2000) receives a READ command to the physical VOL2 (virtual VOL11) (S401).
- the physical storage device 2 (2000) reads the read data from the designated address area without performing exclusive lock (S403).
- the physical storage device 2 (2000) returns a RAD command completion response including read data to the host computer 1000 (S407).
- the sequence in FIG. 28 is the same as the sequence in FIG.
- the sequence in FIG. 29 is the same as the sequence in FIG. 23 except that the physical storage device 2 (2000) performs processing instead of the physical storage device 1 (2000).
- the sequence in FIG. 30 is the same as the sequence in FIG. 24 except that the physical VOL 2 (2900) and the physical storage device 2 (2000) are changed to the physical VOL 3 (2900) and the physical storage device 3 (2000). is there.
- the exclusive lock is not performed on the volume (the last volume) to which the write data is written last, but the exclusive lock may be performed even when writing to the last volume.
- the exclusive lock is performed after receiving a WRITE command from another physical storage device 2000.
- the read process at the time of volume migration may be the same as the read process at the HA single volume pair at the time of non-migration.
- volume pair migration is performed, but the above description can be applied to volume migration of a volume group including three or more volumes.
- the above description can be applied to a storage system including three or more physical storage devices.
- the write data write order at the time of volume migration matches the write order at the time of non-migration, so that the functions of the storage system can be efficiently configured.
- the writing order at the time of migration and non-migration may be different.
- the writing order of the physical VOL 2 and the physical VOL 3 may be switched. These are the same in other embodiments.
- FIG. 31 shows data migration (volume migration) of this embodiment.
- the physical VOL 1 (2900) is migrated to the physical VOL 3 (2900).
- the physical VOL2 (2900) is common before and after the migration.
- FIG. 31 shows an outline of the HA cascade configuration in volume migration.
- one volume is an SVOL of one HA volume pair and a PVOL of the other HA volume pair, and these three volumes constitute two HA volume pairs.
- the physical VOL 1 (2900) and the physical VOL 2 (2900) constitute an HA volume pair 7100.
- an HA volume pair 7200 is formed by the physical VOL 2 (2900) and the physical VOL 3 (2900).
- the physical VOL2 is PVOL
- the physical VOL3 is SVOL.
- data is copied from the physical VOL 2 that is the PVOL to the physical VOL 3 that is the SVOL.
- a path 8300 from the host computer 1000 to the physical VOL 3 (2900) is defined.
- the physical storage device 3 (2000) returns the information on the virtual VOL11 (3900) in the same manner as the physical VOL1 (2900) and physical VOL2 (2900). .
- the path 8100 from the host computer 1000 to the physical VOL 2 is deleted. Further, the physical storage device 1 (2000) and the physical storage device 2 (2000) delete the HA volume pair 7100. Thereby, the migration from the physical VOL 2 (2900) of the physical storage device 2 (2000) to the physical VOL 3 (2900) of the physical storage device 3 (2000) is completed.
- FIG. 32 shows the procedure for migrating the PVOL (VOL1) of the physical storage device 1 (ST1) of the HA pair to the physical storage device 3 (ST3).
- the physical volume after the migration is a physical VOL3.
- the system administrator executes the procedure. Note that some symbols are omitted.
- Step B-0 shows the initial state.
- a path is defined between the host computer 1000 and the physical VOL1, VOL2.
- the physical VOL1 and VOL2 constitute a volume pair.
- the physical VOL1 and VOL2 are components of the virtual VOL11, and the host computer 1000 can access any of the physical VOL1 and VOL for accessing the virtual VOL11.
- step B-1 the physical storage device 3 creates a physical VOL 3 in accordance with an instruction from the system administrator.
- the physical storage device 2 (ST2) and the physical storage device 3 create an HA volume pair of the physical VOL2 and the physical VOL3.
- the physical VOL1, VOL2, and VOL3 are in an HA cascade configuration.
- step B-2 the host computer 1000 and the physical storage device 3 are defined with a path from the host computer 1000 to the physical VOL 3 in accordance with an instruction from the system administrator.
- the physical storage device 3 adds host WWN, port ID, and VOL3 volume ID information to the host group management table 2380.
- step B-3 the system administrator deletes the path from the host computer 1000 to the physical VOL 1 in the host computer 1000 and the physical storage device 1.
- the physical storage device 1 deletes the host WWN, port ID, and VOL2 volume ID information from the host group management table 2380.
- step B-4 according to the instruction from the system administrator, the physical storage device 1 and the physical storage device 2 delete the physical VOL1 and physical VOL2HA pair, and the physical storage device 1 further deletes the virtual VOL1 virtual Delete the ID.
- FIG. 33 shows a flowchart example of the WRITE process in the HA cascade configuration of step S105 in FIG.
- the data input / output processing program 2350 refers to the volume copy pair management table 2340 to determine whether or not the WRITE target volume is a PVOL of the first volume pair.
- step S601 the data input / output processing program 2350 proceeds to step S602.
- step S602 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether the WRITE target volume is an SVOL of the first volume pair.
- step S602 determines whether the data input / output processing program 2350 is Yes. If the determination result in step S602 is Yes, the data input / output processing program 2350 proceeds in the order of step S603 and step S605. Details of step S603 will be described later. If the determination result in step S602 is No, the data input / output processing program 2350 proceeds in the order of step S604 and step S606. Details of step S604 will be described later.
- step S601 If the determination result in step S601 is Yes, the data input / output processing program 2350 proceeds to step S605. In step S605, the data input / output processing program 2350 executes exclusive lock processing.
- step S606 the data input / output processing program 2350 writes the write data to the WRITE target volume.
- step S607 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether the WRITE target volume is a PVOL of the first volume pair.
- step S607 If the determination result in step S607 is Yes, the data input / output processing program 2350 proceeds in the order of step S609 and step S611. Details of step S609 will be described later. If the determination result of step S607 is No, the data input / output processing program 2350 proceeds to step S608.
- step S608 the data input / output processing program 2350 refers to the volume copy pair management table 2340 to determine whether the WRITE target volume is the first pair of SVOLs.
- step S608 determines whether the data input / output processing program 2350 is Yes or not. If the determination result in step S608 is Yes, the data input / output processing program 2350 proceeds in the order of step S610 and step S611. Details of step S610 will be described later. If the determination result of step S608 is No, the data input / output processing program 2350 proceeds to step S612. In step S611, the data input / output processing program 2350 executes exclusive lock release processing.
- step S612 the data input / output processing program 2350 transmits a WRITE command completion response to the host.
- step S613 the data input / output processing program 2350 refers to the volume copy pair management table 2340 to determine whether or not the WRITE target volume is a PVOL of the first volume pair.
- step S613 If the determination result in step S613 is Yes, the data input / output processing program 2350 ends the flow.
- step S613 the data input / output processing program 2350 proceeds to step S614.
- step S614 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether the WRITE target volume is the SVOL of the first volume pair.
- step S614 If the determination result in step S614 is Yes, the data input / output processing program 2350 transmits an exclusive lock release command to the physical storage device 2000 having the PVOL of the first volume pair in step S615.
- step S616 the data input / output processing program 2350 receives the exclusive lock release command completion response from the physical storage device 2000 having the PVOL of the first volume pair, and ends the flow.
- step S614 the data input / output processing program 2350 transmits an exclusive lock release command to the physical storage device 2000 having the SVOL of the first volume pair in step S617, and then in step S618, the first The exclusive lock release command completion response is received from the physical storage apparatus 2000 having the SVOL of the volume pair, and the flow ends.
- the flowchart in FIG. 34 shows an example of the WRITE command transfer process between physical storage devices in the HA cascade configuration in steps S603, S604, S609, and S610.
- step S701 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether the WRITE target volume is the first pair of PVOLs. If the determination result of step S701 is Yes, the data input / output processing program 2350 proceeds to step S702. If the determination result in step S701 is No, the data input / output processing program 2350 proceeds to step S702.
- step S702 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether the WRITE target volume is an SVOL of the first volume pair. If the determination result of step S702 is No, the process proceeds to step S706. If the determination result of step S702 is Yes, the process proceeds to step S703.
- step S703 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether or not the WRITE command transfer source is the physical storage apparatus 2000 having the first pair of PVOLs. If the determination result in step S703 is Yes, the data input / output processing program 2350 proceeds to step S705. If the determination result in step S703 is No, the data input / output processing program 2350 proceeds in the order of step S704 and step S705.
- step S704 the data input / output processing program 2350 transfers the WRITE command to the physical storage apparatus 2000 having the first volume pair PVOL, and the physical storage apparatus 2000 having the first pair PVOL performs the WRITE command transfer process of FIG. Execute.
- step S705 the data input / output processing program 2350 executes exclusive lock processing.
- step S706 the data input / output processing program 2350 writes the write data to the WRITE target volume.
- step S707 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines that the VOL target volume is the SVOL of the first volume pair and the WRITE command transfer source is the SVOL of the first volume pair. It is determined whether or not the physical storage device 2000 is present.
- step S707 the process proceeds in the order of step S708, step S709, and step S710.
- step S708 the data input / output processing program 2350 transfers the WRITE command to the physical storage device 2000 having the SVOL of the second volume pair, and the physical storage device 2000 having the SVOL of the second volume pair receives the WRITE command in FIG. Execute the transfer process.
- step S709 the data input / output processing program 2350 executes exclusive lock release processing, and proceeds to step S710.
- step S 710 the data input / output processing program 2350 transmits a WRITE command completion response to the WRITE command transfer source physical storage apparatus 2000.
- step 711 the data input / output processing program 2350 refers to the volume copy pair management table 2340 and determines whether or not the WRITE target volume is the first pair of PVOLs. If the determination result in step 711 is No, the data input / output processing program 2350 ends the flow. If the determination result in step 711 is Yes, the data input / output processing program 2350 proceeds to step S713.
- step S707 the data input / output processing program 2350 proceeds to step S712.
- step S 712 the data input / output processing program 2350 transmits a WRITE command completion response to the WRITE command transfer source physical storage apparatus 2000.
- step S713 the data input / output processing program 2350 receives the exclusive lock release command from the other physical storage device 2000, and executes the exclusive lock release processing in step S714.
- step 715 the data input / output processing program 2350 refers to the volume copy pair management table 2340 to determine whether the WRITE target volume is the SVOL of the first volume pair and the PVOL of the second volume pair. If the determination result in step S715 is No, in step S718, the data input / output processing program 2350 returns an exclusive lock release command completion response to the transmission source of the command, and the flow ends.
- step S716 the data input / output processing program 2350 transmits an exclusive lock release command to the physical storage device 2000 having the PVOL of the first volume pair.
- the exclusive lock release command completion response is received from the physical storage apparatus 2000 having the PVOL of the first volume pair in step S717, the data input / output processing program 2350 proceeds to step S718.
- FIGS. 33 and 34 show the sequences of FIGS. 33 and 34.
- FIG. FIG. 35 shows the processing sequence of the WRITE command from the host computer 1000 to the PVOL of the first volume pair.
- FIG. 36 shows the processing sequence of the WRITE command from the host computer 1000 to the SVOL of the first volume pair.
- FIG. 37 shows the processing sequence of the WRITE command from the host computer 1000 to the SVOL of the second volume pair.
- the physical storage device 1 (2000) receives a WRITE command to the physical VOL1 (virtual VOL11) 2900 (S101).
- the physical VOL1 (2900) is a PVOL of the first volume pair.
- the physical storage device 1 (2000) exclusively locks the designated address area of the physical VOL1 (2900) (S605) and writes the write data (S606).
- the physical storage device 1 (2000) transfers the WRITE command to the physical storage device 2 (2000) that provides the physical VOL2 (2900) (S609).
- the physical VOL 2 (2900) is an SVOL of the first volume pair and a PVOL of the second volume pair.
- the physical storage device 2 (2000) exclusively locks the designated address area of the physical VOL 2 (2900) (S705) and writes the write data (S706).
- the physical storage device 2 (2000) transfers the WRITE command to the physical storage device 3 (2000) that provides the physical VOL3 (2900) (S708).
- Physical VOL3 (2900) is the SVOL of the second volume pair.
- the physical storage device 3 (2000) writes the write data to the designated address area of the physical VOL3 (2900) without performing exclusive lock (S706).
- the physical storage device 3 (2000) transmits a WRITE command completion response to the physical storage device 2 (2000) (S710).
- the physical storage device 2 (2000) releases the exclusive lock (S709), and the WRITE command transfer source physical storage device 1 (2000) is transferred to the WRITE command.
- a command completion response is transmitted (S710).
- the physical storage device 1 (2000) Upon receiving the WRITE command completion response from the physical storage device 2 (2000), the physical storage device 1 (2000) releases the exclusive lock (S611), and returns the WRITE command completion response to the host computer 1000 (S612).
- the physical storage device 2 (2000) receives a WRITE command to the physical VOL2 (virtual VOL11) 2900 (S101).
- the physical storage device 2 (2000) transfers the WRITE command to the physical storage device 1 (2000) (S603).
- the physical storage device 1 (2000) exclusively locks the designated address area of the physical VOL1 (2900) (S705) and writes the write data (S706).
- the physical storage device 1 (2000) transmits a WRITE command completion response to the physical storage device 2 (2000) (S710).
- the physical storage device 2 (2000) exclusively locks the designated address area of the physical VOL2 (2900) (S605) and writes the write data (S606).
- the physical storage device 2 (2000) transfers the WRITE command to the physical storage device 3 (2000) that provides the physical VOL3 (2900) (S610).
- the physical storage device 3 (2000) writes the write data to the physical VOL 3 (2900) without performing an exclusive lock (S706).
- the physical storage device 3 (2000) transmits a WRITE command completion response to the physical storage device 2 (2000) (S710).
- the physical storage device 2 (2000) releases the exclusive lock (S611), and returns the WRITE command completion response to the host computer 1000 (S612).
- the physical storage device 2 (2000) transmits an exclusive lock release command to the physical storage device 1 (2000) (S615).
- the physical storage device 1 (2000) receives the exclusive lock command (S713) and releases the exclusive lock (S714).
- the physical storage device 1 (2000) returns a completion response of the exclusive lock release command to the physical storage device 2 (2000) (S718).
- the physical storage device 3 (2000) receives the WRITE command to the physical VOL3 (virtual VOL11) 2900 (S101).
- the physical storage device 3 (2000) transfers the WRITE command to the physical storage device 2 (2000) (S604).
- the physical storage device 2 (2000) transfers the WRITE command to the physical storage device 1 (2000) (S704).
- the physical storage device 1 (2000) exclusively locks the designated address area of the physical VOL1 (2900) (S705) and writes the write data (S706). Next, the physical storage device 1 (2000) transmits a WRITE command completion response to the physical storage device 2 (2000) (S710).
- the physical storage device 2 (2000) exclusively locks the designated address area of the physical VOL 2 (2900) (S705) and writes the write data (S706). Next, the physical storage device 2 (2000) transmits a WRITE command completion response to the physical storage device 3 (2000) (S712).
- the physical storage device 3 (2000) that has received the WRITE command completion response from the physical storage device 2 (2000) writes the write data to the designated area of the physical VOL3 (2900) (S606), and the WRITE command is completed to the host computer 1000. A response is returned (S612).
- the physical storage device 3 (2000) transmits an exclusive lock release command to the physical storage device 2 (2000) (S617).
- the physical storage device 2 (2000) receives the exclusive lock release command (S713) and releases the exclusive lock (S714).
- the physical storage device 2 (2000) transmits an exclusive lock release command to the physical storage device 1 (2000) (S716).
- the physical storage device 1 (2000) receives the exclusive lock release command (S713) and releases the exclusive lock (S714).
- the physical storage device 1 (2000) returns a completion response of the exclusive lock release command to the physical storage device 2 (2000) (S718).
- the physical storage device 2 (2000) When the completion response of the exclusive lock release command is received from the physical storage device 1 (2000), the physical storage device 2 (2000) returns a completion response of the exclusive lock release command to the physical storage device 3 (2000) (S718).
- host I / O non-stop and high availability can be maintained during volume migration in the HA cascade configuration.
- the READ command processing at the time of volume migration is the same as that in the first embodiment, and a description thereof will be omitted.
- Example 3 will be described below.
- This embodiment describes volume migration using an I / O switching volume in an HA multi-target configuration.
- 38A and 38B show a procedure for migrating the SVOL (physical VOL2) of the physical storage device 2 (ST2) of the HA pair to the physical storage device 3 (ST3).
- the physical volume after the migration is a physical VOL3.
- the system administrator executes the procedure. Note that some reference numerals are omitted in FIGS. 38A and 38B.
- Step C-0 shows the initial state of Step C.
- a path is defined between the host computer 1000 and the physical VOL1, VOL2.
- the physical VOL1 and VOL2 constitute a volume pair.
- the physical VOL1 and the physical VOL2 are components of the virtual VOL11, and the host computer 1000 can access any of the physical VOL1 and VOL for accessing the virtual VOL11.
- Step C-1 the physical storage device 3 creates an I / O switching volume (SWVOL) (2900) associated with the physical VOL 2 in accordance with an instruction from the system administrator.
- SWVOL I / O switching volume
- An I / O request from the host computer 1000 to the SWVOL is transferred to a physical volume associated with the SWVOL. Further, according to the instruction from the system administrator, the physical storage device 3 assigns a virtual ID to the SWVOL.
- step C-3 processing of an I / O request transferred from the host computer 1000 to the physical VOL 2 via SWVOL, processing of an I / O request issued from the host computer 1000 to the physical VOL 2, and I / O The request is the same except for the part through SVOL.
- Step C-2 the host computer 1000 and the physical storage device 3 define a path definition from the host computer 1000 to SWVOL in accordance with an instruction from the system administrator.
- step C-3 the physical storage device 1 and the physical storage device 3 create an HA pair of VOL1 and VOL3 according to an instruction from the system administrator.
- Step C-4 the physical storage device 3 assigns a virtual ID to the physical VOL 3 in accordance with an instruction from the system administrator. Further, the host computer 1000 and the physical storage device 3 define a path from the host computer 1000 to the physical VOL 3 and delete the SWVOL.
- Step C-5 according to the instruction from the system administrator, the physical storage device 2 creates a SWVOL associated with the physical VOL 3 and assigns a virtual ID to the SWVOL.
- the host computer 1000 and the physical storage device 2 define a path from the host computer 1000 to SWVOL, delete the path from the host computer 1000 to VOL2, and delete the virtual ID of the physical VOL2.
- Step C-6 the host computer 1000 and the physical storage device 2 delete the path from the host computer 1000 to SWVOL according to the instruction from the system administrator.
- Step C-7 according to the instruction from the system administrator, the physical storage device 2 deletes the SWVOL, and the physical storage devices 1 and 2 delete the HA pair of the physical VOL1 and the physical VOL2.
- the management of the physical volume in the storage apparatus and the path management between the physical storage apparatus and the host computer can be performed independently.
- I / O switching volumes for both the new physical volume after migration and the pre-migration physical volume deleted after migration as in the above example, only one of them may be prepared.
- Example 4 describes volume migration using an I / O switching volume in an HA cascade configuration. Differences from the third embodiment will be mainly described.
- FIGS. 39A and 39B show the procedure for migrating the PVOL (VOL1) of the physical storage device 1 (ST1) of the HA pair to the physical storage device 3 (ST3).
- the physical volume after the migration is a physical VOL3.
- the system administrator performs the above procedure.
- FIG. 39A and 39B some symbols are omitted.
- Step D-0 shows the initial state of Step D.
- a path is defined between the host computer 1000 and the physical VOL1, VOL2.
- the physical VOL1 and VOL2 constitute a volume pair.
- step D-1 the physical storage device 3 creates a SWVOL associated with the physical VOL 2 according to an instruction from the system administrator, and assigns a virtual ID to the SWVOL.
- step D-2 the host computer 1000 and the physical storage device 3 define a path from the host computer 1000 to SWVOL in accordance with an instruction from the system administrator.
- step D-3 according to an instruction from the system administrator, the physical storage device 3 creates a physical VOL3, and the physical storage devices 2 and 3 create an HA pair of the physical VOL2 and the physical VOL3.
- Step D-4 the physical storage device 3 assigns a virtual ID to the physical VOL 3 in accordance with an instruction from the system administrator.
- the host computer 1000 and the physical storage device 3 define a path from the host computer 1000 to VOL3.
- the physical storage device 3 deletes SWVOL.
- Step D-5 in accordance with an instruction from the system administrator, the physical storage device 1 (ST1) creates a SWVOL associated with the physical VOL2 and assigns a virtual ID to the SWVOL.
- the host computer 1000 and the physical storage device 1 define a path from the host computer 1000 to the SWVOL, delete the path from the host computer 1000 to the physical VOL1, and delete the virtual ID of the physical VOL1.
- Step D-6 the host computer 1000 and the physical storage device 1 delete the path from the host computer 1000 to SWVOL in accordance with an instruction from the system administrator.
- step D-7 according to the instruction from the system administrator, the physical storage device 1 deletes the SWVOL, and the physical storage devices 1 and 2 delete the HA pair of the physical VOL1 and the physical VOL2.
- the management of the physical volume in the storage apparatus and the path management between the physical storage apparatus and the host computer can be performed independently.
- I / O switching volumes for both the new physical volume after migration and the pre-migration physical volume deleted after migration as in the above example, only one of them may be prepared.
- FIG. 40 shows a procedure for replacing the SVOL (VOL2) of the physical storage device 2 (ST2) of the HA pair with another volume (VOL3) of the same physical storage device 2.
- the system administrator executes the procedure.
- FIG. 40 some symbols are omitted.
- Step E-0 shows the initial state of Step E.
- a path is defined between the host computer 1000 and the physical VOL1, VOL2.
- the physical VOL1 and VOL2 constitute a volume pair.
- the physical storage device 2 creates a physical VOL3 according to an instruction from the system administrator, and creates an HA pair of the physical VOL1 and the physical VOL3.
- step E-2 the physical storage device 2 assigns a virtual ID to the VOL 3 in accordance with an instruction from the system administrator.
- the host computer 1000 and the physical storage device 2 define a path from the host computer 1000 to the physical VOL 3, delete the path from the host computer 1000 to the physical VOL 2, and delete the virtual ID of the physical VOL 2.
- step E-3 the physical storage apparatuses 1 and 2 delete the HA pair of the physical VOL1 and the physical VOL2 in accordance with an instruction from the system administrator.
- this invention is not limited to the above-mentioned Example, Various modifications are included.
- the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described.
- a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment.
- each of the above-described configurations, functions, processing units, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit.
- Each of the above-described configurations, functions, and the like may be realized by software by interpreting and executing a program that realizes each function by the processor.
- Information such as programs, tables, and files for realizing each function can be stored in a memory, a hard disk, a recording device such as an SSD (Solid State Drive), or a recording medium such as an IC card or an SD card.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Hardware Redundancy (AREA)
Abstract
Description
Claims (9)
- 移行前ボリュームグループから移行後ボリュームグループへの移行を行う複数ストレージ装置、を含むストレージシステムであって、
前記複数ストレージ装置は、前記移行中において、前記移行前ボリュームグループ及び前記移行後ボリュームグループの複数ボリューム内の任意ボリュームへのホストからのライトコマンドを受け付け、
前記複数ストレージ装置は、前記複数ボリュームのそれぞれに、予め定められた順番で、前記ライトコマンドのライトデータを書き込み、
前記複数ストレージ装置における第1ストレージ装置は、前記複数ボリュームにおける最後において、最後ボリュームに前記ライトデータを書き込み、
前記複数ストレージ装置において前記最後ボリュームと異なるボリュームを提供するストレージ装置は、前記異なるボリュームそれぞれにおいて、排他ロックを行ってから前記ライトデータを書き込み、前記最後ボリュームへの前記ライトデータの書き込み完了後に前記排他ロックを解除する、ストレージシステム。 - 請求項1に記載のストレージシステムであって、
前記移行前ボリュームグループは、第1ボリューム及び第2ボリュームからなり、
前記移行後ボリュームグループは、前記第1ボリューム及び第3ボリュームからなり、
前記複数ストレージ装置は、前記第1ボリュームのデータを前記第3ボリュームにコピーし、
前記第2ボリューム又は前記第3ボリュームは、前記最後ボリュームであり、
前記複数ストレージ装置は、前記第1ボリューム、第2ボリューム及び第3ボリュームにおける最初に、前記第1ボリュームに前記ライトデータを書きこみ、
前記第2ボリュームを提供するストレージ装置は、前記第1ボリュームを提供するストレージ装置から、前記ライトデータ及び前記ライトデータの書き込みを指示するライトコマンドを受信し、
前記第3ボリュームを提供するストレージ装置は、前記第1ボリュームを提供するストレージ装置から、前記ライトデータ及び前記ライトデータの書き込みを指示するライトコマンドを受信する、ストレージシステム。 - 請求項2に記載のストレージシステムであって、
前記第2ボリュームを提供するストレージ装置は、前記ホストから前記ライトコマンド及びライトデータを受信した場合、当該ライトコマンド及びライトデータを、前記第1ボリュームを提供するストレージ装置に転送し、
前記第3ボリュームを提供するストレージ装置は、前記ホストから前記ライトコマンド及びライトデータを受信した場合、当該ライトコマンド及びライトデータを、前記第1ボリュームを提供するストレージ装置に転送する、ストレージシステム。 - 請求項1に記載のストレージシステムであって、
前記移行前ボリュームグループは、第1ボリューム及び第2ボリュームからなり、
前記移行後ボリュームグループは、前記第1ボリューム及び第3ボリュームからなり、
前記複数ストレージ装置は、前記第2ボリュームのデータを前記第3ボリュームにコピーし、
前記複数ストレージ装置は、前記第1ボリューム、第2ボリューム及び第3ボリュームの順に、前記ライトデータを書きこみ、
前記第2ボリュームを提供するストレージ装置は、前記第1ボリュームを提供するストレージ装置から、前記ライトデータ及び前記ライトデータの書き込みを指示するライトコマンドを受信し、
前記第3ボリュームを提供するストレージ装置は、前記第2ボリュームを提供するストレージ装置から、前記ライトデータ及び前記ライトデータの書き込みを指示するライトコマンドを受信する、ストレージシステム。 - 請求項4に記載のストレージシステムであって、
前記第2ボリュームを提供するストレージ装置は、前記ホストから前記ライトコマンド及びライトデータを受信した場合、当該ライトコマンド及びライトデータを、前記第1ボリュームを提供するストレージ装置に転送し、
前記第3ボリュームを提供するストレージ装置は、前記ホストから前記ライトコマンド及びライトデータを受信した場合、当該ライトコマンド及びライトデータを、前記第2ボリュームを提供するストレージ装置に送信し、
前記第2ボリュームを提供するストレージ装置は、前記第3ボリュームから受信したライトコマンド及びライトデータを、前記第1ボリュームを提供するストレージ装置に転送する、ストレージシステム。 - 請求項1に記載のストレージシステムであって、
前記複数ストレージ装置は、前記異なるボリュームにおける指定ボリュームへのリードコマンドを受信すると、排他ロック後にリードデータを前記指定ボリュームから読み出し、前記リードデータの読み出し後に前記排他ロックを解除する、ストレージシステム。 - 請求項1に記載のストレージシステムであって、
前記複数ストレージ装置は、前記移行後ボリュームグループにおける新ボリュームに対応するI/Oスイッチングボリュームを作成し、
前記複数ストレージ装置は、前記移行中において、前記I/Oスイッチングボリュームへのライトコマンドを、前記移行前ボリュームグループにおけるボリュームに転送し、
前記複数ストレージ装置は、前記新ボリュームへの移行前ボリュームグループからのデータコピー後に、前記I/Oスイッチングボリュームを削除し、前記新ボリュームへのパスを定義する、ストレージシステム。 - 請求項1に記載のストレージシステムであって、
前記複数ストレージ装置は、前記移行前ボリュームグループに属し前記移行後ボリュームグループに属さないボリュームに対応するI/Oスイッチングボリュームを作成し、
前記複数ストレージ装置は、前記移行中において、前記I/Oスイッチングボリュームへのライトコマンドを、前記移行後ボリュームグループにおけるボリュームに転送し、
前記複数ストレージ装置は、前記移行後に、前記I/Oスイッチングボリュームを削除する、ストレージシステム。 - 移行前ボリュームグループから移行後ボリュームグループへの移行を行う複数ストレージ装置、の制御方法であって、
前記複数ストレージ装置は、前記移行中において、前記移行前ボリュームグループ及び前記移行後ボリュームグループの複数ボリューム内の任意ボリュームへのホストからのライトコマンドを受け付け、
前記制御方法は、
前記複数ボリュームのそれぞれに、予め定められた順番で、受信したライトコマンドのライトデータを書き込み、
前記複数ボリュームにおける最後において、最後ボリュームに前記ライトデータを書き込み、
前記最後ボリュームと異なるボリュームそれぞれにおいて、排他ロックをしてから前記ライトデータを書き込み、前記最後ボリュームへの前記ライトデータの書き込み完了後に前記排他ロックを解除する、制御方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2014/061194 WO2015162674A1 (ja) | 2014-04-21 | 2014-04-21 | ストレージシステム |
US15/121,516 US9875059B2 (en) | 2014-04-21 | 2014-04-21 | Storage system |
JP2016514568A JP6234557B2 (ja) | 2014-04-21 | 2014-04-21 | ストレージシステム |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2014/061194 WO2015162674A1 (ja) | 2014-04-21 | 2014-04-21 | ストレージシステム |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015162674A1 true WO2015162674A1 (ja) | 2015-10-29 |
Family
ID=54331869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2014/061194 WO2015162674A1 (ja) | 2014-04-21 | 2014-04-21 | ストレージシステム |
Country Status (3)
Country | Link |
---|---|
US (1) | US9875059B2 (ja) |
JP (1) | JP6234557B2 (ja) |
WO (1) | WO2015162674A1 (ja) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020013227A (ja) * | 2018-07-13 | 2020-01-23 | 株式会社日立製作所 | ストレージシステム |
JP2020021254A (ja) * | 2018-07-31 | 2020-02-06 | 株式会社日立製作所 | ストレージ装置及びその制御方法 |
JP2020047215A (ja) * | 2018-09-21 | 2020-03-26 | 株式会社日立製作所 | ストレージシステム及びストレージ制御方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015162634A1 (en) * | 2014-04-21 | 2015-10-29 | Hitachi, Ltd. | Information storage system |
US10241698B2 (en) * | 2017-03-24 | 2019-03-26 | International Business Machines Corporation | Preservation of a golden copy that stores consistent data during a recovery process in an asynchronous copy environment |
US11341103B2 (en) * | 2017-08-04 | 2022-05-24 | International Business Machines Corporation | Replicating and migrating files to secondary storage sites |
CN112988319A (zh) * | 2019-12-02 | 2021-06-18 | 中兴通讯股份有限公司 | Lvm数据处理方法、装置、计算机设备和计算机可读介质 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001249853A (ja) * | 2000-03-03 | 2001-09-14 | Hitachi Ltd | データ移行方法 |
JP2007102455A (ja) * | 2005-10-04 | 2007-04-19 | Hitachi Ltd | ストレージシステム及び構成変更方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4963892B2 (ja) | 2006-08-02 | 2012-06-27 | 株式会社日立製作所 | 仮想ストレージシステムの構成要素となることが可能なストレージシステムの制御装置 |
US8341459B2 (en) * | 2007-08-01 | 2012-12-25 | Brocade Communications Systems, Inc. | Data migration without interrupting host access and with data lock for write access requests such that held write access requests do not expire |
US8738872B2 (en) * | 2009-04-03 | 2014-05-27 | Peter Chi-Hsiung Liu | Methods for migrating data in a server that remains substantially available for use during such migration |
US9720991B2 (en) * | 2014-03-04 | 2017-08-01 | Microsoft Technology Licensing, Llc | Seamless data migration across databases |
-
2014
- 2014-04-21 US US15/121,516 patent/US9875059B2/en active Active
- 2014-04-21 WO PCT/JP2014/061194 patent/WO2015162674A1/ja active Application Filing
- 2014-04-21 JP JP2016514568A patent/JP6234557B2/ja not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001249853A (ja) * | 2000-03-03 | 2001-09-14 | Hitachi Ltd | データ移行方法 |
JP2007102455A (ja) * | 2005-10-04 | 2007-04-19 | Hitachi Ltd | ストレージシステム及び構成変更方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020013227A (ja) * | 2018-07-13 | 2020-01-23 | 株式会社日立製作所 | ストレージシステム |
JP2020021254A (ja) * | 2018-07-31 | 2020-02-06 | 株式会社日立製作所 | ストレージ装置及びその制御方法 |
JP2020047215A (ja) * | 2018-09-21 | 2020-03-26 | 株式会社日立製作所 | ストレージシステム及びストレージ制御方法 |
Also Published As
Publication number | Publication date |
---|---|
US9875059B2 (en) | 2018-01-23 |
JP6234557B2 (ja) | 2017-11-22 |
US20160364170A1 (en) | 2016-12-15 |
JPWO2015162674A1 (ja) | 2017-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6234557B2 (ja) | ストレージシステム | |
US9639277B2 (en) | Storage system with virtual volume having data arranged astride storage devices, and volume management method | |
US20190310925A1 (en) | Information processing system and path management method | |
US9116913B2 (en) | File storage system and file cloning method | |
US9229645B2 (en) | Storage management method and storage system in virtual volume having data arranged astride storage devices | |
US11256582B2 (en) | System, and control method and program for input/output requests for storage systems | |
US10152281B2 (en) | Systems, devices, apparatus, and methods for transparently inserting a virtual storage layer in a fibre channel based storage area network while maintaining continuous input/output operations | |
US9223501B2 (en) | Computer system and virtual server migration control method for computer system | |
JP4720303B2 (ja) | ストレージシステムを含む計算機システムの構成管理方法 | |
US9122415B2 (en) | Storage system using real data storage area dynamic allocation method | |
JP2008152663A (ja) | ストレージネットワークの性能管理方法、並びに、その方法を用いた計算機システム及び管理計算機 | |
JP7012010B2 (ja) | 情報処理システム、及び、情報処理システムの制御方法 | |
US20160364268A1 (en) | Computer system, management computer, and management method | |
JP2015532734A (ja) | 物理ストレージシステムを管理する管理システム、物理ストレージシステムのリソース移行先を決定する方法及び記憶媒体 | |
US20210103400A1 (en) | Storage system and data migration method | |
US11216204B2 (en) | Degraded redundant metadata, DRuM, technique | |
US20160019005A1 (en) | Storage system | |
JP6606235B1 (ja) | ストレージシステム | |
JP7337869B2 (ja) | 分散ストレージシステム、及び管理方法 | |
US12099726B2 (en) | Rebalancing volumes in computer system comprising upper and lower cluster | |
WO2018016041A1 (ja) | ストレージシステム | |
WO2018011881A1 (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: 14890042 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2016514568 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15121516 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14890042 Country of ref document: EP Kind code of ref document: A1 |