Computer system and storage migration method utilizing acquired apparatus specific information as virtualization information
Granted 24 Jun 2014 · 1 office action
Current assignee: HITACHI VANTARA CORPORATION · originally Hitachi, Ltd.
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Keiichi Kaiya, Yutaka Watanabe, Hiroshi Taninaka · Examiner: Sanjiv Shah · AU 2185 · TC 2100
Life of the application
9 dated eventsAbstract
A computer system and a storage migration method capable of simplifying the migration process of a storage apparatus while avoiding the performance degradation of the overall system. A management apparatus for managing data migration from a first storage apparatus to a second storage apparatus is provided. The management apparatus acquires apparatus-specific information of the first storage apparatus from the first storage apparatus and notifies the acquired apparatus-specific information to the second storage apparatus, and the second storage apparatus sets, as virtualization information, the acquired apparatus-specific information of the first storage apparatus notified from the management apparatus to a path connecting a second storage area and a second port associated with the second storage area in the second storage apparatus, and notifies the virtualization information as its own apparatus-specific information to a host computer in response to a configuration information acquisition request from the host computer.
Description
26 parts›TECHNICAL FIELD
The present invention relates to a computer system and a storage migration method and, for example, can be suitably applied to a computer system in which a host computer identifies a storage apparatus based on apparatus-specific information of such storage apparatus that is notified from that storage apparatus according to a configuration information acquisition request sent from the host computer to the storage apparatus.
›BACKGROUND ART
Conventionally, in a computer system configured from a host computer, a storage apparatus and the like, when replacing a storage apparatus with a new storage apparatus, in order to switch the access destination of the host computer from the original storage apparatus (this is hereinafter referred to as the “migration source storage apparatus”) to the new storage apparatus (this is hereinafter referred to as the “migration destination storage apparatus”), the setting of configuring the migration destination storage apparatus as the access destination needs to be made to the host computer. Thus, it is necessary to stop the host computer for a considerable period of time, and there is a problem in that business operations must be stopped during that time.
In order to overcome the foregoing problem, conventionally, a method of using alternate path software loaded in the host computer to dynamically switch the access path of the host computer, and migrating the storage apparatus without stopping the business operations performed with the host computer is being widely used (this is hereinafter referred to as the “first method”).
Moreover, as another method, for example, PTL 1 discloses a method of providing a virtualization control device, which virtualizes a logical device in a storage apparatus and provides this to a host computer, between the host computer and the storage apparatus, and switching the virtualization target based on the virtualization control device from the logical device in the migration source storage apparatus to the logical device in the migration destination storage apparatus (this is hereinafter referred to as the “second method”), and PTL 2 and PTL 3 disclose a method of applying NPIV (N_Port_ID Virtualization) to a storage apparatus, and dynamically switching the access destination (this is hereinafter referred to as the “third method”).
›CITATION LIST
Patent Literature
[PTL 1] Japanese Unexamined Patent Application Publication No. 2004-227558
[PTL 2] Japanese Unexamined Patent Application Publication No. 2009-146106
[PTL 3] Japanese Unexamined Patent Application Publication No. 2010-73202
›SUMMARY OF INVENTION · 1 of 2
Technical Problem
However, according to the foregoing first method, in addition to the operation being different depending on the OS (Operating System) that is loaded in the host computer, there is a problem in that, if information such as the vendor ID and serial number which is unique to the apparatus (this is hereinafter referred to as the “apparatus-specific information”) is different between the migration source and the migration destination, the alternate path function becomes inoperable.
Moreover, according to the foregoing second method, since it is necessary to perform the virtualization processing of the access path in the virtualization control device even during normal operation, there is a problem in that overhead will occur for each I/O and affect the I/O performance.
In addition, according to the foregoing third method, depending on the type of host computer OS or alternate path software, there is a problem in that the inconsistency of the apparatus-specific information of the migration source storage apparatus and the migration destination storage apparatus is detected, and in certain cases migration cannot be performed.
Accordingly, if it is possible to realize a storage migration method capable of migrating a storage apparatus based on the same operation regardless of the type of OS of the host computer, and without affecting the I/O performance during normal times, it should be possible to simplify the migration process of a storage apparatus while avoiding the performance degradation of the overall system
The present invention was devised in view of the foregoing points. Thus, an object of this invention is to propose a computer system and a storage migration method capable of simplifying the migration process of storage apparatuses while avoiding the performance degradation of the overall system.
Solution to Problem
In order to achieve the foregoing object, the present invention provides a computer system including a host computer and a first storage apparatus for providing to the host computer a first storage area to be used for reading and writing data, wherein the host computer identifies the first storage apparatus based on apparatus-specific information of the first storage apparatus that is notified from the first storage apparatus in response to a configuration information acquisition request sent from the host computer to the first storage apparatus, comprising a second storage apparatus to which data stored in the first storage area of the first storage apparatus is migrated, and a management apparatus for managing data migration from the first storage apparatus to the second storage apparatus, wherein the management apparatus controls the first and/or second storage apparatus so as to synchronize a data content in the first storage area of the first storage apparatus and a data content in a second storage area of the second storage apparatus associated with the first storage area, and acquires the apparatus-specific information of the first storage apparatus from the first storage apparatus and notifies the acquired apparatus-specific information to the second storage apparatus, and wherein the second storage apparatus sets, as virtualization information, the acquired apparatus-specific information of the first storage apparatus notified from the management apparatus to a path connecting the second storage area and a second port associated with the second storage area in the second storage apparatus, and notifies the virtualization information as its own apparatus-specific information to the host computer in response to the configuration information acquisition request from the host computer.
The present invention additionally provides a storage migration method in a computer system including a host computer and a first storage apparatus for providing to the host computer a first storage area to be used for reading and writing data, wherewith the host computer identifies the first storage apparatus based on apparatus-specific information of the first storage apparatus that is notified from the first storage apparatus in response to a configuration information acquisition request sent from the host computer to the first storage apparatus, wherein the computer system comprises a second storage apparatus to which data stored in the first storage area of the first storage apparatus is migrated, and a management apparatus for managing data migration from the first storage apparatus to the second storage apparatus, and wherein the storage migration method comprises a first step of the management apparatus controlling the first and/or second storage apparatus so as to synchronize a data content in the first storage area of the first storage apparatus and a data content in the second storage area of the second storage apparatus associated with the first storage area, and acquiring the apparatus-specific information of the first storage apparatus from the first storage apparatus and notifying the acquired apparatus-specific information to the second storage apparatus, and a second step of the second storage apparatus setting, as virtualization information, the corresponding apparatus-specific information of the first storage apparatus notified from the management apparatus to a path connecting the second storage area and a second port associated with the second storage area in the second storage apparatus, and notifying the virtualization information as its own apparatus-specific information to the host computer in response to the configuration information acquisition request from the host computer.
According to the foregoing computer system and storage migration method, it is possible to cause the host computer to recognize the second storage apparatus as the first storage apparatus based on the apparatus-specific information that is notified from the second storage apparatus to the host computer in response to the configuration information acquisition request from the host computer.
›SUMMARY OF INVENTION · 2 of 2
In the foregoing case, with the computer system and storage migration method of the present invention, there is no need to load alternate path software in the host computer or provide a virtualization control device between the host computer and the first/second storage apparatus or apply NPIV to the first storage apparatus upon migrating the storage apparatus from the first storage apparatus to the second storage apparatus.
Thus, according to the computer system and storage migration method of the present invention, a storage apparatus can be migrated based on the same operation regardless of the type of OS of the host computer, and without affecting the I/O performance during normal times.
Advantageous Effects of Invention
According to the present invention, it is possible to realize a computer system and a storage migration method capable of simplifying the migration process of a storage apparatus while avoiding the performance degradation of the overall system.
›BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is a block diagram showing the overall configuration of the computer system according to the first and third embodiments.
FIG. 2 is a conceptual diagram explaining the same-chassis internal copy function.
FIG. 3 is a conceptual diagram explaining the same-chassis internal copy function.
FIG. 4 is a conceptual diagram explaining the external connection function.
FIG. 5 is a conceptual diagram explaining the storage migration method according to the first embodiment.
FIG. 6(A) and FIG. 6(B) are conceptual diagrams explaining the storage migration method according to the first embodiment.
FIG. 7 is a conceptual diagram schematically showing the configuration of the logical device management table.
FIG. 8 is a conceptual diagram schematically showing the configuration of the virtual pool device management table.
FIG. 9 is a conceptual diagram schematically showing the configuration of the external device information table.
FIG. 10 is a conceptual diagram schematically showing the configuration of the pair management information table.
FIG. 11 is a conceptual diagram schematically showing the configuration of the path management table.
FIG. 12 is a conceptual diagram explaining respective tables.
FIG. 13 is a sequence diagram showing the processing flow in the first storage migration method.
FIG. 14 is a sequence diagram showing the processing flow in the first storage migration method.
FIG. 15 is a conceptual diagram explaining the processing flow in the first storage migration method.
FIG. 16 is a conceptual diagram explaining the processing flow in the first storage migration method.
FIG. 17 is a conceptual diagram explaining the processing flow in the first storage migration method.
FIG. 18 is a conceptual diagram explaining the processing flow in the first storage migration method.
FIG. 19 is a conceptual diagram explaining the processing flow in the first storage migration method.
FIG. 20 is a sequence diagram showing the flow of the Inquiry reply sequence.
FIG. 21 is a block diagram showing the overall configuration of the computer system according to the second embodiment.
FIG. 22 is a conceptual diagram explaining the storage migration method according to the second embodiment.
FIG. 23 is a sequence diagram showing the processing flow in the second storage migration method.
FIG. 24 is a conceptual diagram explaining the processing flow in the second storage migration method.
FIG. 25 is a conceptual diagram explaining the processing flow in the second storage migration method.
FIG. 26 is a conceptual diagram explaining the processing flow in the second storage migration method.
FIG. 27 is a sequence diagram showing the processing flow in the third storage migration method.
FIG. 28 is a conceptual diagram explaining the processing flow in the third storage migration method.
FIG. 29 is a conceptual diagram explaining the processing flow in the third storage migration method.
FIG. 30 is a conceptual diagram explaining the processing flow in the third storage migration method.
FIG. 31 is a block diagram schematically showing the overall configuration of the computer system according to the fourth embodiment.
FIG. 32 is a flowchart showing the processing routine of the storage migration control processing.
›DESCRIPTION OF EMBODIMENTS · 1 of 18
An embodiment of this invention is now explained in detail with reference to the drawings.
(1) First Embodiment
(1-1) Configuration of Computer System in Present Embodiment
FIG. 1 shows the overall computer system 1 according to this embodiment. The computer system 1 comprises a plurality of host computers 2 , two storage apparatuses 3 A, 3 B, and a management apparatus 4 . The respective host computers 2 are each connected to the storage apparatuses 3 A, 3 B via a SAN (Storage Area Network) 5 , and the two storage apparatuses 3 A, 3 B are connected to the management apparatus 4 via a LAN (Local Area Network) 6 .
The host computer 2 is a computer device comprising information processing resources such as a processor and a memory and is configured, for example, from a personal computer, a workstation, a mainframe or the like. The host computer 2 comprises an input device such as a keyboard, a switch, a pointing device and/or a microphone, and an output device such as a monitor display and/or a speaker, and is connected to the SAN 5 via an HBA (Host Bus Adapter) 2 A.
The respective storage apparatuses 3 A, 3 B each comprise a plurality of storage devices 10 A, 10 B for storing data, and a controller 11 A, 11 B for controlling the input and output of data to and from the respective storage devices 10 A, 10 B.
Among the above, the storage devices 10 A, 10 B are configured, for example, from an expensive disk drive such as a SCSI (Small Computer System Interface) disk, or an inexpensive disk device such as a SATA (Serial Advanced Technology (AT) Attachment) disk or an optical disk.
As shown in FIG. 12 , a parity group 80 is configured from one or more storage devices 10 A, 10 B, and a physical storage area provided by the respective storage devices 10 A, 10 B configuring the one parity group 80 is managed as one virtual pool device 81 A. Moreover, one or more logical devices 82 A, 82 B are set in the virtual pool device 81 A. Data is stored in the logical devices 82 A, 82 B in units of a block of a predetermined size (this is hereinafter referred to as the “logical block”).
A unique identifier (this is hereinafter referred to as the “LUN (Logical Unit Number)”) is assigned to each of the logical devices 81 A, 82 B. In the case of this embodiment, the input and output of data is performed by combining the LUN and a unique number (this is hereinafter referred to as the “LBA (Logical Block Address)”) that is assigned to each of the logical blocks as the address, and designating such address.
Referring again to FIG. 1 , the controllers 11 A, 11 B comprise a plurality of channel adapters 20 A, 20 B, a control processor 21 A, 21 B, a shared memory 22 A, 22 B, a cache memory 23 A, 23 B, a connection 24 A, 24 B, and a plurality of disk adapters 25 A, 25 B.
Each channel adapter 20 A, 20 B is an interface for performing protocol control during the communication with the host computer 2 , and comprises one or more ports 30 A, 30 B for connecting to the SAN 5 . Each port 30 A, 30 B is assigned with an IP (Internet Protocol) address or a network address such as WWN (World Wide Name) for identifying the respective ports.
The control processor 21 A, 21 B is processor that governs the operational control of the overall storage apparatus 3 A, 3 B. Various types of processing are executed by the overall storage apparatus 3 A, 3 B as a result of the control processor 21 A, 21 B executing the various programs stored in the shared memory 22 A, 22 B.
The shared memory 22 A, 22 B and the cache memory 23 A, 23 B are storage memories to be shared by the channel adapter 20 A, 20 B and the disk adapter 25 A, 25 B. The shared memory 22 A, 22 B is primarily used for storing various programs and various types of control information. Moreover, the cache memory 23 A, 23 B is primarily used for temporarily storing data to be read from and written into the storage device 10 A, 10 B.
The connection 24 A, 24 B is connected to the channel adapter 20 A, 20 B, the control processor 21 A, 21 B, the shared memory 22 A, 22 B, the cache memory 23 A, 23 B and the disk adapter 25 A, 25 B. The sending and receiving of data and commands among the channel adapter 20 A, 20 B, the control processor 21 A, 21 B, the shared memory 22 A, 22 B, the cache memory 23 A, 23 B and the disk adapter 25 A, 25 B are performed via the connection 24 A, 24 B. The connection 24 A, 24 B is configured, for example, from a switch such as an ultrafast crossbar switch or a bus for performing data transmission by way of high-speed switching.
Each disk adapter 25 A, 25 B is an interface for performing protocol control during the communication with the storage device 10 A, 10 B, and, for example, is connected to the corresponding storage device 10 A, 10 B via the fibre channel cable 26 A, 26 B. Each disk adapter 25 A, 25 B comprises one or more ports 31 A, 31 B for connecting the fibre channel cable 26 A, 26 B. Each port 31 A, 31 B is assigned with an IP address or a network address such as WWN for identifying the respective ports.
Note that, in FIG. 1 , one storage apparatus 3 A of the two storage apparatuses 3 A, 3 B is the existing storage apparatus, and the other storage apparatus 3 B is the new storage apparatus to be installed in substitute for the existing storage apparatus 3 A. The two storage apparatuses 3 A, 3 B are connected via the cable 32 , and it is thereby possible to migrate data stored in the one storage apparatus 3 A to the other storage apparatus 3 B via the cable 32 . Note that, in the ensuing explanation, the one storage apparatus 3 A is referred to as the “migration source storage apparatus 3 A” and the other storage apparatus 3 B is referred to as the “migration destination storage apparatus 3 B.”
The management apparatus 4 is configured, for example, from a general-purpose server apparatus, and is connected to the migration source storage apparatus 3 A and the migration destination storage apparatus 3 B via the LAN 6 . The management apparatus 4 comprises, in addition to information processing resources such as a CPU (Central Processing Unit), a ROM (Read Only Memory) and a RAM (Random Access Memory), a display device for displaying a UI (User Interface) screen and various types of information for making various settings to the migration source storage apparatus 3 A and the migration destination storage apparatus 3 B, an input device such as a keyboard or a mouse to be used by an operator for performing various operations and various inputs for settings, and a communication device for communicating with the migration source storage apparatus 3 A and the migration destination storage apparatus 3 B via the LAN 6 . Various types of processing are executed by the overall management apparatus 4 as described later as a result of the CPU executing the corresponding programs stored in the ROM and the like based on the respective commands that are input via the input device.
›DESCRIPTION OF EMBODIMENTS · 2 of 18
(1-2) Storage Migration Processing
The processing routine of the storage migration processing to be executed upon migrating (exchanging) the storage apparatus in the computer system 1 from the existing storage apparatus 3 A to the newly installed storage apparatus 3 B is now explained. In line with this, the same-chassis internal copy function and the external connection function are foremost explained.
(1-2-1) Same-Chassis Internal Copy Function
The same-chassis internal copy function is a copy function of creating a mirror of a logical device in the same storage apparatus without going through a host computer as a host system.
With the storage apparatus 41 ( FIG. 2 ) equipped with the same-chassis internal copy function, upon executing the same-chassis internal copy function, as shown in FIG. 2 , as a result of preliminarily copying the data stored in the logical device (this is hereinafter referred to as the “primary logical device”) 42 A as the copy source to the logical device (this is hereinafter referred to as the “secondary logical device”) 42 B as the copy destination of the two logical devices 42 A, 42 B configured as a copy pair (this is hereinafter referred to as the “pair configuration”), the contents of the primary logical device 42 A and the secondary logical device 42 B are made to be the same.
When a data write request is subsequently issued from the host computer 40 to the primary logical device 42 A, the storage apparatus 41 writes the data in the designated address of the primary logical device 42 A according to the write request, and additionally writes the same data, synchronously or asynchronously, in the corresponding address of the secondary logical device 42 B.
Moreover, when a data write request is subsequently issued from the host computer 40 to the primary logical device 42 A in a state where the mirror of the primary logical device 42 A and the secondary logical device 42 B is cancelled and a snapshot is created, the storage apparatus 41 writes the write target data in the primary logical device 42 A, and additionally stores the migration location of that data.
As a means for achieving the above, the storage apparatus 41 retains, in the memory 44 , a bit sequence of the same number of bits as the number of logical blocks in the primary logical device 42 A as difference bit information 43 B, and manages the difference between the primary logical device 42 A and the secondary logical device 42 B by setting the value of the corresponding bit of the difference bit information 43 B to “0” for logical blocks in which the contents of the primary logical device 42 A and the secondary logical device 42 B are the same, and setting the value of the corresponding bit to “1” for the logical blocks in which the contents of the primary logical device 42 A and the secondary logical device 42 B are different.
Meanwhile, in the foregoing same-chassis internal copy function, as the copy pair status (this is hereinafter referred to as the “pair status”), there are the three types of “pair,” “copy” and “split.” The storage apparatus 41 equipped with the same-chassis internal copy function manages the pair-configured primary logical device 42 A and secondary logical device 42 B by using the logical device number of the primary logical device 42 A and the secondary logical device 42 B, the current pair status of the primary logical device 42 A and the secondary logical device 42 B, and the pair management information table 43 A stored in the memory 44 .
In the foregoing case, the pair status of “pair” is a status where the data copy from the primary logical device 42 A to the secondary logical device 42 B is complete and the primary logical device 42 A and the secondary logical device 42 B are mirrored. During this pair status, when data is written into the primary logical device 42 A, the same data is simultaneously written into the corresponding block of the secondary logical device 42 B. Further, during this pair status, since the contents of the primary logical device 42 A and the secondary logical device 42 B are equivalent, all bits of the difference bit information 43 B will constantly be “0”.
The pair status of “copy” is a status where the data copy from the primary logical device 42 A to the secondary logical device 42 B is midway, and the primary logical device 42 A and the secondary logical device 42 B are not yet mirrored. During this pair status, when data is written into the primary logical device 42 A, the same data is simultaneously written into the corresponding location of the secondary logical device 42 B on the one hand, and the data copy of blocks set with “1” of the difference bit information 43 B is concurrently performed between the primary logical device 42 A and the secondary logical device 42 B on the other.
The pair status of “split” is a status where data is not written into the secondary logical device 42 B, and a snapshot of a certain point in time is created by the secondary logical device 42 B. During this pair status, data is not written into the secondary logical device 42 B even if data is written into the primary logical device 42 A, and “1” is set to the corresponding bits of the difference bit information 43 B.
FIG. 3 shows the transition of the respective pair statuses of “pair,” “copy” and “split,” and the pair status (“no pair”) with no pair configuration. As evident from FIG. 3 , when the two logical devices 42 A, 42 B are pair-configured from a pair status of “no pair,” the pair status of that pair changes to “copy,” and, when the subsequent data copy from the primary logical device 42 A to the secondary logical device 42 B is complete, the pair status changes to “pair.”
When a pair split request is issued to the storage apparatus 41 from a pair status of “pair,” the pair status of the primary logical device 42 A and the secondary logical device 42 B will become “split,” and the pair status can be changed once again to “copy” by issuing a resynchronization request from the pair status of “split.” Note that, in each case of “pair,” “copy” and “split,” the pair status can be changed to “no pair” by eliminating the pair.
›DESCRIPTION OF EMBODIMENTS · 3 of 18
(1-2-2) External Connection Function
Meanwhile, the external connection function is a function of virtualizing a logical device (this is hereinafter referred to as the “external device”) set in another storage apparatus as though it is a logical device (this is hereinafter referred to as the “internal device”) in the self storage apparatus, and providing this to the host computer.
The storage apparatus 45 ( FIG. 4 ) equipped with the external connection function, upon executing the external connection function, as shown in FIG. 4 , provides a virtual logical device (this is hereinafter referred to as the “virtual device”) 47 A to the host computer 40 , and maps the logical device 47 B in the external storage apparatus 46 , which is connected to the external connection port 45 A, to the virtual device 47 A.
When the storage apparatus 45 receives a data I/O request from the host computer 40 for performing data I/O to the virtual device 47 A, the storage apparatus 45 issues a corresponding data I/O request to the external storage apparatus 46 via the external connection port 45 A. Consequently, the corresponding data is read from or written into the corresponding logical block in the logical device 47 B of the external storage apparatus 46 . Accordingly, the access from the host computer 40 to the virtual device 47 A will actually be made to the logical device 47 B in the external storage apparatus 46 .
(1-2-3) Outline of First Storage Migration Method and Table Configuration
FIG. 5 shows the outline of the storage migration method according to the first embodiment which combines the foregoing same-chassis internal copy function and the external connection function (this is hereinafter referred to as the “first storage migration method”). The ensuing explanation is provided on the assumption that both the migration source storage apparatus 3 A and the migration destination storage apparatus 3 B are equipped with the same-chassis internal copy function and the external connection function.
Moreover, the ensuing explanation is provided on the assumption that the host computer 2 is equipped with a function for sending a configuration information acquisition request for requesting, as needed, a storage apparatus to send the configuration information of that storage apparatus, and identifying the storage apparatus based on the apparatus-specific information of such storage apparatus that is notified from that storage apparatus according to such configuration information acquisition request.
These functions are defined based on the SCSI standard. Under the SCSI standard, the “configuration information acquisition request” corresponds to the Inquiry request; and the network address such as the World Wide Port Number (WWPN) of the port connected to the logical device, the apparatus number of that storage apparatus, and the vendor identifier of that storage apparatus (this is hereinafter referred to as the “vendor ID”) correspond to the “apparatus-specific information” for identifying that storage apparatus. Accordingly, in the ensuing explanation, the foregoing “configuration information acquisition request” is explained as the Inquiry request, and the “apparatus-specific information” is explained as the WWPN of the port connected to the logical device, the apparatus number of that storage apparatus, and the vendor ID of that storage apparatus.
In the first storage migration method, the logical device (this is hereinafter referred to as the “migration source logical device”) 50 A provided by the migration source storage apparatus 3 A to the host computer 2 and the virtual device 50 C set in the migration source storage apparatus 3 A are pair-configured as a copy pair for the same-chassis internal copy, and the logical device (this is hereinafter referred to as the “migration destination logical device”) 50 B set in the migration destination storage apparatus 3 B is associated with the virtual device 50 C. Moreover, the migration destination logical device 50 B and the backup logical device (this is hereinafter referred to as the “backup logical device”) 50 D set in the migration destination storage apparatus 3 B are pair-configured as a copy pair for the same-chassis internal copy.
Consequently, the data stored in the migration source logical device 50 A is initially copied to the migration destination logical device 50 B. Moreover, if data is thereafter written from the host computer 2 to the migration source logical device 50 A, such data is copied to the virtual device 50 C based on the same-chassis internal copy function of the migration source storage apparatus 3 A, but since the virtual device 50 C is an insubstantial logical device, such data is consequently copied to the migration destination logical device 50 B of the migration destination storage apparatus 3 B via the external connection port 30 A of the migration source storage apparatus 3 A based on the external connection function of the migration source storage apparatus 3 A. In addition, the data stored in the migration destination logical device 50 B of the migration destination storage apparatus 3 B is copied to the backup logical device 50 D based on the same-chassis internal copy function of the migration destination storage apparatus 3 B. The data content of the migration source logical device 50 A, the data content of the migration destination logical device 50 B, and the data content of the backup logical device 50 D are thereby synchronized.
In the foregoing case, the migration destination storage apparatus 3 B of this embodiment is equipped with a virtualization function of being able to set, for each path defined between the port 30 B in the migration destination storage apparatus 3 B and the migration destination logical device 50 B, the WWPN of the corresponding port 30 A of the migration source storage apparatus 3 A, and the serial number and vendor ID of the migration source storage apparatus 3 A as the virtualization information 51 regarding that path, respectively, and notifying such virtualization information 51 as its own apparatus-specific information to the host computer 2 when an Inquiry request is provided from the host computer 2 . Here, the “corresponding port 30 A” refers to the port 30 A to which the corresponding migration source logical device 50 A in the migration source storage apparatus 3 A.
›DESCRIPTION OF EMBODIMENTS · 4 of 18
Consequently, in the computer system 1 , for example, when the connection destination of the cable 32 ( FIG. 1 ) connecting the host computer 2 and the migration source storage apparatus 3 A is reconnected from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B, as the reply in response to the Inquiry request that is issued from the host computer 2 to the migration destination storage apparatus 3 B, the apparatus-specific information of the migration source storage apparatus 3 A is sent as the apparatus-specific information of the migration destination storage apparatus 3 A from the migration destination storage apparatus 3 B to the host computer 2 . The storage migration from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B can thereby be performed without causing the host computer 2 to be aware of such storage migration.
As a means for executing the foregoing first storage migration processing, the shared memory 22 A ( FIG. 1 ) of the migration source storage apparatus 3 A stores, as shown in FIG. 6 (A), a logical device management table 60 , a virtual pool device management table 61 , an external device information table 62 and a pair management information table 63 , and the shared memory 22 B of the migration destination storage apparatus 3 B stores, as shown in FIG. 6 (B), a logical device management table 60 , a virtual pool device management table 61 , an external device information table 62 , a pair management information table 63 and a path management table 64 .
These tables are now explained in detail with reference to FIG. 7 to FIG. 11 . Note that FIG. 7 to FIG. 11 illustrate, as shown in FIG. 12 , the table configuration of a case where the second storage apparatus 71 with a serial number of “PPP” is externally connected to the first storage apparatus 70 via the switch 72 , and the third storage apparatus 73 with a serial number of “QQQ” is externally connected to the second storage apparatus 70 .
In the examples shown in FIG. 7 to FIG. 12 , let it be assumed that the storage area provided by the parity group 80 with a parity group ID of “100” is managed as the virtual pool device 81 A with a virtual device ID of “100” in the first storage apparatus 70 , and the logical device 82 A with an LDEV number of “100” and the logical device 82 B with an LDEV number of “101” are defined in the virtual pool device 81 A.
Moreover, let it be assumed that the virtual pool device 81 B with a virtual device number of “2048” associated with the logical device 82 K with a LUN of “0” (LDEV number is “10”) in the second storage apparatus 71 is formed in the first storage apparatus 70 , and the logical device 82 C with a logical device number of “2” and the logical device 82 D with a logical device number of “3” are defined in the virtual pool device 81 B.
In addition, let it be assumed that the virtual pool devices 81 C to 81 E with virtual pool device numbers of “4096” to “4098” respective associated with mutually different logical devices 82 L to 82 N among the three logical devices 82 L to 82 N each with a LUN of “1” to “3” provided to the third storage apparatus 73 are formed in the first storage apparatus 70 , the virtual devices 82 E to 82 G each with a logical device number of “4” to “6” are respectively created in the virtual pool devices 81 C to 81 E, and the virtual devices 82 E to 82 G are respective configured as a copy pair for the same-chassis internal copy with the logical devices 82 H to 82 J each with a logical device number of “10” to “12”.
The logical device management table 60 is foremost explained. The logical device management table 60 is a table that is used for managing the logical devices 82 A to 82 J, 82 K, 82 L to 82 N set in the self storage apparatus and is configured, as shown in FIG. 7 , from a logical device number column 60 A, a size column 60 B and an affiliated virtual pool device number column 60 C.
The logical device number column 60 A stores the identification number (logical device number) assigned to the corresponding logical devices 82 A to 82 J, 82 K, 82 L to 82 N which is unique to such logical devices 82 A to 82 J, 82 K, 82 L to 82 N in the storage apparatus, and the size column 60 B stores the size (capacity) of the corresponding logical devices 82 A to 82 J, 82 K, 82 L to 82 N. Moreover, the affiliated virtual pool device number column 60 C stores the identification number (virtual device number) of the virtual pool devices 81 A to 81 E to which the logical devices 82 A to 82 J, 82 K, 82 L to 82 N are defined.
Accordingly, FIG. 7 shows, for example, that the size of the logical device 82 A ( FIG. 12 ) with a logical device number of “0” is “128 Mbytes” and that the logical device 82 A is set in the virtual pool device 81 A with a virtual pool device number of “0”.
Moreover, the virtual pool device management table 61 is a table that is used for managing the virtual pool devices 81 A to 81 E set in the self storage apparatus and is configured, as shown in FIG. 8 , from a virtual pool device number column 61 A, a type column 61 B, a size column 61 C, a RAID level column 61 D and a parity group ID column 61 E.
The virtual pool device number column 61 A stores the identifier (virtual pool device number) that is assigned to the corresponding virtual pool devices 81 A to 81 E, and the type column 61 B stores the type (internal volume or external volume) of the virtual pool devices 81 A to 81 E. Moreover, the size column 61 C stores the size (capacity) of the corresponding virtual pool devices 81 A to 81 E, and the RAID level column 61 D stores the RAID level that is set to the parity group 80 ( FIG. 12 ) to which the virtual pool devices 81 A to 81 E are set. In addition, the parity group ID column 61 E stores the identifier (parity group ID) that is assigned to the parity group 80 .
Accordingly, FIG. 8 shows that the virtual pool device 81 A ( FIG. 12 ) with a virtual pool device number of “0” has a capacity of “384 Mbytes” and is an “internal volume (internal VOL)” configured from the storage area provided by the parity group 80 with a RAID level of “RAID 5” and a parity group ID of “0”.
›DESCRIPTION OF EMBODIMENTS · 5 of 18
The external device information table 62 is a table that is used for managing the virtual pool devices 81 A to 81 E associated with the external device that is set in the external storage apparatus (the migration destination storage apparatus 3 B from the perspective of the migration source storage apparatus 3 A and the migration source storage apparatus 3 A from the perspective of the migration destination storage apparatus 3 B) in relation to the external connection function and is configured, as shown in FIG. 9 , a virtual pool device number column 62 A, an external-side apparatus serial number column 62 B, a path number column 62 C, an external-side WWPN column 62 D, an external-side LUN column 62 E, a self storage-side port number column 62 F and a path status column 62 G.
The virtual pool device number column 62 A stores the virtual pool device number that is assigned to the corresponding virtual pool devices 81 A to 81 E. Moreover, the path number column 62 C stores the identifier (path number) of the path from the virtual pool devices 81 A to 81 E to the logical device in the external storage apparatus associated with the virtual pool devices 81 A to 81 E, and the path status column 62 G stores the current status of that path.
In addition, the external-side apparatus serial number column 62 B stores the serial number of the external storage apparatus to which the external device associated with the virtual pool devices 81 A to 81 E is set, and the external-side WWPN column 62 E stores the WWPM of the port on the external storage apparatus side for accessing the external device. Furthermore, the external-side LUN column 62 E stores the LUN of the external device, and the self storage-side port number column 62 F stores the port number of the external connection port on the self storage apparatus side that is connected to the external device.
Accordingly, FIG. 9 shows, for example, that the virtual pool device 81 B ( FIG. 12 ) with a virtual pool device number of “2048” is connected to the logical device 82 K ( FIG. 12 ) with a logical device number of “0” in the external storage apparatus with a serial number of “AAA”, the virtual pool device 81 B and the logical device 82 K are connected to the port in which the WWPN of the external storage apparatus is “A0” via the path with a path number of “0” connecting the ports of port number “0” of the self storage apparatus, and the path status of the path is currently “normal”.
Meanwhile, the pair management information table 63 is a table that is used for managing the copy pair of the same-chassis internal copy set in the self storage apparatus and is configured, as shown in FIG. 10 , from a management number column 63 A, a primary logical device number column 63 B, a secondary logical device number column 63 C and a pair status column 63 D.
The management number column 63 A stores the identifier (pair number) that is assigned to the corresponding copy pair. Moreover, the primary logical device number column 63 B stores the logical device number of the logical devices 82 E to 82 G set on the primary side in the copy pair, and the secondary logical device number column 63 C stores the logical device number of the logical devices 82 H to 82 J set on the secondary side in the copy pair. In addition, the pair status column 63 D stores the current pair status of the copy pair.
Accordingly, FIG. 10 shows, for example, with the copy pair of pair number “0”, that the logical device 82 E ( FIG. 12 ) with a logical device number of “4” is set on the primary side and the logical device 82 H ( FIG. 12 ) with a logical device number of “10” is set on the secondary side, respectively, and that the current pair status is “pairing”. FIG. 10 also shows, for example, with the copy pair of pair number “2”, that the logical device 82 G ( FIG. 12 ) with a logical device number of “6” is set on the primary side and the logical device 82 J ( FIG. 12 ) with a logical device number of “12” is set on the secondary side, respectively, and that the current pair status is “splitting”. Note that the status of “splitting” refers to the status in which copy is being performed (status of “copy”) in order to synchronize the contents of the logical devices between the primary side and the secondary side prior to the corresponding copy pair becoming the pair status of “split”.
Meanwhile, the path management table 64 is a table that is used for managing the foregoing virtualization information 51 ( FIG. 5 ) that is set in path units connecting the ports in the self storage apparatus and the logical devices and is configured, as shown in FIG. 11 , a WWPN column 64 A, a host WWPN column 64 B, a LUN column 64 C, a virtualization flag column 64 D, a virtual WWPN column 64 E, a virtual serial number column 64 F and a virtual vendor ID column 64 G.
The WWPN column 64 A stores the WWPN of the port in the self storage apparatus to which the corresponding path is connected, and the host WWPN column 64 B stores the WWPN of the port of the host computer to which the foregoing port is connected.
Moreover, the LUN column 64 C stores the LUN of the logical device in the self storage apparatus connected to the foregoing port in the self storage apparatus, and the virtualization flag column 64 D stores the virtualization flag representing whether the virtualization information 51 set for the corresponding path is valid. The virtualization flag is set to “ON” if the virtualization information 51 is valid and set to “OFF” if the virtualization information 51 is invalid.
In addition, the virtual WWPN column 64 E stores the WWPN of the virtual port that is set to the corresponding path, and the virtual serial number column 64 F stores the serial number of the external storage apparatus to which is set the logical device assigned with the LUN stored in the LUN column 64 C. Furthermore, the virtual vendor ID column 64 G stores the vendor ID of the vendor of the external storage apparatus.
Accordingly, FIG. 11 shows, for example, that the port of “S100” is connected to the port of “H0” of the host computer, and the port of “S100” is connected the three logical devices in which the LUN is “0”, “1” and “2”, respectively. FIG. 11 also shows that the virtual WWPN of “S0” as the port number of the port connected to with the host computer in the corresponding external storage apparatus, the virtual serial number of “PPP” as the serial number of the external storage apparatus, and the virtual vendor ID of “VendA” as the vendor ID of the vendor of the external storage apparatus are set as the virtualization information 51 to the respective paths connecting each of the three logical devices and the port of “S100”, and the virtualization information set to each of the three paths is all “valid (ON)”.
›DESCRIPTION OF EMBODIMENTS · 6 of 18
(1-3) Storage Migration Sequence in Present Embodiment
The flow of the processing (this is hereinafter referred to as the “storage migration processing”) upon migrating (exchanging) the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B according to the first storage migration method is now explained with reference to FIG. 13 and FIG. 14 . The storage migration processing is configured from five sequences; namely, a first mapping sequence SQ 1 , a virtualization information setting sequence SQ 2 , a copy pair configuration sequence SQ 3 , a storage switching sequence SQ 4 and a second mapping sequence SQ 5 .
Foremost, the administrator AD operates the management apparatus 4 to map the corresponding migration destination logical device 50 B ( FIG. 5 ) provided in the migration destination storage apparatus 3 B to each of the migration source logical devices 50 A ( FIG. 5 ) in the migration source storage apparatus 3 A (SP 1 ). Specifically, the administrator AD creates a virtual pool device by associating it with the respective migration destination logical devices 50 B in the migration source storage apparatus 3 A, and defines the virtual device 50 C ( FIG. 5 ) by associating it with the respective migration destination logical devices 50 B in the virtual pool device. Consequently, a mapping command corresponding to the foregoing operation of the administrator AD is sent from the management apparatus 4 to the migration source storage apparatus 3 A (SP 2 ).
When the control processor 21 A of the migration source storage apparatus 3 A receives the foregoing mapping command, it updates the logical device management table 60 ( FIG. 7 ), the virtual pool device management table 61 ( FIG. 8 ) and the external device information table 62 ( FIG. 9 ), respectively, based on the mapping command (SP 3 ).
Specifically, the control processor 21 A forms a virtual pool device by associating it with each of the migration source logical devices 50 A, and stores the virtual pool device number, type and size (capacity) of each of the formed virtual pool devices in the virtual pool device number column 61 A, the type column 61 B and the size column 61 C, respectively, of the newly allocated entry in the virtual pool device management table 61 . Moreover, the control processor 21 A stores the RAID level of the corresponding migration source logical device 50 A and the parity group ID of the parity group 80 ( FIG. 12 ) forming the migration source logical device 50 A in the RAID level column 61 D and the parity group ID column 61 E, respectively, of the foregoing entry.
Moreover, the control processor 21 A stores the logical device number of each of the virtual devices 50 C defined in the foregoing virtual pool device by being associated with each of the migration source logical devices 50 A and the size of such virtual devices 50 C in the logical device number column 60 A and the size column 60 B, respectively, of the newly allocated entry in the logical device management table 60 , and additionally stores the virtual pool device number of the virtual pool device to which the virtual device 50 C is affiliated in the affiliated virtual pool device number column 60 C of the foregoing entry.
In addition, the control processor 21 A stores the virtual pool device number of each of the virtual pool devices formed by being associated with each of the migration source logical devices 50 A in the virtual pool device number column 62 A of the newly allocated entry in the external device information table 62 , respectively, and additionally stores the port number of the port (port connected to the corresponding migration destination logical device 50 B in the migration destination storage apparatus 3 B) 30 A associated with the corresponding virtual pool device in the self storage-side port number column 62 F of each entry, respectively.
Moreover, the control processor 21 A stores the path number of the path connecting the corresponding virtual pool device and the migration destination logical device 50 B thereof in the path number column 62 C of each entry, and additionally stores the current status of the corresponding path in the path status column 62 G of the foregoing entries. In addition, the control processor 21 A stores the serial number of the migration destination storage apparatus 3 A in the external-side apparatus serial number column 62 B of each entry, stores the WWPN of the port 30 B on the migration destination storage apparatus 3 B side connected to the corresponding virtual pool device in the external-side WWPN column 62 D of the foregoing entries, and additionally stores the LUN of the corresponding migration destination logical device 50 B in the external-side LUN column 62 E of the foregoing entries.
When the control processor 21 A completes updating the logical device management table 60 , the virtual pool device management table 61 and the external device information table 62 , it notifies the update completion to the management apparatus 4 (SP 4 ).
Based on the foregoing processing from step SP 1 to step SP 4 , as shown in FIG. 15 , the corresponding migration destination logical device 50 B provided in the migration destination storage apparatus 3 B is mapped as an external logical device to each of the migration source logical devices 50 A in the migration source storage apparatus 3 A, respectively.
Subsequently, the administrator AD issues a command to the management apparatus 4 for acquiring the WWPN of each corresponding port 30 A in the migration source storage apparatus 3 A and the vendor ID and the serial number of the migration source storage apparatus 3 A (SP 5 ). Here, “each corresponding port” refers to each port 30 A of the migration source storage apparatus 3 A which is connected to the migration source logical device 50 A that was mapped with the migration destination logical device 50 B at step SP 1 to step SP 3 . Consequently, an apparatus-specific information notification request for requesting the notification of such WWPN, vendor ID and serial number is sent from the management apparatus 4 to the migration source storage apparatus 3 A (SP 6 ).
›DESCRIPTION OF EMBODIMENTS · 7 of 18
When the control processor 21 A of the migration source storage apparatus 3 A receives the foregoing apparatus-specific information notification request, it sends the WWPN of each corresponding port 30 A in the self storage apparatus and the vendor ID and serial number of the self storage apparatus to the management apparatus 4 (SP 7 ). Consequently, the WWPN of each corresponding port 30 A in the migration source storage apparatus 3 A and the vendor ID and serial number of the migration source storage apparatus 3 A that were acquired by the management apparatus 4 are displayed on the management apparatus 4 .
The administrator AD thereafter defines the respective paths to the migration destination logical device 50 B mapped to the migration source logical device 50 A at step SP 3 on the screen of the management apparatus 4 based on the WWPN of each corresponding port 30 A in the migration source storage apparatus 3 A and the vendor ID and serial number of the migration source storage apparatus 3 A displayed on the management apparatus 4 as described above (SP 8 ).
Moreover, the administrator AD sets each WWPN of each port 30 A of the migration source storage apparatus 3 A displayed on the management apparatus 4 as the virtual WWPN (this is hereinafter referred to as the “virtual WWPN”) of the corresponding port 30 B of the migration destination storage apparatus 3 B (that is, the port 30 B of the migration destination storage apparatus 3 B connected to the migration destination logical device 50 B that was mapped as the external logical device to the migration source logical device 50 A connected to the port 30 A of the migration source storage apparatus 3 A), respectively, and sets the vendor ID and serial number of the migration source storage apparatus 3 A displayed on the management apparatus 4 as the virtual vendor ID (this is hereinafter referred to as the “virtual vendor ID”) and the virtual serial number (this is hereinafter referred to as the “virtual serial number”) of the migration destination storage apparatus 3 B (SP 8 ). Consequently, a virtualization information setting command corresponding to the foregoing operations of the administrator AD is sent from the management apparatus 4 to the migration destination storage apparatus 3 B (SP 9 ).
When the control processor 21 B of the migration destination storage apparatus 3 B receives the foregoing virtualization information setting command, it updates the path management table 64 ( FIG. 11 ) based on the virtualization information setting command (SP 10 ). Specifically, the control processor 12 B stores the corresponding virtual WWPN that was designated in the virtualization information setting request in the virtual WWPN column 64 E of each entry corresponding to each port 30 B, among the entries of the path management table 64 , to which the virtual WWPN was notified in the virtualization information setting request, and stores the virtual serial number and the virtual vendor ID designated in the virtualization information setting request in the virtual serial number column 64 F and the virtual vendor ID column 64 G of the foregoing entries, respectively. Moreover, the control processor 21 B sets the virtualization flag stored in the virtualization flag column 64 D of the foregoing entries to “ON”.
When the control processor 21 B completes updating the path management table 64 , it notifies the update completion to the management apparatus 4 (SP 11 ).
Based on the foregoing processing from step SP 5 to step SP 11 , as shown in FIG. 16 , the WWPN of the corresponding port 30 A of the migration source storage apparatus 3 A is set as the virtual WWPN of the port 30 B for each path connecting the migration destination logical device 50 B in the migration destination storage apparatus 3 B and the corresponding port 30 B, and the vendor ID and serial number of the migration source storage apparatus 3 A are respectively set as the virtual vendor ID and virtual serial number of the migration destination storage apparatus 3 B.
Subsequently, the administrator AD operates the management apparatus 4 to form a copy pair with the migration source logical device 50 A as the primary device and the virtual device 50 C to which the migration source logical device 50 A was associated as the secondary device (SP 12 ). Consequently, a copy pair configuration command for setting the copy pair formed above is provided from the management apparatus 4 to the migration source storage apparatus 3 A (SP 13 ).
When the control processor 21 A of the migration source storage apparatus 3 A receives the foregoing copy pair configuration command, it updates the pair management information table 63 ( FIG. 10 ) according to the copy pair configuration command (SP 14 ).
Specifically, the control processor 21 A allocates an unused entry in the pair management information table 63 and stores the pair number assigned to such copy pair in the management number column 63 A of the foregoing entry. Moreover, the control processor 21 A stores the logical device number of the migration source logical device 50 A designated as the primary device in the copy pair configuration command in the primary logical device number column 63 B of the foregoing entry, and stores the logical device number of the virtual device 50 C designated as the secondary device in the copy pair configuration command in the secondary logical device number column 63 C of the foregoing entry. In addition, the control processor 21 A stores the pair status of the foregoing copy pair in the pair status column 63 D of the foregoing entry.
When the control processor 21 A completes updating the pair management information table 63 , it notifies the update completion to the management apparatus 4 (SP 15 ).
Subsequently, the administrator AD operates the management apparatus 4 configures a copy pair with the migration destination logical device 50 B in the migration destination storage apparatus 3 B as the primary device, and the backup logical device 50 D provided by being associated with the migration destination logical device 50 B as the secondary device (SP 16 ). Consequently, a copy pair configuration command according to the foregoing operations of the administrator AD is sent from the management apparatus 4 to the migration destination storage apparatus 3 B (SP 17 ).
›DESCRIPTION OF EMBODIMENTS · 8 of 18
When the control processor 21 B of the migration destination storage apparatus 3 B receives the foregoing copy pair configuration command, it updates the pair management information table 63 ( FIG. 10 ) based on the copy pair configuration command (SP 18 ).
Specifically, the control processor 21 B allocates an unused entry in the pair management information table 63 , and stores the pair number assigned to the foregoing copy pair in the management number column 63 A of the foregoing entry. Moreover, the control processor 21 B stores the logical device number of the logical device (migration destination logical device 50 B) designated as the primary device in the copy pair configuration command in the primary logical device number column 63 B of the foregoing entry, and stores the logical device number of the logical device (backup logical device 50 D) designated as the secondary device in the copy pair configuration command in the secondary logical device number column 63 C of the foregoing entry. In addition, the control processor 21 B stores the pair status of the foregoing copy pair in the pair status column 63 D of the foregoing entry.
When the control processor 21 B completes updating the pair management information table 63 , it notifies the update completion to the management apparatus 4 (SP 19 ).
Based on the foregoing processing from step SP 12 to step SP 19 , as shown in FIG. 17 , the copy pair with the migration source logical device 50 A as the primary device and the virtual device 50 C to which the migration source logical device 50 A is associated as the secondary device is set in the migration source storage apparatus 3 A, and the copy pair with the migration destination logical device 50 B as the primary device and the backup logical device 50 D as the secondary device is set in the migration destination storage apparatus 3 B.
Moreover, the data copy between the migration source logical device 50 A and the migration destination logical device 50 B and the data copy between the migration destination logical device 50 B and the backup logical device 50 D are thereafter performed so that the data content of the migration source logical device 50 A and the data content of the migration destination logical device 50 B and the data content of the backup logical device 50 D are synchronized (will coincide).
Subsequently, the administrator AD operates (for example, shuts down) the host computer 2 so that the host computer 2 will not issue a data I/O request (I/O) to the migration source storage apparatus 3 A (SP 20 ), and additionally operates the management apparatus 4 so as to change the pair status of the copy pair in the migration source storage apparatus 3 A set at step SP 1 to the status of “split” for stopping the data copy from the primary device to the secondary device (SP 21 ). Consequently, a pair status change command according to the foregoing operations of the administrator AD is sent from the management apparatus 4 to the migration source storage apparatus 3 A (SP 22 ).
When the control processor 21 A of the migration source storage apparatus 3 A receives the foregoing pair status change command, it executes the data copy from the migration source logical device 50 A to the migration destination logical device 50 B until the migration source logical device 50 A and the migration destination logical device 50 B become a synchronized status based on the foregoing pair status change command, and thereafter updates the pair status stored in the pair status column 63 D of the corresponding entry in the pair management information table 63 to “split” (SP 23 ).
Consequently, even if the host computer 2 attempts to write data into the corresponding migration source logical device 50 A, the data copy from the migration source logical device 50 A to the virtual device 50 C associated with the migration source logical device 50 A (more precisely, the data copy from the migration source logical device 50 A to the corresponding migration destination logical device 50 B) in the migration source storage apparatus 3 A is not performed. When the control processor 21 A completes updating the pair management information table 63 , it notifies the update completion to the management apparatus 4 (SP 24 ).
Subsequently, the administrator AD switches the connection destination of the host computer 2 from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B, for example, by switching the connection destination of the cable connecting the host computer 2 and the migration destination storage apparatus 3 A (SP 25 ). Moreover, the administrator AD operates (for example, restarts) the host computer 2 so as to resume issuing the data I/O request from the host computer 2 to the migration source storage apparatus 3 A (in reality to the migration destination storage apparatus 3 B) (SP 26 ).
Consequently, the host computer 2 executes, after it is restarted, the Inquiry reply processing described later with reference to FIG. 20 with the migration destination storage apparatus 3 B.
Based on the foregoing processing from step SP 20 to step SP 26 , as shown in FIG. 18 , the data stored in each of the migration source logical devices 50 A and the data stored in the migration destination logical devices 50 B mapped to the migration source logical devices 50 A are synchronized, and the host path (path connecting the host computer 2 and the storage apparatus) is switched to the migration destination storage apparatus 3 B in the foregoing status. Moreover, the data I/O request that is thereafter issued from the host computer 2 to the migration source storage apparatus 3 A is sent to the migration destination storage apparatus 3 B.
The administrator AD thereafter operates the management apparatus 4 , as shown in FIG. 19 , to form a virtual pool device (not shown) by associating it with each of the migration source logical devices 50 A, and forms the virtual device 50 E in the virtual pool device. Moreover, the administrator AD maps the corresponding migration source logical device 50 A as an external device to the virtual device 50 E (SP 27 ). Consequently, a mapping operation according to the foregoing operations of the administrator AD is sent from the management apparatus 4 to the migration destination storage apparatus 3 B (SP 28 ).
›DESCRIPTION OF EMBODIMENTS · 9 of 18
When the control processor 21 B of the migration destination storage apparatus 3 B receives the foregoing mapping command, it updates the external device information table 62 ( FIG. 9 ) based on the mapping command (SP 29 ).
Specifically, the control processor 21 B forms the virtual pool device and the virtual device 50 E by respectively associating them with each of the migration destination logical device 50 B according to the foregoing command, and stores the virtual pool device number assigned to the formed virtual pool device in the virtual pool device number column 62 A, respectively.
Moreover, the control processor 21 B stores the port number of the port 30 B ( FIG. 19 ) in the self storage apparatus connected to the virtual device 50 E defined in each of the virtual pool devices in the self storage-side port number column 62 F. Furthermore, the control processor 21 B stores the path number assigned to the path connecting the foregoing port 30 B and the corresponding migration destination logical device 50 B in the path number column 62 C, and stores the current status of the foregoing path in the path status column 62 G.
In addition, the control processor 21 B stores the serial number of the migration source storage apparatus 3 A in the external-side apparatus serial number column 62 D, stores the WWPN of the port 30 A of the migration source storage apparatus 3 A to be connected to the corresponding virtual device in the external-side WWPN column 62 D, and additionally stores the LUN of the migration source logical device 50 A in the external-side LUN column 62 E. The control processor 21 B thereafter sends a reply in response to the foregoing mapping command to the management apparatus 4 (SP 30 ).
Subsequently, the administrator AD operates the management apparatus 4 to configure a copy pair with each of the migration destination logical devices 50 B as the primary device and the corresponding virtual devices 50 E formed in the migration destination storage apparatus 3 B at step SP 27 to step SP 29 as the secondary device (SP 31 ). Consequently, a copy pair configuration command according to the foregoing operations of the administrator AD is sent from the management apparatus 4 to the migration destination storage apparatus 3 B (SP 32 ).
When the control processor 21 B of the migration destination storage apparatus 3 B receives the foregoing copy pair configuration command, it updates the pair management information table 63 ( FIG. 10 ) based on the copy pair configuration command (SP 33 ).
Specifically, the control processor 21 B allocates an unused entry in the pair management information table 63 and stores the pair number assigned to the foregoing copy pair in the management number column 63 A of the foregoing entry. Moreover, the control processor 21 B stores the logical device number of the logical device (migration destination logical device 50 B) designated as the primary device in the copy pair configuration command in the primary logical device number column 63 B of the foregoing entry, and stores the logical device number assigned to the logical device (corresponding virtual device 50 E) designated as the secondary device in the copy pair configuration command in the secondary logical device number column 63 C of the foregoing entry. In addition, the control processor 21 B stores the pair status of the foregoing copy pair in the pair status column 63 D of the foregoing entry.
When the migration destination storage apparatus completes updating the pair management information table 63 , it notifies the update completion to the management apparatus 4 (SP 34 ).
Based on the foregoing processing from step SP 27 to step SP 34 , as shown in FIG. 19 , the virtual devices 50 E mapped with the corresponding migration source logical device 50 A by being associated with each of the migration destination logical devices 50 B are formed in the migration destination storage apparatus 3 B, and the copy pair with each of the migration destination logical devices 50 B as the primary device and the corresponding virtual device 50 E as the secondary device is configured in the migration destination storage apparatus 3 B.
Consequently, when data is written from the host computer 2 into the migration destination logical device 50 B, although such data is copied to the virtual device 50 E based on the same-chassis internal copy function of the migration destination storage apparatus 3 B, since the virtual device 50 E is an insubstantial logical device, such data is consequently is copied to the migration source logical device 50 A of the migration source storage apparatus 3 A via the external connection port 30 B of the migration destination storage apparatus 3 B based on the external connection function of the migration destination storage apparatus 3 B. The status where the data content of the migration source logical device 50 A and the data content of the migration destination logical device 50 B are synchronized is thereby maintained.
Accordingly, when it is necessary to return the host path to the migration source storage apparatus 3 A due to the malfunction of the migration destination storage apparatus 3 B or the failure of the host path to the migration destination storage apparatus 3 B, the host path can be returned to the migration source storage apparatus 3 A side based on the same processing as step SP 20 to step SP 26 .
Note that the migration from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B is thereafter completed as a result of separating the migration source storage apparatus 3 A from the host computer 2 .
(1-4) Inquiry Reply Sequence
FIG. 20 shows the Inquiry reply sequence that is executed by the host computer 2 in which the connection destination was switched from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B at step SP 25 of the storage migration sequence described above with reference to FIG. 13 to FIG. 19 , and the control processor 21 B of the migration destination storage apparatus 3 B.
›DESCRIPTION OF EMBODIMENTS · 10 of 18
The host computer 2 in which the connection destination was switched from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B at step SP 25 foremost issues a login request to the migration destination storage apparatus 3 B (SP 40 ). The migration destination storage apparatus 3 B that received the foregoing login request determines whether the user attempting to log in using the host computer 2 is authorized to log into the self storage apparatus, and, upon determining that the user has such authority, sends a login reply permitting the login to the host computer 2 (SP 41 ).
The host computer 2 that received the foregoing login reply sends to the migration destination storage apparatus 3 A report LUN request for requesting the migration destination storage apparatus 3 B to transfer the list of LUNs (this is hereinafter referred to as the “LUN list”) of the respective logical devices existing in the migration destination storage apparatus 3 B (SP 42 ). Consequently, the control processor 21 B of the migration destination storage apparatus 3 B that received the foregoing report LUN request creates a LUN list (not shown) listing the LUNs of all logical devices existing in the self storage apparatus and sends this to the host computer 2 (SP 43 ).
The host computer 2 that received the foregoing LUN list sends, in order, the Inquiry commands targeting each of the logical devices in which its LUN is registered in the LUN list to the migration destination storage apparatus 3 B (SP 44 ).
Moreover, the control processor 21 B of the migration destination storage apparatus 3 B that received the foregoing Inquiry command refers to the virtualization flag column 64 D ( FIG. 11 ) of the corresponding entry of the path management table 64 ( FIG. 11 ), and determines whether the virtualization flag of the logical devices subject to the Inquiry command is “ON” (SP 45 ).
If the foregoing virtualization flag is “OFF”, the control processor 21 B of the migration destination storage apparatus 3 B sends an Inquiry reply containing the WWPN of the actual port 30 B connected to that logical device and the serial number and vendor ID of the migration destination storage apparatus 3 B to the host computer 2 (SP 46 ).
Meanwhile, if the foregoing virtualization flag is “ON”, the migration destination storage apparatus 3 B sends an Inquiry reply containing the virtual WWPN, virtual serial number and virtual vendor ID set for that logical device to the host computer.
In the foregoing case, the virtualization flag is set to “ON” for the migration destination logical device 50 B mapped to the migration source logical device 50 A. Consequently, the host computer 2 will recognize, based on the foregoing Inquiry reply, the migration destination logical device 50 B mapped to the migration source logical device 50 A as the corresponding migration source logical device 50 A of the migration source storage apparatus 3 A.
(1-5) Effect of Present Embodiment
As described above, since the computer system 1 according to this embodiment is able to set, as the virtualization information 51 , various types of unique information (WWPN, serial number and vendor ID) corresponding to the migration source storage apparatus 3 A in path units connecting the port 30 A in the migration destination storage apparatus 3 A and the migration destination logical device 50 B, and since the migration destination storage apparatus 3 B returns the foregoing virtualization information 51 as an Inquiry reply in response to the Inquiry request from the host computer 2 , storage migration from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B can be performed without causing the host computer 2 to be aware of such storage migration.
In the foregoing case, with this embodiment, there is no need to load alternate path software in the host computer 2 or provide a virtualization control device between the host computer 2 and the migration source storage apparatus 3 A/migration destination storage apparatus 3 B or apply NPIV to the migration source storage apparatus 3 A upon performing storage migration from the migration source storage apparatus 3 A to the migration destination storage apparatus 3 B.
Thus, according to the first data migration method, a storage apparatus can be migrated based on the same operation regardless of the type of OS of the host computer 2 , and without affecting the I/O performance during normal times. It is thereby possible to simplify the migration process of a storage apparatus while avoiding the performance degradation of the overall system.
Moreover, according to the first data migration method, even in cases where the emulation type of the migration source logical device 50 A and the migration destination logical device 50 B is different, data of the migration source logical device 50 A can be migrated to the migration destination logical device 50 B.
(2) Second Embodiment
FIG. 21 with the same reference numerals for the portions corresponding to those in FIG. 1 shows the computer system 90 according to the second embodiment. The computer system 90 is configured the same as the computer system 1 according to the first embodiment excluding the point that a storage apparatus (this is hereinafter referred to as the “external storage apparatus”) 92 is externally connected to the migration source storage apparatus 91 A.
FIG. 22 shows the outline off the storage migration method according to the second embodiment (this is hereinafter referred to as the “second storage migration method”). In FIG. 22 , the same reference numerals are given to the portions corresponding to those of FIG. 5 . If the external storage apparatus 92 is externally connected to the migration source storage apparatus 91 A, as described above with reference to FIG. 4 , a virtual device 50 F mapped with the logical device (this is hereinafter referred to as the “external logical device”) 93 in the external storage apparatus 92 is formed in the migration source storage apparatus 91 A, and the virtual device 50 F is provided to the host computer 2 . The data I/O request from the host computer 2 for performing data I/O to the virtual device 50 F is transferred to the external storage apparatus 92 , and the external storage apparatus 92 performs the reading or writing of data from or to the external logical device 93 according to the foregoing data I/O request.
›DESCRIPTION OF EMBODIMENTS · 11 of 18
As described above, in cases where the external storage apparatus 92 is externally connected to the migration source storage apparatus 91 A, since the data itself to be written or read by the host computer 2 to or from the virtual device 50 F exists in the external storage apparatus 92 , migration of the storage apparatus from the migration source storage apparatus 91 A to the migration destination storage apparatus 91 B can be performed merely by switching the mapping destination of the external logical device 93 in the external storage apparatus 92 to the virtual device 50 G in the migration destination storage apparatus 91 B.
Thus, in the case of this embodiment, the virtual device 50 G is formed in the migration destination storage apparatus 91 B by being associated with each of the external logical devices 93 in the external storage apparatus 92 and the mapping destination of the external logical device 93 is switched to the virtual device 50 G, and the information related to the virtual device 50 F mapped with the external logical device 93 up to that time is set as the virtualization information in the virtual device 50 G of the migration destination storage apparatus 91 B in order to migrate the connection destination of the external storage apparatus 92 to the migration destination storage apparatus 91 B.
Note that the contents of the processing for switching the access destination of the host computer 2 from the migration source logical device 50 A in the migration source storage apparatus 91 A to the migration destination logical device 50 B in the migration destination storage apparatus 91 B are the same as the first embodiment, and the explanation thereof is omitted below.
FIG. 23 shows the processing routine of the processing (this is hereinafter referred to as the “mapping destination switching processing”) for switching the mapping destination of the external logical device 93 in the external storage apparatus 92 to the virtual device 50 G in the migration destination storage apparatus 91 B among the storage migration processing that is executed in the computer system 90 according to this embodiment upon exchanging (migrating) the migration source storage apparatus 91 A with the migration destination storage apparatus 91 B. The mapping destination switching processing is configured from three sequences; namely, a first mapping sequence SQ 10 , a virtualization information setting sequence SQ 11 and a storage switching sequence SQ 12 .
Foremost, the administrator AD operates the management apparatus 94 to form the virtual device 50 G in the migration destination storage apparatus 91 B by associating it with each of the external logical devices 93 of the external storage apparatus 92 , and map the external logical device 93 to the virtual device 50 G (SP 50 ). Consequently, a mapping command according to the foregoing operations of the administrator AD is sent from the management apparatus 94 to the migration destination storage apparatus 91 B (SP 51 ).
When the control processor 95 B ( FIG. 21 ) of the migration destination storage apparatus 91 B receives the foregoing mapping command, it updates the logical device management table 60 ( FIG. 7 ), the virtual pool device management table 61 ( FIG. 8 ) and the external device information table 62 ( FIG. 9 ), respectively, based on the foregoing mapping command (SP 52 ).
Specifically, the control processor 95 B forms a virtual pool device by associating it with each of the external logical devices 93 , and stores the virtual pool device number, type and size (capacity) of each of the formed virtual pool devices in the virtual pool device number column 61 A, the type column 61 B and the size column 61 C, respectively, of the newly allocated entry in the virtual pool device management table 61 . Moreover, the control processor 95 B stores the RAID level of the corresponding external logical device 93 and the parity group ID of the parity group 80 ( FIG. 12 ) forming the external logical device 93 in the RAID level column 61 D and the parity group ID column 61 E, respectively, of the foregoing entry.
Moreover, the control processor 95 B stores the logical device number assigned to the virtual device 50 G defined in the foregoing virtual pool device by being associated with each of the external logical devices 93 and the size of such virtual device 50 C in the logical device number column 60 A and the size column 60 B, respectively, of the newly allocated entry in the logical device management table 60 , and additionally stores the virtual pool device number of the virtual pool device to which the virtual device 50 G is affiliated in the affiliated virtual pool device number column 60 C of the foregoing entry.
In addition, the control processor 95 B stores the virtual pool device number of each of the virtual pool devices formed by being associated with each of the external logical devices 93 in the virtual pool device number column 62 A of the newly allocated entry in the external device information table 62 , respectively, and additionally stores the port number of the port (port connected to the corresponding external logical device 93 in the migration destination storage apparatus 3 B) 30 B associated with the corresponding virtual pool device in the self storage-side port number column 62 F of each entry, respectively.
Moreover, the control processor 95 B stores the path number of the path connecting the corresponding virtual pool device and the migration destination logical device 50 B thereof in the path number column 62 C of each entry, and additionally stores the current status of the corresponding path in the path status column 62 G of the foregoing entries. In addition, the control processor 95 B stores the serial number of the external storage apparatus 92 in the external-side apparatus serial number column 62 B of each entry, stores the WWPN of the port 30 C ( FIG. 22 ) on the external storage apparatus 92 side connected to the corresponding virtual pool device in the external-side WWPN column 62 D of the foregoing entries, and additionally stores the LUN of the corresponding external logical device 93 in the external-side LUN column 62 E of the foregoing entries.
›DESCRIPTION OF EMBODIMENTS · 12 of 18
When the control processor 95 B completes updating the logical device management table 60 , the virtual pool device management table 61 and the external device information table 62 , it notifies the update completion to the management apparatus 4 (SP 53 ).
Based on the foregoing processing from step SP 50 to step SP 53 , as shown in FIG. 24 , each of the external logical devices 93 in the external storage apparatus 92 is mapped to the corresponding virtual device 50 G provided in the migration destination storage apparatus 91 B, respectively.
Subsequently, the administrator AD issues a command to the management apparatus 94 for acquiring the WWPN of each corresponding port 30 A in the migration source storage apparatus 91 A and the vendor ID and the serial number of the migration source storage apparatus 91 A (SP 54 ). Here, “each corresponding port” refers to each port 30 A of the migration source storage apparatus 3 A which is connected to the virtual device 50 F ( FIG. 22 ) that was mapped with the external logical device 93 of the external storage apparatus 92 up to that time. Consequently, an apparatus-specific information notification request for requesting the notification of such WWPN, vendor ID and serial number is sent from the management apparatus 94 to the migration source storage apparatus 91 A (SP 55 ).
When the control processor 95 A of the migration source storage apparatus 91 A receives the foregoing apparatus-specific information notification request, it sends the WWPN of each corresponding port 30 A in the self storage apparatus and the vendor ID and serial number of the self storage apparatus to the management apparatus 94 (SP 56 ). Consequently, the WWPN of each corresponding port 30 A in the migration source storage apparatus 91 A and the vendor ID and serial number of the migration source storage apparatus 91 A that were acquired by the management apparatus 94 are displayed on the management apparatus 94 .
The administrator AD thereafter defines the respective paths to the external logical device 93 mapped to the virtual device 50 G of the migration destination storage apparatus 91 B at step SP 52 on the screen of the management apparatus 94 based on the WWPN of each corresponding port 30 A in the migration source storage apparatus 91 A and the vendor ID and serial number of the migration source storage apparatus 91 A displayed on the management apparatus 94 as described above (SP 57 ).
Moreover, the administrator AD sets the WWPN of each port 30 A of the migration source storage apparatus 91 A connected to the external logical device 93 as the virtual WWPN of the port 30 B connected to the foregoing virtual device 50 G in the migration destination storage apparatus 91 B, respectively, and sets the vendor ID and serial number of the migration source storage apparatus 91 A as the virtual vendor ID and the virtual serial number of the migration destination storage apparatus 91 B (SP 57 ). Consequently, a virtualization information setting command corresponding to the foregoing operations of the administrator AD is sent from the management apparatus 94 to the migration destination storage apparatus 91 B (SP 58 ).
When the control processor 95 B of the migration destination storage apparatus 91 B receives the foregoing virtualization information setting command, it updates the path management table 64 ( FIG. 11 ) based on the virtualization information setting command (SP 59 ). Specifically, the control processor 95 B stores the corresponding virtual WWPN that was designated in the virtualization information setting request in the virtual WWPN column 64 E of each entry corresponding to each port 30 B, among the entries of the path management table 64 , to which the virtual WWPN was notified in the virtualization information setting request, and stores the virtual serial number and the virtual vendor ID designated in the virtualization information setting request in the virtual serial number column 64 F and the virtual vendor ID column 64 G of the foregoing entries, respectively. Moreover, the control processor 95 B sets the virtualization flag stored in the virtualization flag column 64 D of the foregoing entries to “ON”.
When the control processor 95 B completes updating the path management table 64 , it notifies the update completion to the management apparatus 94 (SP 60 ).
Based on the foregoing processing from step SP 54 to step SP 60 , the WWPN of the corresponding port 30 A connected to the external logical device 93 of the migration source storage apparatus 91 A is set as the virtual WWPN of the port 30 B for each path connecting the port 30 B connected to the external logical device 93 in the migration destination storage apparatus 91 B and the corresponding virtual device 50 G, and the vendor ID and serial number of the migration source storage apparatus 91 A are respectively set as the virtual vendor ID and virtual serial number of the migration destination storage apparatus 91 B.
Subsequently, the administrator AD operates the host computer 2 (for example, shuts down the required application software) so that the host computer 2 will not issue a data I/O request (I/O) to the virtual device 50 F of the migration source storage apparatus 91 A (SP 61 ).
In addition, the administrator AD switches the connection destination of the host computer 2 from the migration source storage apparatus 91 A to the migration destination storage apparatus 91 B, for example, by switching the connection destination of the cable connecting the host computer 2 and the migration source storage apparatus 91 A (SP 62 ). Moreover, the administrator AD operates the host computer 2 (for example, restarts the required application software) so as to resume issuing the data I/O request from the host computer 2 to the migration source storage apparatus 91 A (in reality to the migration destination storage apparatus 91 B) (SP 63 ).
Based on the foregoing processing from step SP 61 to step SP 63 , as shown in FIG. 25 , the mapping destination of the external logical device 93 in the external storage apparatus 92 is switched to the virtual device 50 G in the migration destination storage apparatus 91 B, and the data I/O request targeting the external logical device 93 is provided to the migration destination storage apparatus 91 B as a data I/O request targeting the virtual device 50 G of the migration destination storage apparatus 91 B.
›DESCRIPTION OF EMBODIMENTS · 13 of 18
As described above, according to the second storage migration method, even in cases where the external storage apparatus 92 is connected to the migration source storage apparatus 91 , as with the first embodiment, a storage apparatus can be migrated based on the same operation regardless of the type of OS of the host computer, and without affecting the I/O performance during normal times. It is thereby possible to simplify the migration process of a storage apparatus while avoiding the performance degradation of the overall system.
(3) Third Embodiment
In FIG. 1 , reference numeral 100 shows the computer system according to the third embodiment. The computer system 100 is configured the same as the computer system 1 according to the first embodiment excluding the point that the migration source storage apparatus 101 A is not equipped with the external connection function and, consequently, the processing contents of the storage migration method of migrating a storage apparatus from the migration source storage apparatus 101 A to the migration destination storage apparatus 101 B are different.
FIG. 26 with the same reference numerals for the portions corresponding to those in FIG. 5 shows the outline off the storage migration method according to the third embodiment (this is hereinafter referred to as the “third storage migration method”). If the migration source storage apparatus 101 A is not equipped with the external connection function, the migration destination logical device 50 B cannot be mapped as an external logical device to the migration source logical device 50 A.
Thus, with the storage migration method according to this embodiment (this is hereinafter referred to as the “third storage migration method”), a virtual device 50 H is formed in the migration destination storage apparatus 101 B by being associated with each of the migration source logical devices 50 A in the migration source storage apparatus 101 A, and the corresponding migration destination logical device 50 B of the migration destination storage apparatus 101 B is mapped as the external logical device to the virtual device 50 H.
FIG. 27 shows the processing routine of the storage migration processing upon migrating (exchanging) the migration source storage apparatus 101 A to the migration destination storage apparatus 101 B based on the foregoing third storage migration method. This storage migration processing is configured from a first mapping sequence SQ 20 , a virtualization information setting sequence SQ 21 , a storage switching sequence SQ 22 and a second mapping sequence SQ 23 .
Foremost, the administrator AD operates the management apparatus 103 to map each of the migration source logical devices 50 A in the migration source storage apparatus 101 A as the external logical device to the corresponding migration destination logical device 50 B in the migration destination storage apparatus 101 B, respectively (SP 70 ). Consequently, a mapping command according to the foregoing operations of the administrator AD is sent from the management apparatus 103 to the migration destination storage apparatus 101 B (SP 71 ).
When the control processor 102 B ( FIG. 1 ) of the migration destination storage apparatus 101 B receives the foregoing mapping command, it updates the logical device management table 60 ( FIG. 7 ), the virtual pool device management table 61 ( FIG. 8 ) and the external device information table 62 ( FIG. 9 ), respectively, based on the mapping command (SP 72 ).
Specifically, the control processor 102 B forms a virtual pool device by associating it with each of the migration source logical devices 50 A, and stores the virtual pool device number, type and size (capacity) of each of the formed virtual pool devices in the virtual pool device number column 61 A, the type column 61 B and the size column 61 C, respectively, of the newly allocated entry in the virtual pool device management table 61 . Moreover, the control processor 102 B stores the RAID level of the corresponding migration source logical device 50 A and the parity group ID of the parity group 80 ( FIG. 12 ) forming the migration source logical device 50 A in the RAID level column 61 D and the parity group ID column 61 E, respectively, of the foregoing entry.
Moreover, the control processor 102 B stores the logical device number assigned to each of the virtual devices 50 H defined in the foregoing virtual pool device by being associated with each of the migration source logical devices 50 A and the size of such virtual devices 50 H in the logical device number column 60 A and the size column 60 B, respectively, of the newly allocated entry in the logical device management table 60 , and additionally stores the virtual pool device number of the virtual pool device to which the virtual device 50 H is affiliated in the affiliated virtual pool device number column 60 C of the foregoing entry.
In addition, the control processor 102 B stores the virtual pool device number of each of the virtual pool devices formed by being associated with each of the migration source logical devices 50 A in the virtual pool device number column 62 A of the newly allocated entry in the external device information table 62 , respectively, and additionally stores the port number of the port (port connected to the corresponding migration destination logical device 50 B in the migration destination storage apparatus 3 B) 30 A associated with the corresponding virtual pool device in the self storage-side port number column 62 F of each entry, respectively.
Moreover, the control processor 102 B stores the path number of the path connecting the corresponding virtual pool device and the migration destination logical device 50 B thereof in the path number column 62 C of each entry, and additionally stores the current status of the corresponding path in the path status column 62 G of the foregoing entries. In addition, the control processor 102 B stores the serial number of the migration source storage apparatus 101 A in the external-side apparatus serial number column 62 B of each entry, stores the WWPN of the port 30 A on the migration destination storage apparatus 101 B side connected to the corresponding virtual pool device in the external-side WWPN column 62 D of the foregoing entries, and additionally stores the LUN of the corresponding migration destination logical device 50 B in the external-side LUN column 62 E of the foregoing entries.
›DESCRIPTION OF EMBODIMENTS · 14 of 18
When the control processor 102 B completes updating the logical device management table 60 , the virtual pool device management table 61 and the external device information table 62 , it notifies the update completion to the management apparatus 103 (SP 73 ).
Based on the foregoing processing from step SP 70 to step SP 73 , as shown in FIG. 28 , the corresponding migration source logical device 50 A is mapped as an external logical device to each of the virtual devices 50 H formed in the migration destination storage apparatus 101 B in correspondence with each of the migration source logical devices 50 A.
Subsequently, the administrator AD issues a command to the management apparatus 103 for acquiring the WWPN of each corresponding port 30 A in the migration source storage apparatus 101 A and the vendor ID and the serial number of the migration source storage apparatus 101 A (SP 74 ). Here, “each corresponding port” refers to each port 30 A connected to the migration source logical device 50 A in the migration source storage apparatus 101 A. Consequently, an apparatus-specific information notification request for requesting the notification of such WWPN, vendor ID and serial number is sent from the management apparatus 103 to the migration source storage apparatus 101 A (SP 75 ).
When the control processor 102 A of the migration source storage apparatus 101 A receives the foregoing apparatus-specific information notification request, it sends the WWPN of each corresponding port 30 A in the self storage apparatus and the vendor ID and serial number of the self storage apparatus to the management apparatus 103 (SP 76 ). Consequently, the WWPN of each corresponding port 30 A in the migration source storage apparatus 101 A and the vendor ID and serial number of the migration source storage apparatus 101 A that were acquired by the management apparatus 103 are displayed on the management apparatus 103 .
The administrator AD thereafter defines the respective paths to the virtual device 50 H in the migration destination storage apparatus 101 B to which was mapped the migration source logical device 50 A in the migration source storage apparatus 101 A as the external logical device at step SP 72 based on the WWPN of each corresponding port 30 A in the migration source storage apparatus 101 A and the vendor ID and serial number of the migration source storage apparatus 101 A displayed on the management apparatus 103 as described above (SP 77 ).
Moreover, the administrator AD sets the WWPN of each port 30 A of the migration source storage apparatus 101 A displayed on the management apparatus 103 as the virtual WWPN of the corresponding port 30 B of the migration destination storage apparatus 3 B (that is, the port 30 B connected to the virtual device 50 H that was associated with the migration source logical device 50 A connected to the port 30 A), respectively, and sets the vendor ID and serial number of the migration source storage apparatus 101 A displayed on the management apparatus 103 as the virtual vendor ID and the virtual serial number of the migration destination storage apparatus 101 B (SP 77 ). Consequently, a virtualization information setting command corresponding to the foregoing operations of the administrator AD is sent from the management apparatus 103 to the migration destination storage apparatus 101 B (SP 78 ).
When the control processor 102 B of the migration destination storage apparatus 101 B receives the foregoing virtualization information setting command, it updates the path management table 64 ( FIG. 11 ) based on the virtualization information setting command (SP 79 ). Specifically, the control processor 102 B stores the corresponding virtual WWPN that was designated in the virtualization information setting request in the virtual WWPN column 64 E of each entry corresponding to each port 30 B, among the entries of the path management table 64 , to which the virtual WWPN was notified in the virtualization information setting request, and stores the virtual serial number and the virtual vendor ID designated in the virtualization information setting request in the virtual serial number column 64 F and the virtual vendor ID column 64 G of the foregoing entries, respectively. Moreover, the control processor 102 B sets the virtualization flag stored in the virtualization flag column 64 D of the foregoing entries to “ON”.
When the control processor 102 B completes updating the path management table 64 , it notifies the update completion to the management apparatus 103 (SP 80 ).
Based on the foregoing processing from step SP 74 to step SP 80 , as shown in FIG. 29 , the WWPN of the corresponding port 30 A of the migration source storage apparatus 101 A is set as the virtual WWPN of the port 30 B for each path connecting the virtual device 50 H in the migration destination storage apparatus 101 B and the corresponding port 30 B, and the vendor ID and serial number of the migration source storage apparatus 101 A are respectively set as the virtual vendor ID and virtual serial number of the migration destination storage apparatus 101 B.
Subsequently, the administrator AD operates (for example, shuts down) the host computer 2 so that the host computer 2 will not issue a data I/O request (I/O) to the migration source storage apparatus 101 A (SP 81 ), and to change the connection destination of the host computer 2 from the migration source storage apparatus 101 A to the migration destination storage apparatus 101 B (SP 82 ). Moreover, the administrator AD operates (for example, restarts) the host computer 2 so as to resume issuing the data I/O request from the host computer 2 to the migration source storage apparatus 101 A.
Subsequently, the administrator AD operates the management apparatus 103 and forms a volume migration pair with the virtual device 50 H mapped with the migration source logical device 50 A in the migration destination storage apparatus 101 A as the migration source, and the migration destination logical device 50 B associated with the virtual device 50 H as the migration destination, and issues a command for executing the volume migration processing from the virtual device 50 H to the migration destination logical device 50 B (SP 84 ). Consequently, a volume migration execution command according to the foregoing operation of the administrator AD is sent from the management apparatus 103 to the migration destination storage apparatus 101 B (SP 85 ).
›DESCRIPTION OF EMBODIMENTS · 15 of 18
When the control processor 102 B of the migration destination storage apparatus 101 B receives the foregoing volume migration execution command, it updates the pair management information table 63 ( FIG. 10 ) so as to form a volume migration pair with the corresponding virtual device 50 H and the migration destination logical device 50 B based on the foregoing volume migration execution command as shown in FIG. 30 (SP 86 ).
Specifically, the control processor 102 B allocates an unused entry in the pair management information table 63 , and stores the pair number that was assigned to the volume migration pair in the management number column 63 A of that entry. Moreover, the control processor 102 B stores, in the primary logical device number column 63 B of that entry, the logical device number of the logical device (virtual device 50 H) designated as the primary device in the volume migration execution command, and stores, in the secondary logical device number column 63 C of that entry, the logical device number of the logical device (migration destination logical device 50 B) designated as the secondary device in the volume migration execution command. In addition, the control processor 102 B stores the pair status of the foregoing volume migration pair in the pair status column 63 D of that entry.
Consequently, the data stored in the virtual device 50 H is initially copied to the migration destination logical device 50 B, but since the virtual device 50 H is an insubstantial logical device, the data stored in the migration source logical device 50 A is initially copied to the migration destination logical device 50 B based on the remote copy function of the migration source storage apparatus 101 A and the migration destination storage apparatus 101 B. The data contents of the migration source logical device 50 A and the data contents of the migration destination logical device 50 B are thereby synchronized.
Moreover, the control processor 102 B updates the logical device management table 60 so as to switch the relation between the virtual device 50 H and the migration destination logical device 50 B forming the foregoing volume migration pair based on the foregoing volume migration execution command (SP 87 ). Specifically, the control processor 102 B switches the logical device number stored in the logical device number column 60 A of the entry corresponding to the virtual device 50 H of the logical device management table 60 and the logical device number stored in the logical device number column 60 A of the entry corresponding to the migration destination logical device 50 B of the logical device management table 60 .
When the control processor 102 B completes updating the pair management information table 63 and the logical device management table 60 , it notifies the update completion to the management apparatus 103 (SP 88 ).
Based on the processing of foregoing step SP 81 to step SP 88 , the virtual device 50 H mapped with the migration source logical device 50 A is switched with the migration destination logical device 50 B, and data from the host computer 2 is thereafter stored in the new migration destination logical device 50 B after the switch (corresponds to the virtual device 50 H before the switch).
Subsequently, the administrator AD operates the management apparatus 103 and configures a copy pair with the virtual device 50 H mapped with the migration source logical device 50 A in the migration destination storage apparatus 101 A as the migration destination, and the migration destination logical device 50 B associated with the virtual device 50 H as the migration source (SP 89 ). Consequently, a copy pair configuration command according to the foregoing operation of the administrator AD is sent from the management apparatus 4 to the migration destination storage apparatus 3 B (SP 90 ).
When the control processor 102 B of the migration destination storage apparatus 3 B receives the foregoing copy pair configuration command, it updates the pair management information table 63 ( FIG. 10 ) based on the copy pair configuration command (SP 91 ).
Specifically, the control processor 102 B allocates an unused entry in the pair management information table 63 , and stores the pair number assigned to the foregoing copy pair in the management number column 63 A of that entry. Moreover, the control processor 102 B stores, in the primary logical device number column 63 B of that enry, the logical device number of the logical device (migration destination logical device 50 B) designated as the primary device in the copy pair configuration command, and stores, in the secondary logical device number column 63 C of that entry, the logical device number assigned to the logical device (corresponding virtual device 50 H) designated as the secondary device in the copy pair configuration command. In addition, the control processor 102 B stores the pair status of the foregoing copy pair in the pair status column 63 D of that entry.
When the migration destination storage apparatus 101 B completes updating the pair management information table 63 , it notifies the update completion to the management apparatus 4 (SP 92 ).
Based on the foregoing processing from step SP 89 to step SP 92 , as shown in FIG. 26 , the copy pair with the migration destination logical device 50 B as the primary device and the corresponding virtual device 50 H associated with the migration destination logical device 50 B as the secondary device is configured in the migration destination storage apparatus 101 B.
Consequently, when data is written from the host computer 2 into the migration destination logical device 50 B, although such data is copied to the virtual device 50 H based on the same-chassis internal copy function of the migration destination storage apparatus 101 B, since the virtual device 50 H is an insubstantial logical device, such data is consequently is copied to the migration source logical device 50 A of the migration source storage apparatus 101 A via the external connection port 30 B of the migration destination storage apparatus 101 B based on the external connection function of the migration destination storage apparatus 101 B. The status where the data content of the migration source logical device 50 A and the data content of the migration destination logical device 50 B are synchronized is thereby maintained.
›DESCRIPTION OF EMBODIMENTS · 16 of 18
Accordingly, when it is necessary to return the host path to the migration source storage apparatus 101 A due to the malfunction of the migration destination storage apparatus 101 B or the failure of the host path to the migration destination storage apparatus 101 B, the host path can be returned to the migration source storage apparatus 101 A side based on the same processing as step SP 81 to step SP 83 .
Note that the migration from the migration source storage apparatus 101 A to the migration destination storage apparatus 101 B is thereafter completed as a result of separating the migration source storage apparatus 101 A from the host computer 2 .
As described above, according to the third storage migration method, even in cases where the migration source storage apparatus 101 A is not equipped with the external connection function, as with the first embodiment, a storage apparatus can be migrated based on the same operation regardless of the type of OS of the host computer 2 , and without affecting the I/O performance during normal times. It is thereby possible to simplify the migration process of a storage apparatus while avoiding the performance degradation of the overall system.
(4) Fourth Embodiment
As described above, in the first to third storage migration methods, a plurality of migration source storage apparatuses can be migrated to one migration destination storage apparatus since the WWPN of the corresponding port 30 A of the migration source storage apparatus 3 A, 91 A, 101 A and the serial number and vendor ID of the migration source storage apparatus 3 A, 91 A, 101 A are set as the virtualization information 51 for each port 30 B of the migration destination storage apparatus 3 B, 91 B, 101 B.
FIG. 31 shows the schematic configuration of the computer 110 according to the fourth embodiment which gives consideration to the foregoing point. In this computer system 110 , three migration source storage apparatuses (these are hereinafter respectively referred to as the “first to third migration source storage apparatuses”) 112 to 114 are connected to one migration destination storage apparatus 111 , and an external storage apparatus 115 is externally connected to the second migration source storage apparatus 113 . In addition, the migration destination storage apparatus 111 and the first to third migration source storage apparatuses 112 to 114 are connected to a management apparatus 117 via a LAN 116 .
The first migration source storage apparatus 112 is a storage apparatus having the same configuration and same functions as the migration source storage apparatus 3 A according to the first embodiment described above with reference to FIG. 1 . The first migration source storage apparatus 112 is provided with a migration source logical device 120 corresponding to the migration source logical device 50 A of FIG. 5 and a virtual device 121 corresponding to the virtual device 50 C of FIG. 5 .
The second migration source storage apparatus 113 is a storage apparatus having the same configuration and same functions as the migration source storage apparatus 91 A according to the second embodiment described above with reference to FIG. 21 . The second migration source storage apparatus 113 is provided with a virtual device 122 corresponding to the virtual device 50 F of FIG. 22 , and this virtual device 122 is provided to the host computer 2 .
Moreover, the external storage apparatus 115 is a storage apparatus having the same configuration and same functions as the external storage apparatus 92 according to the second embodiment described above with reference to FIG. 21 . The external storage apparatus 115 is provided with an external logical device 123 , and this external logical device 123 is mapped to the virtual device 122 of the second migration source storage apparatus 113 .
In addition, the third migration source storage apparatus 114 is a storage apparatus having the same configuration and same functions as the migration source storage apparatus 101 A according to the third embodiment described above with reference to FIG. 1 . The third migration source storage apparatus 114 is provided with a migration source logical device 124 corresponding to the migration source logical device 50 A of FIG. 26 .
Meanwhile, the migration destination storage apparatus 111 is a storage apparatus equipped with the same-chassis internal copy function and the external connection function, has the same hardware configuration as the migration destination storage apparatus 3 B according to the first embodiment described above with reference to FIG. 1 , and is further equipped with a function capable of executing the various types of processing relating to the first to third storage migration method described above with reference to the first to third embodiments.
The computer system 110 is thereby able to migrate the first to third migration source storage apparatuses 112 to 114 to the first to third storage migration method by using the first to third storage migration methods.
The management apparatus 117 is configured, for example, from a general-purpose server apparatus. The management apparatus 117 comprises, in addition to information processing resources such as a CPU, a ROM and a RAM, a display device for displaying a UI screen and various types of information for making various settings to the first to third migration source storage apparatuses 112 to 114 and the migration destination storage apparatus 111 , an input device such as a keyboard or a mouse to be used by an operator for performing various operations and various inputs for settings, and a communication device for communicating with the first to third migration source storage apparatuses 112 to 114 and the migration destination storage apparatus 111 via the LAN 116 . Various types of processing are executed by the overall management apparatus 117 as described later as a result of the CPU executing the corresponding programs stored in the ROM and the like based on the respective commands that are input via the input device.
›DESCRIPTION OF EMBODIMENTS · 17 of 18
Note that FIG. 31 shows that the migration destination logical device 125 and the backup logical device 126 respectively corresponding to the migration destination logical device 50 B ( FIG. 5 ) and the backup logical device 50 D ( FIG. 5 ) of the first embodiment, the virtual device 127 corresponding to the virtual device 50 F ( FIG. 22 ) of the second embodiment, and the migration destination logical device 128 and the virtual device 129 respectively corresponding to the migration destination logical device 50 B ( FIG. 26 ) and the virtual device 50 H ( FIG. 26 ) of the third embodiment are provided in the migration destination storage apparatus 111 .
When migrating the first migration source storage apparatus 112 to the migration destination storage apparatus 111 based on the first storage migration method, the migration destination logical device 125 in the migration destination storage apparatus 111 is mapped to the virtual device 121 in the first migration source storage apparatus 112 , and, when migrating the second migration source storage apparatus 113 to the migration destination storage apparatus 111 based on the second storage migration method, the external logical device 123 of the external storage apparatus 115 is mapped to the virtual device 127 in the migration destination storage apparatus 111 . Moreover, when migrating the third migration source storage apparatus 114 to the migration destination storage apparatus 111 based on the third storage migration method, the migration source logical device 124 in the third migration source storage apparatus 114 is migrated to the virtual device 129 in the migration destination storage apparatus 111 .
FIG. 32 shows the processing routine of the storage migration control processing that is executed by the management apparatus 117 when the management apparatus 117 is operated in the computer system 110 and one migration source storage apparatus 112 to 114 is selected or one or more migration source logical devices in one migration source storage apparatus 112 to 114 are selected and the migration of such migration source storage apparatus 112 to 114 or migration source logical device to the migration destination storage apparatus 111 is commanded. Note that, since the foregoing first to third storage migration methods can also be applied to data migration in logical device units in addition to data migration in storage apparatus units, FIG. 32 also described data migration in logical device units.
The management apparatus 117 starts the storage migration control processing when the administrator commands the storage migration from the migration source storage apparatus 112 to 114 to the migration destination storage apparatus 111 or the storage migration in migration source logical device units in the migration source storage apparatus 112 to 114 , and foremost determines whether the command provided from the administrator is for migrating a storage apparatus (SP 100 ).
If the management apparatus 117 obtains a negative result in the foregoing determination, it sends to the migration source storage apparatus 112 to 114 an Inquiry request targeting one among the migration source logical devices in the migration source storage apparatus 112 to 114 that was selected as the data migration target by the administrator (SP 101 ). Consequently, according to this Inquiry request, the apparatus-specific information related to the migration source logical device designated in the Inquiry request (that is, the WWPN of the port connected to that migration source logical device, and the serial number and vendor ID of the migration source storage apparatus 112 to 114 ) is transferred from the migration source storage apparatus 112 to 114 to the management apparatus 117 .
Meanwhile, if the management apparatus 117 obtains a positive result in the determination at step SP 100 , it sends to the migration source storage apparatus 112 to 114 an Inquiry request targeting one logical device among all logical devices (including virtual devices) existing under the control of the migration source storage apparatus 112 to 114 that was selected as the migration target by the administrator (SP 102 ). Consequently, according to this Inquiry request, the apparatus-specific information relating to the migration source logical device designated in the Inquiry request is transferred from the migration source storage apparatus 112 to 114 to the management apparatus 117 .
Subsequently, the management apparatus 117 determines whether the apparatus-specific information relating to all logical devices in all migration source storage apparatuses 112 to 114 to become the data migration target has been acquired (SP 103 ). If the management apparatus 117 obtains a negative result in the foregoing determination, it returns to step SP 103 and thereafter repeats the same processing from step SP 100 to step SP 103 .
When the management apparatus 117 eventually obtains a positive result at step SP 103 as a result of the apparatus-specific information relating to all logical devices to become the data migration target being acquired, it preliminarily creates a script that is required in the processing for the administrator to subsequently migrate all migration source logical devices in all migration source storage apparatuses 112 to 114 which were selected as the data migration target to the migration destination storage apparatus 111 , respectively (SP 104 ).
Subsequently, the management apparatus 117 selects on unprocessed migration source storage apparatus 112 to 114 among the migration source storage apparatus 112 to 114 which were selected as the data migration target, and determines whether such migration source storage apparatus 112 to 114 is equipped with the external connection function (SP 105 ). Note that, as the determination method, for example, information showing whether that storage apparatus is equipped with the external connection function may be provided in advance to the management apparatus 117 for each vendor and each model of the storage apparatus, and the management apparatus 117 may make the foregoing determination based on such information.
›DESCRIPTION OF EMBODIMENTS · 18 of 18
If the management apparatus 117 obtains a positive result in the foregoing determination, it migrates the data from the migration source logical device to the migration destination logical device by executing the data migration which applies the first storage migration method described above with reference to FIG. 1 to FIG. 20 to each migration source logical device as the data migration target (SP 106 ).
Meanwhile, if the management apparatus 117 obtains a negative result in the determination at step SP 105 , it migrates the data from the migration source logical device to the migration destination logical device by executing the data migration which applies the third storage migration method described above with reference to FIG. 26 to FIG. 30 to each migration source logical device as the data migration target (SP 107 ).
Subsequently, the management apparatus 117 determines whether the migration source storage apparatus 112 to 114 includes the externally connected external storage apparatus 115 (SP 108 ). If the management apparatus 117 obtains a negative result in the foregoing determination it proceeds to step SP 110 . Meanwhile, if the management apparatus 117 obtains a positive result in the foregoing determination, it executes the data migration which applies the second storage migration method described above with reference to FIG. 21 to FIG. 25 to each migration source logical device as the data migration target (SP 109 ).
Subsequently, the management apparatus 117 determines whether data migration to the migration destination storage apparatus 111 is complete regarding all migration source storage apparatuses 112 to 114 in which a part or all of the migration source logical volumes were selected as the migration target by the administrator (SP 110 ).
If the management apparatus 117 obtains a negative result in the foregoing determination, it returns to step SP 105 , and thereafter repeats the processing from step SP 105 to step SP 110 while sequentially changing the migration source storage apparatus 112 to 114 selected at step SP 105 to another migration source storage apparatus 112 to 114 .
When the management apparatus 117 eventually obtains a positive result at step SP 10 as a result of data migration to the migration destination storage 111 being completed regarding all migration source storage apparatuses 112 to 114 selected by the administrator, it ends the storage migration control processing.
As described above, according to this embodiment, in addition to the effects obtained in the first embodiment, a plurality of migration source storage apparatuses can be migrated to one migration destination storage apparatus.
(5) Other Embodiments
Note that, although the foregoing first to fourth embodiments explained a case of applying an Inquiry request of the SCSI standard as the configuration information acquisition request to be issued by the host computer 2 for acquiring the configuration information from the migration source storage apparatuses 3 A, 91 A, 101 A or the migration destination storage apparatuses 3 B, 91 B, 101 B, the present invention is not limited thereto, and other commands may also be applied.
›INDUSTRIAL APPLICABILITY
The present invention can be broadly applied to various computer system configured from a host computer and a storage apparatus.
›REFERENCE SIGNS LIST
1 , 90 , 100 , 110 . . . computer system, 2 . . . host computer, 3 A, 91 A, 101 A, 112 to 114 . . . migration source storage apparatus, 3 B, 91 B, 101 B, 111 . . . migration destination storage apparatus, 4 , 94 , 103 , 117 . . . management apparatus, 10 A, 10 B . . . storage device, 21 A, 12 B, 95 A, 95 B, 102 A, 102 B . . . control processor, 30 A, 30 B, 111 A to 115 A . . . port, 50 A, 120 , 124 . . . migration source logical device, 50 B, 125 , 128 . . . migration destination logical device, 50 C, 50 F to 50 H, 121 , 122 , 127 , 129 . . . virtual device, 50 D, 126 . . . backup logical device, 51 . . . virtualization information, 60 . . . logical device management table, 61 . . . virtual device management table, 62 . . . external device information table, 63 . . . pair management information table, 64 . . . path management table, 92 , 115 . . . external storage apparatus, 93 , 123 . . . external logical device.
Claims as granted
10 claimsLog in to read the claims of this application.
Log in to unlockClassifications
4 codes- G06F3/06
- G06F12/00
- G06F12/16
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock