[go: up one dir, main page]

CN101060462A - A data recovery method, device, storage server and DHCP server - Google Patents

A data recovery method, device, storage server and DHCP server Download PDF

Info

Publication number
CN101060462A
CN101060462A CNA200710091196XA CN200710091196A CN101060462A CN 101060462 A CN101060462 A CN 101060462A CN A200710091196X A CNA200710091196X A CN A200710091196XA CN 200710091196 A CN200710091196 A CN 200710091196A CN 101060462 A CN101060462 A CN 101060462A
Authority
CN
China
Prior art keywords
iscsi
link information
server
storage server
main frame
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
CNA200710091196XA
Other languages
Chinese (zh)
Other versions
CN100550818C (en
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.)
New 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 CNB200710091196XA priority Critical patent/CN100550818C/en
Publication of CN101060462A publication Critical patent/CN101060462A/en
Application granted granted Critical
Publication of CN100550818C publication Critical patent/CN100550818C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The provided data recovery method comprises: on DHCP server, building the mapping message between user message and iSCSI message that includes name of Initiator/Target and Target address; distributing IP address for host by server, and sending iSCSI message to host; in host, building iSCSI connection with storage server, and accordingly recovering data. This invention is convenient to user operation.

Description

A kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server
Technical field
The present invention relates to data transmission technology, particularly relate to a kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server based on iSCSI.
Background technology
Small computer system interface (Small Computer System Interface, SCSI) the standards system standard carry out the process of data block input-output operation between applied host machine and the external equipment, wherein, external equipment comprises disk, tape, CD, printer, scanner etc.The reference model of scsi device is a typical client-server, a side (as application server) who initiates service request is called initiator (Initiator), a side (as storage server) who accepts service request is called target side (Target), and different physical connection modes can be arranged between Initiator and the Target.
Internet Small Computer Systems Interface (internet Small Computer System Interface, iSCSI) be a kind of SCSI host-host protocol, be used between application server and storage server, transmitting scsi command and data by IP network based on TCP/IP.At present, iscsi technology standardization (RFC3720, RFC3721 etc.), and in the industry cycle be used widely.
The typical applied environment of an iSCSI agreement as shown in Figure 1.Application server is installed an iSCSI initiator module, and storage server is installed iscsi target side's module.Application server in the iSCSI message, sends to storage server to scsi command and/or data encapsulation by IP network, and storage server is handled each iSCSI message, takes out data wherein and is written in the storage medium (as disk).
After application server and storage server are set up iSCSI and be connected, data can be backuped on the storage server, storage server is that application server is created a mirror image resources onesize with local disk.When the application server host system failure, can be connected with the iSCSI of storage server by foundation and carry out the data recovery.When needs carry out the data recovery, by recovering optical disk start-up, after the system start-up, the user is host configuration IP address, and input iSCSI link information (set up iSCSI and connect required information): Initiator title (here being host name), Target title and Target address, like this, main frame just can be set up iSCSI with the storage server of far-end and is connected.The iSCSI that passes through to be set up connects, and copies the mirror image data of main frame in storage server to this locality, main frame can be recovered the preceding state of collapse, reaches the purpose that data are recovered.
But in such scheme, the user need import the iSCSI link information, i.e. Initiator title, Target title and Target address information.So information such as Initiator title, Target title and Target address during the iSCSI that the user sets up in the time of need remembeing data backup connects claim are cumbersome; Because Initiator title and Target title are long usually, when input, make mistakes easily.
Summary of the invention
Technical problem to be solved by this invention provides a kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server, does not need the user to import the iSCSI link information, can set up iSCSI with storage server and be connected, and recovers thereby carry out data.
In order to address the above problem, it is as follows to the invention provides technical scheme:
A kind of data reconstruction method is used for from storage server data being returned to main frame, comprising:
On Dynamic Host Configuration Protocol server, set up the related information of user profile and iSCSI link information;
When Dynamic Host Configuration Protocol server is host assignment IP address,, the iSCSI link information of correspondence is sent to main frame according to user profile;
Main frame is set up according to the iSCSI link information of described correspondence and is connected with the iSCSI of storage server, and the data recovery is carried out in the iSCSI connection of passing through to be set up.
Wherein, the described related information of setting up comprises:
Set up at main frame and to be connected with the iSCSI of storage server when carrying out data backup, storage server recording user information and corresponding iSCSI link information, and the user profile of record and the iSCSI link information of correspondence sent to Dynamic Host Configuration Protocol server;
Dynamic Host Configuration Protocol server increases received user profile and corresponding iSCSI link information in related information.
Wherein, described user profile is host MAC address.
Wherein, described iSCSI link information comprises Initiator title, Target title and Target address.
Wherein, described Dynamic Host Configuration Protocol server is arranged in the storage server.
A kind of storage server comprises:
The related information logging modle is used for setting up at main frame and is connected when carrying out data backup the iSCSI link information of recording user information and correspondence with the iSCSI of storage server;
The related information sending module is used for user profile and corresponding iSCSI link information are sent to Dynamic Host Configuration Protocol server.
A kind of Dynamic Host Configuration Protocol server comprises:
Related information is set up module, is used for user profile and corresponding iSCSI link information according to the storage server transmission, sets up the related information of user profile and iSCSI link information;
The link information sending module is used for when the host assignment IP address, according to user profile, the iSCSI link information of correspondence is sent to main frame.
A kind of Data Recapture Unit is arranged in the main frame, is used for from storage server data being returned to main frame, comprising:
The link information receiver module is used for when obtaining the IP address by Dynamic Host Configuration Protocol server, receives the iSCSI link information corresponding to user profile that Dynamic Host Configuration Protocol server sends;
Data recovery module be used for being connected with the iSCSI of storage server according to the iSCSI link information foundation of described correspondence, and the data recovery is carried out in the iSCSI connection of passing through to be set up.
The solution of the present invention is by setting up the related information of user profile and iSCSI link information on Dynamic Host Configuration Protocol server, when needs carry out the data recovery, main frame obtains the IP address by Dynamic Host Configuration Protocol server, and get access to the iSCSI link information that Dynamic Host Configuration Protocol server sends simultaneously, do not need the user to import the iSCSI link information, can set up iSCSI with storage server and be connected, recover thereby carry out data.
Description of drawings
Fig. 1 is the typical application structure figure of an iSCSI agreement in the prior art;
Fig. 2 is the flow chart of the described data reconstruction method of the embodiment of the invention;
Fig. 3 is the structural representation of the described data recovery system of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the accompanying drawings and the specific embodiments.
Please refer to Fig. 2, the described data reconstruction method of the embodiment of the invention comprises:
Step 201, at DHCP (Dynamic Host Configuration Protocol, DHCP) set up the related information of user profile and iSCSI link information on the server, described iSCSI link information comprises Initiator title, Target title and Target address, and described user profile is host MAC address in this embodiment;
Set up at main frame and to be connected with the iSCSI of storage server when carrying out data backup, storage server record host MAC address and corresponding iSCSI link information, and the host MAC address of record and the iSCSI link information of correspondence sent to Dynamic Host Configuration Protocol server; Dynamic Host Configuration Protocol server increases received host MAC address and corresponding iSCSI link information in related information.For example, on Dynamic Host Configuration Protocol server, set up related information as shown in the table.
Host MAC address The Initiator title The Target title The Target address
00-0D-88-F8-33-46 a T1 1.1.1.1
00-0D-88-F8-33-47 b T2 1.1.1.1
00-0D-88-F8-33-48 c T3 1.1.1.1
In an embodiment of the present invention, main frame need be configured to DHCP when adding network and obtain the IP address automatically, then by obtaining the IP address alternately with Dynamic Host Configuration Protocol server, this moment, Dynamic Host Configuration Protocol server was noted the MAC Address of main frame, be divided into two kinds of situations again: when main frame when direct-connected with Dynamic Host Configuration Protocol server (promptly not being connected) by route equipment, host computer system directly sends to Dynamic Host Configuration Protocol server with the DHCP request message, and the source MAC of this message is host MAC address; When main frame and Dynamic Host Configuration Protocol server when not direct-connected (promptly being connected) by routing device, DHCP request message message by routing device after its source MAC can become the MAC Address of router interface, this interface is exactly the interface that links to each other with Dynamic Host Configuration Protocol server.In this case, Dynamic Host Configuration Protocol server can not be determined the MAC Address of main frame according to the source MAC of the DHCP message that is obtained, the way that addresses this problem is to open DHCP Relay function on routing device, and support DHCP option Option82, like this when router when Dynamic Host Configuration Protocol server is transmitted the DHCP request message, host MAC address can be filled in the option Option82 field, thereby allow Dynamic Host Configuration Protocol server obtain host MAC address information.
Main frame uses client software (for example DiskSafe) to create storage resources usually on storage server, at this moment, main frame is set up iSCSI with storage server and is connected, storage server record host MAC address (storage server obtains host MAC address from Dynamic Host Configuration Protocol server) and corresponding iSCSI link information, and send it to Dynamic Host Configuration Protocol server.
Step 202, Dynamic Host Configuration Protocol server receive DHCP when request of main frame, for host assignment IP address, according to the MAC Address of main frame, the iSCSI link information of correspondence are sent to main frame;
When main frame need carry out the data recovery, use usually and recover CD (for example RecoveryCD) startup, after the system start-up, to Dynamic Host Configuration Protocol server transmission DHCP request, the request Dynamic Host Configuration Protocol server is its distributing IP address.
When Dynamic Host Configuration Protocol server receives from the DHCP of main frame request, in related information, search the MAC Address whether this main frame is arranged, also be divided into two kinds of situations here:
In related information not during the MAC Address of this main frame, it then is this host assignment IP address, and the MAC Address of record main frame, corresponding to when carrying out data backup, set up the step (referring to the processing in the step 201) of the related information of host MAC address and iSCSI link information;
When the MAC Address of this main frame is arranged,, also send private message in related information, corresponding " Initiator title, Target title, Target address " sent to main frame to main frame then except being this host assignment IP address.
For example, Dynamic Host Configuration Protocol server receives DHCP when request that MAC Address is the 00-0D-88-F8-33-46 main frame, searches the MAC Address whether this main frame is arranged in related information, if there is not this MAC Address, then notes and the distributing IP address; If this MAC arranged, then Inistiator title " a ", Target title " T1 " and Target address " 1.1.1.1 " are sent to main frame by proprietary protocol.
Step 203, main frame are set up according to the iSCSI link information of described correspondence and are connected with the iSCSI of storage server, and the data recovery is carried out in the iSCSI connection of passing through to be set up.
After the main frame that use to recover optical disk start-up receives the private message that comprises " Initiator title, Target title, Target address " from Dynamic Host Configuration Protocol server, set up iSCSI according to information wherein with storage server and be connected.For example, MAC Address is that the main frame of 00-0D-88-F8-33-46 receives and comprises information: the private message of Inistiator title " a ", Target title " T1 " and Target address " 1.1.1.1 " relies on these information to set up iSCSI and connects.Afterwards, passing through the iSCSI that set up connects and from storage server data is returned to local host.
In the present invention, Dynamic Host Configuration Protocol server also can be built in the storage server, also is that storage server provides the DHCP function simultaneously, and its data recovery procedure does not have essential distinction with the data recovery procedure among the above-mentioned embodiment.
Corresponding to the description of above data reconstruction method, below introduce the described data recovery system of the embodiment of the invention.Please refer to Fig. 3, the described data recovery system of the embodiment of the invention comprises main frame, Dynamic Host Configuration Protocol server and storage server.
Storage server comprises related information logging modle and related information sending module, and the related information logging modle is set up at main frame and is connected when carrying out data backup the iSCSI link information of record host MAC address and correspondence with the iSCSI of storage server; The related information sending module sends to Dynamic Host Configuration Protocol server with host MAC address and corresponding iSCSI link information.
Dynamic Host Configuration Protocol server comprises that related information sets up module and link information sending module.Related information is set up module according to host MAC address and corresponding iSCSI link information that storage server sends, sets up the related information of host MAC address and iSCSI link information; The link information sending module according to the MAC Address of main frame, sends to main frame with the iSCSI link information of correspondence when being host assignment IP address.
One Data Recapture Unit is set in the main frame, and this Data Recapture Unit comprises link information receiver module and data recovery module.The link information receiver module receives the iSCSI link information corresponding to host MAC address that Dynamic Host Configuration Protocol server sends when obtaining the IP address by Dynamic Host Configuration Protocol server; Data recovery module is set up according to the iSCSI link information of described correspondence and is connected with the iSCSI of storage server, and the data recovery is carried out in the iSCSI connection of passing through to be set up.
The host MAC address of being mentioned in the foregoing description also can with other can the unique identification main frame user profile substitute, this is that those skilled in the art are known, does not repeat them here.
Should be noted that at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spiritual scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (10)

