CN106559490B - A kind of management method for storage cluster equipment - Google Patents

A kind of management method for storage cluster equipment Download PDF

Info

Publication number
CN106559490B
CN106559490B CN201611059133.1A CN201611059133A CN106559490B CN 106559490 B CN106559490 B CN 106559490B CN 201611059133 A CN201611059133 A CN 201611059133A CN 106559490 B CN106559490 B CN 106559490B
Authority
CN
China
Prior art keywords
node
storage cluster
unknown
message
management
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
CN201611059133.1A
Other languages
Chinese (zh)
Other versions
CN106559490A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201611059133.1A priority Critical patent/CN106559490B/en
Publication of CN106559490A publication Critical patent/CN106559490A/en
Application granted granted Critical
Publication of CN106559490B publication Critical patent/CN106559490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of management method for storage cluster equipment, the device node of storage cluster to be added supports LLDP agreement;MIB management information bank is provided on the interface of each node in storage cluster;After this method includes the local area network where storage cluster is added in device node, broadcast carries each node in the message to storage cluster of equipment of itself information;Each node in storage cluster is by the packet storage received into the library MIB of itself;When the management node in storage cluster judges corresponding device node for unknown memory node, a memory node is chosen out of storage cluster according to preset rules as host node;Host node is matched according to the corresponding message stored in itself library MIB with device node, and then device node is added in storage cluster.The present invention does not need to fill in script or configuration file required for host node matches manually, reduces the waste of manpower, high-efficient, not easy to make mistakes and speed is fast when increasing or deleting memory node.

Description

