US20060248381A1 - Remote copy processing method, program, and system - Google Patents

Remote copy processing method, program, and system Download PDF

Info

Publication number
US20060248381A1
US20060248381A1 US11/182,846 US18284605A US2006248381A1 US 20060248381 A1 US20060248381 A1 US 20060248381A1 US 18284605 A US18284605 A US 18284605A US 2006248381 A1 US2006248381 A1 US 2006248381A1
Authority
US
United States
Prior art keywords
raid device
session
session information
copy
chassis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US11/182,846
Other versions
US7434094B2 (en
Inventor
Kenichi Fujita
Haruyuki Matsuo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Assigned to FUJITSU LIMITED reassignment FUJITSU LIMITED ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FUJITA, KENICHI, MATSUO, HARUYUKI
Publication of US20060248381A1 publication Critical patent/US20060248381A1/en
Application granted granted Critical
Publication of US7434094B2 publication Critical patent/US7434094B2/en
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/16Protection against loss of memory contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2056Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
    • G06F11/2069Management of state, configuration or failover
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Definitions

  • the present invention relates to a remote copy processing method, a program, and a system for establishing and executing a session in which a volume of a RAID device connected to a host serves as a copy source and a volume of another RAID device connected thereto by an inter-chassis path serves as a copy destination; and particularly relates to a remote copy processing method, a program, and a system for establishing and executing again the same session, according to instructions from the host, when the path is connected after the session is suspended due to blockage of the inter-chassis path during copying.
  • the RAID device 202 for backup having no host is connected to the business-use RAID device 200 which is connected to the host 204 by the inter-chassis path 212 , and, according to a copy-instruction start command and session information issued from the host 204 , a copy session is established between the RAID devices 200 and 202 , thereby executing remote copy, so as to generate a volume for backup in the RAID device 202 .
  • a copy-instruction start command and session information issued from the host 204 a copy session is established between the RAID devices 200 and 202 , thereby executing remote copy, so as to generate a volume for backup in the RAID device 202 .
  • the RAID device 202 of the copy destination is not connected to any host, when over the remote copy from the beginning.
  • the RAID device 202 for backup having no host is connected to the business-use RAID device 200 which is connected to the host 204 by the inter-chassis path 212 , and, according to a copy-instruction start command and session information issued from the host 204 , a copy session is established between the RAID devices 200 and 202 , thereby executing remote copy, so as to generate a volume for backup in the RAID device 202 .
  • the present invention is to provide a remote copy processing method, a program, and a system which enable quick start over of forcibly released remote copy by efficiently deleting the session information remaining in the copy destination having no host by instructions from a host connected to the copy source.
  • the present invention provides a remote copy processing method.
  • the present invention is characterized by comprising, in a remote copy processing method having a first RAID device of a copy source connected to a host and a second RAID device of a copy destination connected to the first RAID device via an inter-device path (inter-chassis path), for establishing a session according to a copy instruction from the host and based on session information, and, according to the session information, establishing and executing the session for transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as the copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path (inter-chassis path),
  • chassis identifier acquisition step an entry number having a short data length and forming a pair with the chassis identifier as the chassis identifier of the second RAID device is acquired;
  • the present invention provides a program executed by the computer of the host.
  • the program of the present invention is characterized by causing the computer of the host having a first RAID device connected to the host and a second RAID device connected to the first RAID device via an inter-device path, for establishing a session according to a copy instruction from the host and based on session information, and transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as a copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path to execute
  • the present invention provides a remote copy processing system. That is, the present invention is characterized by comprising, in a remote copy processing system having a first RAID device connected to a host and a second RAID device connected to the first RAID device via an inter-device path, for establishing a session according to a copy instruction from the host and based on session information, and, according to the session information, establishing and executing a session for transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as a copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path,
  • the session information remains in the RAID device of the copy destination, after the session is established between the RAID device of the copy source connected to the host and the RAID device of the copy destination connected to no host, and the session of the copy source RAID device is forcibly terminated due to blockage of the inter-chassis path occurred during execution of remote copy;
  • the inter-chassis path is connected, by virtue of instructions from the host connected to the copy source, the session remaining in the copy destination can be deleted by issuing commands, man-made operations of the maintenance personal computer of the copy destination are made unnecessary, and, even if the copy destination is present in a remote place like a backup center, as an error recovery process of the host, the session information remaining in the copy destination is quickly deleted, and the forcibly stopped session is established again, thereby resuming the remote copy.
  • FIG. 1 is an explanatory drawing of a conventional remote copy process in a case in which a copy source RAID device and a copy destination RAID device are connected to hosts, respectively;
  • FIG. 2 is a explanatory drawing of a conventional remote copy process in a case in which a copy source RAID device is connected to a host and a copy destination RAID device is not connected to any host;
  • FIG. 3 is a block diagram of a system functional configuration of a remote copy process according to the present invention.
  • FIG. 4 is a block diagram of a hardware configuration of the host
  • FIG. 5 is a block diagram of a hardware configuration of the RAID device of FIG. 3R ;
  • FIG. 6 is a block diagram of a functional configuration of the RAID device of FIG. 5 ;
  • FIG. 7 is an explanatory drawing of a command list provided by a command interface of the host of the present invention.
  • FIG. 8 is an explanatory drawing of the start command used in the present invention.
  • FIG. 9 is an explanatory drawing of the session information which is transferred by the start command of FIG. 8 ;
  • FIG. 10 is an explanatory drawing of the remote chassis identifier acquisition command which is used in the present invention.
  • FIG. 11 is an explanatory drawing of effective remote chassis identifier information which is acquired by the remote chassis identifier acquisition command of FIG. 10 ;
  • FIG. 12 is an explanatory drawing of the session information acquisition command which is used in the present invention.
  • FIG. 13 is an explanatory drawing of the session information acquired from the copy destination by the session information acquisition command of FIG. 12 ;
  • FIG. 14 is an explanatory drawing of the detailed session information in FIG. 13 ;
  • FIG. 15 is an explanatory drawing of the stop command which is used in the present invention.
  • FIG. 16 is an explanatory drawing of the session information which is to be transferred to the copy destination by the stop command of FIG. 15 ;
  • FIGS. 17A to 17 C are time charts of a remote copy process according to the present invention involving blockage of the inter-chassis path;
  • FIGS. 18A and 18B are flow charts of the remote copy process performed by the host of FIG. 3 ;
  • FIGS. 19A and 19B are flow charts of the copy source process performed by the first RAID device of FIG. 3 ;
  • FIGS. 20A and 20B are flow charts of the copy destination process performed in the second RAID device of FIG. 3 .
  • FIG. 3 is a block diagram of a system functional configuration of a remote copy process according to the present invention.
  • the system for executing the remote copy process of the present invention comprises a host 10 , a first RAID device 12 serving as a copy source, and a second RAID device 14 serving as a copy destination.
  • the first RAID device 12 serving as the copy source is connected to the host 10 by a host path 16 .
  • the first RAID device 12 and the second RAID device 14 are connected by an inter-chassis path 18 .
  • either one or both of a mainframe-based host and an open-based host may be connected by separate paths.
  • the inter-chassis path 18 connecting the first RAID device 12 and the second RAID device 14 is connected by, for example, a Fiber Channel path, and if remote, it is connected via a WAN by use of the host path 16 and a converter, or connected by a dedicated line such as an ATM line.
  • the host 10 is a mainframe, it executes operation processes of core tasks, and, in addition to the functions of the core tasks, it is provided with functions of a copy processing unit 20 for remote copy according to the present invention.
  • the first RAID device 12 and the second RAID device 14 are provided with functions of copy control units 22 and 24 , respectively, for executing remote copy according to instructions from the host 10 .
  • a remote copy instruction unit 30 is provided in the copy processing unit 20 of the host 10 ; and when a command and session information are issued according to an instruction of the remote copy instruction unit 30 , a session is established between the first RAID device 12 and the second RAID device 14 , and remote copy in which the first RAID device 12 serves as a copy source and the second RAID device 14 serves as a copy destination is executed.
  • basic processes of the remote copy in the present invention will be explained as the following.
  • the remote copy according to the present invention is remote equivalent copy (Remote Equivalent Copy), which is a function of copying entire or partial data of a primary volume 26 of the first RAID device 12 , which has been specified as the copy source, to the same track position (CCHH) of a secondary volume 28 of the second RAID device 14 , which has been specified as the copy destination, through data transfer via the inter-chassis path 18 .
  • Remote Equivalent Copy is a function of copying entire or partial data of a primary volume 26 of the first RAID device 12 , which has been specified as the copy source, to the same track position (CCHH) of a secondary volume 28 of the second RAID device 14 , which has been specified as the copy destination, through data transfer via the inter-chassis path 18 .
  • remote equivalent copy Remote Equivalent Copy
  • the host 10 when track data of the primary volume 26 which has already been transferred to the secondary volume 28 is updated by the host 10 , data transfer for reflecting the newly updated data to the secondary volume 28 is performed.
  • the primary volume 26 and the secondary volume 28 are operated in a duplex state. This is called a duplex pair. While the duplex pair is set, the host 10 can access it as a single volume. After the duplex pair is cancelled when the remote copy is terminated in response to a stop command from the remote copy instruction unit 30 of the host, they can be accessed as two independent volumes.
  • the remote copy is to be started according to a start command from the remote copy instruction unit 30 of the host 10 , via the inter-chassis path 18 between the first RAID device 12 and the second RAID device 14 , session information 46 - 1 and 46 - 2 is transferred together with the start command, and based on the session information 46 - 1 and 46 - 2 , a session for the remote copy between the first RAID device 12 and the second RAID device 14 is established, thereby copying entire or partial data of the primary volume 26 , which has been specified by the host 10 , to the same track position of the secondary volume 28 through data transfer of the inter-chassis path 18 .
  • the remote copy instruction unit 30 of the host 10 recognizes the blockage of the inter-chassis path 18 , and operates a copy source session releasing unit 32 , thereby instructing the first RAID device 12 to perform forcible stop of the session so as to cause it to delete the session information 46 - 1 .
  • the instruction by the copy source session releasing unit 32 for forcibly stopping the session is transmitted to the second RAID device 14 and effectively works; however, if the inter-chassis path 18 is blocked, forcible stop of the session of the second RAID device 14 cannot be executed, and the session information 46 - 2 of the forcibly terminated session remains in the second RAID device 14 .
  • the remote copy instruction unit 30 tries to establish a session of remote copy between the first RAID device 12 and the second RAID device by issuing a start command using the same session information.
  • the copy destination session releasing unit 34 causes the session information 46 - 2 remaining in the second RAID device 14 to be deleted by an instruction given via the first RAID device 12 .
  • the process performed by the copy destination session releasing unit 34 is executed by the functions of a chassis identifier acquisition unit 36 , a session information acquisition unit 38 , and a session information deleting unit 40 .
  • the deleting process of the session information 46 - 2 of the copy destination is according to the following procedure.
  • the chassis identifier acquisition unit 36 issues an instruction command for acquiring a chassis identifier to the second RAID device 14 via the first RAID device 12 , and acquires the identifier of the chassis, from the second RAID device 14 , which is permitted to perform communication between the session-established chassis.
  • the session information acquisition unit 38 issues, to the second RAID device 14 via the first RAID device 12 , an instruction command for acquiring session information specifying the chassis identifier of the copy destination, which has been obtained by the chassis identifier acquisition unit 36 , i.e., the remote chassis identifier and the secondary volume 28 , thereby acquiring the remaining session information 46 - 2 from the second RAID device 14 .
  • the session information deleting unit 40 issues, to the second RAID device 14 via the first RAID device 12 , a command serving as an instruction for deleting the session information of the second RAID device 14 serving as the copy destination, and the session information 46 - 2 remaining in the second RAID device 14 which has been acquired by the session information acquisition unit 38 , thereby causing the session information 46 - 2 remaining in the second RAID device 14 to be deleted.
  • the remote copy instruction unit 30 again issues a start command for starting the aborted session and the session information; according to the start command and the session information, the first RAID device 12 and the second RAID device 14 effectively establish a session for remote copy; and, in accordance with the establishment of the remote copy aborted in the inter-chassis path 18 , i.e., the session, a process of transferring entire or partial data of the primary volume 26 which has been specified by the host 10 to the same track position of the secondary volume 28 of the second RAID device 14 via the inter-chassis path 18 and writing it therein is performed, thereby performing recovery of the aborted remote copy.
  • the session information remaining in the copy destination can be simply and readily deleted by instructions from the host 10 after the inter-chassis path 18 is connected, and even if no host is connected to the copy destination, the session information remaining in the copy destination can be simply and readily deleted by instructions from the host connected to the copy source, thereby starting over the session of the aborted remote copy.
  • FIG. 4 is a block diagram of a hardware configuration of a computer used for the host 10 of FIG. 3 .
  • a RAM 104 connected to a bus 102 of MPU 100 are a RAM 104 , a ROM 106 , a hard disk drive 108 , an input/output device controller 110 to which a keyboard 112 and a display 116 are connected, and a network adapter 118 for connecting the host path 16 .
  • the hard disk drive 108 has a program for executing copy processes of the host 10 loaded thereon, which is read out by the hard disk drive 108 upon startup of the computer, deployed in the RAM 104 , and executed by the MPU 100 .
  • Programs for operation processes performed by the host are also loaded on the hard disk drive 108 , wherein the operation programs are deployed in the RAM 104 upon startup of the computer and executed by the MPU 100 , thereby executing operation processes of the host.
  • FIG. 5 is a block diagram of a hardware configuration of the first RAID device of FIG. 3 .
  • the second RAID device 14 also has the same hardware configuration.
  • the first RAID device 12 is provided with channel adapters 48 - 1 and 48 - 2 having CPUs 49 provided therein, control modules 50 - 1 to 50 - n , background routers 52 - 1 and 52 - 2 , disk devices 54 - 1 to 54 - 4 such as hard disk drives having a redundant configuration of RAID, and front routers 64 - 1 and 64 - 2 .
  • eight control modules can be mounted on the largest arrangement of the first RAID device 12 .
  • the channel adapters 48 - 1 and 48 - 2 are provided with the CPUs 49 , and connect the mainframe-based host 10 to the control module 50 - 1 .
  • the channel adapters 58 - 1 and 58 - 2 connect an open-based host such as a UNIX (R)/IA server, and, in the present invention, the channel adapter 58 - 1 is further connected to the inter-chassis path 18 and connected to the second RAID device 14 of the copy destination via a network 45 such as a WAN.
  • each of the control modules 50 - 1 to 50 - n as representatively shown in the control module 50 - 1 , a CPU 55 , a communication unit 56 , a cache memory 60 , and device interfaces 62 - 1 and 62 - 2 are provided.
  • the CPU 55 executes, by program control, resource processes, cache processes, RAID control, and copy control including the remote copy according to the present invention in the first RAID device 12 .
  • the front routers 64 - 1 and 64 - 2 connect other control modules 50 - 2 (not shown) to 50 -n to the control module 50 - 1 , thereby multiplexing the control.
  • Each of the control modules 50 - 1 to 50 - n is connected to the background routers 52 - 1 and 52 - 2 , so as to perform data input/output processes according to RAID control performed by the CPUs 55 of the control module side.
  • FIG. 6 is a block diagram of a functional configuration of the first RAID device of FIG. 5 .
  • functions of the control module 50 - 1 are realized by program control of the CPU 55 provided in the control module 50 - 1 of FIG. 5 , thereby forming a resource processing unit 66 , a cache processing unit 68 , a RAID control unit 70 , and a copy control unit 22 .
  • the copy control unit 22 is provided with the function of copy processing unit 42 as shown in FIG. 3 , and, when the copy source processing unit operates, the volume is used as the primary volume 26 serving as the copy source.
  • a RAID device such as GR800 or ETERNUS6000 which are products of FUJITSU Co., Ltd may be used.
  • FIG. 7 is an explanatory drawing of a command list which is for remote copy and provided by a command interface provided in the host 10 of FIG. 3 .
  • the command list 74 prepared are a physical information acquisition command 76 , a session ID acquisition command 78 , a start command 80 , a stop command 82 , a session information acquisition command 84 , a suspend command 86 , a resume command 88 , and a remote chassis identifier acquisition command 90 .
  • the physical information acquisition command 76 acquires a chassis identifier and a physical device number.
  • the session ID acquisition command 78 acquires a session ID of a remote copy process.
  • the start command 80 registers and executes remote copy.
  • Execution of the start command 80 includes transfer of session information.
  • the stop command 82 terminates a remote copy process.
  • “X‘01’” is specified as a remote flag provided as a parameter of the stop command 82 , the command can be used for deleting the session information remaining only in the companion chassis which is serving as the copy destination.
  • the session information acquisition command 84 acquires the session information of remote copy.
  • the suspend command 86 suspends remote copy.
  • the resume command 88 resumes suspended remote copy.
  • the remote chassis identifier acquisition command 90 acquires the identifier (box ID) of the remote chassis which has been permitted to perform communication between the chassis which are required for starting remote copy.
  • box ID the copy destination session releasing unit 34 of the host 10 shown in FIG.
  • the chassis identifier acquisition unit 36 issues the remote chassis identifier acquisition command 90 , thereby acquiring the remote chassis identifier.
  • the session information acquisition unit 38 issues the session information acquisition command 84 specifying the secondary volume 28 and the acquired remote chasses identifier, thereby acquiring the session information 46 - 2 of the copy destination.
  • the session information deleting unit 40 issues the stop command 82 specifying “X‘01’” as the remote flag, and transfers the session information of the copy destination which has been acquired by the session information acquisition unit 38 , the session information 46 - 2 remaining in the second RAID device 14 is deleted.
  • the physical information acquisition command 76 , the session ID acquisition command 78 , the session information acquisition command 84 , and the remote chassis identifier acquisition command 90 can be called as read-based commands, since data is transferred from the issue source along with issue of the commands.
  • the start command 80 , the stop command 82 , the suspend command 86 , and the resume command 88 can be called as write-based commands, since data transfer to the issue source is performed simultaneously with the command issue.
  • FIG. 8 is an explanatory drawing of the start command 80 of the present invention which is used in remote copy.
  • the start command 80 is for performing registration and execution for starting the remote copy, and is provided with the following functions.
  • FIG. 9 is an explanatory drawing of the session information 46 which is transferred by the start command 80 of FIG. 8 .
  • the session information 46 mainly comprises:
  • FIG. 11 is an explanatory drawing of effective chassis identifier information 95 which is notified by the remote chassis identifier acquisition command 90 of FIG. 10 .
  • the effective chassis identifier information 95 includes the following information.
  • FIG. 12 is an explanatory drawing of the session information acquisition command 84 which is used in the present invention.
  • the session information acquisition command 84 acquires detailed information of a particular session or detailed session information of a particular volume.
  • the detailed information of the session information 46 - 2 remaining in the second RAID device 14 which is serving as the copy destination shown in FIG. 3 is acquired. Therefore, “X‘06’” is set as the information type in Byte 4, thereby specifying detailed remote session information of a particular volume (mainframe logical unit MLU).
  • the information type is “X‘06’” as the entry number “fcu number” of Byte 5
  • the value of the entry number 98 obtained from the effective chassis identifier information 95 of FIG. 11 which has been acquired by the remote chassis identifier acquisition command 90 of FIG. 10 for example, “X‘00’” is set.
  • the information type is “X‘06’” in Byte 6 to 7
  • the volume number of the companion chassis which is serving as the copy destination specifically, a mainframe logical unit number “MLU number” is set.
  • session information acquisition command 84 specifying such information type, an entry number, and a companion chassis module logical unit number, i.e., a volume number is issued to the second RAID device 14 via the first RAID device 12 of FIG. 3 , notification of the session information 46 of FIG. 13 can be received.
  • the session information 46 of FIG. 13 has the following description.
  • FIG. 15 is an explanatory drawing of the stop command 82 which is used in the present invention.
  • the stop command 82 terminates the remote copy process which is performed on the primary volume and the secondary volume.
  • the copy terminating process performs the following processes.
  • FIG. 16 is an explanatory drawing of the session information 46 which is to be transferred to the copy destination by the stop command 82 of FIG. 15 .
  • the session information 46 is the session information 46 of FIG. 13 which has been acquired by the session information acquisition command 84 of FIG. 12 , wherein merely the detailed session information 94 - 1 of the copy destination is provided as detailed session information, and the description of the detailed session information 94 - 1 is as shown in FIG. 14 .
  • FIGS. 17A to 17 C are time charts of a remote copy process according to the present invention involving blockage of the inter-chassis path.
  • the host 10 issues the start command of remote copy and session information in step S 1 , they are transferred to each of the first RAID device 12 of a copy source and the second RAID device 14 of a copy destination, and, in step S 101 , the first RAID device 12 establishes a session by pairing the primary volume 26 of its own with the secondary volume 28 of the copy destination.
  • the second RAID device 14 establishes the session by pairing the secondary volume 28 of its own with the primary volume 26 of the copy source.
  • step S 102 the first RAID device reads out the host-specified area of the primary volume 26 and transfers it to the second RAID device 14 via the inter-chassis path 18 ; and in step S 202 , the second RAID device 14 executes remote copy of writing the transferred data to the same track position of the secondary volume 28 . If blockage occurs in the inter-chassis path 18 during execution of such remote copy, the host 10 , the first RAID device 12 , and the second RAID device 14 detect the inter-chassis path blockage in step S 2 , S 103 , and S 203 , respectively.
  • the host 10 which has detected the inter-chassis path blockage in step S 2 issues the forcible stop command to the first RAID device 12 of the copy source in step S 3 .
  • the first RAID device 12 releases the session in step S 104 , thereby deleting the session information 46 - 1 .
  • the forcible command from the host 10 cannot be delivered to the second RAID device 14 of the copy destination, and the second RAID device 14 suspends the session in step S 204 in accordance with the inter-chassis path blockage, thereby coming into a halt state.
  • the host 10 , the first RAID device 12 , and the second RAID device 14 detect the connection of the inter-chassis path 18 in steps S 4 , S 105 , and S 205 , respectively.
  • the host 10 which has detected the connection of the inter-chassis path 18 issues the start command of the session, which has been forcibly suspended in step S 5 , to the first RAID device 12 and the second RAID device 14 .
  • an error response is returned with respect to the start command in step S 206 .
  • the host 10 which has received the error response from the second RAID device 14 starts a process in step S 6 for deleting the session information 46 - 2 remaining in the copy destination.
  • the command for acquiring the copy destination chassis identifier is issued in step S 6
  • the second RAID device 14 makes a response with the chassis identifier of the copy destination in step S 207 .
  • the copy destination session information acquisition command specifying the chassis identifier of the copy destination and the secondary volume 28 is issued, and, accordingly, the second RAID device 14 makes a response with the session information of the copy destination in step S 208 .
  • step S 8 the host 10 issues the stop command specifying deletion of the session information 46 - 2 of the copy destination, and transfers the acquired session information of the copy destination.
  • the second RAID device 14 of the copy destination deletes the remaining session information 46 - 2 in step S 209 , and makes a response to the host 10 that the deletion has been normally completed in step S 210 .
  • the host 10 issues the start command of the forcibly terminated session again in step S 9 ; as a result, the first RAID device 12 and the second RAID device 14 establish a session in steps S 106 and S 211 , respectively, and, remote copy is executed in steps S 107 and S 212 in the same manner as the case of steps S 102 and 202 , i.e., the data of the area of the primary volume 26 specified by the host is read out, transferred via the inter-chassis path 18 , and written to the same track position of the secondary volume 28 .
  • FIGS. 18A and 18B are a flow chart of the remote copy process performed by the host 10 of FIG. 3 .
  • the start command and the session information are issued in step S 1 , thereby giving an instruction of remote copy.
  • step S 2 whether or not there is blockage of the inter-chassis path is checked in step S 2 , and, if the blockage is detected, the forcible stop command is issued in step S 3 .
  • step S 4 whether or not the inter-chassis path is connected is checked in step S 4 , and, if the connection is detected, the start command of the forcibly stopped session is issued in step S 5 .
  • step S 7 the copy destination chassis identifier acquisition command is issued. If the chassis identifier is acquired from the copy destination in step S 8 , the session information acquisition command specifying the chassis identifier and the secondary volume of the copy destination is issued in step S 9 . When, in response to this, the session information is acquired from the copy destination in step S 10 , the stop command specifying deletion of the session information of the copy destination and the acquired copy destination session information is issued in step S 11 . Then, in step S 12 , when a copy destination session information deletion notification from the copy destination is received, the series of operations is stopped, and the process from step S 1 is repeated until a stop instruction is given in step S 13 .
  • FIGS. 19A and 19B are flow charts of the copy source process performed by the first RAID device 12 of FIG. 3 .
  • the process proceeds to step S 2 wherein, according to the session information notified with the start command, a session with the copy destination is established, thereby executing. remote copy.
  • step S 3 whether or not the inter-chassis path 18 is blocked is checked in step S 3 , and, if there is no blockage, whether or not the stop command from the host is received is checked in step S 4 .
  • step S 5 If the stop command from the host is received, the session is released by the stop command in step S 5 , thereby establishing volumes maintaining equivalence between the copy source and the copy destination.
  • step S 6 if blockage of the inter-chassis path is detected during remote copy in step S 3 , the process proceeds to step S 6 wherein the session is released according to the forcible stop command from the host 10 , thereby deleting the session information of the chassis of its own, and connection of the inter-chassis path is waited for in step S 7 .
  • step S 8 When the connection of the inter-chassis path is detected, the process proceeds to step S 8 wherein it tries to start a session in the copy destination according to the start command from the host 10 .
  • step S 10 if command failure is received from the copy destination, the process proceeds to step S 10 . If the command is successful in step S 9 , the process returns to step S 2 wherein a session with the copy destination is established so as to resume remote copy. After the command failure is received from the copy destination and notified to the host in step S 9 , in step S 10 , the entry number “fcu number” of the copy destination is acquired according to the chassis identifier acquisition command from the host 10 , and notified to the host 10 . Subsequently, in step S 11 , the session information of the copy destination is acquired according to the session information acquisition command from the host and notified to the host 10 .
  • steps S 10 to S 13 are processes of relaying commands and transfer data between the host and the second RAID device 14 of the copy destination. Then, until a stop instruction is given in step S 14 , the process from the step S 1 is repeated.
  • FIGS. 20A and 20B are flow charts of the copy destination process performed in the second RAID device 14 of FIG. 3 .
  • FIGS. 20A and 20B when the start command and the session information are acquired from the copy source in step S 1 , a session with the copy source is established, thereby executing remote copy in step S 2 . Subsequently, whether or not the inter-chassis path is blocked is checked in step S 3 , and, when the blockage is detected, a halt state is obtained due to the session suspension in step S 4 .
  • connection of the inter-chassis path is checked in step S 5 , and, when the connection is detected, the start command of the session which is same as the suspended session from the copy source is detected in step S 6 and the process proceeds to step S 7 wherein, since the session information is remaining, a command error occurs and an error response is returned.
  • the chassis identifier acquisition command is received from the copy source in step S 8
  • a response is made with the chassis identifier of the session information in step S 9 .
  • the session information acquisition command is received from the copy source in step S 10
  • a response is made with the suspended session, i.e., the remaining session information in step S 11 .
  • the present invention provides a program for the processes of the remote copy executed by the host 10 of FIG. 3 ; wherein the program has the description that is according to the flow chart of FIGS. 18A and 18B , and, in remote copy using the commands provided by the command interface of the host shown in the command list shown in FIG.
  • the program upon blockage of the inter-chassis path during remote copy, the program is capable of executing a copy destination session information deleting process in which the session information remaining in the copy destination is deleted by an instruction given from the host to the copy source.
  • the above described embodiment employs an example operation in which commands are input from the host 10 to the first RAID device 12 of the copy source, thereby deleting the session information of the RAID device 14 of the copy destination; however, inversely, a session may be established according to instructions from the host 10 with the second RAID device 14 serving as the copy source and the first RAID device 12 serving as the copy destination so as to perform remote copy.
  • the present invention is capable of similarly processing procedures as long as, in the procedures, commands are input to the first RAID device 12 of the copy source so as to execute setting and operations with respect to the second RAID device 14 of the copy destination.
  • Such procedures causing the second RAID device 14 of the copy destination, which is connected by the inter-chassis path 18 , to execute processes by inputting commands from the host 10 to the first RAID device of the copy source include, for example, the following.

Abstract

According to a copy instruction from a host, a session in which entire or partial data of a primary volume of a first RAID device of the copy source is transferred and copied to the same position of a secondary volume of a second RAID device of the copy destination through an inter-chassis path is established and executed based on session information. A computer of the host instructs the first RAID device of forcible stop of the session as to cause the session information to be deleted when the inter-chassis path is blocked, and causes the session information remaining in the second RAID device to be deleted by an instruction given via the first RAID device when the forcibly terminated session is tried to be started when the blocked inter-device path is connected and results in an error.

Description

  • This application is a priority based on prior application No. JP 2005-131312, filed Apr. 28, 2005, in Japan.
  • BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to a remote copy processing method, a program, and a system for establishing and executing a session in which a volume of a RAID device connected to a host serves as a copy source and a volume of another RAID device connected thereto by an inter-chassis path serves as a copy destination; and particularly relates to a remote copy processing method, a program, and a system for establishing and executing again the same session, according to instructions from the host, when the path is connected after the session is suspended due to blockage of the inter-chassis path during copying.
  • 2. Description of the Related Arts
  • Conventionally, in remote copy performed between two RAID devices installed in separate chassis which are away from each other with a over the remote copy from the beginning. However, the session information of the forcibly released session is remaining in the RAID device 202 of the copy destination; therefore, the start command and the session information received for establishing the same session again via the RAID device 200 result in a command error, and the session cannot be resumed. In-such case, when the remaining session information is deleted by an instruction from the host 206 which is connected to the RAID device 202 of the copy destination, the forcibly cancelled session can be established thereafter by an instruction from the host 204, thereby starting over the remote copy from the beginning.
  • Meanwhile, in an online backup system and the like, as shown in FIG. 2, the RAID device 202 for backup having no host is connected to the business-use RAID device 200 which is connected to the host 204 by the inter-chassis path 212, and, according to a copy-instruction start command and session information issued from the host 204, a copy session is established between the RAID devices 200 and 202, thereby executing remote copy, so as to generate a volume for backup in the RAID device 202. However, there is a problem that, in a case in which the RAID device 202 of the copy destination is not connected to any host, when over the remote copy from the beginning. However, the session information of the forcibly released session is remaining in the RAID device 202 of the copy destination; therefore, the start command and the session information received for establishing the same session again via the RAID device 200 result in a command error, and the session cannot be resumed. In such case, when the remaining session information is deleted by an instruction from the host 206 which is connected to the RAID device 202 of the copy destination, the forcibly cancelled session can be established thereafter by an instruction from the host 204, thereby starting over the remote copy from the beginning. [Patent Document] Japanese Patent Application Laid-Open (kokai) No. 2002-297455
  • Meanwhile, in an online backup system and the like, as shown in FIG. 2, the RAID device 202 for backup having no host is connected to the business-use RAID device 200 which is connected to the host 204 by the inter-chassis path 212, and, according to a copy-instruction start command and session information issued from the host 204, a copy session is established between the RAID devices 200 and 202, thereby executing remote copy, so as to generate a volume for backup in the RAID device 202. However, there is a problem that, in a case in which the RAID device 202 of the copy destination is not connected to any host, when blockage occurs in the inter-chassis path 212 and the session is forcibly released, the session information remaining in the RAID device 202 of the copy destination to which no host is connected cannot be deleted. In this case, the remaining session information is deleted by operations performed from a personal computer 214 for maintenance provided at the RAID device 202 of the copy destination, which takes labor and time since man-made operations are required. Particularly, if the copy destination is placed in, for example, a backup center at a remote place away from the copy source, a person in charge has to go to the copy destination from the copy source so as to perform operations of deleting the session information remaining in the copy destination. Therefore, there is a problem that start over of the forcibly released session of remote copy takes labor and time. According to the present invention is to provide a remote copy processing method, a program, and a system which enable quick start over of forcibly released remote copy by efficiently deleting the session information remaining in the copy destination having no host by instructions from a host connected to the copy source.
  • SUMMARY OF THE INVENTION
  • The present invention provides a remote copy processing method.
  • That is, the present invention is characterized by comprising, in a remote copy processing method having a first RAID device of a copy source connected to a host and a second RAID device of a copy destination connected to the first RAID device via an inter-device path (inter-chassis path), for establishing a session according to a copy instruction from the host and based on session information, and, according to the session information, establishing and executing the session for transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as the copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path (inter-chassis path),
      • a copy source session releasing step of instructing the first RAID device of forcible stop of the session so as to cause the session information to be deleted when blockage of the inter-device path (inter-chassis path) is recognized; and
      • a copy destination session releasing step of causing the session information remaining in the second RAID device to be deleted by an instruction given via the first RAID device when the forcibly terminated session is tried to be started when the blocked inter-device path is connected and results in an error.
  • Herein, as the copy destination session releasing step executed are
      • a chassis identifier acquisition step of issuing an instruction for acquiring a chassis identifier to the second RAID device via the first RAID device, so as to acquire, from the second RAID device, the identifier of a chassis which is permitted to perform communication between chassis establishing the session;
      • a session information acquisition step of issuing an instruction for acquiring the session information specifying the chassis identifier acquired in the chassis identifier acquisition step and the secondary volume to the second RAID device via the first RAID device, so as to acquire the session information from the second RAID device; and
      • a session information deleting step of issuing an instruction for deleting the session information of the copy destination and the session information of the second RAID device acquired in the session information acquisition step to the second RAID device via the first RAID device, so as to delete the session information remaining in the second RAID device.
  • Moreover, in the chassis identifier acquisition step, an entry number having a short data length and forming a pair with the chassis identifier as the chassis identifier of the second RAID device is acquired; and,
      • in the session information acquisition step, the entry number and the secondary volume are specified so as to acquire the session information of the second RAID device.
  • The present invention provides a program executed by the computer of the host. The program of the present invention is characterized by causing the computer of the host having a first RAID device connected to the host and a second RAID device connected to the first RAID device via an inter-device path, for establishing a session according to a copy instruction from the host and based on session information, and transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as a copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path to execute
      • a copy source session releasing step of instructing the first RAID device of forcible stop of the session so as to cause the session information to be deleted when blockage of the inter-device path is recognized; and
      • a copy destination session releasing step of causing the session information remaining in the second RAID device to be deleted by an instruction given via the first RAID device when the forcibly terminated session is tried to be started when the blocked inter-device path is connected and results in an error.
  • The present invention provides a remote copy processing system. That is, the present invention is characterized by comprising, in a remote copy processing system having a first RAID device connected to a host and a second RAID device connected to the first RAID device via an inter-device path, for establishing a session according to a copy instruction from the host and based on session information, and, according to the session information, establishing and executing a session for transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as a copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path,
      • a copy source session releasing unit for causing the host to instruct the first RAID device of forcible stop of the session so as to delete the session information when blockage of the inter-device path is recognized; and
      • a copy destination session releasing unit for causing the host to delete the session information remaining in the second RAID device by an instruction given via the first RAID device when the forcibly terminated session is tried to be started when the blocked inter-device path is connected and results in an error.
  • It should be noted that details of the program and the system of the remote copy processes according to the present invention are basically same as that of the remote copy processing method of the present invention.
  • According to the present invention, even when the session information remains in the RAID device of the copy destination, after the session is established between the RAID device of the copy source connected to the host and the RAID device of the copy destination connected to no host, and the session of the copy source RAID device is forcibly terminated due to blockage of the inter-chassis path occurred during execution of remote copy; when the inter-chassis path is connected, by virtue of instructions from the host connected to the copy source, the session remaining in the copy destination can be deleted by issuing commands, man-made operations of the maintenance personal computer of the copy destination are made unnecessary, and, even if the copy destination is present in a remote place like a backup center, as an error recovery process of the host, the session information remaining in the copy destination is quickly deleted, and the forcibly stopped session is established again, thereby resuming the remote copy.
  • Moreover, when specification of parameters required for deleting the session information of the copy destination is added to the parameters of the session information collection command and the stop command which is according to the command interface provided by the host, realization of remote copy can be readily carried out by utilizing an existing command system. The above and other objects, features, and advantages of the present invention will become more apparent from the following detailed description with reference to the drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is an explanatory drawing of a conventional remote copy process in a case in which a copy source RAID device and a copy destination RAID device are connected to hosts, respectively;
  • FIG. 2 is a explanatory drawing of a conventional remote copy process in a case in which a copy source RAID device is connected to a host and a copy destination RAID device is not connected to any host;
  • FIG. 3 is a block diagram of a system functional configuration of a remote copy process according to the present invention;
  • FIG. 4 is a block diagram of a hardware configuration of the host;
  • FIG. 5 is a block diagram of a hardware configuration of the RAID device of FIG. 3R;
  • FIG. 6 is a block diagram of a functional configuration of the RAID device of FIG. 5;
  • FIG. 7 is an explanatory drawing of a command list provided by a command interface of the host of the present invention;
  • FIG. 8 is an explanatory drawing of the start command used in the present invention;
  • FIG. 9 is an explanatory drawing of the session information which is transferred by the start command of FIG. 8;
  • FIG. 10 is an explanatory drawing of the remote chassis identifier acquisition command which is used in the present invention;
  • FIG. 11 is an explanatory drawing of effective remote chassis identifier information which is acquired by the remote chassis identifier acquisition command of FIG. 10;
  • FIG. 12 is an explanatory drawing of the session information acquisition command which is used in the present invention;
  • FIG. 13 is an explanatory drawing of the session information acquired from the copy destination by the session information acquisition command of FIG. 12;
  • FIG. 14 is an explanatory drawing of the detailed session information in FIG. 13;
  • FIG. 15 is an explanatory drawing of the stop command which is used in the present invention;
  • FIG. 16 is an explanatory drawing of the session information which is to be transferred to the copy destination by the stop command of FIG. 15;
  • FIGS. 17A to 17C are time charts of a remote copy process according to the present invention involving blockage of the inter-chassis path;
  • FIGS. 18A and 18B are flow charts of the remote copy process performed by the host of FIG. 3 ;
  • FIGS. 19A and 19B are flow charts of the copy source process performed by the first RAID device of FIG. 3; and
  • FIGS. 20A and 20B are flow charts of the copy destination process performed in the second RAID device of FIG. 3.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • FIG. 3 is a block diagram of a system functional configuration of a remote copy process according to the present invention. In FIG. 3, the system for executing the remote copy process of the present invention comprises a host 10, a first RAID device 12 serving as a copy source, and a second RAID device 14 serving as a copy destination. The first RAID device 12 serving as the copy source is connected to the host 10 by a host path 16. The first RAID device 12 and the second RAID device 14 are connected by an inter-chassis path 18. Regarding the first RAID device 12, either one or both of a mainframe-based host and an open-based host may be connected by separate paths. If the distance between the chassis is short, the inter-chassis path 18 connecting the first RAID device 12 and the second RAID device 14 is connected by, for example, a Fiber Channel path, and if remote, it is connected via a WAN by use of the host path 16 and a converter, or connected by a dedicated line such as an ATM line. If the host 10 is a mainframe, it executes operation processes of core tasks, and, in addition to the functions of the core tasks, it is provided with functions of a copy processing unit 20 for remote copy according to the present invention. The first RAID device 12 and the second RAID device 14 are provided with functions of copy control units 22 and 24, respectively, for executing remote copy according to instructions from the host 10. A remote copy instruction unit 30 is provided in the copy processing unit 20 of the host 10; and when a command and session information are issued according to an instruction of the remote copy instruction unit 30, a session is established between the first RAID device 12 and the second RAID device 14, and remote copy in which the first RAID device 12 serves as a copy source and the second RAID device 14 serves as a copy destination is executed. Herein, basic processes of the remote copy in the present invention will be explained as the following. The remote copy according to the present invention is remote equivalent copy (Remote Equivalent Copy), which is a function of copying entire or partial data of a primary volume 26 of the first RAID device 12, which has been specified as the copy source, to the same track position (CCHH) of a secondary volume 28 of the second RAID device 14, which has been specified as the copy destination, through data transfer via the inter-chassis path 18. In the remote copy, according to a start command from the remote copy instruction unit 30 of the host 10, data transfer is started via the inter-chassis path 18 such that the data of the primary volume 26 and the secondary volume 28 becomes equivalent. However, when track data of the primary volume 26 which has already been transferred to the secondary volume 28 is updated by the host 10, data transfer for reflecting the newly updated data to the secondary volume 28 is performed. During the duration of the remote copy, the primary volume 26 and the secondary volume 28 are operated in a duplex state. This is called a duplex pair. While the duplex pair is set, the host 10 can access it as a single volume. After the duplex pair is cancelled when the remote copy is terminated in response to a stop command from the remote copy instruction unit 30 of the host, they can be accessed as two independent volumes. Although the equivalence of data of the primary volume 26 and the secondary volume 28 is maintained until the remote copy is stopped or terminated, the data is ensured to be delivered to the copy destination when the remote copy is terminated. Herein, when the remote copy is to be started according to a start command from the remote copy instruction unit 30 of the host 10, via the inter-chassis path 18 between the first RAID device 12 and the second RAID device 14, session information 46-1 and 46-2 is transferred together with the start command, and based on the session information 46-1 and 46-2, a session for the remote copy between the first RAID device 12 and the second RAID device 14 is established, thereby copying entire or partial data of the primary volume 26, which has been specified by the host 10, to the same track position of the secondary volume 28 through data transfer of the inter-chassis path 18. When line fault of the inter-chassis path 18, i.e., blockage of the inter-chassis path 18 occurs during execution of the remote copy which is performed by establishing a session by the remote copy instruction unit 30 of the host 10, the remote copy instruction unit 30 of the host 10 recognizes the blockage of the inter-chassis path 18, and operates a copy source session releasing unit 32, thereby instructing the first RAID device 12 to perform forcible stop of the session so as to cause it to delete the session information 46-1. If the inter-chassis path 18 is normal, the instruction by the copy source session releasing unit 32 for forcibly stopping the session is transmitted to the second RAID device 14 and effectively works; however, if the inter-chassis path 18 is blocked, forcible stop of the session of the second RAID device 14 cannot be executed, and the session information 46-2 of the forcibly terminated session remains in the second RAID device 14. When the inter-chassis path 18 is normally connected after the session is forcibly stopped, since the forcibly aborted session is to be executed again, the remote copy instruction unit 30 tries to establish a session of remote copy between the first RAID device 12 and the second RAID device by issuing a start command using the same session information. However, since the session information 46-2 of the forcibly terminated previous session is remaining in the second RAID device 14 of the copy destination, a command error occurs. In such case, a copy destination session releasing unit 34 provided in the host 10 is activated, thereby deleting the session information 46-2 remaining in the second RAID device 14 of the copy destination. That is, when a command error is caused since, when the closed inter-chassis path 18 is connected, although a session is tried to be started by issuing a start command using the same session information as the forcibly terminated session, the previous session information 46-2 is remaining, with respect to the start command, in the second RAID device 14; the copy destination session releasing unit 34 causes the session information 46-2 remaining in the second RAID device 14 to be deleted by an instruction given via the first RAID device 12. The process performed by the copy destination session releasing unit 34 is executed by the functions of a chassis identifier acquisition unit 36, a session information acquisition unit 38, and a session information deleting unit 40. The deleting process of the session information 46-2 of the copy destination is according to the following procedure. (1) The chassis identifier acquisition unit 36 issues an instruction command for acquiring a chassis identifier to the second RAID device 14 via the first RAID device 12, and acquires the identifier of the chassis, from the second RAID device 14, which is permitted to perform communication between the session-established chassis. (2) The session information acquisition unit 38 issues, to the second RAID device 14 via the first RAID device 12, an instruction command for acquiring session information specifying the chassis identifier of the copy destination, which has been obtained by the chassis identifier acquisition unit 36, i.e., the remote chassis identifier and the secondary volume 28, thereby acquiring the remaining session information 46-2 from the second RAID device 14. (3) The session information deleting unit 40 issues, to the second RAID device 14 via the first RAID device 12, a command serving as an instruction for deleting the session information of the second RAID device 14 serving as the copy destination, and the session information 46-2 remaining in the second RAID device 14 which has been acquired by the session information acquisition unit 38, thereby causing the session information 46-2 remaining in the second RAID device 14 to be deleted. When the session information 46-2 of the second RAID device 14 which is remaining due to blockage of the inter-chassis path 18 can be deleted by the copy destination session releasing unit 34 of the host 10; the remote copy instruction unit 30 again issues a start command for starting the aborted session and the session information; according to the start command and the session information, the first RAID device 12 and the second RAID device 14 effectively establish a session for remote copy; and, in accordance with the establishment of the remote copy aborted in the inter-chassis path 18, i.e., the session, a process of transferring entire or partial data of the primary volume 26 which has been specified by the host 10 to the same track position of the secondary volume 28 of the second RAID device 14 via the inter-chassis path 18 and writing it therein is performed, thereby performing recovery of the aborted remote copy. As described above, even if session information remains in the copy destination due to forcible termination caused by blockage of the inter-chassis path 18 during remote copy, the session information remaining in the copy destination can be simply and readily deleted by instructions from the host 10 after the inter-chassis path 18 is connected, and even if no host is connected to the copy destination, the session information remaining in the copy destination can be simply and readily deleted by instructions from the host connected to the copy source, thereby starting over the session of the aborted remote copy.
  • FIG. 4 is a block diagram of a hardware configuration of a computer used for the host 10 of FIG. 3. In the computer of FIG. 4, connected to a bus 102 of MPU 100 are a RAM 104, a ROM 106, a hard disk drive 108, an input/output device controller 110 to which a keyboard 112 and a display 116 are connected, and a network adapter 118 for connecting the host path 16. The hard disk drive 108 has a program for executing copy processes of the host 10 loaded thereon, which is read out by the hard disk drive 108 upon startup of the computer, deployed in the RAM 104, and executed by the MPU 100. Programs for operation processes performed by the host are also loaded on the hard disk drive 108, wherein the operation programs are deployed in the RAM 104 upon startup of the computer and executed by the MPU 100, thereby executing operation processes of the host.
  • FIG. 5 is a block diagram of a hardware configuration of the first RAID device of FIG. 3. Note that the second RAID device 14 also has the same hardware configuration. In FIG. 5, the first RAID device 12 is provided with channel adapters 48-1 and 48-2 having CPUs 49 provided therein, control modules 50-1 to 50-n, background routers 52-1 and 52-2, disk devices 54-1 to 54-4 such as hard disk drives having a redundant configuration of RAID, and front routers 64-1 and 64-2. For example, eight control modules can be mounted on the largest arrangement of the first RAID device 12. The channel adapters 48-1 and 48-2 are provided with the CPUs 49, and connect the mainframe-based host 10 to the control module 50-1. The channel adapters 58-1 and 58-2 connect an open-based host such as a UNIX (R)/IA server, and, in the present invention, the channel adapter 58-1 is further connected to the inter-chassis path 18 and connected to the second RAID device 14 of the copy destination via a network 45 such as a WAN. In each of the control modules 50-1 to 50-n, as representatively shown in the control module 50-1, a CPU 55, a communication unit 56, a cache memory 60, and device interfaces 62-1 and 62-2 are provided. The CPU 55 executes, by program control, resource processes, cache processes, RAID control, and copy control including the remote copy according to the present invention in the first RAID device 12. The front routers 64-1 and 64-2 connect other control modules 50-2 (not shown) to 50-n to the control module 50-1, thereby multiplexing the control. Each of the control modules 50-1 to 50-n is connected to the background routers 52-1 and 52-2, so as to perform data input/output processes according to RAID control performed by the CPUs 55 of the control module side.
  • FIG. 6 is a block diagram of a functional configuration of the first RAID device of FIG. 5. In FIG. 6, functions of the control module 50-1 are realized by program control of the CPU 55 provided in the control module 50-1 of FIG. 5, thereby forming a resource processing unit 66, a cache processing unit 68, a RAID control unit 70, and a copy control unit 22. The copy control unit 22 is provided with the function of copy processing unit 42 as shown in FIG. 3, and, when the copy source processing unit operates, the volume is used as the primary volume 26 serving as the copy source. As the RAID device having the hardware configuration and the functional configuration shown in FIG. 5 and FIG. 6, for example, a RAID device such as GR800 or ETERNUS6000 which are products of FUJITSU Co., Ltd may be used.
  • FIG. 7 is an explanatory drawing of a command list which is for remote copy and provided by a command interface provided in the host 10 of FIG. 3. In FIG. 7, in the command list 74 prepared are a physical information acquisition command 76, a session ID acquisition command 78, a start command 80, a stop command 82, a session information acquisition command 84, a suspend command 86, a resume command 88, and a remote chassis identifier acquisition command 90. The physical information acquisition command 76 acquires a chassis identifier and a physical device number. The session ID acquisition command 78 acquires a session ID of a remote copy process. The start command 80 registers and executes remote copy. Execution of the start command 80 includes transfer of session information. The stop command 82 terminates a remote copy process. When “X‘01’” is specified as a remote flag provided as a parameter of the stop command 82, the command can be used for deleting the session information remaining only in the companion chassis which is serving as the copy destination. The session information acquisition command 84 acquires the session information of remote copy. The suspend command 86 suspends remote copy. The resume command 88 resumes suspended remote copy. In addition, the remote chassis identifier acquisition command 90 acquires the identifier (box ID) of the remote chassis which has been permitted to perform communication between the chassis which are required for starting remote copy. In the copy destination session releasing unit 34 of the host 10 shown in FIG. 3, in a process for deleting the session information 46-2 remaining in the second RAID device 14, which is serving as the copy destination, due to blockage of the inter-chassis path 18, the chassis identifier acquisition unit 36 issues the remote chassis identifier acquisition command 90, thereby acquiring the remote chassis identifier. Subsequently, the session information acquisition unit 38 issues the session information acquisition command 84 specifying the secondary volume 28 and the acquired remote chasses identifier, thereby acquiring the session information 46-2 of the copy destination. Subsequently, when the session information deleting unit 40 issues the stop command 82 specifying “X‘01’” as the remote flag, and transfers the session information of the copy destination which has been acquired by the session information acquisition unit 38, the session information 46-2 remaining in the second RAID device 14 is deleted. In the command list of FIG. 7, the physical information acquisition command 76, the session ID acquisition command 78, the session information acquisition command 84, and the remote chassis identifier acquisition command 90 can be called as read-based commands, since data is transferred from the issue source along with issue of the commands. On the other hand, the start command 80, the stop command 82, the suspend command 86, and the resume command 88 can be called as write-based commands, since data transfer to the issue source is performed simultaneously with the command issue.
  • FIG. 8 is an explanatory drawing of the start command 80 of the present invention which is used in remote copy. The start command 80 is for performing registration and execution for starting the remote copy, and is provided with the following functions.
    • (1) Recognizing and setting the primary volume and the secondary volume as a duplex pair (setting of duplex pair).
    • (2) After the duplex pair is set, copying the data which is in the area specified by the host from the primary volume to the secondary volume (implementation of copy).
    • (3) Achieving synchronization between the primary volume and the secondary volume also after copy is completed (maintenance of equivalence) . Such start command 80 for starting remote copy comprises Byte 0 to 15, wherein the Byte 0 to 1 includes command code “X‘01D0’” representing that it is a start command. Byte 0 is specification of initial copy skip, and, when “X‘01D0’” is specified as the initial copy skip specification in remote copy, registration and execution of remote copy can be performed.
  • FIG. 9 is an explanatory drawing of the session information 46 which is transferred by the start command 80 of FIG. 8. The session information 46 mainly comprises:
    • (1) data length of that following X‘08’,
    • (2) primary session ID and secondary session ID,
    • (3) a flag indicating remote copy when set to “0”,
    • (4) internal copy intervals for specifying copy process intervals,
    • (5) primary-side chassis identifier,
    • (6) secondary-side chassis identifier,
    • (7) system definition for setting arbitrary information for applications of the host,
    • (8) copy target volume type specifying the type of the copy target volume,
    • (9) copy target primary host device identifier,
    • (10) copy target secondary host device identifier,
    • (11) the number of specified areas specifying all volume areas as the copy target when it is 0, and specifying the number of the areas when it is 1 or more, and
    • (12) area information according to copy starting track number/copy completing track number. The area information is provided in the number corresponding to that of the specified areas. FIG. 10 is an explanatory drawing of the remote chassis identifier acquisition command 90 which is used in the present invention. The remote chassis identifier acquisition command 90 acquires and notifies the identifier of the remote (copy destination) chassis which has been permitted to perform communication between the chassis. The remote chassis identifier is required when remote copy is to be started, and also required when the session information which is remaining in the copy destination and shown in FIG. 3 is to be deleted. The remote chassis identifier acquisition command 90 has command code “X‘02DF’” of Byte 0 to 1.
  • FIG. 11 is an explanatory drawing of effective chassis identifier information 95 which is notified by the remote chassis identifier acquisition command 90 of FIG. 10. The effective chassis identifier information 95 includes the following information.
    • (1) Number of remote chassis identifiers
    • (2) Remote chassis identifiers
    • (3) Entry number
    • (4) Copy destination/copy source flags
      Herein, the chassis identifier acquisition unit 36 which is provided in the copy destination session releasing unit 34 provided in the host 10 of FIG. 3 acquires the chassis identifier from the second RAID device 14 which is serving as the copy destination by issuing the remote chassis identifier acquisition command 90 of FIG. 10; therefore, the effective chassis identifier information 95 of FIG. 11 is transferred thereto. In the present invention, regarding the thus acquired effective chassis identifier information 95, the remote chassis identifier 96 is not used, and the entry number “fcu entry” which is forming a pair with the remote chassis identifier 96 is acquired and used when the session information acquisition command is issued. This is for the reason that the remote chassis identifier 96 has a large data length, 40 bytes, which increases the data volume to be transferred in accordance with the specification of the session information acquisition command; therefore, instead of that, the entry number “fcu entry” which is forming a pair with the remote chassis identifier 96 and having a short data length is used.
  • FIG. 12 is an explanatory drawing of the session information acquisition command 84 which is used in the present invention. The session information acquisition command 84 acquires detailed information of a particular session or detailed session information of a particular volume. In the present invention, by use of the session information acquisition command 84, the detailed information of the session information 46-2 remaining in the second RAID device 14 which is serving as the copy destination shown in FIG. 3 is acquired. Therefore, “X‘06’” is set as the information type in Byte 4, thereby specifying detailed remote session information of a particular volume (mainframe logical unit MLU). In addition, if the information type is “X‘06’” as the entry number “fcu number” of Byte 5, the value of the entry number 98 obtained from the effective chassis identifier information 95 of FIG. 11 which has been acquired by the remote chassis identifier acquisition command 90 of FIG. 10, for example, “X‘00’” is set. Moreover, if the information type is “X‘06’” in Byte 6 to 7, the volume number of the companion chassis which is serving as the copy destination, specifically, a mainframe logical unit number “MLU number” is set. When the session information acquisition command 84 specifying such information type, an entry number, and a companion chassis module logical unit number, i.e., a volume number is issued to the second RAID device 14 via the first RAID device 12 of FIG. 3, notification of the session information 46 of FIG. 13 can be received.
  • The session information 46 of FIG. 13 has the following description.
    • (1) Information type “X‘06’” indicating that it is detailed remote session information of a particular MLU, i.e., a copy destination volume
    • (2) Data length of that following offset “X‘08’”
    • (3) Detailed session information
      Herein, the detailed session information which can be notified by the session information 46 may be up to 32 units of information, i.e., detailed session information 94-1 to 94-31. FIG. 14 focuses on and shows the detailed session information 94-1 which is one of the detailed session information of the copy destination in the session information 46 of FIG. 13 which is notified by the session information acquisition command 84 of FIG. 12. The detailed session information 94-1 has the following description.
    • (1) Error area information indicating the starting position and the end position of the area which was being processed when an error occurred
    • (2) Primary session ID indicating a session identifier of the copy source chassis
    • (3) Secondary session ID indicating an identifier of the session which is effective in the copy destination chassis
    • (4) Operation mode of remote copy
    • (5) Various process phase (idle, being reserved, being normally operated, error suspension, or suspension) of remote copy
    • (6) Error code indicating, if an error occurs, the error type
    • (7) Elapsed time
    • (8) Internal copy interval shown by means of phased display
    • (9) Total track number of the copy target
    • (10) Copied track number
      Operation mode indicating:
    • (11) if it is “0”, a suspended state due to the suspend command, or
    • (12) if it is “1”, a suspended state immediately after activation performed by the start command specifying initial copy skip.
      The primary-side chassis identifier, the secondary-side chassis identifier, the system definition, the copy target volume type, the copy target primary host device identifier, the copy target secondary host device identifier, the number of specified areas, and the area information, which are subsequent to those described above, are same as that of the session information 46 of the start command 80 of FIG. 9.
  • FIG. 15 is an explanatory drawing of the stop command 82 which is used in the present invention. The stop command 82 terminates the remote copy process which is performed on the primary volume and the secondary volume. The copy terminating process performs the following processes.
    • (1) The information relevant to the session is released, thereby canceling the corresponding relation of the duplex pair (cancel duplex pair).
    • (2) If duplex pair cancellation is instructed during a copy process, an error is returned to the instruction without terminating the copy process, and a pair-set state is maintained. However, if a forcible termination parameter (forcible stop flag=X‘01’) is specified in the stop command for canceling the pair, forcible pair cancellation and process termination is performed (copy termination).
    • (3) After copy termination, the pair relation between the primary volume and the secondary volume is erased, and the session information is also deleted. In the stop command 82 for such remote copy termination, a command code “X‘01Dd1” is set in Byte 0 to 1, and a forcible stop flag is provided in Byte 4. In addition, a remote flag is provided in Byte 5, and when “X‘01’” is specified, a deletion specification 85 for forcible deletion of the session information which is present only in the companion chassis serving as the copy destination can be performed.
  • FIG. 16 is an explanatory drawing of the session information 46 which is to be transferred to the copy destination by the stop command 82 of FIG. 15. The session information 46 is the session information 46 of FIG. 13 which has been acquired by the session information acquisition command 84 of FIG. 12, wherein merely the detailed session information 94-1 of the copy destination is provided as detailed session information, and the description of the detailed session information 94-1 is as shown in FIG. 14.
  • FIGS. 17A to 17C are time charts of a remote copy process according to the present invention involving blockage of the inter-chassis path. In FIGS. 17A to 17C, when the host 10 issues the start command of remote copy and session information in step S1, they are transferred to each of the first RAID device 12 of a copy source and the second RAID device 14 of a copy destination, and, in step S101, the first RAID device 12 establishes a session by pairing the primary volume 26 of its own with the secondary volume 28 of the copy destination. At the same time, in step S201, the second RAID device 14 establishes the session by pairing the secondary volume 28 of its own with the primary volume 26 of the copy source. When the session of remote copy is thus established; in step S102, the first RAID device reads out the host-specified area of the primary volume 26 and transfers it to the second RAID device 14 via the inter-chassis path 18; and in step S202, the second RAID device 14 executes remote copy of writing the transferred data to the same track position of the secondary volume 28. If blockage occurs in the inter-chassis path 18 during execution of such remote copy, the host 10, the first RAID device 12, and the second RAID device 14 detect the inter-chassis path blockage in step S2, S103, and S203, respectively. The host 10 which has detected the inter-chassis path blockage in step S2 issues the forcible stop command to the first RAID device 12 of the copy source in step S3. In response to this, the first RAID device 12 releases the session in step S104, thereby deleting the session information 46-1. However, since the inter-chassis path 18 is blocked, the forcible command from the host 10 cannot be delivered to the second RAID device 14 of the copy destination, and the second RAID device 14 suspends the session in step S204 in accordance with the inter-chassis path blockage, thereby coming into a halt state. Then, if the inter-chassis path 18 is connected again, the host 10, the first RAID device 12, and the second RAID device 14 detect the connection of the inter-chassis path 18 in steps S4, S105, and S205, respectively. The host 10 which has detected the connection of the inter-chassis path 18 issues the start command of the session, which has been forcibly suspended in step S5, to the first RAID device 12 and the second RAID device 14. However, since the session information of the remote copy which has been executed before blockage of the inter-chassis path 18 is remaining in the second RAID device 14, an error response is returned with respect to the start command in step S206. The host 10 which has received the error response from the second RAID device 14 starts a process in step S6 for deleting the session information 46-2 remaining in the copy destination. First, the command for acquiring the copy destination chassis identifier is issued in step S6, and the second RAID device 14 makes a response with the chassis identifier of the copy destination in step S207. Subsequently, in step S7, the copy destination session information acquisition command specifying the chassis identifier of the copy destination and the secondary volume 28 is issued, and, accordingly, the second RAID device 14 makes a response with the session information of the copy destination in step S208. Subsequently, in step S8, the host 10 issues the stop command specifying deletion of the session information 46-2 of the copy destination, and transfers the acquired session information of the copy destination. In response to the stop command and the session information, the second RAID device 14 of the copy destination deletes the remaining session information 46-2 in step S209, and makes a response to the host 10 that the deletion has been normally completed in step S210. In response to the response of normal completion of session information deletion, the host 10 issues the start command of the forcibly terminated session again in step S9; as a result, the first RAID device 12 and the second RAID device 14 establish a session in steps S106 and S211, respectively, and, remote copy is executed in steps S107 and S212 in the same manner as the case of steps S102 and 202, i.e., the data of the area of the primary volume 26 specified by the host is read out, transferred via the inter-chassis path 18, and written to the same track position of the secondary volume 28.
  • FIGS. 18A and 18B are a flow chart of the remote copy process performed by the host 10 of FIG. 3. In FIGS. 18A and 18B, the start command and the session information are issued in step S1, thereby giving an instruction of remote copy. Subsequently, whether or not there is blockage of the inter-chassis path is checked in step S2, and, if the blockage is detected, the forcible stop command is issued in step S3. Subsequently, whether or not the inter-chassis path is connected is checked in step S4, and, if the connection is detected, the start command of the forcibly stopped session is issued in step S5. If, in response to this, an error of the command is responded from the copy destination in step S6, the process proceeds to step S7 wherein the copy destination chassis identifier acquisition command is issued. If the chassis identifier is acquired from the copy destination in step S8, the session information acquisition command specifying the chassis identifier and the secondary volume of the copy destination is issued in step S9. When, in response to this, the session information is acquired from the copy destination in step S10, the stop command specifying deletion of the session information of the copy destination and the acquired copy destination session information is issued in step S11. Then, in step S12, when a copy destination session information deletion notification from the copy destination is received, the series of operations is stopped, and the process from step S1 is repeated until a stop instruction is given in step S13.
  • FIGS. 19A and 19B are flow charts of the copy source process performed by the first RAID device 12 of FIG. 3. In FIGS. 19A and 19B, if receipt of the start command from the host 10 is detected in step S1, the process proceeds to step S2 wherein, according to the session information notified with the start command, a session with the copy destination is established, thereby executing. remote copy. During execution of the remote copy, whether or not the inter-chassis path 18 is blocked is checked in step S3, and, if there is no blockage, whether or not the stop command from the host is received is checked in step S4. If the stop command from the host is received, the session is released by the stop command in step S5, thereby establishing volumes maintaining equivalence between the copy source and the copy destination. On the other hand, if blockage of the inter-chassis path is detected during remote copy in step S3, the process proceeds to step S6 wherein the session is released according to the forcible stop command from the host 10, thereby deleting the session information of the chassis of its own, and connection of the inter-chassis path is waited for in step S7. When the connection of the inter-chassis path is detected, the process proceeds to step S8 wherein it tries to start a session in the copy destination according to the start command from the host 10. However, if command failure is received from the copy destination, the process proceeds to step S10. If the command is successful in step S9, the process returns to step S2 wherein a session with the copy destination is established so as to resume remote copy. After the command failure is received from the copy destination and notified to the host in step S9, in step S10, the entry number “fcu number” of the copy destination is acquired according to the chassis identifier acquisition command from the host 10, and notified to the host 10. Subsequently, in step S11, the session information of the copy destination is acquired according to the session information acquisition command from the host and notified to the host 10. Furthermore, the stop command from the host 10 for deleting the session information is transferred to the copy destination together with the session information in step S12, and the session information deletion result of the copy destination is received and notified to the host 10 in step S13. The processes of steps S10 to S13 are processes of relaying commands and transfer data between the host and the second RAID device 14 of the copy destination. Then, until a stop instruction is given in step S14, the process from the step S1 is repeated.
  • FIGS. 20A and 20B are flow charts of the copy destination process performed in the second RAID device 14 of FIG. 3. In FIGS. 20A and 20B, when the start command and the session information are acquired from the copy source in step S1, a session with the copy source is established, thereby executing remote copy in step S2. Subsequently, whether or not the inter-chassis path is blocked is checked in step S3, and, when the blockage is detected, a halt state is obtained due to the session suspension in step S4. Subsequently, connection of the inter-chassis path is checked in step S5, and, when the connection is detected, the start command of the session which is same as the suspended session from the copy source is detected in step S6 and the process proceeds to step S7 wherein, since the session information is remaining, a command error occurs and an error response is returned. Subsequently, when the chassis identifier acquisition command is received from the copy source in step S8, a response is made with the chassis identifier of the session information in step S9. Next, when the session information acquisition command is received from the copy source in step S10, a response is made with the suspended session, i.e., the remaining session information in step S11. Furthermore, when the stop command specifying deletion of the session information is received from the copy source together with the session information in step S12, the session information of the suspended session is deleted and a response is made with the normal completion in step S13. Then, the process from step S1 is repeated until a stop instruction is given in step S14. Moreover, the present invention provides a program for the processes of the remote copy executed by the host 10 of FIG. 3; wherein the program has the description that is according to the flow chart of FIGS. 18A and 18B, and, in remote copy using the commands provided by the command interface of the host shown in the command list shown in FIG. 7, particularly, in the present invention, upon blockage of the inter-chassis path during remote copy, the program is capable of executing a copy destination session information deleting process in which the session information remaining in the copy destination is deleted by an instruction given from the host to the copy source. The above described embodiment employs an example operation in which commands are input from the host 10 to the first RAID device 12 of the copy source, thereby deleting the session information of the RAID device 14 of the copy destination; however, inversely, a session may be established according to instructions from the host 10 with the second RAID device 14 serving as the copy source and the first RAID device 12 serving as the copy destination so as to perform remote copy. That is, it may be configured such that the first RAID 12 has the copy destination processing unit and the secondary volume, the second RAID device 14 has the copy source processing unit and the primary volume, and the host 10 is connected only to the first RAID device 12. In addition, the present invention is capable of similarly processing procedures as long as, in the procedures, commands are input to the first RAID device 12 of the copy source so as to execute setting and operations with respect to the second RAID device 14 of the copy destination. Such procedures causing the second RAID device 14 of the copy destination, which is connected by the inter-chassis path 18, to execute processes by inputting commands from the host 10 to the first RAID device of the copy source include, for example, the following.
    • (1) Setting and operations of a local copy session on the second RAID device 14 of the copy destination.
    • (2) Setting and operations of a remote copy session with another RAID device connected to the second RAID device 14 of the copy destination.
    • (3) To draw the information of a session which has already been set on the second RAID device 14 of the copy destination.
    • (4) Setting and operations of a cascade copy session in which the session which has already been set on the second RAID device 14 of the copy destination is interlocked with another session such that the secondary volume 28 serves as a primary and a copy is further transmitted to another secondary volume.
    • (5) Required setting and operations other than copy operations with respect to the second RAID device 14 of the copy destination. Such setting and operations of (1) to (5) can readily realize setting and operations required in the second RAID device 14 of the copy destination by modifying the setting of various commands which are already used by the host 10, for example, that provided in the command list 74 shown in FIG. 7 and transfer data into the form matching the setting and the operations. Furthermore, the present invention includes arbitrary modifications that do not impair the object and advantages thereof, and is not limited by the numerical values shown in the above described embodiments.

Claims (9)

1. A remote copy processing method having a first RAID device connected to a host and a second RAID device connected to the first RAID device via an inter-device path, for establishing a session according to a copy instruction from the host and based on session information, and transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as a copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path, the remote copy processing method characterized by comprising
a copy source session releasing step in which the host instructs the first RAID device of forcible stop of the session so as to cause the session information to be deleted when blockage of the inter-device path is recognized; and
a copy destination session releasing step in which the host causes the session information remaining in the second RAID device to be deleted by an instruction given via the first RAID device when the forcibly terminated session is tried to be started when the blocked inter-device path is connected and results in an error.
2. A remote copy processing method described in claim 1 characterized in that the copy destination session releasing step comprises
a chassis identifier acquisition step of issuing an instruction for acquiring a chassis identifier to the second RAID device via the first RAID device, so as to acquire, from the second RAID device, the identifier of a chassis which is permitted to perform communication between chassis establishing the session;
a session information acquisition step of issuing an instruction for acquiring the session information specifying the chassis identifier acquired in the chassis identifier acquisition step and the secondary volume to the second RAID device via the first RAID device, so as to acquire the session information from the second RAID device; and
a session information deleting step of issuing an instruction for deleting the session information of the copy destination and the session information of the second RAID device acquired in the session information acquisition step to the second RAID device via the first RAID device, so as to delete the session information remaining in the second RAID device.
3. A remote copy processing method described in claim 2 characterized in that,
in the chassis identifier acquisition step, an entry number having a short data length and forming a pair with the chassis identifier as the chassis identifier of the second RAID device is acquired; and,
in the session information acquisition step, the entry number and the secondary volume are specified so as to acquire the session information of the second RAID device.
4. A program for processing a remote copy, wherein said program allows a computer of a host having a first RAID device connected to the host and a second RAID device connected to the first RAID device via an inter-device path, for establishing a session according to a copy instruction from the host and based on session information, and transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as a copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path to execute
a copy source session releasing step of instructing the first RAID device of forcible stop of the session so as to cause the session information to be deleted when blockage of the inter-device path is recognized; and
a copy destination session releasing step of causing the session information remaining in the second RAID device to be deleted by an instruction given via the first RAID device when the forcibly terminated session is tried to be started when the blocked inter-device path is connected and results in an error.
5. A program according to claim 4 characterized by causing the computer of the host to execute, in the copy destination session releasing step, a chassis identifier acquisition step of issuing an instruction for acquiring a chassis identifier to the second RAID device via the first RAID device, so as to acquire, from the second RAID device, the identifier of a chassis which is permitted to perform communication between chassis establishing the session;
a session information acquisition step of issuing an instruction for acquiring the session information specifying the chassis identifier acquired in the chassis identifier acquisition step and the secondary volume to the second RAID device via the first RAID device, so as to acquire the session information from the second RAID device; and
a session information deleting step of issuing an instruction for deleting the session information of the copy destination and the session information of the second RAID device acquired in the session information acquisition step to the second RAID device via the first RAID device, so as to delete the session information remaining in the second RAID device.
6. A program according to claim 5 characterized by causing the computer of the host to, in the chassis identifier acquisition step, acquire an entry number having a short data length and forming a pair with the chassis identifier as the chassis identifier of the second RAID device; and,
in the session information acquisition step, specify the entry number and the secondary volume so as to acquire the session information of the second RAID device.
7. A remote copy processing system having a first RAID device connected to a host and a second RAID device connected to the first RAID device via an inter-device path, for establishing a session according to a copy instruction from the host and based on session information, and transferring and copying entire or partial data of a primary volume of the first RAID device which is specified as a copy source to the same position of a secondary volume of the second RAID device which is specified as a copy destination through the inter-device path, the remote copy processing system characterized by comprising
a copy source session releasing unit for instructing the first RAID device of forcible stop of the session so as to cause the session information to be deleted when blockage of the inter-device path is recognized; and
a copy destination session releasing unit for causing the session information remaining in the second RAID device to be deleted by an instruction given via the first RAID device when the forcibly terminated session is tried to be started when the blocked inter-device path is connected and results in an error.
8. A remote copy processing system according to claim 7 characterized in that the copy destination session release processing unit comprises
a chassis identifier acquisition unit for issuing an instruction for acquiring a chassis identifier to the second RAID device via the first RAID device, so as to acquire, from the second RAID device, the identifier of a chassis which is permitted to perform communication between chassis establishing the session;
a session information acquisition unit for issuing an instruction for acquiring the session information specifying the chassis identifier acquired in the chassis identifier acquisition unit and the secondary volume to the second RAID device via the first RAID device, so as to acquire the session information from the second RAID device; and
a session information deleting unit for issuing an instruction for deleting the session information of the copy destination and the session information of the second RAID device acquired in the session information acquisition step to the second RAID device via the first RAID device, so as to delete the session information remaining in the second RAID device.
9. A remote copy processing system according to claim 8 characterized in that,
the chassis identifier acquisition unit acquires an entry number having a short data length and forming a pair with the chassis identifier as the chassis identifier of the second RAID device; and,
the session information acquisition unit specifies the entry number and the secondary volume so as to acquire the session information of the second RAID device.
US11/182,846 2005-04-28 2005-07-18 Remote copy processing method, program, and system Expired - Fee Related US7434094B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005131312A JP2006309506A (en) 2005-04-28 2005-04-28 Method, program and device for remote copy processing
JP2005-131312 2005-04-28

Publications (2)

Publication Number Publication Date
US20060248381A1 true US20060248381A1 (en) 2006-11-02
US7434094B2 US7434094B2 (en) 2008-10-07

Family

ID=37195224

Family Applications (1)

Application Number Title Priority Date Filing Date
US11/182,846 Expired - Fee Related US7434094B2 (en) 2005-04-28 2005-07-18 Remote copy processing method, program, and system

Country Status (4)

Country Link
US (1) US7434094B2 (en)
JP (1) JP2006309506A (en)
KR (1) KR100639142B1 (en)
CN (1) CN100388177C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168713A1 (en) * 2005-12-13 2007-07-19 Kern Robert F Managing failures in mirrored systems
US20100169596A1 (en) * 2008-12-29 2010-07-01 Fujitsu Limited Storage apparatus, backup apparatus, and backup method
US20100180094A1 (en) * 2009-01-09 2010-07-15 Fujitsu Limited Storage system, backup storage apparatus, and backup control method
US20110167215A1 (en) * 2009-02-26 2011-07-07 Hitachi, Ltd. Storage System Comprising RAID Group
US8972353B1 (en) * 2011-12-02 2015-03-03 Emc Corporation System and method of enhanced backup and recovery configuration
US20150143192A1 (en) * 2012-04-28 2015-05-21 Hon Hai Precision Industry Co., Ltd. Application server and method of error recovery when downloading data files
US20150180714A1 (en) * 2013-12-24 2015-06-25 International Business Machines Corporation Configuration updates across peer storage systems
US20150254257A1 (en) * 2014-03-04 2015-09-10 Microsoft Corporation Seamless data migration across databases
US20200065268A1 (en) * 2018-08-24 2020-02-27 Rambus Inc. Dram interface mode with interruptible internal transfer operation

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7689743B2 (en) * 2006-12-20 2010-03-30 International Business Machines Corporation Data copy system apparatus and method
JP5077240B2 (en) 2006-12-20 2012-11-21 富士通株式会社 Communication processing program and communication processing method
US8229886B2 (en) * 2008-02-19 2012-07-24 International Business Machines Corporation Continuously available program replicas
JP2009199426A (en) * 2008-02-22 2009-09-03 Nec Corp Logical disk reconstruction device, disk array device, and logical disk reconstruction method
JP2009230239A (en) * 2008-03-19 2009-10-08 Hitachi Ltd Data migration method for tape device and tape management system
JP5035230B2 (en) * 2008-12-22 2012-09-26 富士通株式会社 Disk mounting mechanism and storage device
JP6024296B2 (en) 2012-08-30 2016-11-16 富士通株式会社 Information processing apparatus, copy control program, and copy control method
JP2019185661A (en) * 2018-04-17 2019-10-24 富士通株式会社 Storage device and control program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5719942A (en) * 1995-01-24 1998-02-17 International Business Machines Corp. System and method for establishing a communication channel over a heterogeneous network between a source node and a destination node
US6061807A (en) * 1997-06-27 2000-05-09 International Business Machines Corporation Methods systems and computer products for error recovery of endpoint nodes
US20020152429A1 (en) * 2001-04-12 2002-10-17 Bjorn Bergsten Method and apparatus for managing session information
US20060248200A1 (en) * 2005-04-29 2006-11-02 Georgi Stanev Shared memory implementations for session data within a multi-tiered enterprise network
US20060248350A1 (en) * 2005-04-29 2006-11-02 Georgi Stanev Persistent storage implementations for session data within a multi-tiered enterprise network

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000132343A (en) * 1998-08-20 2000-05-12 Hitachi Ltd Storage device system
JP4689137B2 (en) 2001-08-08 2011-05-25 株式会社日立製作所 Remote copy control method and storage system
US6484187B1 (en) * 2000-04-28 2002-11-19 International Business Machines Corporation Coordinating remote copy status changes across multiple logical sessions to maintain consistency
JP3714184B2 (en) * 2001-03-29 2005-11-09 富士通株式会社 Copying method between data areas of storage device and storage system
US6745303B2 (en) 2002-01-03 2004-06-01 Hitachi, Ltd. Data synchronization of multiple remote storage
JP2004112088A (en) 2002-09-13 2004-04-08 Canon Inc Information processing apparatus and method for controlling the same
US7065589B2 (en) 2003-06-23 2006-06-20 Hitachi, Ltd. Three data center remote copy system with journaling
JP2005062928A (en) 2003-08-11 2005-03-10 Hitachi Ltd Remote copy system using two or more sites

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5719942A (en) * 1995-01-24 1998-02-17 International Business Machines Corp. System and method for establishing a communication channel over a heterogeneous network between a source node and a destination node
US6061807A (en) * 1997-06-27 2000-05-09 International Business Machines Corporation Methods systems and computer products for error recovery of endpoint nodes
US20020152429A1 (en) * 2001-04-12 2002-10-17 Bjorn Bergsten Method and apparatus for managing session information
US6862689B2 (en) * 2001-04-12 2005-03-01 Stratus Technologies Bermuda Ltd. Method and apparatus for managing session information
US20060248200A1 (en) * 2005-04-29 2006-11-02 Georgi Stanev Shared memory implementations for session data within a multi-tiered enterprise network
US20060248350A1 (en) * 2005-04-29 2006-11-02 Georgi Stanev Persistent storage implementations for session data within a multi-tiered enterprise network

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070168713A1 (en) * 2005-12-13 2007-07-19 Kern Robert F Managing failures in mirrored systems
US7627775B2 (en) * 2005-12-13 2009-12-01 International Business Machines Corporation Managing failures in mirrored systems
US20100169596A1 (en) * 2008-12-29 2010-07-01 Fujitsu Limited Storage apparatus, backup apparatus, and backup method
US8347051B2 (en) 2008-12-29 2013-01-01 Fujitsu Limited Storage apparatus, backup apparatus, and backup method
US20100180094A1 (en) * 2009-01-09 2010-07-15 Fujitsu Limited Storage system, backup storage apparatus, and backup control method
US8862843B2 (en) * 2009-01-09 2014-10-14 Fujitsu Limited Storage system, backup storage apparatus, and backup control method
US20110167215A1 (en) * 2009-02-26 2011-07-07 Hitachi, Ltd. Storage System Comprising RAID Group
US8812779B2 (en) * 2009-02-26 2014-08-19 Hitachi, Ltd. Storage system comprising RAID group
US8972353B1 (en) * 2011-12-02 2015-03-03 Emc Corporation System and method of enhanced backup and recovery configuration
US20150143192A1 (en) * 2012-04-28 2015-05-21 Hon Hai Precision Industry Co., Ltd. Application server and method of error recovery when downloading data files
US20150180714A1 (en) * 2013-12-24 2015-06-25 International Business Machines Corporation Configuration updates across peer storage systems
US9667496B2 (en) * 2013-12-24 2017-05-30 International Business Machines Corporation Configuration updates across peer storage systems
US20150254257A1 (en) * 2014-03-04 2015-09-10 Microsoft Corporation Seamless data migration across databases
US9720991B2 (en) * 2014-03-04 2017-08-01 Microsoft Technology Licensing, Llc Seamless data migration across databases
US10831779B2 (en) 2014-03-04 2020-11-10 Microsoft Technology Licensing, Llc Seamless data migration across databases
US20200065268A1 (en) * 2018-08-24 2020-02-27 Rambus Inc. Dram interface mode with interruptible internal transfer operation
US11226909B2 (en) * 2018-08-24 2022-01-18 Rambus Inc. DRAM interface mode with interruptible internal transfer operation
US20220261361A1 (en) * 2018-08-24 2022-08-18 Rambus Inc. Dram interface mode with interruptible internal transfer operation
US11829307B2 (en) * 2018-08-24 2023-11-28 Rambus Inc. DRAM interface mode with interruptible internal transfer operation

Also Published As

Publication number Publication date
US7434094B2 (en) 2008-10-07
KR100639142B1 (en) 2006-10-30
JP2006309506A (en) 2006-11-09
CN1855025A (en) 2006-11-01
CN100388177C (en) 2008-05-14

Similar Documents

Publication Publication Date Title
US7434094B2 (en) Remote copy processing method, program, and system
US7320058B2 (en) Apparatus and method for online data migration with remote copy
US6775830B1 (en) Computer system and a program install method thereof
US7870296B2 (en) High availability system and execution state control method
JP4382602B2 (en) Remote copy system
JP4741304B2 (en) Data migration method or data migration system
JP2004252686A (en) Information processing system
JP5409799B2 (en) Remote copy system and remote copy control method
WO2009097768A1 (en) Configuration migration method and device
JP2950467B2 (en) Data processing system and related methods
US20030225898A1 (en) Method of controlling storage control apparatus, storage control apparatus, and computer readable program for controlling the same
JP4294692B2 (en) Information processing system
JP4193754B2 (en) Data duplication method and program
KR20030005531A (en) Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon
JP3233126B2 (en) Test restart processing method and apparatus in maintenance communication protocol
JPH06243059A (en) Interruption/resumption system for film transfer
JP2003337702A (en) Dynamic change system for module structure of software wireless device
JPS6239789B2 (en)
WO2012063306A1 (en) Virtual machine control device, virtual machine control system, virtual machine control method of virtual machine control device, and virtual machine control program
JP2003167836A (en) Device driver
JP3632611B2 (en) SCSI pointer control system
JPH05219201A (en) Restart processing system for electronic exchange
JPH03225434A (en) Job reactuation system
JPH09265438A (en) Device and method for file transfer
JP2021039396A (en) Communication control apparatus, communication control method and communication control program

Legal Events

Date Code Title Description
AS Assignment

Owner name: FUJITSU LIMITED, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FUJITA, KENICHI;MATSUO, HARUYUKI;REEL/FRAME:016787/0870

Effective date: 20050630

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

CC Certificate of correction
REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20121007