CN101227378B - Communication service establishing method based on network storage and storage device thereof - Google Patents

Communication service establishing method based on network storage and storage device thereof Download PDF

Info

Publication number
CN101227378B
CN101227378B CN2008100042583A CN200810004258A CN101227378B CN 101227378 B CN101227378 B CN 101227378B CN 2008100042583 A CN2008100042583 A CN 2008100042583A CN 200810004258 A CN200810004258 A CN 200810004258A CN 101227378 B CN101227378 B CN 101227378B
Authority
CN
China
Prior art keywords
network interface
group
memory device
address
initiating equipment
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.)
Active
Application number
CN2008100042583A
Other languages
Chinese (zh)
Other versions
CN101227378A (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.)
Shenzhen Innovation Technology Co., Ltd.
Original Assignee
UIT STORAGE 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 UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd filed Critical UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN2008100042583A priority Critical patent/CN101227378B/en
Publication of CN101227378A publication Critical patent/CN101227378A/en
Application granted granted Critical
Publication of CN101227378B publication Critical patent/CN101227378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for establishing communications service on the base of network storage, which comprises receiving request messages of establishing discovery session which is launched by launching equipment through connecting storage equipment itself and network interface of the launching equipment, and getting group address information of a network interface group which belongs to the network interface, sending response message of the group address information to the launching equipment through the network interface, leading the storage equipment based on the group address information to receive the request which is launched by the launching equipment to establish a conversation connection with itself, choosing a network interface in the network interface group, sending information of the address of the network interface which is chosen to the launching equipment, noticing the launching equipment to repeatedly establish a conversation connection with itself according to the address which is chosen, leading the storage equipment which is based on the address which is chosen to receive the request which is launched by the launching equipment to establish a conversation connection with itself. Correspondingly, the invention also discloses storage equipment, which avoids resource waste of network interfaces through adopting the proposal of the invention.

Description

