CN101527728A - Out-of-band disaster tolerance method and device - Google Patents

Out-of-band disaster tolerance method and device Download PDF

Info

Publication number
CN101527728A
CN101527728A CN200910136100A CN200910136100A CN101527728A CN 101527728 A CN101527728 A CN 101527728A CN 200910136100 A CN200910136100 A CN 200910136100A CN 200910136100 A CN200910136100 A CN 200910136100A CN 101527728 A CN101527728 A CN 101527728A
Authority
CN
China
Prior art keywords
disaster tolerance
memory device
data
address
online
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.)
Pending
Application number
CN200910136100A
Other languages
Chinese (zh)
Inventor
夏飞
周迪
陈乾业
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN200910136100A priority Critical patent/CN101527728A/en
Publication of CN101527728A publication Critical patent/CN101527728A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an out-of-band disaster tolerance method and a device thereof. The method comprises the following steps: a virtual server confirms that an application server makes a request for wiring data to an online memory device, provides the application server with a memory address for the online memory device to memorize data, and saves a corresponding relation between the memory address and an address assignment time; a disaster tolerance memory device acquires the memory address of the data subject to disaster tolerance processing in the online memory device when disaster tolerance processing is needed, and performs the disaster tolerance processing. In the method, only control information is transmitted via the virtual server, actual disaster tolerance data are directly sent to the disaster tolerance memory device by the online memory device, thus avoiding data transmission blockage in the virtual server, and enhancing system disaster tolerance efficiency.

Description

