CN110034951A - The failure switching method and iSCSI major heading device of iscsi target device - Google Patents

The failure switching method and iSCSI major heading device of iscsi target device Download PDF

Info

Publication number
CN110034951A
CN110034951A CN201910168196.8A CN201910168196A CN110034951A CN 110034951 A CN110034951 A CN 110034951A CN 201910168196 A CN201910168196 A CN 201910168196A CN 110034951 A CN110034951 A CN 110034951A
Authority
CN
China
Prior art keywords
iscsi
major heading
target device
address
network interface
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
CN201910168196.8A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910168196.8A priority Critical patent/CN110034951A/en
Publication of CN110034951A publication Critical patent/CN110034951A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Abstract

This application provides a kind of failure switching method of iscsi target device and iSCSI major heading devices, belong to cloud storage/cluster-based storage field.ISCSI major heading device receives the RBD block device operation requests of iSCSI, and the destination address of operation requests is the virtual ip address of iscsi target device cluster;When iSCSI major heading device breaks down, iSCSI major heading device disconnects the connection with iSCSI alternate target device;RBD block device corresponding with iSCSI is exported according to the IP address of iSCSI as new iSCSI major heading device, exports as LUN and use to iSCSI by iSCSI alternate target device.To which iscsi target device externally has unified virtual ip address, in the event of a failure, can switch to any iSCSI alternate target device, simplify outward service process and fail-over scheme.

Description