The communication service establishing method of storage Network Based and memory device
Technical field
The present invention relates to the Network storage technology field, relate in particular to a kind of communication service establishing method and memory device of storage Network Based.
Background technology
Network small computer system interface (iSCSI, Internet Small Computer System Interface) is that purpose is in order with the IP agreement memory device to be linked together by the network storage standard of IEETF exploitation.By transmission scsi command and data on IP network, promoted the transmission of data between internet, make the storage of data no longer be subjected to the restriction of region.
Memory device all has been equipped with a plurality of network interfaces usually, the pre-configured network interface resource that service can be provided for it in storage server, make and to utilize Internet resources largely, but this static state provides the mode of the network interface resource of service for the storage server configuration, make that the load of each network interface can not reach balanced in the memory device, thereby make and to utilize the network interface resource to greatest extent.For example, three network interfaces have been equipped with among the memory device A: network interface 1, network interface 2 and network interface 3; Pre-configured storage server B1, B2, B3 can use network interface 1, and storage server C1, C2 can use network interface 2, and storage server D1, D2, D3, D4 can use network interface 3; If a certain moment storage server B1, B2, B3 need provide stores service, and storage server C1, C2 and D1, D2, D3, D4 all do not need to provide stores service, storage server B1, B2, B3 need pass through the session connection of network interface 1 foundation and memory device so, to carry out normal service communication.I.e. network interface 1 load too high among memory device A this moment, and network interface 2 and network interface 3 are not utilized makes that the load of each network interface among the memory device A is unbalanced, thereby can not utilize the network interface resource to greatest extent.
Simultaneously, in order to ensure the safety of network service, also adopted technology in the prior art such as network interface binding etc., the principle of network interface binding technology is as follows: with the identical IP address of a plurality of network interface configurations in the memory device, make a plurality of network interface work as same network interface, a plurality of network interfaces backup each other, certain network interface lost efficacy or unusual situation under, other network interface still can operate as normal, makes current business of carrying out can not interrupt.But adopt above-mentioned network interface binding technology, be about to the mode of a plurality of network interface configuration identical ip addresses, do not make full use of the resource of all-network interface, the network interface resource has been caused certain waste.
Summary of the invention
The invention provides a kind of communication service establishing method and memory device of storage Network Based, with in storage networking, can big limit utilize the network interface resource.
The communication service establishing method of the storage Network Based that the embodiment of the invention proposes comprises: memory device is by the network interface of connection self and initiating equipment, and the request message of session is found in the foundation that receives described initiating equipment initiation; And obtain the group address message of the network interface group under this network interface; And by this network interface, transmission comprises the response message of this group address message that obtains to described initiating equipment; Described memory device is based on described group address message, receive that described initiating equipment initiates with the request of self setting up session connection; And select a network interface in the described network interface group; And the message of address that sends the network interface comprise described selection notifies described initiating equipment to set up session connection with self again according to the address of this selection to described initiating equipment; Described memory device is based on the address of the network interface of this selection, receive that described initiating equipment initiates with the request of self setting up session connection.
The memory device that the embodiment of the invention proposes comprises: first receiving element, be used for by connecting the network interface of described memory device and initiating equipment, and the request message of session is found in the foundation that receives described initiating equipment initiation; Acquiring unit is used to obtain the group address message of the network interface group under this network interface; First transmitting element is used for by this network interface, send comprise the group address message that acquiring unit obtains response message to described initiating equipment; Second receiving element is used for based on described group address message, and what receive that described initiating equipment initiates sets up the request of session connection with described memory device; Selected cell is used for selecting a network interface of described network interface group; Second transmitting element, the message that is used to send the address that comprises the network interface that selected cell selects notifies described initiating equipment to set up session connection with self again according to the address of this selection to described initiating equipment; The 3rd receiving element is used for the address based on the network interface of described selection, and what receive that described initiating equipment initiates sets up the request of session connection with described memory device.
The communication service establishing method and the memory device of the storage Network Based that the embodiment of the invention proposes, by connecting the network interface of described memory device and initiating equipment, the request message of session is found in the foundation that receives the initiating equipment initiation, obtain the group address message of the affiliated network interface group of this network interface, transmission comprises the response message of this group address message to described initiating equipment; Based on described group address message, what receive that initiating equipment initiates sets up the request of session connection with described memory device, select a network interface in the described network interface group, transmission comprises the message of address of network interface of described selection to described initiating equipment, and the notice initiating equipment is set up session connection with described memory device again according to the address of described selection; Based on the address of the network interface of this selection, what receive that described initiating equipment initiates sets up the request of session connection with described memory device.Thereby avoided the waste of network interface resource, realized the transfer of data load balancing of storage networking, made full use of the resource of storage networking.
Description of drawings
Fig. 1 is the typical storage configuration diagram of iSCSI storage networking;
Fig. 2 is the schematic flow sheet of the communication service establishing method of the storage Network Based of embodiment of the invention proposition;
Fig. 3 is the schematic flow sheet of the communication service establishing method of the storage Network Based that proposes of the embodiment of the invention one;
Fig. 4 is the structural representation of the memory device of embodiment of the invention proposition;
Fig. 5 is the concrete structure schematic diagram of selected cell in the memory device of embodiment of the invention proposition.
Embodiment
Scheme is set up in the communication service of the storage Network Based that the embodiment of the invention provides, and a lighter network interface of load uses to initiating equipment in the dynamic distribution network interface group.
Below in conjunction with Figure of description the specific embodiment of the present invention is described, storage networking is that example illustrates with the iSCSI storage networking among the following embodiment of the present invention.
As shown in Figure 1, be the typical storage configuration diagram of iSCSI storage networking, user side is connected on the storage server by Internet, and storage server is as the external interface of storage networking, for the user provides stores service.
The schematic flow sheet of the communication service establishing method of the storage Network Based that the embodiment of the invention proposes as shown in Figure 2, concrete process description is as follows:
Step 21: based on the pre-configured address information that the network interface of service is provided for storage server, storage server is connected on the memory device, and initiate to set up the request message of finding session, the address information of the network interface of its target storage resources that can visit and correspondence thereof is returned in requirement;
Step 22: exist at least two network interfaces to have different IP addresses in the memory device, certainly in order to utilize the network interface resource to greatest extent, network interfaces all in the memory device can be provided with different IP addresses, these IP addresses can be used for all the target storage resources in the memory device.To have the network interface grouping of different IP addresses in advance, give a group address with each network interface group simultaneously; Memory device obtains the group address of the network interface group under this network interface that service is provided;
Step 23: memory device is by the described network interface that service is provided, and transmission comprises the response message of the described group address message that gets access to storage server;
Step 24: storage server is connected on the memory device based on described group address message, wishes to set up normal service conversation;
Step 25: memory device is selected a network interface based on predetermined strategy from described network interface group; For example, memory device can be monitored the loading condition of each network interface in the described network interface group, and based on the described loading condition that monitors, selects a lightest network interface of load;
Step 26: memory device sends the message of address information of the network interface comprise described selection to storage server, informs that simultaneously storage server to the connection of described memory device needs to reset;
Step 27: storage server is based on the address information of the network interface that comprises in the message that receives, carry out session connection with memory device, carry out normal service communication, the application of storage server end afterwards can be with storage in the memory device of target storage resources end.
The communication service establishing method of the storage Network Based that the embodiment of the invention proposes, also comprise: whether the network interface that memory device is monitored described selection breaks down, and when the network interface that monitors described selection breaks down, re-execute the processing of a network interface in the described selection network interface group, thereby reach when the ethernet port fault that connects, energy automatic equalization is to the purpose of other ethernet port.
The communication service establishing method of the storage Network Based that the embodiment of the invention proposes, receive the logging request that iSCSI storage server user sends by the iscsi target storage resources, and according to the load information of a plurality of ethernet ports in the IP-SAN storage array among the iSCSI, be this network port in iSCSI storage server location, and the IP address of this network port correspondence returned to this storage server, the ethernet port that uses this IP address and iscsi target storage resources to locate after this storage server carries out point-to-point the connection.Above-mentioned user keeps this connection in the transfer of data communication of follow-up service-oriented.When in case the unusual or load state of network occurring and changing; during such as the described ethernet port fault that connects; can be according to aforementioned load-balancing algorithm; automatic equalization reaches the best performanceization of network port load and the purpose that guarantees the normalization that network is connected to greatest extent to other ethernet port.
Adopt the communication service establishing method of the storage Network Based of embodiment of the invention proposition, can realize the transfer of data load balancing of iSCSI storage networking, make full use of the resource of iSCSI storage networking.
Describe said process in detail with a specific embodiment below.
Embodiment one:
Suppose one of the embodiment of the invention based on network storage framework as shown in Figure 1, and storage server and memory device are in the same local area network (LAN) among supposition Fig. 1, the IP address of storage server 1 is 192.168.9.11, the IP address of storage server 2 is 192.168.9.12, the IP address of storage server 3 is 192.168.9.13, four network interfaces are arranged on the memory device 1, wherein the IP address of network interface 1 is 192.168.9.50, the IP address of network interface 2 is 192.168.9.51, the IP address of network interface 3 is 192.168.9.52, the IP address of network interface 4 is 192.168.9.53, simultaneously network interface 1 and network interface 2 are classified as one group, and to have bound group IP address be 192.168.9.98, and network interface 3 and network interface 4 are classified as one group, and to have bound group IP address be 192.168.9.99.Concrete operation flow is as follows:
1, storage server 1 need provide external stores service, so by network interface 1, foundation is connected with memory device, and initiates to set up the request message of finding session, in order to confirm storage server 1 operable storage resources on the current memory device 1;
2, memory device 1 returns current operable storage resources, be the group address that memory device 1 obtains the network interface group under the network interface 1: 192.168.9.98, and this group address message sent to storage server 1 by response message, inform that storage server 1 can be connected with memory device 1 by this group address;
3, storage server 1 uses the IP address to be connected with memory device 1 as the group address of 192.168.9.98, the load of supposing network interface 1 on the memory device 1 this moment is higher, and network interface 2 is not used, memory device is according to predetermined strategy so, select network interface 2, and the IP address 192.168.9.51 of network interface 2 is returned to storage server 1;
4, storage server 1 uses this IP address and memory device to carry out session connection, carries out normal stores service.
Same, when storage server 2, storage server 3 need provide external stores service, also need through above-mentioned operation flow, return to the address information that the network interface of service is provided for this storage server by memory device, set up the session connection between storage server and memory device, to carry out normal service communication.
And when the network interface 2 of above-mentioned storage server 1 use breaks down, need to carry out following operation flow:
5, storage server 1 still uses the IP address to be connected with memory device 1 as the group address of 192.168.9.98, memory device finds that only have network interface 1 that service can normally be provided in this network interface group this moment, then the IP address 192.168.9.50 with network interface 1 returns to storage server 1 (if remove the network interface 2 that breaks down in this network interface group, also have at least two network interfaces to use, then memory device still can be according to predetermined strategy, select a network interface, and storage server 1 is given in the IP address of returning the network interface of this selection);
6, storage server 1 uses this IP address and memory device to carry out session connection, carries out normal stores service.
In above-mentioned operation flow, flow process mutual between each storage server and memory device is all identical, and as shown in Figure 3, concrete process description is as follows:
S1: storage server is based on the pre-configured address information that the network interface of service can be provided for it, be connected on the memory device, and initiate to set up the request message of finding session, the described request message request is returned target storage resources and the corresponding network interface information thereof that this storage server can be visited;
S2: memory device returns target storage resources and the network interface information thereof that this storage server can be visited, be that memory device obtains the network interface group under the described network interface that service is provided, and the response message that returns the group IP address of described network interface group is given this storage server;
S3: storage server is connected on the memory device based on described group of IP address, wishes to set up normal service conversation;
S4: memory device calculates the IP address of operable network interface according to current loading condition, and returns this IP address and give storage server, informs that simultaneously storage server to the connection of this memory device needs to reset;
S5: the IP address information of the network interface that storage server returns by memory device, set up session connection with this network interface, to carry out normal service communication.
The memory device 40 that the embodiment of the invention provides comprises as shown in Figure 4: first receiving element 41, be used for by connecting the network interface of described memory device and initiating equipment, and the request message of session is found in the foundation that receives described initiating equipment initiation; Acquiring unit 42 is used to obtain the group address message of the network interface group under this network interface; First transmitting element 43 is used for by this network interface, send comprise the group address message that acquiring unit 42 obtains response message to described initiating equipment; Second receiving element 44 is used for based on described group address message, and what receive that described initiating equipment initiates sets up the request of session connection with described memory device; Selected cell 45 is used for selecting a network interface of described network interface group; Second transmitting element 46, the message that is used to send the address that comprises the network interface that selected cell 45 selects notifies described initiating equipment to set up session connection with self again according to the address of this selection to described initiating equipment; The 3rd receiving element 47 is used for the address based on the network interface of described selection, and what receive that described initiating equipment initiates sets up the request of session connection with described memory device.
Described memory device 40 also comprises: whether monitoring unit 48 is used to monitor the network interface that selected cell 45 selects and breaks down; When selected cell 45 breaks down at the network interface of described selection, re-execute the processing of selecting a network interface in the network interface group.
The structure of selected cell 45 comprises as shown in Figure 5 in the memory device 40 that the embodiment of the invention provides: monitor subelement 451, be used for monitoring the loading condition of described each network interface of network interface group; Chooser unit 452 is used for the loading condition based on each network interface of monitoring of monitoring subelement 451, selects a lightest network interface of load.
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 are revised 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 interior.