A kind of management method for storage cluster equipment
Technical field
The present invention relates to storage device management fields, more particularly to a kind of management method for storage cluster equipment.
Background technique
Storage cluster by some network equipment nodes (router, interchanger, wireless local area access point), management node, Memory node composition.Since the storage equipment in storage cluster will increase or delete sometimes, in this case it is necessary to build again The pairing of equipment, i.e., deposit newly-increased storage equipment as from some in node, cluster in vertical newly-increased storage equipment and cluster Node is stored up as host node, establishes the connection between main and subordinate node, so that should can be added in the storage cluster from node.
At present when increase or delete memory node after, the IP information of the memory node after needing to increase or delete and The data such as device identification are filled up to manually in the corresponding script of storage cluster or configuration file (table or database), for distribution Host node to then should carrying out parameter pairing from node, and then carries out data according to the data search in the script or configuration file Interaction will be included in storage cluster from node.But artificially fill in the data of the memory node of change not only labor intensive, efficiency Low and error probability is high, speed is slow.
Therefore, how to provide high-efficient, the fireballing management method for storage cluster equipment of one kind is this field skill The current problem to be solved of art personnel.
Summary of the invention
The object of the present invention is to provide a kind of management methods for storage cluster equipment, when increase or delete memory node When, it does not need to fill in script or configuration file required for host node matches manually, so that the waste of manpower is reduced, it is high-efficient, Not easy to make mistakes and speed is fast.
In order to solve the above technical problems, the present invention provides a kind of device management method for storage cluster, it is to be added The device node of the storage cluster supports LLDP Link Layer Discovery Protocol;The interface of each node in the storage cluster On be provided with MIB management information bank;The described method includes:
After local area network where the storage cluster is added in the device node, itself is carried with forms of broadcasting transmission Each node in the message of facility information to the storage cluster;
Each node in the storage cluster is by the packet storage received into the library MIB of itself;
Management node in the storage cluster judges whether corresponding device node is unknown memory node;
If so, the memory node is chosen out of described storage cluster according to preset rules as host node;
The host node is matched according to the corresponding message stored in itself library MIB with the device node, and then will The device node is added in the storage cluster.
Preferably, each node in the storage cluster supports the LLDP agreement, and the device node connects MIB management information bank is provided on mouthful.
Preferably, the facility information specifically includes IP information, device type mark, device model, interface message.
Preferably, the management node in the storage cluster judges whether corresponding device node is unknown memory node Process specifically:
Periodically obtain the message stored in the library MIB of each node in the storage cluster;
Judge whether the every terms of information in the message is not stored in the management node in preset Cluster Database, If so, the corresponding device node of the message is unknown node;
Judge whether the unknown node is memory node according to the device type mark in the message, if so, described Unknown node is unknown memory node.
Preferably, the preset rules are specially to choose the shortest institute of distance for arriving the unknown memory node physics Memory node is stated as host node.
Preferably, the preset rules are specially between the unknown memory node described in routing node least one Memory node is as host node.
The present invention provides a kind of management method for storage cluster equipment, the device node that the storage cluster is added is equal Support LLDP agreement, it is after local area network where storage cluster is added in device node, i.e., transmittable to carry equipment of itself information Message in each node into storage cluster, for each node by the packet storage received to the library MIB of itself, one After denier management node determines that the device node is unknown memory node and chooses host node, host node can be according to itself storage Message is matched with the device node, and only the device node is added in storage cluster.As it can be seen that the present invention enables to When increasing or deleting memory node, do not need to fill in script or configuration file required for host node matches manually, but it is straight The message sent when connecing using memory node access to LAN, reduces the waste of manpower, high-efficient, not easy to make mistakes and fast Degree is fast.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of structural schematic diagram of the management method for storage cluster equipment provided by the invention.
Specific embodiment
Core of the invention is to provide a kind of management method for storage cluster equipment, when increase or deletes memory node When, it does not need to fill in script or configuration file required for host node matches manually, so that the waste of manpower is reduced, it is high-efficient, Not easy to make mistakes and speed is fast.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The present invention provides a kind of management method for storage cluster equipment, the device node of storage cluster to be added is equal Support LLDP Link Layer Discovery Protocol;MIB management information bank is provided on the interface of each node in storage cluster;Referring to Shown in Fig. 1, Fig. 1 is a kind of structural schematic diagram of the management method for storage cluster equipment provided by the invention.This method packet It includes:
Step s101: when device node be added storage cluster where local area network after, with the forms of broadcasting transmission carry from Each node in the message to storage cluster of body facility information;
Step s102: each node in storage cluster is by the packet storage received into the library MIB of itself;
Step s103: the management node in storage cluster judges whether corresponding device node is unknown memory node;If It is to enter step s104;
Step s104: a memory node is chosen out of storage cluster according to preset rules as host node;
Step s105: host node is matched according to the corresponding message stored in itself library MIB with device node, and then will Device node is added in storage cluster.
Wherein, for device node generally only by message broadcasting to local area network where itself, the equipment in storage cluster is general In same local area network, in special circumstances, it is also possible to which the message for needing to broadcast device node is further by transistroute In broadcast to upper network, this is not limited by the present invention, can depend on the needs.
Preferably, each node in storage cluster supports LLDP agreement, and is arranged on the interface of device node There is MIB (Management Information Base, management information bank) library.
It is understood that LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) is provided A kind of link layer discovery mode of standard, can be by the unique ability of local device, management address, device identification, interface mark The information such as knowledge are organized into different TLV (Type/Length/Value, type/length/value), and are encapsulated in LLDPDU (Link Layer Discovery Protocol Data Unit, Link Layer Discovery Protocol data cell) in be distributed to it is direct-connected with oneself Neighbor node, neighbor node is saved it after receiving these information in the form of standard mib library, so that management system is looked into Inquire about the communication conditions for judging link.
Wherein, facility information here specifically includes IP information, device type mark, device model, interface message.It can be with Understand, device type here mark refer to for identification whether be memory node identifier, certainly, it is specific in Holding can need to modify management node simultaneously after the completion of setting with sets itself, management node the device type can be identified into Row identification.IP information, device model, interface message are for being matched and being added storage collection for host node and device node It is needed when in group.
In addition, facility information here can also include function, the physical location etc. of device node, the present invention does not make this It is specific to limit.
Specifically, the management node in storage cluster judge corresponding device node whether be unknown memory node process Specifically:
Step s201: the message stored in the library MIB of each node in storage cluster is periodically obtained;
Step s202: judge whether the every terms of information in message is not stored in preset Cluster Database in management node It is interior, if so, the corresponding device node of message is unknown node;
Step s203: judge whether unknown node is memory node according to the device type mark in message, if so, unknown Node is unknown memory node.
It is further known that preset rules here are specially to choose distance shortest one that arrives unknown memory node physics Memory node is as host node.
In another embodiment, preset rules are deposited for routing node least one specially between unknown memory node Node is stored up as host node.
It is matched it is understood that choosing host node with unknown memory node, is to keep unknown memory node mutual The IP address etc. of other side is mutually got, and then establishes connection, then completes a series of data communication, is deposited to realize by unknown The host node needs for storing up node and the purpose of the storage cluster being added, therefore generally choose are closer with unknown memory node, this In be closer can be less etc. for the closer or intermediate routing node of physical distance, certainly, other rules can also be used Host node is selected, this is not limited by the present invention.
Also, the present invention, can be direct when management node judges the device node being currently accessed as unknown memory node Host node is distributed according to preset rules, it is high-efficient compared to the mode of currently used artificial selection host node, reduce manpower Waste.
The present invention provides a kind of management method for storage cluster equipment, the device node that the storage cluster is added is equal Support LLDP agreement, it is after local area network where storage cluster is added in device node, i.e., transmittable to carry equipment of itself information Message in each node into storage cluster, for each node by the packet storage received to the library MIB of itself, one After denier management node determines that the device node is unknown memory node and chooses host node, host node can be according to itself storage Message is matched with the device node, and only the device node is added in storage cluster.As it can be seen that system energy of the invention Enough so that when increasing or deleting memory node, do not need to fill in script or configuration file required for host node matches manually, But the message sent when directly utilizing memory node access to LAN, reduce the waste of manpower, it is high-efficient, it is not easy out Wrong and speed is fast.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (5)