The failure switching method and iSCSI major heading device of iscsi target device
Technical field
This application involves field of computer technology more particularly to a kind of Internet Small Computer Systems Interfaces The failure switching method of (internet small computer system interface, iSCSI) object machine and iSCSI master Object machine.
Background technique
Internet Small Computer Systems Interface (internet small computer system interface, ISCSI) be a kind of agreement based on TCP/IP, for establish and manage IP storage equipment (iscsi target device (target)) and Interconnection between client (iSCSI (initiator)) etc..The major function of iSCSI is in TCP/IP network On client and storage equipment between carry out mass data encapsulation and reliable transmission process.
Ceph is a kind of Linux distributed file system.Ceph is in order to support several operation systems such as VMWare EXSi, windows etc. are general to be realized using docking iSCSI.Ceph is distributed memory system, so needing to realize more Scheme of the iSCSI initiator to more iSCSI target.Existing some schemes need iSCSI initiator while connecting Meet multiple iSCSI target, the case where iSCSI target is likely to occur delay machine, multiple iSCSI initiator with it is multiple ISCSI target connection, failover can be more troublesome.
Summary of the invention
The application provides the failure switching method and iSCSI major heading device of a kind of iscsi target device, in distributed storage In system, when iSCSI major heading device breaks down, the spare mesh of any iSCSI in iscsi target device cluster can be switched to It marks on device.
In a first aspect, providing a kind of failure switching method of iscsi target device, iscsi target device cluster includes one ISCSI major heading device and one or more iSCSI alternate target device, the iSCSI cluster connection one or more RBD block are set It is standby, which comprises
The iSCSI major heading device receives the RBD block device operation requests from iSCSI, the operation requests Source address be the iSCSI IP address, destination address be the iscsi target device cluster virtual ip address;
When the iSCSI major heading device breaks down, the iSCSI major heading device selection is one or more of One of iSCSI alternate target device in iSCSI alternate target device is as new iSCSI major heading device, according to the iSCSI The RBD block device operation requests are sent to described by the virtual ip address of the IP address of starter and the iscsi target device New iSCSI major heading device responds the operation requests by the new iSCSI major heading device, and the operation requests are corresponding RBD block device export as logical unit number LUN and used to the iSCSI.
Optionally, each iscsi target device in the iscsi target device cluster includes the first network interface and the second network interface, First network interface is connect for establishing heartbeat with other iscsi target devices in the iscsi target device cluster, and described second Network interface with the iSCSI for carrying out data transmission.
Optionally, described when the iSCSI major heading device breaks down, the iSCSI major heading device disconnect with it is described The connection of one or more iSCSI alternate target devices, comprising:
When the iSCSI major heading device breaks down, the first network interface of the iSCSI major heading device is disconnected and described one The connection of first network interface of a or multiple iSCSI alternate target devices.
Optionally, described that the operation requests are responded by new iSCSI major heading device, the operation requests are corresponding RBD block device is exported as logical unit number LUN and is used to the iSCSI, comprising:
The operation requests are responded by the second network interface by the new iSCSI major heading device, by the derived RBD block Equipment is exported as logical unit number LUN and is used to the iSCSI.
Optionally, the method also includes:
It is corresponding with one or more RBD block device that the iSCSI major heading device establishes one or more iSCSIs Relationship.
Second aspect provides a kind of iSCSI major heading device, and iscsi target device cluster, which has, to be realized in the above method The function of iscsi target device Aggregation behaviour.The function can also be executed corresponding soft by hardware realization by hardware Part is realized.The hardware or software include one or more modules corresponding with above-mentioned function.
Wherein, the iscsi target device cluster includes: an iSCSI major heading device and the spare mesh of one or more iSCSI Device is marked, the iSCSI cluster connects one or more RBD block device, in which:
The iSCSI major heading device is for receiving the RBD block device operation requests from iSCSI, the operation The source address of request is the IP address of the iSCSI, and destination address is the virtual IP address of the iscsi target device cluster Location;
The iSCSI major heading device is also used to when the iSCSI major heading device breaks down, and is selected one or more One of iSCSI alternate target device in a iSCSI alternate target device is as new iSCSI major heading device, according to described The virtual ip address of the IP address of iSCSI and the iscsi target device sends the RBD block device operation requests To the new iSCSI major heading device, the operation requests are responded by the new iSCSI major heading device, the operation is asked It asks corresponding RBD block device to export as logical unit number LUN to use to the iSCSI.
Optionally, each iscsi target device in the iscsi target device cluster includes the first network interface and the second network interface, First network interface is connect for establishing heartbeat with other iscsi target devices in the iscsi target device cluster, and described second Network interface with the iSCSI for carrying out data transmission.
Optionally, the iSCSI major heading device is also used to when the iSCSI major heading device breaks down, will be described First network interface of iSCSI major heading device disconnects the connection with the first network interface of one or more of iSCSI alternate target devices.
Optionally, the operation requests are responded by the second network interface by new iSCSI major heading device, it will be described derived RBD block device is exported as logical unit number LUN and is used to the iSCSI.
Optionally, the iSCSI major heading device is also used to establish one or more iSCSIs and one or more The corresponding relationship of RBD block device.
Conceived based on same application, the principle and beneficial effect solved the problems, such as due to the iSCSI major heading device can join See the method implementation and brought beneficial effect of above-mentioned each possible iSCSI major heading device, therefore the iSCSI argument The implementation of mark device may refer to the implementation of method, and overlaps will not be repeated.
The third aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when run on a computer, so that computer executes method described in above-mentioned first aspect.
The application's has the beneficial effect that
ISCSI major heading device receives the RBD block device operation requests of iSCSI, and the destination address of operation requests is The virtual ip address of iscsi target device cluster;When iSCSI major heading device breaks down, iSCSI major heading device disconnect with The connection of iSCSI alternate target device;ISCSI alternate target device is as new iSCSI major heading device, according to iSCSI RBD block device corresponding with iSCSI is exported, exports as LUN and use to iSCSI by IP address.To, Iscsi target device externally has unified virtual ip address, in the event of a failure, can switch to any iSCSI alternate target Device simplifies outward service process and fail-over scheme.
Detailed description of the invention
Fig. 1 is the system architecture diagram of iSCSI provided by the embodiments of the present application and iscsi target device cluster;
Fig. 2 is the schematic diagram of internal structure of iscsi target device cluster provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of the failure switching method of iscsi target device provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the failure switching method of another iscsi target device provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application is described below with reference to the attached drawing in the embodiment of the present application.
In the embodiment of the present application, " multiple " refer to two or more, in consideration of it, can also be in the embodiment of the present application " multiple " are interpreted as " at least two "."and/or" describes the incidence relation of affiliated partner, indicates may exist three kinds of relationships, For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or" unless otherwise specified.
Referring to Fig. 1, being the system architecture of iSCSI provided by the embodiments of the present application and iscsi target device cluster Figure.The system includes one or more iSCSIs, and example includes n iSCSI as shown in figure 1.The system further includes Iscsi target device cluster, the iscsi target device cluster include an iSCSI major heading device and one or more iSCSI spare Object machine.Iscsi target device cluster has unified virtual ip address.The iscsi target device cluster is connect with Ceph cluster, should Ceph cluster provides one or more RBD block device.
Referring to Fig. 2, being the schematic diagram of internal structure of iscsi target device cluster provided by the embodiments of the present application.Such as Fig. 2 institute Show, which includes an iSCSI major heading device and m iSCSI alternate target device.Each iscsi target device With the first network interface and the second network interface.Wherein, first network interface be used for it is other in the iscsi target device cluster Iscsi target device establishes heartbeat connection, and second network interface with the iSCSI for carrying out data transmission.
The embodiment of the present application provides the failure switching method and iscsi target device cluster of a kind of iscsi target device, iSCSI Object machine externally has unified virtual ip address, in the event of a failure, can switch to any iSCSI alternate target device, letter Outward service process and fail-over scheme are changed.
Referring to Fig. 3, for a kind of process signal of the failure switching method of iscsi target device provided by the embodiments of the present application Figure, iscsi target device cluster include an iSCSI major heading device and one or more iSCSI alternate target device, the iSCSI Cluster connects one or more RBD block device.Wherein:
S101, the iSCSI major heading device receive the RBD block device operation requests from iSCSI.
The application can be applied to distributed memory system.For example, Ceph is distributed memory system, need to realize multiple Scheme of the iSCSI to multiple iscsi target devices.
When any one iSCSI want to RBD block device carry out when reading or writing of data, iSCSI to ISCSI major heading device sends RBD block device operation requests.The operation requests include source address and destination address.Wherein, the operation The source address of request is the IP address of the iSCSI.In the present embodiment, iscsi target device cluster externally has unification Virtual ip address, all iSCSIs only need to connect this virtual IP address i.e. may have access to, therefore, the operation The destination address of request is the virtual ip address of the iscsi target device cluster.
The virtual ip address default setting is on main iscsi target device, then iSCSI major heading device receives any iSCSI and opens The RBD block device operation requests that dynamic device is sent.
S102, when the iSCSI major heading device breaks down, select one or more of iSCSI alternate target devices In one of iSCSI alternate target device as new iSCSI major heading device, according to the IP address of the iSCSI With the virtual ip address of the iscsi target device, the RBD block device operation requests are sent to the new iSCSI argument Device is marked, the operation requests are responded by the new iSCSI major heading device, the corresponding RBD block device of the operation requests is made It exports for logical unit number and is used to the iSCSI.
One of iSCSI alternate target device in cluster replaces the iSCSI major heading device to break down, as new ISCSI major heading device.The iSCSI alternate target device can be any one iSCSI alternate target device in cluster, or by setting The iSCSI alternate target device that set pattern then determines.
Each iSCSI need to be mapped with specific RBD block device, and iSCSI connects iSCSI cluster When, it is desirable to only return to the RBD block device of oneself mapping.Start in the specific implementation, new iSCSI major heading device is established with iSCSI The service connection of device, and according to the IP address of iSCSI, determine RBD block device corresponding with the iSCSI, it will It is local that RBD block device corresponding with the iSCSI in Ceph cluster exports to new iSCSI major heading device.
New iSCSI major heading device response aforesaid operations request, using derived RBD block device as logical unit number (logic unit number, LUN) export is used to iSCSI, and iSCSI is just as access local disk one Sample can carry out reading and writing data to RBD block device according to iSCSI protocol.The data of read-write are placed in iSCSI packet, are then issued to ISCSI major heading device, the internal processes of iscsi target device cluster be one unpacking process, according to iSCSI protocol into Row.
Optionally, when former iSCSI major heading device detects itself fail, former iSCSI major heading device disconnects and collection The connection of each iSCSI alternate target device in group.
A kind of failure switching method of iscsi target device is provided according to the embodiment of the present application, iscsi target device externally has Unified virtual ip address can switch to any iSCSI alternate target device, simplify outward service stream in the event of a failure Journey and fail-over scheme.
Referring to Fig. 4, the process for the failure switching method of another iscsi target device provided by the embodiments of the present application is shown It is intended to, iscsi target device cluster includes an iSCSI major heading device and one or more iSCSI alternate target device, described ISCSI cluster connects one or more RBD block device.Wherein:
S201, the iSCSI major heading device establish one or more iSCSIs and one or more RBD block device Corresponding relationship.
Each iSCSI need to be mapped with specific RBD block device, and iSCSI connects iSCSI cluster When, it is desirable to only return to the RBD block device of oneself mapping.Firstly, iSCSI major heading device establishes one or more iSCSIs With the corresponding relationship of one or more RBD block devices, and the corresponding relationship is stored.
S202, the iSCSI major heading device receive the RBD block device operation requests from iSCSI, the operation The source address of request is the IP address of the iSCSI, and destination address is the virtual IP address of the iscsi target device cluster Location.
When any one iSCSI want to RBD block device carry out when reading or writing of data, iSCSI to ISCSI major heading device sends RBD block device operation requests.The operation requests include source address and destination address.Wherein, the operation The source address of request is the IP address of the iSCSI.In the present embodiment, iscsi target device cluster externally has unification Virtual ip address, all iSCSIs only need to connect this virtual IP address i.e. may have access to, therefore, the operation The destination address of request is the virtual ip address of the iscsi target device cluster.
The virtual ip address default setting is on main iscsi target device, then iSCSI major heading device receives any iSCSI and opens The RBD block device operation requests that dynamic device is sent.
S203, the iSCSI major heading device select one of them in one or more of iSCSI alternate target devices ISCSI alternate target device is as new iSCSI major heading device, according to the IP address of the iSCSI and the iSCSI mesh The RBD block device operation requests are sent to the new iSCSI major heading device by the virtual ip address for marking device, by described new ISCSI major heading device the operation requests are responded by the second network interface, using the RBD block device of the operation requests as logic Unit number is exported to be used to the iSCSI.
One of iSCSI alternate target device in cluster replaces the iSCSI major heading device to break down, as new ISCSI major heading device.The iSCSI alternate target device can be any one iSCSI alternate target device in cluster, or by setting The iSCSI alternate target device that set pattern then determines.
Each iSCSI need to be mapped with specific RBD block device, and iSCSI connects iSCSI cluster When, it is desirable to only return to the RBD block device of oneself mapping.Start in the specific implementation, new iSCSI major heading device is established with iSCSI The service connection of device, and according to the IP address of iSCSI, determine RBD block device corresponding with the iSCSI, it will It is local that RBD block device corresponding with the iSCSI in Ceph cluster exports to new iSCSI major heading device.
New iSCSI major heading device responds aforesaid operations request by the second network interface, using derived RBD block device as patrolling Volume unit number is exported to be used to iSCSI, and iSCSI is the same just as access local disk, can be according to iSCSI Agreement carries out reading and writing data to RBD block device.The data of read-write are placed in iSCSI packet, are then issued to iSCSI major heading device, The internal processes of iscsi target device cluster are the processes of a unpacking, are carried out according to iSCSI protocol.
Optionally, when former iSCSI major heading device breaks down, the first network interface of former iSCSI major heading device disconnects and institute State the connection of the first network interface of one or more iSCSI alternate target devices.
As shown in Fig. 2, each iscsi target device in iscsi target device cluster includes the first network interface and the second network interface, the One network interface connect for establishing heartbeat with other iscsi target devices in iscsi target device cluster, the second network interface for ISCSI carries out data transmission.When former iSCSI major heading device breaks down, the first network interface of former iSCSI major heading device The connection with the first network interface of one or more iSCSI alternate target device is disconnected, such iSCSI alternate target device does not just receive Heartbeat from iSCSI major heading device, so that it is determined that failure has occurred in original iSCSI major heading device.
A kind of failure switching method of iscsi target device is provided according to the embodiment of the present application, iscsi target device externally has Unified virtual ip address can switch to any iSCSI alternate target device, simplify outward service stream in the event of a failure Journey and fail-over scheme.
Please continue to refer to the schematic diagram of internal structure of iscsi target device cluster provided by the embodiments of the present application shown in Fig. 2, The iscsi target device cluster includes an iSCSI major heading device and one or more iSCSI alternate target device, the iSCSI cluster Connect one or more RBD block device, in which:
ISCSI major heading device is for receiving the RBD block device operation requests from iSCSI, the source of operation requests Address is the IP address of iSCSI, and destination address is the virtual ip address of iscsi target device cluster;
ISCSI major heading device is also used to when iSCSI major heading device breaks down, and selects one or more iSCSI spare One of iSCSI alternate target device in object machine is as new iSCSI major heading device, according to the IP of iSCSI The RBD block device operation requests are sent to new iSCSI major heading device by the virtual ip address of location and iscsi target device, by The new iSCSI major heading device responds operation requests, exports using derived RBD block device as logical unit number to iSCSI It uses.
In one implementation, each iscsi target device in iscsi target device cluster includes the first network interface and second Network interface, the first network interface are connect for establishing heartbeat with other iscsi target devices in iscsi target device cluster, and the second network interface is used Carry out data transmission in iSCSI.
In another implementation, iSCSI major heading device is also used to when iSCSI major heading device breaks down, will First network interface of iSCSI major heading device disconnects the connection with the first network interface of one or more iSCSI alternate target device.
In another implementation, iSCSI major heading device is also used to establish one or more iSCSIs and one Or the corresponding relationship of multiple RBD block devices.
In another implementation, operation requests are responded by the second network interface by new iSCSI major heading device, will be exported RBD block device export as logical unit number LUN and used to iSCSI.
A kind of iSCSI major heading device is provided according to the embodiment of the present application, iscsi target device externally has unified virtual IP address Address can switch to any iSCSI alternate target device, simplify outward service process and failover in the event of a failure Mechanism.
The embodiment of the present application also provides a kind of computer readable storage medium, deposited in the computer readable storage medium Instruction is contained, when run on a computer, so that computer executes the method in above-described embodiment.
The embodiment of the present application also provides a kind of computer program products comprising instruction, when it runs on computers When, so that computer executes the method in above-described embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the division of the unit, only a kind of logical function partition, can have in actual implementation Other division mode, for example, multiple units or components can be combined or can be integrated into another system or some features It can ignore, or not execute.Shown or discussed mutual coupling or direct-coupling or communication connection can be logical Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program produces Product include one or more computer instructions.It is all or part of when loading and execute on computers the computer program instructions Ground generates the process or function according to the embodiment of the present application.The computer can be general purpose computer, special purpose computer, computer Network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or by being somebody's turn to do Computer readable storage medium is transmitted.The computer instruction can be from a web-site, computer, server or data Center passes through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center.It should Computer readable storage medium can be any usable medium that computer can access or include one or more available The data storage devices such as medium integrated server, data center.The usable medium can be read-only memory (read-only Memory, ROM) or random access memory (random access memory, RAM) or magnetic medium, for example, floppy disk, Hard disk, tape, magnetic disk or optical medium, for example, digital versatile disc (digital versatile disc, DVD) or half Conductive medium, for example, solid state hard disk (solid state disk, SSD) etc..