Claims (6)

1. the communication service establishing method of a storage Network Based is characterized in that, comprising:
Memory device is by the network interface of connection self and initiating equipment, and the request message of session is found in the foundation that receives described initiating equipment initiation; And
Obtain the group address message of the affiliated network interface group of this network interface; And
By this network interface, transmission comprises the response message of this group address message that obtains to described initiating equipment;
Described memory device is based on described group address message, receive that described initiating equipment initiates with the request of self setting up session connection; And
Select a network interface in the described network interface group; And
Transmission comprises the message of address of network interface of described selection to described initiating equipment, notifies described initiating equipment to set up session connection with self again according to the address of this selection;
Described memory device is based on the address of the network interface of this selection, receive that described initiating equipment initiates with the request of self setting up session connection.
2. the method for claim 1 is characterized in that, also comprises step:
Whether the network interface of monitoring described selection breaks down; And
When the network interface of described selection breaks down, re-execute the processing of a network interface in the described selection network interface group.
3. method as claimed in claim 1 or 2 is characterized in that, selects a network interface in the described network interface group to comprise:
Monitor the loading condition of each network interface in the described network interface group;
Based on the loading condition of described each network interface that monitors, select a lightest network interface of load.
4. a memory device is characterized in that, comprising:
First receiving element is used for by connecting the network interface of described memory device and initiating equipment, and the request message of session is found in the foundation that receives described initiating equipment initiation;
Acquiring unit is used to obtain the group address message of the network interface group under this network interface;
First transmitting element is used for by this network interface, send comprise the group address message that acquiring unit obtains response message to described initiating equipment;
Second receiving element is used for based on described group address message, and what receive that described initiating equipment initiates sets up the request of session connection with described memory device;
Selected cell is used for selecting a network interface of described network interface group;
Second transmitting element, the message that is used to send the address that comprises the network interface that selected cell selects notifies described initiating equipment to set up session connection with self again according to the address of this selection to described initiating equipment;
The 3rd receiving element is used for the address based on the network interface of described selection, and what receive that described initiating equipment initiates sets up the request of session connection with described memory device.
5. memory device as claimed in claim 4 is characterized in that, also comprises:
Whether monitoring unit is used to monitor the network interface that selected cell selects and breaks down;
When selected cell breaks down at the network interface of described selection, re-execute the processing of selecting a network interface in the network interface group.
6. as claim 4 or 5 described memory devices, it is characterized in that described selected cell specifically comprises:
Monitor subelement, be used for monitoring the loading condition of described each network interface of network interface group;
The chooser unit is used for the loading condition based on each network interface of monitoring of monitoring subelement, selects a lightest network interface of load.
CN2008100042583A 2008-01-24 2008-01-24 Communication service establishing method based on network storage and storage device thereof Active CN101227378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100042583A CN101227378B (en) 2008-01-24 2008-01-24 Communication service establishing method based on network storage and storage device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100042583A CN101227378B (en) 2008-01-24 2008-01-24 Communication service establishing method based on network storage and storage device thereof

