CN102866935A - Instant replication method and storage system based on ISCSI (internet small computer system interface) - Google Patents

Instant replication method and storage system based on ISCSI (internet small computer system interface) Download PDF

Info

Publication number
CN102866935A
CN102866935A CN2011101902682A CN201110190268A CN102866935A CN 102866935 A CN102866935 A CN 102866935A CN 2011101902682 A CN2011101902682 A CN 2011101902682A CN 201110190268 A CN201110190268 A CN 201110190268A CN 102866935 A CN102866935 A CN 102866935A
Authority
CN
China
Prior art keywords
hard disk
iscsi
target
iscsi hard
backup
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
CN2011101902682A
Other languages
Chinese (zh)
Other versions
CN102866935B (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.)
Beijing Teamsun Software Technology Co ltd
Original Assignee
Beijing Teamsun Technology Co Ltd
BEIJING FORTUNET INFORMATION TECHNOLOGY 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 Beijing Teamsun Technology Co Ltd, BEIJING FORTUNET INFORMATION TECHNOLOGY CO LTD filed Critical Beijing Teamsun Technology Co Ltd
Priority to CN201110190268.2A priority Critical patent/CN102866935B/en
Publication of CN102866935A publication Critical patent/CN102866935A/en
Application granted granted Critical
Publication of CN102866935B publication Critical patent/CN102866935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses an instant replication method and a storage system based on an ISCSI (internet small computer system interface). The instant replication method includes the steps: generating a data block and a writing request by a client; transmitting the writing request to an IPSAN (internet protocol storage area network) control server by the client; generating a data forwarding command and storage management information by the IPSAN control server; transmitting the storage management information and the data forwarding command to the client by the IPSAN control server; backing up an IP (internet protocol) address of an ISCSI hard disk and the data forwarding command to a target ISCSI hard disk; writing in the data block by the target ISCSI hard disk; transmitting the data block to a backup ISCSI hard disk through a rear-end Ethernet switch according to the data forwarding command and an IP address of the backup ISCSI hard disk by the target ISCSI hard disk; and backing up the data block by the backup ISCSI hard disk. With the instruction of the IPSAN control server, data are directionally and instantly replicated, and replication delay and resource occupancy of data stored and forwarded by the IPSAN control server are avoided.

Description