1. a data reconstruction method is used for from storage server data being returned to main frame, it is characterized in that, comprising:
On the dynamic host configuration protocol DHCP server, set up the related information of user profile and Internet Small Computer Systems Interface iSCSI link information;
When Dynamic Host Configuration Protocol server is host assignment IP address,, the iSCSI link information of correspondence is sent to main frame according to user profile;
Main frame is set up according to the iSCSI link information of described correspondence and is connected with the iSCSI of storage server, and the data recovery is carried out in the iSCSI connection of passing through to be set up.
2. data reconstruction method as claimed in claim 1 is characterized in that, the described related information of setting up comprises:
Set up at main frame and to be connected with the iSCSI of storage server when carrying out data backup, storage server recording user information and corresponding iSCSI link information, and the user profile of record and the iSCSI link information of correspondence sent to Dynamic Host Configuration Protocol server;
Dynamic Host Configuration Protocol server increases received user profile and corresponding iSCSI link information in related information.
3. data reconstruction method as claimed in claim 1 or 2 is characterized in that:
Described user profile is host MAC address.
4. data reconstruction method as claimed in claim 1 or 2 is characterized in that:
Described iSCSI link information comprises initiator Initiator title, target side Target title and Target address.
5. data reconstruction method as claimed in claim 1 or 2 is characterized in that:
Described Dynamic Host Configuration Protocol server is arranged in the storage server.
6. a storage server is characterized in that, comprising:
The related information logging modle is used for setting up at main frame and is connected when carrying out data backup the iSCSI link information of recording user information and correspondence with the iSCSI of storage server;
The related information sending module is used for user profile and corresponding iSCSI link information are sent to Dynamic Host Configuration Protocol server.
7. storage server as claimed in claim 6 is characterized in that:
Described user profile is host MAC address.
8. as claim 6 or 7 described storage servers, it is characterized in that:
Described iSCSI link information comprises Initiator title, Target title and Target address.
9. a Dynamic Host Configuration Protocol server is characterized in that, comprising:
Related information is set up module, is used for user profile and corresponding iSCSI link information according to the storage server transmission, sets up the related information of host MAC address and iSCSI link information;
The link information sending module is used for when the host assignment IP address, according to user profile, the iSCSI link information of correspondence is sent to main frame.
10. a Data Recapture Unit is arranged in the main frame, is used for from storage server data being returned to main frame, it is characterized in that, comprising:
The link information receiver module is used for when obtaining the IP address by Dynamic Host Configuration Protocol server, receives the iSCSI link information corresponding to user profile that Dynamic Host Configuration Protocol server sends;
Data recovery module be used for being connected with the iSCSI of storage server according to the iSCSI link information foundation of described correspondence, and the data recovery is carried out in the iSCSI connection of passing through to be set up.
CNB200710091196XA 2007-04-12 2007-04-12 A kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server Expired - Fee Related CN100550818C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200710091196XA CN100550818C (en) 2007-04-12 2007-04-12 A kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200710091196XA CN100550818C (en) 2007-04-12 2007-04-12 A kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server

