This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2015-041061, filed on Mar. 3, 2015, the entire contents of which are incorporated herein by reference.
The embodiment discussed herein relates to an information processing apparatus, an information processing system, and a control program.
Conventionally, there is a technique for carrying out a service operation which involves performing remote equivalent copy (REC) for duplicating data in volumes of a storage device at an operations site to a storage device at a disaster measures site and then using the disaster measures site when the operations site is affected by a disaster. Further, there is a technique for performing one point copy (OPC) for copying data from a duplication source volume to a duplication target volume inside a storage device. When the disaster measures site is carrying out the service operation, OPC is taken over by the disaster measures site if the operations site is set to perform OPC.
Moreover, Japanese Laid-open Patent Publication No. 2009-026295 discusses a technique for transferring an association between a virtual port and a physical port created by the physical port to a transfer target server when a failure occurs in the physical port or in a link connected to the physical port as a related prior art. Further, when a failure occurs in a main logical volume, Japanese Laid-open Patent Publication No. 2014-049116 discusses a technique for transferring a virtual machine of a transfer source server to a transfer target server and changing an input/output (I/O) path between the transfer source server and the positive logical volume to a different I/O path between the transfer target server and a subsidiary logical volume.
However, according to the abovementioned prior art, there is a problem in specifying a combination of volumes corresponding to the duplication source volume and the duplication target volume during OPC at the operations site from the plurality of volumes of the storage device in the disaster measures site when OPC is taken over at the disaster measures site. Specifically, an administrator of the disaster measures site examines the REC setting contents and the OPC setting contents at the operations site and compares the two setting contents, and a certain amount of time is desired to specify the OPC setting contents at the disaster measures site.
An object of one aspect of the embodiment discussed herein is to provide an information processing apparatus, an information processing system, and a control program that are able to easily specify a combination of volumes corresponding to a combination of a duplication source volume and a duplication target volume for duplicating data in a duplication source storage device, from a plurality of volumes in a duplication target storage device.
According to an aspect of the invention, an information processing apparatus connected to a second storage device in which volumes in a first storage device are duplicated due to a first duplication processing for duplicating volumes of a source storage device to a duplication target storage device, wherein, the information processing apparatus has a control unit that: transmits, to the second storage device, combination information for indicating a combination of a first volume that is a duplication source and a second volume that is a duplication target when a second duplication processing for duplicating data between volumes in a same storage device is executed by the first storage device; and obtains, from the second storage device, combination information for indicating a combination of a volume in which the data of the first volume is duplicated and a volume in which data of the second volume is duplicated, respectively due to the first duplication processing.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
Detailed embodiments of the information processing apparatus, the information processing system, and the control program disclosed will be discussed hereinbelow with reference to the drawings.
The operations site s1 is a site for providing a business service. The disaster measures site s2 is a site for providing the business service in place of the operations site s1 when the operations site s1 is affected by a disaster. Therefore, the disaster measures site s2 is preferably installed in a location remote from the operations site s1 so as not to be affected by the same disaster that affects the operations site s1.
The operations site s1 has an information processing apparatus 101_s1 and a storage device 102_s1 as a first storage device. The disaster measures site s2 has an information processing apparatus 101_s2 and a storage device 102_s2 as a second storage device. The attached reference numeral “s1” pertains to the operations site s1. The attached reference numeral “s2” pertains to the disaster measures site s2.
The storage devices 102_s1 and s2 each have a plurality of volumes. Each of the volumes among the plurality of volumes has a logical unit number (LUN) attached thereto. In order to facilitate the following explanation, a volume having a LUN#x attached thereto is simply described as “LUN#x”. “x” is an integer equal to or greater than zero. The term “LUN” may be omitted and depicted simply as “#x” in
The storage device 102_s1 in the examples in
The information processing apparatuses 101_s1 and s2 are both computers for controlling the respective storage devices 102_s1 and s2. Specifically, the information processing apparatus 101_s1 is connected in an accessible manner to the storage device 102_s1. Similarly, the information processing apparatus 101_s2 is connected in an accessible manner to the storage device 102_s2. The information processing apparatus 101_s2 is a server for example. The information processing apparatus 101_s1 implements virtual servers v1_s1 and v2 which are virtual machines treated as servers by using software for implementing a server virtualization environment. The information processing apparatus 101_s2 implements a virtual server v1_s2 which is a virtual machine treated as a server using the software for implementing the server virtualization environment. While a hypervisor type or a host type may be used as methods for implementing the virtualization environment, the method used in the present embodiment may be either method. The virtual servers in
The virtual servers v1_s1 and s2 both have disaster measures software 111_s1 and s2 which is software for carrying out disaster measures, and copy control software 112_s1 and s2 which is software for controlling copying. The disaster measures software 111_s2 and the copy control software 112_s2 are in a standby state during normal operations.
The virtual server v2 is a server for executing the business service. While not illustrated in
The disaster measures software 111 instructs a duplication source storage device and a duplication target storage device to execute first duplication processing for duplicating data in each volume of the duplication source storage device to each volume in the duplication target storage device through the copy control software 112. In the example in
The copy control software 112 instructs a certain storage device to perform second duplication processing for duplicating the data between the volumes of the certain storage device. In the example in
After a disaster has occurred at the operations site s1, the copy control software 112_s2 in the information processing apparatus 101_s2 is executed so as the take over OPC in the same way as during normal operations.
The setting contents of the OPC is converted from contents of the operations site s1 to contents of the disaster measures site s2. However, there is a problem in specifying the combination of volumes corresponding to the duplication source volume and the duplication target volume during OPC of the operations site s1 from the plurality of volumes of the storage device 101_s2 when OPC is taken over at the disaster measures site s2. Specifically, an administrator of the disaster measures site s2 examines the REC setting contents and the OPC setting contents of the operations site s1 and compares the two setting contents, and a certain amount of time is desired to specify the OPC setting contents of the disaster measures site s2. The amount of time desired by the administrator increases in correspondence to an increase in the number of combinations of volumes included in the OPC setting contents of the operations site s1.
Accordingly, the information processing apparatus 101_s2 transfers the volume combinations of the copy source and copy target of OPC in the storage device 102_s1 to the storage device 102_s2, and obtains the volume combinations of the storage device 102_s2 corresponding to the combinations. A combination herein is information indicating a combination of two volumes. As a result, the information processing apparatus 101_s2 is able to use the REC setting contents and easily specify the OPC settings in the storage device 102_s2.
An explanation of operations by the information processing apparatus 101_s2 will be explained using
The storage device 102_s2 that receives the combination 121 refers to information 122 and retrieves a third volume and a fourth volume that copied the data of the duplication source volume and the duplication target volume according to REC from the storage device 102_s2 as illustrated by (2) in
In the example in
Next, the storage device 102_s2 transmits a combination 123 of the third volume and the fourth volume to the information processing apparatus 101_s2. In the example in
The information processing apparatus 101_s2 then obtains the combination 123 of the third volume and the fourth volume as indicated by (3) in
The CPU 201_s2 is an arithmetic processor for controlling the entire information processing apparatus 101_s2. Moreover, an administration node may have a plurality of CPUs. The ROM 202_s2 is a non-volatile memory for storing programs such a boot program and the like. The RAM 203_s2 is a volatile memory used as a work area by the CPU 201_s2.
The disk drive 204_s2 is a control device for controlling reading and writing with respect to the disk 205_s2 according to the control by the CPU 201_s2. A magnetic disc drive, an optical disk drive, or a solid-state drive may be used, for example, as the disk drive 204_s2. The disk 205_s2 is a non-volatile memory for storing data written according to the control of the disk drive 204_s2.
For example, if the disk drive 204_s2 is a magnetic disc drive, a magnetic disc may be used for the disk 205_s2. Moreover, if the disk drive 204_s2 is an optical disk drive, an optical disk may be used for the disk 205_s2. Moreover, if the disk drive 204_s2 is a solid-state drive, a semiconductor memory formed by semiconductor elements, that is a semiconductor disk, may be used for the disk 205_s2.
The communication interface 206_s2 is a control device for governing an internal interface with a network and for controlling the input and output of data to and from another device. Specifically, the communication interface 206_s2 is connected to another device over the network through a communication line. For example, a modem or a local area network (LAN) adaptor may be used for the communication interface 206_s2.
Moreover, when an administrator of the information processing system 100 operates the information processing apparatus 101_s2 directly, the information processing apparatus 101_s2 may also have hardware such as a display, a keyboard, and a mouse.
The CM 301_s2 has a CPU 311_s2, a memory 312_s2, a channel adaptor (CA) 313_s2, a remote adaptor (RA) 314_s2, and fiber channels (FC) 315_s2.
The CM 301_s2 is a device for controlling the entire storage device 102_s2. Specifically, the CM 301_s2 controls the resource management of the plurality of volumes 302_s2, the memory 312_s2, and the CA 313_s2, and controls the OPC and REC copying.
The CPU 311_s2 is an arithmetic processor for controlling the entire storage device 102_s2. The memory 312_s2 may be a non-volatile memory for storing programs such as a boot program or may be a volatile memory that acts as a work area for the CPU 311_s2.
The CA 313_s2 is a control device for governing the interface with the information processing apparatus 101_s2. The RA 314_s2 is a control device for controlling the remote connection between the storage device 102_s1 and the storage device 102_s2. The FCs 315_s2 are control devices for governing the interfaces with the plurality of volumes 302_s2.
(Example of Functional Configuration of Information Processing Apparatus 101_s2)
Moreover, the information processing apparatus 101_s2 is able to access copy pair information 410. The copy pair information 410 corresponds to the combination 121 depicted in
The transmitting unit 401 transmits the copy pair information 410 to the storage device 102_s2. A trigger for transmission may involve the transmitting unit 401 transmitting the copy pair information 410 to the storage device 102_s2 when, for example, the site performing the business service is switched to the disaster measures site s2 due to an operation by an administrator of the information processing system 100.
Further, the transmitting unit 401 may transmit the copy pair information 410 to the storage device 102_s2 in response to the virtual server v2 executed in the information processing apparatus 101_s1 as another information processing apparatus being transferred to the information processing apparatus 101_s2 as the host device. For example, the information processing apparatus 101_s2 monitors whether the virtual server v2 in the information processing apparatus 101_s1 is operating. The information processing apparatus 101_s2 then detects that the virtual server v2 in the information processing apparatus 101_s1 is shut down due to a disaster or the like. When the virtual server v2 in the information processing apparatus 101_s2 is restarted by using the data copied according to REC, the transmitting unit 401 transmits the copy pair information 410 to the storage device 102_s2 as if the transferred virtual server v2 has been transferred.
Further, the transmitting unit 401 determines that the identification information of the plurality of volumes in the storage device 102_s2 that recognizes the virtual server v2 after the virtual server v2 has been transferred, is different from the identification information of the plurality of volumes recognized by the virtual machine before the transfer of the virtual server v2. The identification information of the plurality of volumes recognized by the virtual machine before the transfer of the virtual server v2 is information that is copied from the storage device 102_s1 according to REC and obtained by the information processing apparatus 101_s2. The transmitting unit 401 may transmit the copy pair information 410 to the storage device 102_s2 if the identification information of the volumes recognized before and after the transfer of the virtual server v2 differs.
Using the example in
The obtaining unit 402 obtains the copy pair information 410 after the conversion from the storage device 102_s2 that receives the copy pair information 410. A detailed example of the copy pair information 410 is depicted in
(Example of Functional Configuration of Storage Device 102_s2)
Moreover, the storage device 102_s2 is able to access copy setting information 510. The copy setting information 510 corresponds to the information 122 depicted in
Upon receiving the copy pair information 410, the retrieving unit 501 refers to the copy setting information 510 and retrieves the third volume that is the data of the first volume copied according to REC among the plurality of volumes of the storage device 102_s2. The retrieving unit 501 retrieves the fourth volume that is the data of the second volume copied according to REC among the plurality of volumes of the storage device 102_s2.
The transmitting unit 502 transmits, to the information processing apparatus 101_s2, the copy pair information 410 after the conversion obtained from the combination of the third volume and the fourth volume detected by the retrieving unit 501. Further, the transmitting unit 502 may include the identification information of the storage device 102_s2 as the storage device that is the copy object in the copy pair information 410 after the conversion.
The session ID field stores identification information for identifying a session. The session type field stores identification information for indicating the type of session. The copy source LUN filed stores an identification number of the volume that is the copy source. The copy target LUN filed stores an identification number of the volume that is the copy target. The copy source device identifier field stores identification information of the storage device affiliated with the volume that is the copy source. The copy target device identifier field stores identification information of the storage device affiliated with the volume that is the copy target.
For example in the record 601-1, the copy source device is indicated as the storage device 102_s1, the REC copy source LUN is indicated as the LUN#0, the copy target device is indicated as the storage device 102_s2, and the REC copy target LUN is indicated as the LUN#10.
The storage device 102_s2 that receives the copy setting information verification instruction refers to the copy setting information 510 and performs LUN conversion processing. Specifically, the storage device 102_s2 retrieves, from the copy setting information 510, the REC session that has the REC copy source LUN having the same value as the OPC copy source included in the copy setting information verification instruction. Further, the storage device 102_s2 retrieves, from the copy setting information 510, the REC session that has the REC copy source LUN having the same value as the OPC copy target included in the copy setting information verification instruction.
When the copy setting information 510 depicted in
The storage device 102_s2 then transmits a copy setting information verification reply indicating the copy target device identifier and the REC copy target LUN of the detected REC session, to the information processing apparatus 101_s2. Using the abovementioned example, the storage device 102_s2 sets the copy target device identifier of the detected REC session to the storage device 102_s2 that is the copy target device identifier in the records 601-2 and 601-3. Further, the storage device 102_s2 sets the REC copy target LUN to the LUN#11 that is the REC copy target LUN in the record 601-2 and to the LUN#12 that is the REC copy target LUN in the record 601-3.
The information processing apparatus 101_s2 that receives the copy setting information verification reply uses the obtained copy setting information verification reply to convert the copy pair information 410. Copy pair information 410_2 depicted in
Next, a flow chart of the copy pair information conversion processing executed by the information processing apparatus 101_s2 will be explained using
The information processing apparatus 101_s2 restarts the virtual server v2 by switching sites using the disaster measures software 111_s2 (step S801). Next, the information processing apparatus 101_s2 reconfirms the devices using the copy control software 112_s2 (step S802). The information processing apparatus 101_s2 then refers to the copy pair information 410 held at the previous restart using the copy control software 112_s2 (step S803). Next, the information processing apparatus 101_s2 determines whether any of the devices in the copy pair information 410 have changed using the copy control software 112_s2 (step S804).
The method for determining in step S804 involves determining whether the identification information of the plurality of volumes recognized by the virtual server v2 after the transfer of the virtual server v2, is different from the identification information of the plurality of volumes recognized by the virtual machine before the transfer of the virtual server v2. If the identification information before and after the transfer is different, the information processing apparatus 101_s2 determines that the devices in the copy pair information 410 have been changed. If the identification information before and after the transfer is the same, the information processing apparatus 101_s2 determines that the devices in the copy pair information 410 have not been changed.
If the devices in the copy pair information 410 have changed (step S804: Yes), the information processing apparatus 101_s2 uses the copy control software 112_s2 to transmit the copy setting information verification instruction to the storage device 102_s2 at the disaster measures site s2 (step S805). The storage device 102_s2 that receives the copy setting information verification instruction executes the LUN conversion processing depicted in
The information processing apparatus 101_s2 then obtains the copy setting information verification reply from the storage device 102_s2 at the disaster measures site s2 (step S806). The information processing apparatus 101_s2 then uses the copy control software 112_s2 to rebuild the copy pair information 410 to information that indicates the volumes of the storage device 102_s2 at the disaster measures site s2 by using the copy setting information verification reply (step S807).
After the conversion in step S807 is finished, or if the devices in the copy pair information 410 have not been changed (step S804: No), the information processing apparatus 101_s2 finishes the copy pair information conversion processing after switching the site. By executing the copy pair information conversion processing after switching the site, the information processing apparatus 101_s2 is able to convert the copy pair information 410 to the environment of the disaster measures site s2 after the switching of the site.
The storage device 102_s2 then determines whether the respective REC sessions retrieved in steps S902 and S903 have been detected (step S904). If the respective REC sessions have been detected (step S904: Yes), the storage device 102_s2 transmits the copy setting information verification reply including the copy target device identifier and the REC copy target LUN from the detected REC session, to the instruction transmission source (step S905). However, if the respective REC sessions have not been detected (step S904: No), the storage device 102_s2 transmits a copy setting information verification reply which indicates that there is no applicable logical unit (LU), to the instruction transmission source (step S906).
After the processing of either step S905 or step S906 is finished, the storage device 102_s2 finishes the LUN conversion processing. By executing the LUN conversion processing, the storage device 102_s2 is able to convert the LUNs of the storage device 102_s1 to the LUNs corresponding to the storage device 102_s2.
As described above, the copy pair information 410 that is the OPC settings of the storage device 102_s1 is transmitted by the information processing apparatus 101_s2 to the storage device 102_s2 to obtain the copy pair information 410 that becomes the OPC settings of the storage device 102_s2. As a result, the information processing apparatus 101_s2 is able to use the REC setting contents and easily specify the OPC settings in the storage device 102_s2. The information processing apparatus 101_s2 furthermore is able to switch the copy pair information 410 from the operations site s1 to the disaster measures site s2 without carrying out settings due to the assistance of the administrator of the disaster measures site s2.
Further, the information processing apparatus 101_s2 may transmit the copy pair information 410 to the storage device 102_s2 in response to the virtual server v2 executed in the information processing apparatus 101_s1 being transferred to the information processing apparatus 101_s2. As a result, the information processing apparatus 101_s2 is able to switch the copy pair information 410 from the operations site s1 to the disaster measures site s2 in response to the detection of a disaster, and is able to quickly carry out the execution of OPC within the disaster measures site s2.
Moreover, the information processing apparatus 101_s2 may transmit the copy pair information 410 to the storage device 102_s2 when the identification information differs between the volumes recognized before and after the transfer of a virtual machine. Therefore, the information processing apparatus 101_s2 does not transmit the copy pair information 410 to the storage device 102_s2 if the LUN identification information of the operations site s1 and the disaster measures site s2 matches and the copy pair information 410 does not have to be converted. As a result, the information processing apparatus 101_s2 is able to limit the load applied to the disaster measures site s2.
While an explanation of the information processing system 100 including the operations site s1 and the disaster measures site s2 has been discussed in the above embodiment, the present embodiment is not limited in this way. For example, the embodiment discussed herein may be applied to an information processing system including the operations site s1 and a verification site for verifying the operations of the operations site s1. An information processing apparatus at the verification site executes the control method executed by the information processing apparatus 101_s2 whereby the information processing apparatus of the verification site is able to set the OPC settings of the verification site without assistance from an administrator of the verification site.
The control method executed by the information processing apparatus 101_s2 described in the present embodiment may be realized by executing a program prepared in advance using a computer such as a personal computer or a workstation. Furthermore, the control program may be recorded on a hard disk, a flexible disk, a compact disc-read only memory (CD-ROM), a digital versatile disk (DVD) or another type of computer-readable recording medium so that the control program may be executed by being read from the recording medium by the computer. The control program may also be distributed through a communication network such as the internet and the like.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment of the present invention has been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2015-041061 | Mar 2015 | JP | national |