1. a kind of device management method for storage cluster, which is characterized in that the device node of the storage cluster to be added Support LLDP Link Layer Discovery Protocol;MIB management information is provided on the interface of each node in the storage cluster Library;The described method includes:
After local area network where the storage cluster is added in the device node, equipment of itself is carried with forms of broadcasting transmission Each node in the message of information to the storage cluster;
Each node in the storage cluster is by the packet storage received into the library MIB of itself;
Management node in the storage cluster judges whether corresponding device node is unknown memory node;
If so, the memory node is chosen out of described storage cluster according to preset rules as host node;
The host node is matched according to the corresponding message stored in itself library MIB with the device node, and then will be described Device node is added in the storage cluster.
2. the method according to claim 1, wherein the facility information specifically includes IP information, device type Mark, device model, interface message.
3. according to the method described in claim 2, it is characterized in that, the management node in the storage cluster judges corresponding set Slave node whether be unknown memory node process specifically:
Periodically obtain the message stored in the library MIB of each node in the storage cluster;
Judge whether the every terms of information in the message is not stored in the management node in preset Cluster Database, if It is that the corresponding device node of the message is unknown node;
Judge whether the unknown node is memory node according to the device type mark in the message, if so, described unknown Node is unknown memory node.
4. according to the method described in claim 3, it is characterized in that, the preset rules are specially to choose to arrive the unknown storage The shortest memory node of the distance of node physics is as host node.
5. according to the method described in claim 3, it is characterized in that, the preset rules are specially and the unknown memory node Between the least memory node of routing node as host node.
CN201611059133.1A 2016-11-24 2016-11-24 A kind of management method for storage cluster equipment Active CN106559490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611059133.1A CN106559490B (en) 2016-11-24 2016-11-24 A kind of management method for storage cluster equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611059133.1A CN106559490B (en) 2016-11-24 2016-11-24 A kind of management method for storage cluster equipment

Publications (2)

Publication Number Publication Date
CN106559490A CN106559490A (en) 2017-04-05
CN106559490B true CN106559490B (en) 2019-10-18

Family