Publications (2)

Publication Number Publication Date
CN101060462A true CN101060462A (en) 2007-10-24
CN100550818C CN100550818C (en) 2009-10-14

Family

ID=38866365

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200710091196XA Expired - Fee Related CN100550818C (en) 2007-04-12 2007-04-12 A kind of data reconstruction method, device, storage server and Dynamic Host Configuration Protocol server

Country Status (1)

Country Link
CN (1) CN100550818C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431428B (en) * 2007-11-09 2011-07-27 中国电信股份有限公司 Security monitoring service recovery method and system
CN102215271A (en) * 2010-04-07 2011-10-12 上海交通大学医学院附属瑞金医院 Addressing processing method and device for disaster recovery server based on FTP
CN101668048B (en) * 2009-09-28 2012-08-22 武汉大学 Data protection method and system for supporting any time data access and modification
CN103051501A (en) * 2013-01-25 2013-04-17 四川神琥科技有限公司 Detection method for identifying network data according to network data recovery manner
CN103336728A (en) * 2013-05-08 2013-10-02 上海爱数软件有限公司 Disk data recovery method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431428B (en) * 2007-11-09 2011-07-27 中国电信股份有限公司 Security monitoring service recovery method and system
CN101668048B (en) * 2009-09-28 2012-08-22 武汉大学 Data protection method and system for supporting any time data access and modification
CN102215271A (en) * 2010-04-07 2011-10-12 上海交通大学医学院附属瑞金医院 Addressing processing method and device for disaster recovery server based on FTP
CN103051501A (en) * 2013-01-25 2013-04-17 四川神琥科技有限公司 Detection method for identifying network data according to network data recovery manner
CN103051501B (en) * 2013-01-25 2015-07-15 四川神琥科技有限公司 Detection method for identifying network data according to network data recovery manner
CN103336728A (en) * 2013-05-08 2013-10-02 上海爱数软件有限公司 Disk data recovery method