Outer disaster recovery method of a kind of band and equipment
Technical field
The present invention relates to the communications field, relate in particular to outer disaster recovery method of a kind of band and equipment.
Background technology
SAN (Storage Area Network, storage area network) is the network that stores data and circulate, it is a kind of framework in the Computerized Information Processing Tech, SAN couples together server and memory device (as disk array, tape library), makes these memory devices can be used as the data in the storage medium stores servers such as the hard disk of server or tape.
At present, the client uses the applied environment of SAN to become increasingly complex, the possibility that the data that the client stores in SAN are encroached on is increasing, the situation that disaster takes place among the SAN is more general, for example virus infraction, assault, misoperation, OS (Operating System, operating system) impaired and hardware fault etc., these cause tremendous loss all can for the storage of client in SAN; Therefore, more and more enterprises and user pay attention to the disaster tolerance to storage data among the SAN.
In the prior art, the basic disaster tolerance framework of SAN mainly comprises as shown in Figure 1: application server, online memory device and disaster tolerance memory device.Wherein, application server writes online memory device with data and stores, and online memory device is in order to carry out disaster tolerance to data, and the data of online memory device stored are backuped to the disaster tolerance memory device.The various protocols of communicating by letter and supporting between application server and the online memory device based on SAN, FC and FCP (fiber channel and fibre channel protocol for example, Fiber Channel and Fiber ChannelProtocol), ISCSI (Internet small computer system interface, Internet SmallComputer System Interface) agreement etc.
Communicating by letter between online memory device and the disaster tolerance memory device needs the support of specific disaster tolerance functional module, but, because the user plans deficiency in early days, perhaps because the cost problem, more existing online memory devices do not have the disaster tolerance functional module that above-mentioned communication needs, can not and the disaster tolerance memory device between communicate, promptly can't carry out data disaster tolerance.In order to address this problem, prior art has increased virtualized server in the disaster tolerance system of SAN.Virtualized server has following function: the resource virtualizing of online memory device is become virtual resource, virtual resource is offered application server carry out reading and writing data; Therefore simultaneously, virtualized server has the disaster tolerance functional module, can be used as intermediate medium and realizes communicating by letter between online memory device and the disaster tolerance memory device, the data calamity in the online memory device is equipped with arrives the disaster tolerance memory device.
According to the position of virtualized server in the SAN disaster tolerance system, the mode of utilizing virtualized server to carry out disaster tolerance in the prior art can be divided into 2 classes: a class is a disaster tolerance in the band, and a class is the outer disaster tolerance of band.
Wherein, be with interior disaster tolerance framework as shown in Figure 2, virtualized server is between application server and online memory device, and the disaster tolerance mode can solve online memory device can not carry out data disaster tolerance owing to there not being disaster tolerance problem preferably in this band.But, because business datum and disaster tolerance data all need through virtualized server, make that the flow that passes through virtualized server is too big, cause the obstructing problem of flow easily, thereby reduce the disaster tolerance effect of online memory device.
Be with outer disaster tolerance framework as shown in Figure 3, virtualized server is positioned at outside application server and the online memory device.Under this disaster tolerance mode, application server writes or during reading of data to online memory device, at first be to send request to virtualized server, virtualized server is asked to online memory device applied address space according to this, and the address space that will apply for sends to application server; Application server writes or reading of data to this address space.Because application server obtains control information from virtualized server, according to this control information to write direct data or read data in the online memory device of online memory device, so, do not need to pass through business data flow on the virtualized server.
In the outer disaster tolerance framework of above-mentioned band, in the time need carrying out disaster tolerance to the data in the online memory device, virtualized server at first reads the disaster tolerance data from online memory device, then these disaster tolerance data are sent to the disaster tolerance memory device, the disaster tolerance memory device receives disaster tolerance data and the storage that virtualized server sends, and realizes the disaster tolerance to data in the online memory device.
Under the outer disaster tolerance mode of this band, virtualized server only need pass through the disaster tolerance data, and business datum is then directly carried out having alleviated the pressure of virtualized server to a certain extent alternately with online memory device by application server.
But, in the outer disaster recovery solution of existing band, the disaster tolerance data still need to transmit through virtualized server, when having many online memory devices to need disaster tolerance, disaster tolerance data volume by virtualized server will be very big, cause the flow of virtualized server to block, reduce disaster tolerance efficient.
Summary of the invention
The invention provides outer disaster recovery method of a kind of band and equipment, so that only transmit the control information of disaster tolerance data on the virtualized server, actual disaster tolerance data are then directly sent on the disaster tolerance memory device by online memory device, thus the flow obstructing problem of virtualized server when avoiding big flow disaster tolerance data.
The invention provides the outer disaster recovery method of a kind of band, be applied to be with outer disaster tolerance system, the outer disaster tolerance system of described band comprises virtualized server, application server, online memory device and disaster tolerance memory device, and described method comprises:
Described virtualized server in definite described application server request after described online memory device writes data, provide described online memory device to be used to store the memory address of described data to described application server, and preserve described memory address and the corresponding relation of address assignment time;
When needs carried out the disaster tolerance processing, described disaster tolerance memory device obtained and need carry out the memory address of data in described online memory device that disaster tolerance is handled, and carried out disaster tolerance and handle;
It is that to inquire about described memory address according to the temporal information that disaster tolerance is handled definite with the corresponding relation of address assignment time that described need carry out the memory address of data in described online memory device that disaster tolerance handles.
Described disaster tolerance memory device obtains the memory address of data in described online memory device that need carry out the disaster tolerance processing and is specially:
Store the equipment of described corresponding relation and inquire about the corresponding relation of described memory address and address assignment time, obtain described need and carry out the memory address of data in described online memory device that disaster tolerance is handled according to the time of disaster tolerance processing;
The equipment of the described corresponding relation of described storage offers described disaster tolerance treatment facility with the memory address of data in described online memory device that described need carry out the disaster tolerance processing.
The equipment of storing described corresponding relation obtains before the memory address of data in described online memory device that need carry out the disaster tolerance processing, also comprises:
Described virtualized server is saved in described corresponding relation the equipment of the described corresponding relation of described storage.
Described need carry out the memory address of data in described online memory device that disaster tolerance handles and are specially: the address assignment time of obtaining according to described corresponding relation is in the memory address of disaster tolerance before the processing time.
The equipment of storing described corresponding relation obtains before the memory address of data in described online memory device that need carry out the disaster tolerance processing, also comprises:
Described application server time-out reads and writes data to described online memory device;
The equipment of storing described corresponding relation obtains after the memory address of data in described online memory device that need carry out the disaster tolerance processing, also comprises:
Described application server continues described online memory device is read and write data.
The invention provides a kind of virtualized server, comprising:
The request determining unit is used in definite application server request providing described online memory device to be used to store the memory address of described data to described application server after online memory device writes data;
Relation is preserved the unit, is connected with the described request determining unit, is used to preserve memory address and the corresponding relation of address assignment time that the described request determining unit provides.
Virtualized server provided by the invention also comprises:
The address provides the unit, preserving the unit with described relation is connected, be used for when needs carry out the disaster tolerance processing, inquire about described relation according to the time of disaster tolerance processing and preserve the corresponding relation that the unit is preserved, obtain and to carry out the memory address of data in described online memory device that disaster tolerance is handled; The memory address of data in described online memory device of described need being carried out the disaster tolerance processing offers described disaster tolerance treatment facility.
Virtualized server provided by the invention also comprises:
The applicative notifications unit, provide the unit to be connected with described address, be used for before described address provides the unit to obtain need to carry out the memory address of data at described online memory device that disaster tolerance handles, notifying described application server to suspend described online memory device being read and write data; After described address provides the unit to obtain need to carry out the memory address of data in described online memory device that disaster tolerance handles, notify described application server to continue described online memory device is read and write data.
Described relation is preserved the unit and also is used for: described corresponding relation is saved in miscellaneous equipment; Carry out disaster tolerance when handling by described miscellaneous equipment at needs, time according to the disaster tolerance processing is inquired about described corresponding relation, obtain and need carry out the memory address of data in described online memory device that disaster tolerance is handled, the memory address of data in described online memory device of described need being carried out the disaster tolerance processing offers described disaster tolerance treatment facility; Described miscellaneous equipment is specially described disaster tolerance memory device or third party device.
The invention provides a kind of network equipment, comprising:
Concern acquiring unit, be used to obtain memory address and the corresponding relation of address assignment time; Described memory address is specially the memory address that online memory device is used to store the data that the application server request writes;
Address acquisition unit, be connected with the described acquiring unit that concerns, be used for when needs carry out disaster tolerance, inquire about the described corresponding relation that concerns that acquiring unit obtains according to the time that disaster tolerance is handled, obtain described need and carry out the memory address of data in described online memory device that disaster tolerance is handled;
The address provides the unit, is connected with described address acquisition unit, and the data that the need that are used for that described address acquisition unit is obtained carry out the disaster tolerance processing offer the disaster tolerance treatment facility in the memory address of described online memory device.
Compared with prior art, the present invention has the following advantages at least:
The memory address of virtualized server in application server provides online memory device, and preserve memory address and the corresponding relation of address assignment time; When needs carry out the disaster tolerance processing, the disaster tolerance memory device obtains the memory address of the online storage content calamity data that obtain by above-mentioned corresponding relation, directly read disaster tolerance data in the online memory device according to this memory address, thereby make the directly transmission between disaster tolerance memory device and online memory device of disaster tolerance data, avoid the data jamming on the virtualized server, improve the disaster tolerance efficient of whole system.
Description of drawings
Fig. 1 is the disaster tolerance configuration diagram of SAN storage system in the prior art;
Fig. 2 is the interior disaster tolerance schematic diagram of band in the prior art;
Fig. 3 is the outer disaster tolerance schematic diagram of band in the prior art;
The schematic flow sheet of the outer disaster recovery method of the band that Fig. 4 provides for the present invention's one application scenarios;
The schematic flow sheet of disaster recovery method outside the band that provides in the Another Application scene of the present invention is provided Fig. 5;
The schematic flow sheet of disaster recovery method outside the band that provides in the Another Application scene of the present invention is provided Fig. 6;
Fig. 7 is the structural representation of virtualized server provided by the invention;
Fig. 8 is the structural representation of the network equipment provided by the invention.
Embodiment
The invention provides the outer disaster recovery method of a kind of band, its core concept is: in the SAN framework, when application server writes data in online memory device, need at first to write to the virtualized server request memory address of data; Virtualized server provides this memory address to application server, and writes down this memory address and the corresponding relation of address assignment time; When needs carry out disaster tolerance to online memory device, virtualized server is according to the above-mentioned corresponding relation and the current time of carrying out disaster tolerance of record, obtain online memory device domestic demand and carry out the memory address of the data of disaster tolerance, and this memory address offered the disaster tolerance memory device, the disaster tolerance memory device directly reads data in the online memory device according to this memory address, realizes disaster tolerance.
Introduce the outer disaster recovery method of band provided by the invention below in conjunction with a concrete application scenarios, be applied to be with outer disaster tolerance system, the outer disaster tolerance system of described band comprises virtualized server, application server, online memory device and disaster tolerance memory device, as shown in Figure 4, comprising:
Step s401, described virtualized server in definite described application server request after described online memory device writes data, provide described online memory device to be used to store the memory address of described data to described application server, and preserve described memory address and the corresponding relation of address assignment time;
Step s402, when needs carried out the disaster tolerance processing, described disaster tolerance memory device obtained and need carry out the memory address of data in described online memory device that disaster tolerance is handled, and carried out disaster tolerance and handle.It is that to inquire about described memory address according to the temporal information that disaster tolerance is handled definite with the corresponding relation of address assignment time that described need carry out the memory address of data in described online memory device that disaster tolerance handles.
By adopting method provided by the invention, the memory address of virtualized server in application server provides online memory device, and preservation memory address and the corresponding relation of address assignment time; When needs carry out the disaster tolerance processing, the disaster tolerance memory device obtains the memory address of the online storage content calamity data that obtain by above-mentioned corresponding relation, directly read disaster tolerance data in the online memory device according to this memory address, thereby make the directly transmission between disaster tolerance memory device and online memory device of disaster tolerance data, avoid the data jamming on the virtualized server, improve the disaster tolerance efficient of whole system.
Below in conjunction with another concrete application scenarios the outer disaster recovery method of band provided by the invention is introduced.Wherein, should be with in the outer disaster recovery method of the band that scene provides, comprise application server, online memory device and disaster tolerance memory device in the SAN, the data transfer between devices in the SAN is an example to follow the ISCSI agreement, and the present invention also can follow other agreement realization certainly.The ISCSI agreement is that a kind of IP network of utilizing is transmitted SCSI (SmallComputer System Interface, small computer system interface) method of data block, SCSI is the blocks of data host-host protocol, it is the most basic standard agreement of memory device, by this ISCSI agreement of configuration on online memory device and application server, can directly carry out data write between online memory device in the SAN and the application server.
Concrete, as shown in Figure 5, should may further comprise the steps with the outer disaster recovery method of the band that scene provides:
Step s501, the disaster tolerance memory device in the configuration SAN disaster tolerance storage system can communicate the disaster tolerance memory device with online memory device.
The software pattern of ISCSI protocol communication, for example Initiator software are supported in configuration on the disaster tolerance memory device.After this software was installed, the disaster tolerance memory device can communicate with the online memory device in the SAN disaster tolerance storage system, directly reads the data on the online memory device, makes data traffic without the equipment that may become bottleneck, as virtualized server.The present invention can realize that equally also the data between disaster tolerance memory device and online memory device directly read by the form of hardware configuration.
Step s502 distributes the storage resources of online memory device, and the storage resources on the online memory device is distributed to application server, virtualized server and disaster tolerance memory device.
Have at least one storage resources on the online memory device, this storage resources is specifically as follows hard disk or disk array etc.Online memory device refers to application server, virtualized server and disaster tolerance memory device this resource allocation: online memory device is by supporting the Initiator software of ISCSI protocol communication or communicating initialization by modes such as hardware configuration in the SAN disaster tolerance system, set up getting in touch between storage resources in the online memory device and application server, virtualized server and the disaster tolerance memory device, make application server and virtualized server directly in this storage resources, to write data, perhaps read the data in this storage resources; The disaster tolerance memory device can directly read the data in this storage resources.
Distribution to the storage resources of online memory device can self be finished also and can be finished by the external equipment with its distribution function of control by online memory device, as virtualized server etc.
Step s503, virtualized server with the storage resources of online memory device virtual after, distribute to application server.
Concrete, virtualized server carries out virtualized process to the storage resources in the online memory device and is: virtualized server receives the storage resources in the online memory device, obtains a series of addresses of this storage resources; Virtualized server is handled these a series of addresses, is designated the memory address of this virtualized server.Then, virtualized server is given application server with this allocations of storage addresses after virtual.
When step s504, application server write data in storage resources, at first send write request to virtualized server.
The sending direction of pre-configured write request is a virtualized server in the application server, comprises in the above-mentioned write request that the application server requirement writes the data block size of storage resources.
After step s505, virtualized server receive this write request, this write request is forwarded to online memory device.
Step s506, after online memory device received this write request, according to the memory address of this write request distribute data piece in storage resources, and the memory address that these data are fast sent to virtualized server.
Step s507, virtualized server is given application server with the allocations of storage addresses of above-mentioned data block.
Because distributing, the storage resources of online memory device also can control by virtualized server, therefore step s505, s506 also can control online memory device for virtualized server and carry out address assignment, and correspondingly obtain the allocations of storage addresses situation, thereby in step s507, similarly give application server with the allocations of storage addresses of above-mentioned data block.
At this moment, virtualized server is the actual address of online memory device to the memory address that application server distributes.Virtualized server is also preserved memory address and the corresponding relation of address assignment time that distributes to application server, and is as shown in table 1.
The corresponding relation of table 1 memory address and address assignment time
Figure A20091013610000131
Step s508, application server writes data to this memory address.
Because among the step s502, online memory device is distributed to application server with storage resources, therefore, after application server obtains this memory address, can directly write data in this memory address.
For example, when application server need be the 100K byte to the file A size that online memory device writes, application server need be applied for the address space of 100K.Specifically comprise: 1, virtualized server receives the request of application server, to the address space of online memory device application 100K.2, after online memory device is received request, the specified data block message.In the address space of online memory device, the address block of the minimum memory unit of data is 512 bytes, need distribute 200 address blocks for file A, and online memory device selects address number from 100012---200 address blocks of 100211.3, online memory device is issued virtualized server with address number, again this address number is sent to application server by virtualized server.Application server can write the data directly in the corresponding address piece after receiving the address number of virtualized server transmission, and promptly application server is written to the 100K data and is numbered 100012---in 200 data blocks of 100211.
Step s509, virtualized server starts disaster tolerance, generates the memory address tabulation of disaster tolerance data.
The triggering that virtualized server starts disaster tolerance is: virtualized server is provided with timer, presets the time of online memory device being carried out disaster tolerance, and when arriving the time of timer setting, virtualized server starts disaster tolerance; Perhaps, artificially control the time that virtualized server starts disaster tolerance, in the time need carrying out disaster tolerance to the data in the online memory device, virtualized server receives artificial disaster tolerance order, and starts disaster tolerance according to this order; Perhaps, in disaster tolerance memory device or online storage service device, the disaster tolerance timer is set, arrives default disaster tolerance during the time, send trigger command to virtualized server, require virtualized server to start disaster tolerance by disaster tolerance memory device or online storage service device.
The startup of disaster tolerance can also can be carried out the equipment execution that disaster tolerance starts by other except that can being carried out by virtualized server.
After virtualized server starts disaster tolerance, send message to application server, notice application server time-out reads and writes data to storage resources.Then, the virtualized server rise time stabs, according to memory address and the corresponding relation of address assignment time among the current time query steps s507 that carries out disaster tolerance, set up the corresponding relation of the address data memory that needs to carry out disaster tolerance in current time and the online memory device.Concrete, virtualized server can be set up a corresponding relation list, comprise in this tabulation that current time of starting disaster tolerance and this need carry out the address data memory of disaster tolerance, this address data memory is specially the address data memory of all the address assignment time correspondences before the current time.
After above-mentioned virtualized server is set up the corresponding relation of the address data memory that needs to carry out disaster tolerance in current time and the online memory device, virtualized server sends message to application server, and the notice application server continues to read and write data in online memory device.
Step s510, virtualized server sends to the disaster tolerance memory device with corresponding relation, and the disaster tolerance memory device reads data in the online memory device according to address data memory.
Because among the step s502, online memory device is distributed to application server with storage resources, after application server obtains to need the memory address of data in this storage resources of disaster tolerance, can be directly read storage resources in the online memory device, realize disaster tolerance online memory device stored resource according to this memory address.
After the data that the disaster tolerance memory device reads the needs disaster tolerance according to address data memory are finished, return the message of disaster tolerance success to virtualized server, after virtualized server received this message, disaster tolerance was finished.Virtualized server can also notify online memory device disaster tolerance to finish.
In the application scenarios provided by the invention, virtualized server can also be saved in miscellaneous equipment, for example disaster tolerance memory device or third party device with the memory address tabulation that generates the disaster tolerance data among the step s509.When carrying out disaster tolerance, this miscellaneous equipment is tabulated according to the memory address of the time inquiry disaster tolerance data that disaster tolerance is handled, and obtains and need carry out the memory address of data in online memory device that disaster tolerance is handled; And need are carried out the memory address of data in online memory device that disaster tolerance handles offer the disaster tolerance treatment facility.For example, when carrying out disaster tolerance, virtualized server can send message to the third party device of preserving the memory address tabulation, notify this third party device to carry out disaster tolerance, this third party device obtain need carry out data that disaster tolerance handles in online memory device memory address and offer the disaster tolerance memory device.
Below in conjunction with another concrete application scenarios the outer disaster recovery method of band provided by the invention is introduced.In this application scenarios, disaster tolerance system comprises an application server (S), one online memory device (ST-A), a virtualized server (V-A) and a disaster tolerance memory device (ST-D), 1 storage resources SAN-A and S on the ST-A carry out normal reading and writing data always.As shown in Figure 6, should may further comprise the steps with the outer disaster recovery method of the band that scene provides:
Step s601 carries out protocol configuration on ST-D, ST-D can be communicated with ST-A.
Step s602, ST-A distributes to V-A with SAN-A, and V-A gives S with SAN-A virtual back reallocation.
When S will carry out reading and writing data to SAN-A, at first to carry out control information mutual with V-A, and V-A carries out alternately with ST-A more then, and last V-A sends to S with control information again, and S reads and writes SAN-A according to control information again.This control information is specially the memory address that SAN-A is the S data allocations that will write.
Step s603, ST-A distributes to ST-D with SAN-A, and the authority of ST-D is read-only.
Step s604, the morning, V-A started disaster tolerance during 10:00, and V-A notice S suspends the ST-A data write, and the V-A rise time is stabbed TM-10 successfully.
Among the step s602, the memory address of V-A data in S provides SAN-A makes S write data in SAN-A according to this memory address; V-A has writing function, and memory address that offers S and the corresponding relation that the time of this memory address is provided are recorded in self storage medium.When needs stabbed settling time, V-A extracted corresponding information according to the corresponding relation of above-mentioned record, stabs TM-10 settling time.
Time stamp T M-10 is specifically as follows a corresponding relation list, the object that carries out data disaster tolerance in the SAN-A can be all data of storage before this disaster tolerance time, shown in the associative list 1, the time of supposing the address data memory of the last V-A in S provides SAN-A is 9:00 on February 24th, 2009, then as shown in table 2, the memory address of disaster tolerance data is all address data memories that V-A distributes to S before the 10:00.
Table 2 time stamp T M-10
Figure A20091013610000161
Should be with in the scene, the data that the object that carries out data disaster tolerance in the SAN-A also can write for S during this disaster tolerance and the last disaster tolerance, shown in the associative list 1, the time of supposing last disaster tolerance is 10:00 on February 23rd, 2009, this disaster tolerance time is 10:00 on February 24th, 2009, and after the last disaster tolerance, V-A only distributed the memory address of a secondary data during 9:00 to S on February 24th, 2009, then the time stamp T M-10 that this moment, V-A generated is as shown in table 3, includes only the last address data memory that distributes of V-A.
Table 3 time stamp T M-10
Figure A20091013610000172
After step s605, time stamp T M-10 set up successfully, V-A notice S continued SAN-A is carried out reading and writing data.
Step s606, V-A needs the storage address information of the data of disaster tolerance to send to ST-D the 10:00 time SAN-A.V-A obtains corresponding address data memory and sends to ST-D according to the time stamp T M-10 that sets up among the step s604.
After step s607, ST-D receive the address data memory information that V-A sends, at the data storage resource SAN-D that self sets up with the identical size of SAN-A.
Step s608, ST-D reads SAN-A needs disaster tolerance when 10:00 data, and the data that read is kept among the SAN-D according to the address information of receiving.
Step s609, ST-D read the data success that needs disaster tolerance among the SAN-A, and after preserving the data that read, send message to V-A, and notice V-A data read finishes.
Step s610, V-A are known ST-D reads needs disaster tolerance in the SAN-A that finishes data after receiving the message of ST-D transmission, and notice ST-A disaster tolerance is finished, and whole disaster tolerance process finishes.
Should be with in the scene, virtualized server notice application server suspends the message of reading and writing data, it can be private message, the message of carrying time-out reading and writing data notice of for example using cryptographic protocol to encrypt, the read-write time-out information in this private message has only virtualized server and application server to obtain; Perhaps use the message mechanism of ISCSI agreement, the NOP-IN message in the ISCSI agreement for example, concrete, virtualized server can utilize the reserved field 0xdddddddd of NOP-IN message to represent to begin to set up TM, needs the reading and writing data business of application server time-out to online memory device; After application server is received this message, suspend reading and writing data to online memory device; The reserved field 0xcccccccc of NOP-IN message represents that TM sets up successfully, can continue business, after application server is received this message, continues online memory device is carried out reading and writing data.
The form of above-mentioned NOP-IN message is specific as follows: when needs notice application server was suspended operation, the reserved field Reserved in the NOP-IN message used 0xdddddddd; When needs notice application server continued business, the reserved field Reserved in the NOP-IN message used 0xcccccccc.
Byte/ 0 | 1 | 2 | 3 |
/ | | | |
|0?1?2?3?4?5?6?7|0?1?2?3?4?5?6?7|0?1?2?3?4?5?6?7|0?1?2?3?4?5?6?7|
+---------------+---------------+---------------+---------------+
0|.|I|?0x00 |1| Reserved |
+---------------+---------------+---------------+---------------+
4|TotalAHSLength?|DataSegmentLength |
+---------------+---------------+---------------+---------------+
8|?LUN?or?Reserved |
+ +
12| |
+---------------+---------------+---------------+---------------+
16|?Initiator?Task?Tag?or?0xffffffff |
+---------------+---------------+---------------+---------------+
20|?Target?Transfer?Tag or 0xffffffff |
+---------------+---------------+---------------+---------------+
24|?CmdSN |
+---------------+---------------+---------------+---------------+
28|ExpStatSN |
+---------------+---------------+---------------+---------------+
32/Reserved
(consider to represent to begin to set up TM, suspend operation) with 0xdddddddd
(consider to represent that with 0xcccccccc TM sets up successfully, continue professional)/
+/ /
+---------------+---------------+---------------+---------------+
48|Header-Digest (Optional) |
+---------------+---------------+---------------+---------------+
/DataSegment -Ping?Data (optional) /
+/ /
+---------------+---------------+---------------+---------------+
|Data-Digest (Optional) |
+---------------+---------------+---------------+---------------+
The invention provides a kind of virtualized server, as shown in Figure 7, comprising:
Request determining unit 11 is used in definite application server request providing described online memory device to be used to store the memory address of described data to described application server after online memory device writes data.
When the application server request writes data to online memory device, this request at first sends to the request determining unit 11 of virtualized server, this unit determines that the application server request writes data to online memory device, the request that writes with data sends to online memory device then, obtain the memory address of online memory device, this memory address is sent to application server for this data allocations.
Relation is preserved unit 12, is connected with described request determining unit 11, is used to preserve memory address and the corresponding relation of address assignment time that described request determining unit 11 provides.Memory address and the corresponding relation of address assignment time that request determining unit 11 provides can be preserved by setting up modes such as corresponding relation tabulation in this unit.
Virtualized server provided by the invention also comprises:
The address provides unit 13, preserving unit 12 with relation is connected, be used for when needs carry out the disaster tolerance processing, inquire about described relation according to the time of disaster tolerance processing and preserve the corresponding relation that unit 12 is preserved, obtain and to carry out the memory address of data in described online memory device that disaster tolerance is handled; The memory address of data in described online memory device of described need being carried out the disaster tolerance processing offers described disaster tolerance treatment facility.
Virtualized server provided by the invention also comprises:
Applicative notifications unit 14, provide unit 13 to be connected with described address, be used for before described address provides unit 13 to obtain need to carry out the memory address of data at described online memory device that disaster tolerance handles, notifying described application server to suspend described online memory device being read and write data; After described address provides unit 13 to obtain need to carry out the memory address of data in described online memory device that disaster tolerance handles, notify described application server to continue described online memory device is read and write data.
Described relation is preserved unit 12 and also is used for: described corresponding relation is saved in miscellaneous equipment; Carry out disaster tolerance when handling by described miscellaneous equipment at needs, time according to the disaster tolerance processing is inquired about described corresponding relation, obtain and need carry out the memory address of data in described online memory device that disaster tolerance is handled, the memory address of data in described online memory device of described need being carried out the disaster tolerance processing offers described disaster tolerance treatment facility; Described miscellaneous equipment is specially described disaster tolerance memory device or third party device.
The invention provides a kind of network equipment, be specifically as follows disaster tolerance memory device or third party device, as shown in Figure 8, this network equipment comprises:
Concern acquiring unit 21, be used to obtain memory address and the corresponding relation of address assignment time; Described memory address is specially the memory address that online memory device is used to store the data that the application server request writes.
Address acquisition unit 22, be connected with the described acquiring unit 21 that concerns, be used for when needs carry out disaster tolerance, inquire about the described corresponding relation that concerns that acquiring unit 21 obtains according to the time that disaster tolerance is handled, obtain described need and carry out the memory address of data in described online memory device that disaster tolerance is handled;
The address provides unit 23, is connected with described address acquisition unit 22, is used for that the need that described address acquisition unit 22 is obtained are carried out the data that disaster tolerance handles and offers described disaster tolerance treatment facility in the memory address of described online memory device.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, the outer disaster recovery method of a kind of band is applied to be with outer disaster tolerance system, and the outer disaster tolerance system of described band comprises virtualized server, application server, online memory device and disaster tolerance memory device, it is characterized in that described method comprises:
Described virtualized server in definite described application server request after described online memory device writes data, provide described online memory device to be used to store the memory address of described data to described application server, and preserve described memory address and the corresponding relation of address assignment time;
When needs carried out the disaster tolerance processing, described disaster tolerance memory device obtained and need carry out the memory address of data in described online memory device that disaster tolerance is handled, and carried out disaster tolerance and handle;
It is that to inquire about described memory address according to the temporal information that disaster tolerance is handled definite with the corresponding relation of address assignment time that described need carry out the memory address of data in described online memory device that disaster tolerance handles.
2, the method for claim 1 is characterized in that, described disaster tolerance memory device obtains the memory address of data in described online memory device that need carry out the disaster tolerance processing and is specially:
Store the equipment of described corresponding relation and inquire about the corresponding relation of described memory address and address assignment time, obtain described need and carry out the memory address of data in described online memory device that disaster tolerance is handled according to the time of disaster tolerance processing;
The equipment of the described corresponding relation of described storage offers described disaster tolerance treatment facility with the memory address of data in described online memory device that described need carry out the disaster tolerance processing.
3, method as claimed in claim 2 is characterized in that, the equipment of storing described corresponding relation obtains before the memory address of data in described online memory device that need carry out the disaster tolerance processing, also comprises:
Described virtualized server is saved in described corresponding relation the equipment of the described corresponding relation of described storage.
4, as each described method of claim 1-3, it is characterized in that described need carry out the memory address of data in described online memory device that disaster tolerance handles and are specially: the address assignment time of obtaining according to described corresponding relation is in the memory address of disaster tolerance before the processing time.
5, method as claimed in claim 2 is characterized in that, the equipment of storing described corresponding relation obtains before the memory address of data in described online memory device that need carry out the disaster tolerance processing, also comprises:
Described application server time-out reads and writes data to described online memory device;
The equipment of storing described corresponding relation obtains after the memory address of data in described online memory device that need carry out the disaster tolerance processing, also comprises:
Described application server continues described online memory device is read and write data.
6, a kind of virtualized server is characterized in that, comprising:
The request determining unit is used in definite application server request providing described online memory device to be used to store the memory address of described data to described application server after online memory device writes data;
Relation is preserved the unit, is connected with the described request determining unit, is used to preserve memory address and the corresponding relation of address assignment time that the described request determining unit provides.
7, virtualized server as claimed in claim 6 is characterized in that, also comprises:
The address provides the unit, preserving the unit with described relation is connected, be used for when needs carry out the disaster tolerance processing, inquire about described relation according to the time of disaster tolerance processing and preserve the corresponding relation that the unit is preserved, obtain and to carry out the memory address of data in described online memory device that disaster tolerance is handled; The memory address of data in described online memory device of described need being carried out the disaster tolerance processing offers described disaster tolerance treatment facility.
8, virtualized server as claimed in claim 7 is characterized in that, also comprises:
The applicative notifications unit, provide the unit to be connected with described address, be used for before described address provides the unit to obtain need to carry out the memory address of data at described online memory device that disaster tolerance handles, notifying described application server to suspend described online memory device being read and write data; After described address provides the unit to obtain need to carry out the memory address of data in described online memory device that disaster tolerance handles, notify described application server to continue described online memory device is read and write data.
9, virtualized server as claimed in claim 6 is characterized in that, described relation is preserved the unit and also is used for: described corresponding relation is saved in miscellaneous equipment; Carry out disaster tolerance when handling by described miscellaneous equipment at needs, time according to the disaster tolerance processing is inquired about described corresponding relation, obtain and need carry out the memory address of data in described online memory device that disaster tolerance is handled, the memory address of data in described online memory device of described need being carried out the disaster tolerance processing offers described disaster tolerance treatment facility; Described miscellaneous equipment is specially described disaster tolerance memory device or third party device.
10, a kind of network equipment is characterized in that, comprising:
Concern acquiring unit, be used to obtain memory address and the corresponding relation of address assignment time; Described memory address is specially the memory address that online memory device is used to store the data that the application server request writes;
Address acquisition unit, be connected with the described acquiring unit that concerns, be used for when needs carry out disaster tolerance, inquire about the described corresponding relation that concerns that acquiring unit obtains according to the time that disaster tolerance is handled, obtain described need and carry out the memory address of data in described online memory device that disaster tolerance is handled;
The address provides the unit, is connected with described address acquisition unit, and the data that the need that are used for that described address acquisition unit is obtained carry out the disaster tolerance processing offer the disaster tolerance treatment facility in the memory address of described online memory device.
CN200910136100A 2009-04-28 2009-04-28 Out-of-band disaster tolerance method and device Pending CN101527728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910136100A CN101527728A (en) 2009-04-28 2009-04-28 Out-of-band disaster tolerance method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910136100A CN101527728A (en) 2009-04-28 2009-04-28 Out-of-band disaster tolerance method and device