ID=58445081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611059133.1A Active CN106559490B (en) 2016-11-24 2016-11-24 A kind of management method for storage cluster equipment

Country Status (1)

Country Link
CN (1) CN106559490B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040290B (en) * 2018-08-27 2021-03-09 成都安恒信息技术有限公司 Method for electing main node based on node characteristics
CN112751709B (en) * 2020-12-29 2023-01-10 北京浪潮数据技术有限公司 Management method, device and system of storage cluster

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083557A (en) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 SNMP based IP network cluster managerial approach
CN101183975A (en) * 2007-12-04 2008-05-21 浙江大学 Distributed heat dispositions method of cluster application server
CN102710438A (en) * 2012-05-28 2012-10-03 华为技术有限公司 Node management method, device and system
CN105338028A (en) * 2014-07-30 2016-02-17 浙江宇视科技有限公司 Method and device for selecting master and slave nodes in distributed server cluster
CN105430030A (en) * 2014-09-16 2016-03-23 钛马信息网络技术有限公司 OSG-based parallel extendable application server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140229602A1 (en) * 2013-02-08 2014-08-14 International Business Machines Corporation Management of node membership in a distributed system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083557A (en) * 2007-06-29 2007-12-05 中兴通讯股份有限公司 SNMP based IP network cluster managerial approach
CN101183975A (en) * 2007-12-04 2008-05-21 浙江大学 Distributed heat dispositions method of cluster application server
CN102710438A (en) * 2012-05-28 2012-10-03 华为技术有限公司 Node management method, device and system
CN105338028A (en) * 2014-07-30 2016-02-17 浙江宇视科技有限公司 Method and device for selecting master and slave nodes in distributed server cluster
CN105430030A (en) * 2014-09-16 2016-03-23 钛马信息网络技术有限公司 OSG-based parallel extendable application server

Also Published As

Publication number Publication date
CN106559490A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN105262687B (en) A kind of power information acquisition system group-net communication method based on WIA-PA technologies
CN102014377B (en) Distributed wireless sensor network-based IPv6 address configuration implementing method
CN102790963B (en) Mobile ad hoc network system based on Android cell phone and construction method thereof
CN103973567B (en) The method for configuring route and device of VPN
CN108200628B (en) Wireless ad hoc networking method of linear topological structure
CN102137173A (en) Routing information distributing method, equipment, virtual special network system
WO2012139735A4 (en) Management of radio frequencies in a wireless or hybrid mesh network
CN103491590B (en) A kind of implementation method of wireless sensor network route of future generation
CN103078969A (en) Method and equipment for announcing media access control (MAC) address information
CN105208622B (en) A kind of route selection method and method for managing route table of the router-table structure that high-efficiency dynamic is safeguarded automatically
CN204795616U (en) ZIGBEE network access control device
CN102158812A (en) Wireless Mesh network multicasting communication method of AC-AP (Access Controller-Access Point) framework
CN107316451B (en) Cluster type networks meter register method and device based on wireless meter
CN106604344A (en) Power utilization information system based on RPL and networking and communication method thereof
CN103428090A (en) Dynamic routing method, routing server and system for heterogeneous network
CN107528721A (en) MAC Address automatic network-building and data forwarding method are utilized in a kind of Android mobile terminal
CN110493137A (en) A kind of Tiered broadcast method, apparatus and system based on fixed route network
CN106559490B (en) A kind of management method for storage cluster equipment
CN103813372B (en) A kind of wireless sensor network management method based on IPv6
CN101330411B (en) Method and system for simulating large-scale network topological
CN102594916B (en) Networking method for deeper depth self-organizing wireless sensing network
CN103227733B (en) A kind of topology discovery method and system
CN105072586A (en) Management method for forwarding of broadcast message in embedded wireless ad hoc network
WO2017215383A1 (en) Network element configuration method and device, and network element management method and device
KR101081941B1 (en) Recording medium recorded node address and routing information structure, method of sensor network organization and method of sensor network routing

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
GR01 Patent grant
GR01 Patent grant