Also Published As

Publication number Publication date
CN100550818C (en) 2009-10-14

Similar Documents

Publication Publication Date Title
CN100345415C (en) Method and apparatus for perfoming boot, maintenance, or install operations on a storage area network
US8972547B2 (en) Method and apparatus for dynamically configuring virtual internet protocol addresses
CN1547828A (en) Methods, systems and computer program products for accessing an embedded web server on a broadband access terminal
CN1770718A (en) Method and system for establishing bidirectional tunnel
CN101043398A (en) Method and system for sharing connection dynamically
CN1922826A (en) Tunneling service method and system
CN109600410B (en) Data storage system and method
CN101064659A (en) Data transmission system and method
US7870258B2 (en) Seamless fail-over support for virtual interface architecture (VIA) or the like
CN1946034A (en) Method for controlling and managing network devices and transparently configurable network devices
CN101060462A (en) A data recovery method, device, storage server and DHCP server
CN101069400A (en) Tunneling IPv6 packets
CN1859304A (en) Method for realizing neighbour discovery
CN101047580A (en) Method for setting point-to-point data channel
CN1949758A (en) Method and apparatus for updating distributed application
CN1925497A (en) Binding method based on VID, MAC, IP and users
CN1263400A (en) Radio data communication equipment and its method
CN1875573A (en) System for providing tunnel service capable of data communication between different types of networks
CN107517277B (en) A method and device for realizing sanlock lock
CN1878147A (en) Method for balancing load between multi network cards of network file system server
CN1452369A (en) Method and device for managing Internet protocol in mobile network by transformation of network address
CN1933451A (en) Interplate communicating method and interface plate
CN1249572C (en) Plug-and-play ether net access system and method
CN1917512A (en) Method for establishing direct connected peer-to-peer channel
CN1317874C (en) Network address port conversion gateway and method for providing fast query and replacement of virtual host service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091014

Termination date: 20200412

CF01 Termination of patent right due to non-payment of annual fee