Publications (2)

Publication Number Publication Date
CN101227378A CN101227378A (en) 2008-07-23
CN101227378B true CN101227378B (en) 2011-05-11

Family

ID=39859143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100042583A Active CN101227378B (en) 2008-01-24 2008-01-24 Communication service establishing method based on network storage and storage device thereof

Country Status (1)

Country Link
CN (1) CN101227378B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5383415B2 (en) * 2009-10-02 2014-01-08 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, AND PROGRAM
CN109474700B (en) * 2018-12-18 2021-09-24 创新科技术有限公司 Access method of iSCSI client, storage medium, client and storage node
CN109600267A (en) * 2019-01-09 2019-04-09 郑州云海信息技术有限公司 A kind of the physical port switching method and device of network link

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633131A (en) * 2005-01-14 2005-06-29 清华大学 A method for implementing iSCSI memory system
CN1852502A (en) * 2006-05-29 2006-10-25 杭州华为三康技术有限公司 Method for realizing load uniform in clustering system, system and storage controller
CN1921479A (en) * 2005-08-23 2007-02-28 中兴通讯股份有限公司 Method and system for partaking load of flow media system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633131A (en) * 2005-01-14 2005-06-29 清华大学 A method for implementing iSCSI memory system
CN1921479A (en) * 2005-08-23 2007-02-28 中兴通讯股份有限公司 Method and system for partaking load of flow media system
CN1852502A (en) * 2006-05-29 2006-10-25 杭州华为三康技术有限公司 Method for realizing load uniform in clustering system, system and storage controller