Publications (1)

Publication Number Publication Date
CN101527728A true CN101527728A (en) 2009-09-09

Family

ID=41095421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910136100A Pending CN101527728A (en) 2009-04-28 2009-04-28 Out-of-band disaster tolerance method and device

Country Status (1)

Country Link
CN (1) CN101527728A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741861B (en) * 2010-01-07 2013-06-05 杭州华三通信技术有限公司 Data storage method and device
CN107517268A (en) * 2017-09-05 2017-12-26 郑州云海信息技术有限公司 A kind of data manipulation method based on SAN storages, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741861B (en) * 2010-01-07 2013-06-05 杭州华三通信技术有限公司 Data storage method and device
CN107517268A (en) * 2017-09-05 2017-12-26 郑州云海信息技术有限公司 A kind of data manipulation method based on SAN storages, apparatus and system

Similar Documents

Publication Publication Date Title
CN103999031B (en) The virtual privately owned storage array service of Cloud Server
JP5272709B2 (en) Address assignment method, computer, physical machine, program, and system
JP5784482B2 (en) Information processing apparatus and communication control method
JP4632574B2 (en) Storage device, file data backup method, and file data copy method
EP1324183A2 (en) System and method for intermediating communication with a moveable media library utilizing a plurality of partitions
JP4818395B2 (en) Storage apparatus and data copy method
US8732381B2 (en) SAS expander for communication between drivers
JPWO2005001700A1 (en) Storage capacity management method, server and recording medium
US9569135B2 (en) Virtual accounting container for supporting small volumes of data
JP2007265270A (en) Storage system and storage region allocation method
TW201220060A (en) Latency reduction associated with a response to a request in a storage system
JP2005149276A (en) Information processing system, information processor and control method therefor, and program
CN104901923A (en) Virtual machine access device and method
CN109558212A (en) A kind of virtualized management method of physical equipment, system, physical equipment and medium
CN106886455A (en) Method and system for realizing user isolation
WO2021063160A1 (en) Solid state disk access method and storage device
CN111949210A (en) Metadata storage method, system and storage medium in distributed storage system
CN114281252A (en) Virtualization method and device for NVMe (network video recorder) device of nonvolatile high-speed transmission bus
CN113961139A (en) Method for processing data by using intermediate device, computer system and intermediate device
CN101686165A (en) Chip device and method of accessing network shared files by using same
JP2005208999A (en) Virtual machine management program
US8677094B2 (en) Storage system, release method, and secondary storage apparatus
US9319350B2 (en) Virtual address for virtual port
US9348513B2 (en) SAS virtual tape drive
CN101527728A (en) Out-of-band disaster tolerance method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090909