Claims (10)

1. a kind of failure switching method of iscsi target device, which is characterized in that be applied to iSCSI major heading device, iscsi target Device cluster includes an iSCSI major heading device and one or more iSCSI alternate target device, and the iSCSI cluster connects one Or multiple RBD block devices, which comprises
The iSCSI major heading device receives the RBD block device operation requests from iSCSI, the source of the operation requests Address is the IP address of the iSCSI, and destination address is the virtual ip address of the iscsi target device cluster;
When the iSCSI major heading device breaks down, the iSCSI major heading device selects one or more of iSCSI standby Use one of iSCSI alternate target device in object machine as new iSCSI major heading device, according to the iSCSI IP address and the iscsi target device virtual ip address, the RBD block device operation requests are sent to described new ISCSI major heading device responds the operation requests by the new iSCSI major heading device, by the corresponding RBD of the operation requests Block device is exported as logical unit number LUN and is used to the iSCSI.
2. the method as described in claim 1, which is characterized in that each iscsi target device in the iscsi target device cluster Including the first network interface and the second network interface, first network interface is used for and other iscsi targets in the iscsi target device cluster Device establishes heartbeat connection, and second network interface with the iSCSI for carrying out data transmission.
3. method according to claim 2, which is characterized in that it is described when the iSCSI major heading device breaks down, it is described ISCSI major heading device disconnects the connection with one or more of iSCSI alternate target devices, comprising:
When the iSCSI major heading device breaks down, the first network interface of the iSCSI major heading device disconnect with it is one or The connection of first network interface of multiple iSCSI alternate target devices.
4. method according to claim 2, which is characterized in that described to be asked by the new iSCSI major heading device response operation It asks, the corresponding RBD block device of the operation requests is exported as logical unit number LUN and is used to the iSCSI, comprising:
The operation requests are responded by the second network interface by new iSCSI major heading device, by the corresponding RBD block of the operation requests Equipment is exported as logical unit number LUN and is used to the iSCSI.
5. such as the described in any item methods of Claims 1 to 4, which is characterized in that the method also includes:
The iSCSI major heading device establishes one or more iSCSIs pass corresponding with one or more RBD block device System.
6. a kind of iSCSI major heading device, which is characterized in that iscsi target device cluster includes an iSCSI major heading device and one Or multiple iSCSI alternate target devices, the iSCSI cluster connect one or more RBD block device, in which:
The iSCSI major heading device is for receiving the RBD block device operation requests from iSCSI, the operation requests Source address be the iSCSI IP address, destination address be the iscsi target device cluster virtual ip address;
The iSCSI major heading device is also used to when the iSCSI major heading device breaks down, and is selected one or more of One of iSCSI alternate target device in iSCSI alternate target device is as new iSCSI major heading device, according to the iSCSI The RBD block device operation requests are sent to described by the virtual ip address of the IP address of starter and the iscsi target device New iSCSI major heading device responds the operation requests by the new iSCSI major heading device, and the operation requests are corresponding RBD block device export as logical unit number LUN and used to the iSCSI;
The iSCSI major heading device is also used to disconnect the connection with one or more of iSCSI alternate target devices.
7. iSCSI major heading device as claimed in claim 6, which is characterized in that each of described iscsi target device cluster Iscsi target device includes the first network interface and the second network interface, and first network interface is used for and its in the iscsi target device cluster Its iscsi target device establishes heartbeat connection, and second network interface with the iSCSI for carrying out data transmission.
8. iSCSI major heading device as claimed in claim 7, which is characterized in that the iSCSI major heading device is also used to when described When iSCSI major heading device breaks down, by the first network interface of the iSCSI major heading device disconnect with it is one or more of The connection of first network interface of iSCSI alternate target device.
9. such as the described in any item iSCSI major heading devices of claim 6~8, which is characterized in that the iSCSI major heading device is also For establishing the corresponding relationship of one or more iSCSIs Yu one or more RBD block device.
10. a kind of computer readable storage medium, it is stored with instruction in the computer readable storage medium, when it is in computer When upper operation, so that computer executes method as claimed in any one of claims 1 to 5.
CN201910168196.8A 2019-03-06 2019-03-06 The failure switching method and iSCSI major heading device of iscsi target device Pending CN110034951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910168196.8A CN110034951A (en) 2019-03-06 2019-03-06 The failure switching method and iSCSI major heading device of iscsi target device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910168196.8A CN110034951A (en) 2019-03-06 2019-03-06 The failure switching method and iSCSI major heading device of iscsi target device