Also Published As

Publication number Publication date
CN101227378A (en) 2008-07-23

Similar Documents

Publication Publication Date Title
CN100389392C (en) Method for realizing load uniform in clustering system, system and storage controller
CN110113441B (en) Computer equipment, system and method for realizing load balance
CN102143046B (en) Load balancing method, equipment and system
EP3352431B1 (en) Network load balance processing system, method, and apparatus
US10979285B2 (en) Service transmission method, device, and system
CN103560922A (en) Disaster recovery method and system
CN101383732B (en) Intelligent failback in a load-balanced networking environment
CN104394224A (en) Load balance system
CN102025630A (en) Load balancing method and load balancing system
CN110838991A (en) Gateway connection method, device, storage medium, electronic device and gateway device
CN103312605A (en) Gateway device identity setting method and management gateway device
CN103458013A (en) Streaming media server cluster load balancing system and balancing method
CN110234140B (en) Communication method, device, entity and storage medium
CN108055338B (en) ISCSI access load balancing method
JP5255035B2 (en) Failover system, storage processing apparatus, and failover control method
CN109254876A (en) The management method and device of database in cloud computing system
CN112311907A (en) ARP request response method, load balancing equipment and related device
CN101227378B (en) Communication service establishing method based on network storage and storage device thereof
CN100563263C (en) In network storage service, realize the method and system of system high-available
CN102281263B (en) Method for establishing Internet small computer system interface (iSCSI) session and iSCSI initiator
CN102932249B (en) A kind of transmission method of VRRP message and device
CN108366087B (en) ISCSI service realization method and device based on distributed file system
KR101058275B1 (en) Communication terminal and its control method, P2P server system and its control method
CN114020466B (en) Method and device for balancing double active loads, electronic equipment and storage medium
CN111385324A (en) Data communication method, device, equipment and storage medium

Legal Events

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

Address after: 518057 Shenzhen Software Park, No. 9, 501, 502, Science and Technology Middle Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Innovation Technology Co., Ltd.

Address before: 518057 Fangda Building 1501, South 12 Road Science and Technology Park, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: UIT Storage Technology (Shenzhen) Co., Ltd.

CP03 Change of name, title or address