Instant clone method and storage system based on ISCSI
Technical field
The present invention relates to realize the method that local instant mirror copies take iscsi disk as the enterprise storage system on basis, relate in particular to a kind of instant clone method and storage system based on ISCSI.
Background technology
ISCSI is that purpose is in order with the IP agreement memory device to be linked together by the network storage standard of IETF (Internet Engineering Task Force, Internet Engineering task groups) exploitation.By transmitting scsi command and data at IP network, iSCSI has promoted the transmission of data between internet, has also promoted the remote management of data simultaneously.Because its outstanding data transmission capabilities, iSCSI agreement are considered to promote one of key factor of storage area network (Storage Area Network is called for short SAN) market fast development.Because the widespread use of IP network, iSCSI can be at LAN (Local Area Network, LAN (Local Area Network)), WAN (Wide Area Network, wide area network) even the enterprising line number of internet reportedly send, so that data storage no longer is subjected to the restriction of region.
The iSCSI agreement is different according to the role, is divided into originating end and destination end.For the consideration of performance, some manufacturer has adopted special-purpose integrated circuit board to process TCP/IP and the iSCSI agreement of originating end, i.e. the HBA of iSCSI (Host Bus Adapter, host bus adaptor) card.But at destination end (Target), each storage manufacturer adopts PC (Personal Computer substantially, personal computer) storage architecture of composition iSCSI, be that memory device is based upon on the basis of PC server, namely select one common, function admirable, can support the PC (being generally PC server and industry control server) of polylith hard disk, select a relatively mature and stable iSCSI Target (iscsi target end) software, iSCSI Target software is installed on the PC server, make common PC server be transformed into an iSCSI memory device that connects a plurality of hard disks, and externally provide the iSCSI Data Transport Protocol by the Ethernet card of PC server.On the iSCSI of PC framework memory device, all RAID (Redundant Array of Independent Disk, raid-array) group verification, logical volume management, iSCSI computing, TCP/IP computing etc. all are to realize (also some equipment adopts higher TOE (TCP Offload Engine, the transmission control protocol offload engine) network interface card of price to realize the TCP/IP computing certainly) in the pure software mode.Therefore the performance requirement to the CPU of PC and internal memory is higher.The in addition as easy as rolling off a log impact that is subjected to the PC operation condition of server of the performance of iSCSI memory device.
The data reading of enterprise storage system is to adopt the mode of data block to carry out with writing.For guaranteeing the security of data, usually to carry out dual or more multiple copy backup to the data block that writes disk array, in case data are lost because of hard disk corruptions (high-probability event).Present enterprise-level storage products is when carrying out data Replica, the basic internal system IPSAN Control Server that adopts is finished twice of data block manifolding or method repeatedly, perhaps snapshot is carried out in the operation of system, at the specific snapshot that constantly utilizes the data of change are copied subsequently; Can guarantee like this safety and the integrality of data.Therefore, the IPSAN Control Server needs repeatedly to finish storage, transmits and cause replica delay and resource occupation between different iscsi disks; Increased the weight of the burden of IPSAN Control Server, higher to the equipment requirement of IPSAN Control Server.
Summary of the invention
The object of the present invention is to provide a kind of instant clone method based on ISCSI and based on the storage system of ISCSI, its orientation that realizes data under the instruction of IPSAN Control Server copies immediately, has avoided data communication device to cross the IPSAN Control Server and has stored and transmit replica delay and the resource occupation that causes.
Above-mentioned purpose is achieved through the following technical solutions:
A kind of instant clone method based on ISCSI is characterized in that: may further comprise the steps:
Step S101: client generated data piece and write request;
Step S102: client is sent to the IPSAN Control Server by the front end Ethernet switch with write request;
Step S103:IPSAN Control Server is according to write request and management information table, generated data forward command and management information, management information comprise that the IPSAN Control Server is the IP address and the IP address of backing up the ISCSI hard disk of the target ISCSI hard disk of data block distribution;
Wherein, the IPSAN Control Server comprises the management information table, and described management information table comprises the state table of all ISCSI hard disks, address mapping table, Mirroring Mapping table, each ISCSI hard disk load meter; Target ISCSI hard disk is the ISCSI hard disk as memory disc, and backup ISCSI hard disk is the ISCSI hard disk as back-up disk;
Step S104:IPSAN Control Server is sent to client with management information and data retransmission order by the front end Ethernet switch;
Step S105: client is according to the IP address of target hard disk, and with data block, IP address and the data retransmission order of backup ISCSI hard disk are sent to target ISCSI hard disk by the rear end Ethernet switch;
Step S106: target ISCSI hard disk writes data block;
Step S107: target ISCSI hard disk is sent to backup ISCSI hard disk with data block by the rear end Ethernet switch according to the IP address of data retransmission order and backup ISCSI hard disk;
Step S108: backup ISCSI hard disk backs up data block.
Above-mentioned purpose is achieved through the following technical solutions:
A kind of storage system based on ISCSI is characterized in that:
Comprise storage unit;
Each storage unit comprises client, front end Ethernet switch, IPSAN Control Server, rear end Ethernet switch and a plurality of ISCSI hard disk;
Described client is connected with the front end Ethernet switch by Ethernet with the IPSAN Control Server of this storage unit, and described IPSAN Control Server is connected with all rear end Ethernet switches of described storage system respectively;
The rear end Ethernet switch of described client and this storage unit is by being connected; The ISCSI hard disk of described storage unit is connected with all rear end Ethernet switches of storage system respectively;
Described IPSAN Control Server, realize and client by front end Ethernet switch and rear end Ethernet switch, non-data communication between the ISCSI hard disk is used for all ISCSI hard disks are managed, and realizes the data transmission between client and the specific ISCSI hard disk.
Instant clone method and storage system based on ISCSI of the present invention, the ISCSI hard disk that adopts has the data retransmission logic function, this is so that can carry out the clog-free communication of port to port by Ethernet switch between the ISCSI hard disk, the orientation that realizes data under the instruction of IPSAN Control Server copies immediately, has avoided data communication device to cross the IPSAN Control Server and has stored and transmit replica delay and the resource occupation that causes.
Description of drawings
Fig. 1 is the schematic flow sheet that data block is write and data block is sent to backup ISCSI hard disk based on target ISCSI hard disk in the instant clone method of ISCSI of the present invention;
Fig. 2 is the structural representation of the storage system based on ISCSI of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, instant clone method and the storage system based on ISCSI of the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Embodiment one
A kind of instant clone method based on ISCSI of the present invention may further comprise the steps:
Step S101: client generated data piece and write request;
Step S102: client is sent to the IPSAN Control Server by the front end Ethernet switch with write request;
Step S103:IPSAN Control Server is according to write request and management information table, generated data forward command and management information, management information comprise that the IPSAN Control Server is the IP address and the IP address of backing up the ISCSI hard disk of the target ISCSI hard disk of data block distribution;
Wherein, the IPSAN Control Server comprises the management information table, and described management information table comprises the state table of all ISCSI hard disks, address mapping table, Mirroring Mapping table, each ISCSI hard disk load meter; Target ISCSI hard disk is the ISCSI hard disk as memory disc, and backup ISCSI hard disk is the ISCSI hard disk as back-up disk;
Step S104:IPSAN Control Server is sent to client with management information and data retransmission order by the front end Ethernet switch;
Step S105: client is according to the IP address of target hard disk, and with data block, IP address and the data retransmission order of backup ISCSI hard disk are sent to target ISCSI hard disk by the rear end Ethernet switch;
Step S106: target ISCSI hard disk writes data block;
Step S107: target ISCSI hard disk is sent to backup ISCSI hard disk with data block by the rear end Ethernet switch according to the IP address of data retransmission order and backup ISCSI hard disk;
Step S108: backup ISCSI hard disk backs up data block.
Preferably, step S105 may further comprise the steps:
Step S105-1: client is according to the IP address of target hard disk, and with data block, IP address and the data retransmission order of backup ISCSI hard disk send to target ISCSI hard disk by the rear end Ethernet switch; Target ISCSI hard disk is informed the client situation;
Step S105-2: client is according to reception condition, judge data block, (in other words whether IP address and the data retransmission order of backup ISCSI hard disk successfully send to target ISCSI hard disk, target ISCSI hard disk is successfully being received data block, in the time of the IP address of backup ISCSI hard disk and data retransmission order, inform that client successfully receives, at this moment, the data block of receiving, IP address and the data retransmission order of backup ISCSI hard disk are present in the buffer memory of target ISCSI hard disk, do not have actual writing on the physical hard disk);
Send to successfully, then continue step S106;
Send to unsuccessfully, client is informed the IPSAN Control Server, and the IPSAN Control Server distributes new target ISCSI hard disk, the in-problem ISCSI hard disk of mark; And operating procedure S104 (in the circulation of S108, sending to target ISCSI hard disk unsuccessful is small probability event at this S104, so this circulation is not an endless loop; If unfortunate frequent occurrence, then whole storage system is under the impact of certain force majeure amount (occuring such as disaster), does not consider this situation in this application.So, S104 is not endless loop to the circulation of S108, that is to say that necessarily having a target ISCSI hard disk successfully receives data block, management information and data retransmission order, certainly, the data block of receiving, management information and data retransmission order are arranged in the buffer memory of target ISCSI hard disk, do not have actual writing on the physical hard disk).
Preferably, step S106 may further comprise the steps: as shown in Figure 1,
Step S106-1: the control chip of target ISCSI hard disk writes local hard drive with data block;
Step S106-2: whether the control chip judgement of target ISCSI hard disk writes local hard drive successful;
Write successfully, then the control chip of operating procedure S106-21:ISCSI target hard disk generates successfully report and is sent to the IPSAN Control Server by the rear end Ethernet switch;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting;
Do not reach N time, then operating procedure S106-1;
Reach N time, operating procedure S106-22 then: the control chip of target ISCSI hard disk generates the report of target ISCSI hard disk failure and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new target ISCSI hard disk; The control chip of fault target ISCSI hard disk is with data block, IP address and the data retransmission order of backup ISCSI hard disk are sent to new target ISCSI hard disk, the control chip of fault target ISCSI hard disk discharges the local cache space, and new target ISCSI hard disk re-executes S106.Equally, the fault here is small probability event, and S106 is not an endless loop.
Preferably, step S107 may further comprise the steps: as shown in Figure 1,
Step S107-1: the control chip of target ISCSI hard disk is sent to data block the control chip of backup ISCSI hard disk;
Step S107-2: the control chip of target ISCSI hard disk judges whether the control chip receive data piece of backup ISCSI hard disk is successful;
Receive successfully, then operating procedure S107-21: the control chip of backup ISCSI hard disk generates status report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After target ISCSI hard disk processing, be sent to the IPSAN Control Server by the rear end Ethernet switch, and generate when successfully reporting and being sent to the IPSAN Control Server at the control chip of ISCSI target hard disk, discharge the local cache space of the control chip of ISCSI target hard disk;
Receive unsuccessfully, judge then whether the number of times that takes defeat reaches M time; Wherein, M is a natural number of setting; Do not reach M time, then operating procedure S107-1;
Reach M time, operating procedure S107-22 then: the control chip of target ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new backup ISCSI hard disk, and the IP address of new backup ISCSI hard disk informed target ISCSI hard disk, target ISCSI hard disk re-executes S107.Equally, the fault here is small probability event, and S107 is not an endless loop.
Preferably, step S108 may further comprise the steps:
Step S108-1: the control chip of backup ISCSI hard disk writes local hard drive with data block;
Step S108-2: whether the control chip judgement of backup ISCSI hard disk writes local hard drive successful;
Write successfully, then operating procedure S108-21: the control chip of backup ISCSI hard disk generates successfully report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting;
Do not reach N time, then operating procedure S108-1;
Reach N time, then operating procedure S108-22: the control chip of backup ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk; Described IPSAN Control Server distributes the IP address of backup ISCSI hard disk again for data block.
Embodiment two
A kind of storage system based on ISCSI of the present invention as shown in Figure 2, is characterized in that:
Comprise storage unit;
Each storage unit comprises client, front end Ethernet switch (among the figure for illustrating), IPSAN Control Server, rear end Ethernet switch and a plurality of ISCSI hard disk;
The IPSAN Control Server of described client and this storage unit is connected with the front end Ethernet switch among the figure for illustrating by Ethernet) be connected, described IPSAN Control Server is connected with all rear end Ethernet switches of described storage system respectively;
The rear end Ethernet switch of described client and this storage unit is by being connected; The ISCSI hard disk of described storage unit is connected with all rear end Ethernet switches of storage system respectively;
Described IPSAN Control Server, realize and client by front end Ethernet switch and rear end Ethernet switch, non-data communication between the ISCSI hard disk is used for all ISCSI hard disks are managed, and realizes the data transmission between client and the specific ISCSI hard disk.
Client is with data, data retransmission order and management information are successfully write and are just no longer participated in the subsequent operation that immediately copies behind the buffer memory of a target ISCSI hard disk, subsequent operation is interacted by IPSAN Control Server and a plurality of ISCSI hard disk and finishes, and guarantees that data write successfully.Here taking into account system is not by the effect of force majeure amount, and fault all is small probability event.
Preferably, described client is used for generated data piece and write request, and by the front end Ethernet switch write request is sent to the IPSAN Control Server;
Described IPSAN Control Server, be used for according to write request and management information table, generated data forward command and management information, described management information comprise that the IPSAN Control Server is the IP address and the IP address of backing up the ISCSI hard disk of the target ISCSI hard disk of data block distribution; The IPSAN Control Server also is used for management information and data retransmission order are sent to client by the front end Ethernet switch;
Wherein, described IPSAN Control Server comprises the management information table, and described management information table comprises the state table of all ISCSI hard disks of storage system, address mapping table, Mirroring Mapping table, each ISCSI hard disk load meter; Target ISCSI hard disk is the ISCSI hard disk as memory disc, and backup ISCSI hard disk is the ISCSI hard disk as back-up disk;
Described client is with data block, and management information and data retransmission order are sent to the rear end Ethernet switch;
Described rear end Ethernet switch is according to the IP address of ISCSI target hard disk, and with this data block, the IP address of data retransmission order and backup ISCSI hard disk is sent to the ISCSI target hard disk;
Described ISCSI target hard disk writes data block and according to data retransmission order and the IP address of backing up the ISCSI hard disk this data block is sent to backup ISCSI hard disk by the rear end Ethernet switch;
Described backup ISCSI hard disk backs up data block.
Preferably, described ISCSI hard disk comprises control chip and hard disk; In Fig. 2, control chip represents that with iSCSI T end card hard disk embodiment illustrated in fig. 2 adopts the SATA hard disk.
Described ISCSI hard disk is during as the ISCSI target hard disk, and the control chip of target ISCSI hard disk writes local hard drive with data block; According to the IP address of data retransmission order and backup ISCSI hard disk, data block is sent to backup ISCSI hard disk by the rear end Ethernet switch simultaneously;
Described ISCSI hard disk is during as backup ISCSI hard disk, and the control chip of backup ISCSI hard disk writes local hard drive with data block.
Preferably, the control chip of described target ISCSI hard disk writes data block in the local hard drive process, and the control chip of ISCSI target hard disk moves according to the substep of step S106 and S106:
Step S106 may further comprise the steps:
Step S106-1: the control chip of target ISCSI hard disk writes local hard drive with data block;
Step S106-2: whether the control chip judgement of target ISCSI hard disk writes local hard drive successful;
Write successfully, then the control chip of operating procedure S106-21:ISCSI target hard disk generates and successfully reports and logical
Later hold Ethernet switch to be sent to the IPSAN Control Server;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting;
Do not reach N time, then operating procedure S106-1;
Reach N time, operating procedure S106-22 then: the control chip of target ISCSI hard disk generates the report of target ISCSI hard disk failure and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new target ISCSI hard disk; The control chip of fault target ISCSI hard disk is with data block, IP address and the data retransmission order of backup ISCSI hard disk are sent to new target ISCSI hard disk, the control chip of fault target ISCSI hard disk discharges the local cache space, and new target ISCSI hard disk re-executes S106.
Preferably, the control chip of target ISCSI hard disk is sent to data block in the process of backup ISCSI hard disk by the rear end Ethernet switch, and the control chip of target ISCSI hard disk moves according to the substep of step S107 and S107:
Step S107 may further comprise the steps:
Step S107-1: the control chip of target ISCSI hard disk is sent to data block the control chip of backup ISCSI hard disk;
Step S107-2: the control chip of target ISCSI hard disk judges whether the control chip receive data piece of backup ISCSI hard disk is successful;
Receive successfully, then operating procedure S107-21: the control chip of backup ISCSI hard disk generates status report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After target ISCSI hard disk processing, be sent to the IPSAN Control Server by the rear end Ethernet switch, and generate when successfully reporting and being sent to the IPSAN Control Server at the control chip of ISCSI target hard disk, discharge the local cache space of the control chip of ISCSI target hard disk;
Receive unsuccessfully, judge then whether the number of times that takes defeat reaches M time; Wherein, M is a natural number of setting;
Do not reach M time, then operating procedure S107-1;
Reach M time, operating procedure S107-22 then: the control chip of target ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new backup ISCSI hard disk, and the IP address of new backup ISCSI hard disk informed target ISCSI hard disk, target ISCSI hard disk re-executes S107.
Preferably, the control chip of backup ISCSI hard disk writes data block in the process of local hard drive, and the control chip of backup ISCSI hard disk moves according to the substep of step S108 and S108:
Step S108 may further comprise the steps:
Step S108-1: the control chip of backup ISCSI hard disk writes local hard drive with data block;
Step S108-2: whether the control chip judgement of backup ISCSI hard disk writes local hard drive successful;
Write successfully, then operating procedure S108-21: the control chip of backup ISCSI hard disk generates successfully report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting;
Do not reach N time, then operating procedure S108-1;
Reach N time, then operating procedure S108-22: the control chip of backup ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk; Described IPSAN Control Server distributes the IP address of backup ISCSI hard disk again for data block.
Instant clone method and storage system based on ISCSI of the present invention, the ISCSI hard disk that adopts has the data retransmission logic function, this is so that can carry out the clog-free communication of port to port by Ethernet switch between the ISCSI hard disk, the orientation that realizes data under the instruction of IPSAN Control Server copies immediately, has avoided data communication device to cross the IPSAN Control Server and has stored and transmit replica delay and the resource occupation that causes.
Should be noted that at last that obviously those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these revise and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification.