Publications (1)

Publication Number Publication Date
CN110034951A true CN110034951A (en) 2019-07-19

Family

ID=67235051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910168196.8A Pending CN110034951A (en) 2019-03-06 2019-03-06 The failure switching method and iSCSI major heading device of iscsi target device

Country Status (1)

Country Link
CN (1) CN110034951A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784515A (en) * 2019-09-19 2020-02-11 平安科技(深圳)有限公司 Data storage method based on distributed cluster and related equipment thereof
CN110908723A (en) * 2019-11-29 2020-03-24 新华三大数据技术有限公司 Main/standby switching method and device of operating system and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030140193A1 (en) * 2002-01-18 2003-07-24 International Business Machines Corporation Virtualization of iSCSI storage
CN103037031A (en) * 2012-12-14 2013-04-10 云海创想信息技术(天津)有限公司 Internet protocol (IP) address administration method of internet small computer system interface (ISCSI) target device
CN103618627A (en) * 2013-11-27 2014-03-05 华为技术有限公司 Method, device and system for managing virtual machines
CN103645932A (en) * 2013-11-21 2014-03-19 华为技术有限公司 Data processing method, data processing device and storage virtualization control device
CN105159846A (en) * 2015-07-02 2015-12-16 浙江宇视科技有限公司 Method for supporting dual-control switching of virtualized disk and storage system
CN108259239A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of database high availability support method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030140193A1 (en) * 2002-01-18 2003-07-24 International Business Machines Corporation Virtualization of iSCSI storage
CN103037031A (en) * 2012-12-14 2013-04-10 云海创想信息技术(天津)有限公司 Internet protocol (IP) address administration method of internet small computer system interface (ISCSI) target device
CN103645932A (en) * 2013-11-21 2014-03-19 华为技术有限公司 Data processing method, data processing device and storage virtualization control device
CN103618627A (en) * 2013-11-27 2014-03-05 华为技术有限公司 Method, device and system for managing virtual machines
CN105159846A (en) * 2015-07-02 2015-12-16 浙江宇视科技有限公司 Method for supporting dual-control switching of virtualized disk and storage system
CN108259239A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of database high availability support method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784515A (en) * 2019-09-19 2020-02-11 平安科技(深圳)有限公司 Data storage method based on distributed cluster and related equipment thereof
CN110908723A (en) * 2019-11-29 2020-03-24 新华三大数据技术有限公司 Main/standby switching method and device of operating system and related equipment