Claims (11)

1. instant clone method based on ISCSI is characterized in that: may further comprise the steps:
Step S101: client generated data piece and write request;
Step S102: client is sent to the IPSAN Control Server by the front end Ethernet switch with write request;
Step S103:IPSAN Control Server is according to write request and management information table, generated data forward command and management information, management information comprise that the IPSAN Control Server is the IP address and the IP address of backing up the ISCSI hard disk of the target ISCSI hard disk of data block distribution;
Wherein, the IPSAN Control Server comprises the management information table, and described management information table comprises the state table of all ISCSI hard disks, address mapping table, Mirroring Mapping table, each ISCSI hard disk load meter; Target ISCSI hard disk is the ISCSI hard disk as memory disc, and backup ISCSI hard disk is the ISCSI hard disk as back-up disk;
Step S104:IPSAN Control Server is sent to client with management information and data retransmission order by the front end Ethernet switch;
Step S105: client is according to the IP address of target hard disk, and with data block, IP address and the data retransmission order of backup ISCSI hard disk are sent to target ISCSI hard disk by the rear end Ethernet switch;
Step S106: target ISCSI hard disk writes data block;
Step S107: target ISCSI hard disk is sent to backup ISCSI hard disk with data block by the rear end Ethernet switch according to the IP address of data retransmission order and backup ISCSI hard disk;
Step S108: backup ISCSI hard disk backs up data block.
2. the instant clone method based on ISCSI according to claim 1 is characterized in that:
Step S105 may further comprise the steps:
Step S105-1: client is according to the IP address of target hard disk, and with data block, IP address and the data retransmission order of backup ISCSI hard disk send to target ISCSI hard disk by the rear end Ethernet switch; Target ISCSI hard disk is informed the client situation;
Step S105-2: client is judged data block according to reception condition, and whether IP address and the data retransmission order of backup ISCSI hard disk successfully send to target ISCSI hard disk;
Send to successfully, then continue step S106;
Send to unsuccessfully, client is informed the IPSAN Control Server, and the IPSAN Control Server distributes new target ISCSI hard disk, the in-problem ISCSI hard disk of mark; And operating procedure S104.
3. the instant clone method based on ISCSI according to claim 1 is characterized in that:
Step S106 may further comprise the steps:
Step S106-1: the control chip of target ISCSI hard disk writes local hard drive with data block;
Step S106-2: whether the control chip judgement of target ISCSI hard disk writes local hard drive successful;
Write successfully, then the control chip of operating procedure S106-21:ISCSI target hard disk generates successfully report and is sent to the IPSAN Control Server by the rear end Ethernet switch;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting;
Do not reach N time, then operating procedure S106-1;
Reach N time, operating procedure S106-22 then: the control chip of target ISCSI hard disk generates the report of target ISCSI hard disk failure and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new target ISCSI hard disk; The control chip of fault target ISCSI hard disk is with data block, IP address and the data retransmission order of backup ISCSI hard disk are sent to new target ISCSI hard disk, the control chip of fault target ISCSI hard disk discharges the local cache space, and new target ISCSI hard disk re-executes S106.
4. the instant clone method based on ISCSI according to claim 3 is characterized in that:
Step S107 may further comprise the steps:
Step S107-1: the control chip of target ISCSI hard disk is sent to data block the control chip of backup ISCSI hard disk;
Step S107-2: the control chip of target ISCSI hard disk judges whether the control chip receive data piece of backup ISCSI hard disk is successful;
Receive successfully, then operating procedure S107-21: the control chip of backup ISCSI hard disk generates status report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After target ISCSI hard disk processing, be sent to the IPSAN Control Server by the rear end Ethernet switch, and generate when successfully reporting and being sent to the IPSAN Control Server at the control chip of ISCSI target hard disk, discharge the local cache space of the control chip of ISCSI target hard disk;
Receive unsuccessfully, judge then whether the number of times that takes defeat reaches M time; Wherein, M is a natural number of setting;
Do not reach M time, then operating procedure S107-1;
Reach M time, operating procedure S107-22 then: the control chip of target ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new backup ISCSI hard disk, and the IP address of new backup ISCSI hard disk informed target ISCSI hard disk, target ISCSI hard disk re-executes S107.
5. the instant clone method based on ISCSI according to claim 1 is characterized in that:
Step S108 may further comprise the steps:
Step S108-1: the control chip of backup ISCSI hard disk writes local hard drive with data block;
Step S108-2: whether the control chip judgement of backup ISCSI hard disk writes local hard drive successful;
Write successfully, then operating procedure S108-21: the control chip of backup ISCSI hard disk generates successfully report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting; Do not reach N time, then operating procedure S108-1;
Reach N time, then operating procedure S108-22: the control chip of backup ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk; Described IPSAN Control Server distributes the IP address of backup ISCSI hard disk again for data block.
6. storage system based on ISCSI is characterized in that:
Comprise storage unit;
Each storage unit comprises client, front end Ethernet switch, IPSAN Control Server, rear end Ethernet switch and a plurality of ISCSI hard disk;
Described client is connected with the front end Ethernet switch by Ethernet with the IPSAN Control Server of this storage unit, and described IPSAN Control Server is connected with all rear end Ethernet switches of described storage system respectively;
The rear end Ethernet switch of described client and this storage unit is by being connected; The ISCSI hard disk of described storage unit is connected with all rear end Ethernet switches of storage system respectively;
Described IPSAN Control Server, realize and client by front end Ethernet switch and rear end Ethernet switch, non-data communication between the ISCSI hard disk is used for all ISCSI hard disks are managed, and realizes the data transmission between client and the specific ISCSI hard disk.
7. the storage system based on ISCSI according to claim 6 is characterized in that:
Described client is used for generated data piece and write request, and by the front end Ethernet switch write request is sent to the IPSAN Control Server;
Described IPSAN Control Server, be used for according to write request and management information table, generated data forward command and management information, described management information comprise that the IPSAN Control Server is the IP address and the IP address of backing up the ISCSI hard disk of the target ISCSI hard disk of data block distribution; The IPSAN Control Server also is used for management information and data retransmission order are sent to client by the front end Ethernet switch;
Wherein, described IPSAN Control Server comprises the management information table, and described management information table comprises the state table of all ISCSI hard disks of storage system, address mapping table, Mirroring Mapping table, each ISCSI hard disk load meter; Target ISCSI hard disk is the ISCSI hard disk as memory disc, and backup ISCSI hard disk is the ISCSI hard disk as back-up disk;
Described client is with data block, and management information and data retransmission order are sent to the rear end Ethernet switch;
Described rear end Ethernet switch is according to the IP address of ISCSI target hard disk, and with this data block, the IP address of data retransmission order and backup ISCSI hard disk is sent to the ISCSI target hard disk;
Described ISCSI target hard disk writes data block and according to data retransmission order and the IP address of backing up the ISCSI hard disk this data block is sent to backup ISCSI hard disk by the rear end Ethernet switch;
Described backup ISCSI hard disk backs up data block.
8. the storage system based on ISCSI according to claim 7 is characterized in that:
Described ISCSI hard disk comprises control chip and hard disk;
Described ISCSI hard disk is during as the ISCSI target hard disk, and the control chip of target ISCSI hard disk writes local hard drive with data block; According to the IP address of data retransmission order and backup ISCSI hard disk, data block is sent to backup ISCSI hard disk by the rear end Ethernet switch simultaneously;
Described ISCSI hard disk is during as backup ISCSI hard disk, and the control chip of backup ISCSI hard disk writes local hard drive with data block.
9. the storage system based on ISCSI according to claim 8 is characterized in that:
The control chip of described target ISCSI hard disk writes data block in the local hard drive process, and the control chip of ISCSI target hard disk moves according to the substep of step S106 and S106:
Step S106 may further comprise the steps:
Step S106-1: the control chip of target ISCSI hard disk writes local hard drive with data block;
Step S106-2: whether the control chip judgement of target ISCSI hard disk writes local hard drive successful;
Write successfully, then the control chip of operating procedure S106-21:ISCSI target hard disk generates successfully report and is sent to the IPSAN Control Server by the rear end Ethernet switch;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting;
Do not reach N time, then operating procedure S106-1;
Reach N time, operating procedure S106-22 then: the control chip of target ISCSI hard disk generates the report of target ISCSI hard disk failure and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new target ISCSI hard disk; The control chip of fault target ISCSI hard disk is with data block, IP address and the data retransmission order of backup ISCSI hard disk are sent to new target ISCSI hard disk, the control chip of fault target ISCSI hard disk discharges the local cache space, and new target ISCSI hard disk re-executes S106.
10. the storage system based on ISCSI according to claim 9 is characterized in that:
The control chip of target ISCSI hard disk is sent to data block in the process of backup ISCSI hard disk by the rear end Ethernet switch, the control chip of target ISCSI hard disk moves according to the substep of step S107 and S107:
Step S107 may further comprise the steps:
Step S107-1: the control chip of target ISCSI hard disk is sent to data block the control chip of backup ISCSI hard disk;
Step S107-2: the control chip of target ISCSI hard disk judges whether the control chip receive data piece of backup ISCSI hard disk is successful;
Receive successfully, then operating procedure S107-21: the control chip of backup ISCSI hard disk generates status report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After target ISCSI hard disk processing, be sent to the IPSAN Control Server by the rear end Ethernet switch, and generate when successfully reporting and being sent to the IPSAN Control Server at the control chip of ISCSI target hard disk, discharge the local cache space of the control chip of ISCSI target hard disk;
Receive unsuccessfully, judge then whether the number of times that takes defeat reaches M time; Wherein, M is a natural number of setting;
Do not reach M time, then operating procedure S107-1;
Reach M time, operating procedure S107-22 then: the control chip of target ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to the IPSAN Control Server by the rear end Ethernet switch, IPSAN Control Server mark fault ISCSI hard disk, and distribute a new ISCSI hard disk as new backup ISCSI hard disk, and the IP address of new backup ISCSI hard disk informed target ISCSI hard disk, target ISCSI hard disk re-executes S107.
11. the storage system based on ISCSI according to claim 10 is characterized in that:
The control chip of backup ISCSI hard disk writes data block in the process of local hard drive, and the control chip of backup ISCSI hard disk moves according to the substep of step S108 and S108:
Step S108 may further comprise the steps:
Step S108-1: the control chip of backup ISCSI hard disk writes local hard drive with data block;
Step S108-2: whether the control chip judgement of backup ISCSI hard disk writes local hard drive successful;
Write successfully, then operating procedure S108-21: the control chip of backup ISCSI hard disk generates successfully report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk;
Write unsuccessfully, judge then whether write the frequency of failure reaches N time; Wherein, N is a natural number of setting;
Do not reach N time, then operating procedure S108-1;
Reach N time, then operating procedure S108-22: the control chip of backup ISCSI hard disk generates backup ISCSI hard disk failure report and is sent to target ISCSI hard disk by the rear end Ethernet switch; After the ISCSI target hard disk is processed, be sent to the IPSAN Control Server by the rear end Ethernet switch, discharge the local cache space of the control chip of backup ISCSI hard disk; Described IPSAN Control Server distributes the IP address of backup ISCSI hard disk again for data block.
CN201110190268.2A 2011-07-07 2011-07-07 Instant replication method and storage system based on ISCSI (internet small computer system interface) Active CN102866935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110190268.2A CN102866935B (en) 2011-07-07 2011-07-07 Instant replication method and storage system based on ISCSI (internet small computer system interface)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110190268.2A CN102866935B (en) 2011-07-07 2011-07-07 Instant replication method and storage system based on ISCSI (internet small computer system interface)

Publications (2)

Publication Number Publication Date
CN102866935A true CN102866935A (en) 2013-01-09
CN102866935B CN102866935B (en) 2014-11-12

Family

ID=47445814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110190268.2A Active CN102866935B (en) 2011-07-07 2011-07-07 Instant replication method and storage system based on ISCSI (internet small computer system interface)

Country Status (1)

Country Link
CN (1) CN102866935B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353856A (en) * 2013-07-02 2013-10-16 华为技术有限公司 Hard disk and method for forwarding and obtaining hard disk data
CN103365745A (en) * 2013-06-07 2013-10-23 上海爱数软件有限公司 Block level backup method based on content-addressed storage and system
CN103533075A (en) * 2013-10-23 2014-01-22 中国科学院声学研究所 Method for importing data into iSCSI target and iSCSI starter
CN105027068A (en) * 2013-01-10 2015-11-04 净睿存储股份有限公司 Performing copies in a storage system
WO2016041128A1 (en) * 2014-09-15 2016-03-24 华为技术有限公司 Data write request handling method and storage array
CN105612489A (en) * 2014-09-15 2016-05-25 华为技术有限公司 Data duplication method and storage array
CN107273213A (en) * 2017-06-27 2017-10-20 联想(北京)有限公司 A kind of calculation control method, network interface card and electronic equipment
CN108259569A (en) * 2017-12-25 2018-07-06 南京壹进制信息技术股份有限公司 It is a kind of based on IPSAN share storage without acting on behalf of continuous data protection method
US11768623B2 (en) 2013-01-10 2023-09-26 Pure Storage, Inc. Optimizing generalized transfers between storage systems

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091333A1 (en) * 2003-10-23 2005-04-28 Ikuko Kobayashi Computer system that a plurality of computers share a storage device
CN102111436A (en) * 2010-12-20 2011-06-29 深圳市创新科信息技术有限公司 Storage device and method for accessing storage device through internet small computer system interface (iSCSI)
CN102843284A (en) * 2011-06-23 2012-12-26 北京飞杰信息技术有限公司 iSCSI storage node, framework and read-write method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091333A1 (en) * 2003-10-23 2005-04-28 Ikuko Kobayashi Computer system that a plurality of computers share a storage device
CN102111436A (en) * 2010-12-20 2011-06-29 深圳市创新科信息技术有限公司 Storage device and method for accessing storage device through internet small computer system interface (iSCSI)
CN102843284A (en) * 2011-06-23 2012-12-26 北京飞杰信息技术有限公司 iSCSI storage node, framework and read-write method

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9880779B1 (en) 2013-01-10 2018-01-30 Pure Storage, Inc. Processing copy offload requests in a storage system
CN105027068A (en) * 2013-01-10 2015-11-04 净睿存储股份有限公司 Performing copies in a storage system
US11768623B2 (en) 2013-01-10 2023-09-26 Pure Storage, Inc. Optimizing generalized transfers between storage systems
US11662936B2 (en) 2013-01-10 2023-05-30 Pure Storage, Inc. Writing data using references to previously stored data
US11099769B1 (en) 2013-01-10 2021-08-24 Pure Storage, Inc. Copying data without accessing the data
US10585617B1 (en) 2013-01-10 2020-03-10 Pure Storage, Inc. Buffering copy requests in a storage system
CN105027068B (en) * 2013-01-10 2018-10-26 净睿存储股份有限公司 Duplication is executed within the storage system
CN103365745A (en) * 2013-06-07 2013-10-23 上海爱数软件有限公司 Block level backup method based on content-addressed storage and system
WO2015000294A1 (en) * 2013-07-02 2015-01-08 华为技术有限公司 Hard disk and method for forwarding and obtaining hard disk data
CN103353856A (en) * 2013-07-02 2013-10-16 华为技术有限公司 Hard disk and method for forwarding and obtaining hard disk data
CN103533075A (en) * 2013-10-23 2014-01-22 中国科学院声学研究所 Method for importing data into iSCSI target and iSCSI starter
CN103533075B (en) * 2013-10-23 2017-05-03 中国科学院声学研究所 Method for importing data into iSCSI target and iSCSI starter
WO2016041128A1 (en) * 2014-09-15 2016-03-24 华为技术有限公司 Data write request handling method and storage array
US10042560B2 (en) 2014-09-15 2018-08-07 Huawei Technologies Co., Ltd. Method and storage array for processing a write data request
CN105612489B (en) * 2014-09-15 2017-08-29 华为技术有限公司 Data de-duplication method and storage array
CN105612488B (en) * 2014-09-15 2017-08-18 华为技术有限公司 Data write request processing method and storage array
CN105612488A (en) * 2014-09-15 2016-05-25 华为技术有限公司 Data write request handling method and storage array
CN105612489A (en) * 2014-09-15 2016-05-25 华为技术有限公司 Data duplication method and storage array
CN107273213A (en) * 2017-06-27 2017-10-20 联想(北京)有限公司 A kind of calculation control method, network interface card and electronic equipment
CN107273213B (en) * 2017-06-27 2024-04-19 联想(北京)有限公司 Calculation control method, network card and electronic equipment
CN108259569A (en) * 2017-12-25 2018-07-06 南京壹进制信息技术股份有限公司 It is a kind of based on IPSAN share storage without acting on behalf of continuous data protection method
CN108259569B (en) * 2017-12-25 2020-10-27 南京壹进制信息科技有限公司 Method and system for protecting agentless continuous data based on IPSAN shared storage