Similar Documents

Publication Publication Date Title
US8495255B2 (en) Discovery and configuration of device configurations
JP4733399B2 (en) Computer system, computer, storage device and management terminal
US8041987B2 (en) Dynamic physical and virtual multipath I/O
US8706837B2 (en) System and method for managing switch and information handling system SAS protocol communication
US8205043B2 (en) Single nodename cluster system for fibre channel
US7467191B1 (en) System and method for failover using virtual ports in clustered systems
US7428584B2 (en) Method for managing a network including a storage system
US7793298B2 (en) Facilitating access to input/output resources via an I/O partition shared by multiple consumer partitions
US8819374B1 (en) Techniques for performing data migration
US20140108666A1 (en) Maintaining a communication path from a host to a storage subsystem in a network
US11669360B2 (en) Seamless virtual standard switch to virtual distributed switch migration for hyper-converged infrastructure
US20120284435A1 (en) Zone group manager virtual phy
US9548888B1 (en) Technique for setting WWNN scope for multi-port fibre channel SCSI target deduplication appliances
US7523176B2 (en) Method, apparatus, and computer program product for reconfiguring a storage area network to support the execution of an application automatically upon execution of the application
CN110830574B (en) Method for realizing intranet load balance based on docker container
EP3279789A1 (en) Data storage with virtual appliances
WO2016082078A1 (en) Path management system, device and method
CN110034951A (en) The failure switching method and iSCSI major heading device of iscsi target device
US9544371B1 (en) Method to discover multiple paths to disk devices cluster wide
JP5527419B2 (en) Storage system
CN114553900B (en) Distributed block storage management system, method and electronic equipment
US11392459B2 (en) Virtualization server aware multi-pathing failover policy
US20220276874A1 (en) Synchronization of multi-pathing settings across clustered nodes
US8918557B2 (en) SAS expander and method to arbitrate traffic in a redundant expander system
CN116661688A (en) Service response method and device of SAS storage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190719