Also Published As

Publication number Publication date
CN102866935B (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN102866935B (en) Instant replication method and storage system based on ISCSI (internet small computer system interface)
CN101755257B (en) Managing the copying of writes from primary storages to secondary storages across different networks
US9916113B2 (en) System and method for mirroring data
US7793060B2 (en) System method and circuit for differential mirroring of data
US7676616B2 (en) Method, apparatus and program storage device for providing asynchronous status messaging in a data storage system
US7694177B2 (en) Method and system for resynchronizing data between a primary and mirror data storage system
US8468313B2 (en) Asynchronous replication with write concurrency grouping
US7430637B2 (en) Storage system and storage control method
CA2912941C (en) Apparatus and method for failover of device interconnect using remote memory access with segmented queue
AU2016203273A1 (en) A method for a source storage device sending data to a backup storage device for storage, and storage device
JP2005539290A (en) Method, system, and program for providing a mirror copy of data
EP1771789A2 (en) Method of improving replica server performance and a replica server system
US7797571B2 (en) System, method and circuit for mirroring data
US7194562B2 (en) Method, system, and program for throttling data transfer
US20190179719A1 (en) Generating a health condition message on a health condition detected at a server to send to a host system accessing the server
US20220179812A1 (en) Method for Improving Reliability of Storage System, and Related Apparatus
US7890715B2 (en) Suspension of an asynchronous remote copy pair system having a primary controller and a remote controller
US20080046644A1 (en) Method and System to Provide a Redundant Buffer Cache for Block Based Storage Servers
CN101593082A (en) A kind of device of managing power supply circuit of memory equipment, method and computing machine
EP3896571B1 (en) Data backup method, apparatus and system
US8099549B1 (en) System and method for erasure encoding
CN107168656B (en) Volume copy set system based on multipath disk drive and implementation method thereof
CN105138417B (en) A kind of asynchronous replication method based on zfs send
CN106776142B (en) Data storage method and data storage device
CN103049218B (en) Date storage method and controller

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
TR01 Transfer of patent right

Effective date of registration: 20170818

Address after: 100192, A01, room 10, block 8, science and technology wealth center, A, clear road, Haidian District, Beijing

Patentee after: BEIJING TEAMSUN SOFTWARE TECHNOLOGY Co.,Ltd.

Address before: 100192, Beijing, Haidian District School Road 8 (Science and technology wealth center) A block, 10 floor, South District

Co-patentee before: BEIJING TEAMSUN TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Fortunet Information Technology Co.,Ltd.

TR01 Transfer of patent right
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130109

Assignee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Assignor: BEIJING TEAMSUN SOFTWARE TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980013200

Denomination of invention: ISCSI based instant replication method and storage system

Granted publication date: 20141112

License type: Exclusive License

Record date: 20211124

EE01 Entry into force of recordation of patent licensing contract
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: ISCSI based instant replication method and storage system

Effective date of registration: 20211125

Granted publication date: 20141112

Pledgee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Pledgor: BEIJING TEAMSUN SOFTWARE TECHNOLOGY Co.,Ltd.

Registration number: Y2021110000072

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230129

Granted publication date: 20141112

Pledgee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Pledgor: BEIJING TEAMSUN SOFTWARE TECHNOLOGY Co.,Ltd.

Registration number: Y2021110000072

PC01 Cancellation of the registration of the contract for pledge of patent right
EC01 Cancellation of recordation of patent licensing contract

Assignee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Assignor: BEIJING TEAMSUN SOFTWARE TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980013200

Date of cancellation: 20230321

EC01 Cancellation of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130109

Assignee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Assignor: BEIJING TEAMSUN SOFTWARE TECHNOLOGY Co.,Ltd.

Contract record no.: X2023110000047

Denomination of invention: ISCSI based instant replication method and storage system

Granted publication date: 20141112

License type: Exclusive License

Record date: 20230323

EE01 Entry into force of recordation of patent licensing contract
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: ISCSI based instant replication method and storage system

Effective date of registration: 20230327

Granted publication date: 20141112

Pledgee: CHINA TECHNOLOGY EXCHANGE Co.,Ltd.

Pledgor: BEIJING TEAMSUN SOFTWARE TECHNOLOGY Co.,Ltd.

Registration number: Y2023110000128

PE01 Entry into force of the registration of the contract for pledge of patent right