CN106559490A - 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
CN106559490A
CN106559490A CN201611059133.1A CN201611059133A CN106559490A CN 106559490 A CN106559490 A CN 106559490A CN 201611059133 A CN201611059133 A CN 201611059133A CN 106559490 A CN106559490 A CN 106559490A
Authority
CN
China
Prior art keywords
node
storage cluster
unknown
management
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611059133.1A
Other languages
Chinese (zh)
Other versions
CN106559490B (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)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area 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 agreements;MIB management information banks are provided with the interface of each node in storage cluster;The method includes that broadcast carries each node in the message to storage cluster of equipment of itself information after the LAN that device node adds storage cluster to be located;Each node in storage cluster is by the MIB storehouses of the packet storage for receiving to itself;When the management node in storage cluster judges corresponding device node for unknown memory node, a memory node is chosen from storage cluster as host node according to preset rules;Host node is matched with device node according to the corresponding message stored in itself MIB storehouse, and then device node is added in storage cluster.The present invention is not when increasing or delete memory node, it is not necessary to fills in the script or configuration file required for host node pairing manually, reduces the waste of manpower, efficiency high, error-prone and speed is fast.

Description

A kind of management method for storage cluster equipment
Technical field
The present invention relates to storage device management field, more particularly to a kind of management method for storage cluster equipment.
Background technology
Storage cluster by some network equipment nodes (router, switch, wireless local area access point), management node, Memory node is constituted.As the storage device in storage cluster increases sometimes or deletes, in this case it is necessary to build again The pairing of equipment in vertical newly-increased storage device and cluster, the storage device that will be increased newly are deposited as certain from node, cluster Storage node is used as host node, the connection set up between main and subordinate node, and then this is added in the storage cluster from node.
At present after increasing or delete memory node, needs by the IP information of the memory node after increase or deletion and The data such as device identification are filled up in the corresponding script of storage cluster or configuration file (form or database) manually, for distribution Host node and then carries out data according to the script or the data search in configuration file to from node, then should entering line parameter pairing 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 Probability that is low and malfunctioning is high, speed is slow.
Therefore, how to provide a kind of efficiency high, the fireballing management method for storage cluster equipment is this area skill Art personnel need the problem for solving at present.
The content of the invention
It is an object of the invention to provide a kind of management method for storage cluster equipment, when increase or deletion memory node When, it is not necessary to the script or configuration file required for host node pairing is filled in manually, so as to reduce the waste of manpower, efficiency high, It is not error-prone and speed is fast.
To solve above-mentioned technical problem, the invention provides a kind of device management method for storage cluster, to be added The device node of the storage cluster supports LLDP Link Layer Discovery Protocols;The interface of each node in the storage cluster On be provided with MIB management information banks;Methods described includes:
After the LAN that the device node adds the storage cluster to be located, sent with the forms of broadcasting and carry itself Each node in the message of facility information to the storage cluster;
Each node in the storage cluster is by the MIB storehouses of the packet storage for receiving to itself;
Management node in the storage cluster judges whether corresponding device node is unknown memory node;
If so, a memory node is chosen from the storage cluster as host node according to preset rules;
The host node is matched with the device node according to the corresponding message stored in itself MIB storehouse, and then will The device node is added in the storage cluster.
Preferably, each node in the storage cluster supports the LLDP agreements, and the device node connects MIB management information banks are provided with mouthful.
Preferably, the facility information specifically includes IP information, device type mark, unit type, interface message.
Preferably, the management node in the storage cluster judges whether corresponding device node is unknown memory node Process is specially:
The message stored in the MIB storehouses for periodically obtaining each node storage cluster Nei;
Judge whether the every terms of information in the message is not stored in the management node in default 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, it is if so, described Unknown node is unknown memory node.
Preferably, the preset rules specially selection is to a most short institute of the distance of the unknown memory node physics Memory node is stated as host node.
Preferably, the preset rules are specially described in one that routing node is minimum between the unknown memory node Memory node is used as host node.
The invention provides a kind of management method for storage cluster equipment, adds the device node of the storage cluster equal LLDP agreements are supported, after the LAN that device node adds storage cluster to be located, you can transmission carries equipment of itself information Message to storage cluster in each node in, in MIB storehouses of each node by the packet storage for receiving to itself, one Denier management node judges the device node as unknown memory node and chooses after host node that host node can be according to itself storage Message is only added the device node in storage cluster being matched with the device node.It can be seen that, the present invention is enabled to When increasing or delete memory node, it is not necessary to fill in the script or configuration file required for host node pairing manually, but directly The message sent when connecing using memory node access to LAN, reduces the waste of manpower, and efficiency high is not error-prone and fast Degree is fast.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to institute in prior art and embodiment The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be being obtained according to these accompanying drawings Obtain other accompanying drawings.
A kind of structural representation of management method for storage cluster equipment that Fig. 1 is provided for the present invention.
Specific embodiment
The core of the present invention is to provide a kind of management method for storage cluster equipment, when increase or deletion memory node When, it is not necessary to the script or configuration file required for host node pairing is filled in manually, so as to reduce the waste of manpower, efficiency high, It is not error-prone and speed is fast.
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The 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 Protocols;MIB management information banks are provided with the interface of each node in storage cluster;Referring to Shown in Fig. 1, a kind of structural representation of management method for storage cluster equipment that Fig. 1 is provided for the present invention.The method bag Include:
Step s101:After the LAN that device node adds storage cluster to be located, sent with the forms of broadcasting and carried certainly Each node in the message of body facility information to storage cluster;
Step s102:Each node in storage cluster is by the MIB storehouses of the packet storage for receiving to itself;
Step s103:Management node in storage cluster judges whether corresponding device node is unknown memory node;If It is, into step s104;
Step s104:A memory node is chosen from storage cluster as host node according to preset rules;
Step s105:Host node is matched with device node according to the corresponding message stored in itself MIB storehouse, and then will Device node is added in storage cluster.
Wherein, normally only by message broadcasting to itself place LAN, the equipment in storage cluster is general for device node In same LAN, in particular cases, it is also possible to need the message for broadcasting device node further by transistroute Broadcast to upper network, the present invention is not construed as limiting to this, can be depended on the needs.
Preferably, each node in storage cluster supports LLDP agreements, and arranges on the interface of device node There is MIB (Management Information Base, management information bank) storehouse.
It is understood that LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) is provided A kind of link layer of standard finds mode, 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, which is saved in the form of standard mib storehouse after receiving these information by neighbor node, 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, unit type, interface message.Can be with It is understood by, device type mark here is referred to for identifying whether the identifier for memory node, certainly, and which is concrete interior Holding can be needed after the completion of setting while change management node with sets itself, management node the device type can be identified into Row identification.IP information, unit type, interface message are for storage collection is matched and added for host node and device node Need when in group.
In addition, facility information here can also include function, physical location of device node etc., the present invention does not make to this It is concrete to limit.
Specifically, the management node in storage cluster judges that whether corresponding device node is the process of unknown memory node Specially:
Step s201:The message stored in the MIB storehouses of each node in storage cluster is obtained periodically;
Step s202:Judge whether the every terms of information in message is not stored in default Cluster Database in management node 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, it is if so, unknown Node is unknown memory node.
It is further known that, preset rules here specially choose most short one of distance of unknown memory node physics Memory node is used as host node.
In another kind of embodiment, preset rules are specially routing node is minimum between unknown memory node one and deposit Storage node is used as host node.
It is understood that choose host node being matched with unknown memory node, it is in order that unknown memory node is mutual IP address of other side etc. is mutually got, and then sets up connection, then complete a series of data communication, so as to realize depositing unknown Storage node adds the purpose of the storage cluster, therefore the general host node needs chosen are closer to the distance with unknown memory node, this In it is closer to the distance can be that the nearer or middle routing node of physical distance is less etc., certainly, other rules may also be employed Host node, the present invention is selected to be not construed as limiting this.
Also, the present invention management node judge the device node that is currently accessed as unknown memory node when, can be direct Distribute host node according to preset rules, compare at present using artificial selection host node by the way of, efficiency high reduces manpower Waste.
The invention provides a kind of management method for storage cluster equipment, adds the device node of the storage cluster equal LLDP agreements are supported, after the LAN that device node adds storage cluster to be located, you can transmission carries equipment of itself information Message to storage cluster in each node in, in MIB storehouses of each node by the packet storage for receiving to itself, one Denier management node judges the device node as unknown memory node and chooses after host node that host node can be according to itself storage Message is only added the device node in storage cluster being matched with the device node.It can be seen that, the system energy of the present invention It is enough to cause when increasing or delete memory node, it is not necessary to fill in the script or configuration file required for host node pairing manually, But the message sent when directly utilizing memory node access to LAN, the waste of manpower is reduced, efficiency high is difficult out It is wrong and speed is fast.
It should be noted that in this manual, term " including ", "comprising" or its any other variant are intended to Nonexcludability is included, so that a series of process, method, article or equipment including key elements not only will including those Element, but also including other key elements being not expressly set out, or also include for this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope for causing.

Claims (6)

1. a kind of device management method for storage cluster, it is characterised in that the device node of the storage cluster to be added LLDP Link Layer Discovery Protocols are supported;MIB management informations are provided with the interface of each node in the storage cluster Storehouse;Methods described includes:
After the LAN that the device node adds the storage cluster to be located, sent with the forms of broadcasting and carry equipment of itself Each node in the message of information to the storage cluster;
Each node in the storage cluster is by the MIB storehouses of the packet storage for receiving to itself;
Management node in the storage cluster judges whether corresponding device node is unknown memory node;
If so, a memory node is chosen from the storage cluster as host node according to preset rules;
The host node is matched with the device node according to the corresponding message stored in itself MIB storehouse, and then will be described Device node is added in the storage cluster.
2. method according to claim 1, it is characterised in that each node in the storage cluster is supported described MIB management information banks are provided with LLDP agreements, and the interface of the device node.
3. method according to claim 2, it is characterised in that the facility information specifically includes IP information, device type Mark, unit type, interface message.
4. method according to claim 3, it is characterised in that the management node in the storage cluster judges corresponding setting Whether slave node is that the process of unknown memory node is specially:
The message stored in the MIB storehouses for periodically obtaining each node storage cluster Nei;
Judge whether the every terms of information in the message is not stored in the management node in default 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, it is if so, described unknown Node is unknown memory node.
5. method according to claim 4, it is characterised in that the preset rules specially choose the unknown storage A most short memory node of the distance of node physics is used as host node.
6. method according to claim 4, it is characterised in that the preset rules are specially and the unknown memory node Between a minimum 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 true CN106559490A (en) 2017-04-05
CN106559490B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040290A (en) * 2018-08-27 2018-12-18 成都安恒信息技术有限公司 A method of host node is elected based on node diagnostic
CN112751709A (en) * 2020-12-29 2021-05-04 北京浪潮数据技术有限公司 Management method, device and system of storage cluster

Citations (6)

* 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
US20140229602A1 (en) * 2013-02-08 2014-08-14 International Business Machines Corporation Management of node membership in a distributed 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

Patent Citations (6)

* 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
US20140229602A1 (en) * 2013-02-08 2014-08-14 International Business Machines Corporation Management of node membership in a distributed 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

Cited By (4)

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

Also Published As

Publication number Publication date
CN106559490B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US7885601B2 (en) Radio node apparatus, multi-hop radio system, and multi-hop radio system constructing method
CN105262687B (en) A kind of power information acquisition system group-net communication method based on WIA-PA technologies
CN101815287B (en) Wireless sensor network routing method and system based on tree network
CN102790963B (en) Mobile ad hoc network system based on Android cell phone and construction method thereof
CN104486743A (en) Method for user information correlation of XDR (external data representation) data of interfaces of core network
WO2012139735A4 (en) Management of radio frequencies in a wireless or hybrid mesh network
CN108200628B (en) Wireless ad hoc networking method of linear topological structure
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
CN104580551A (en) Networking data center system and method
CN106604344A (en) Power utilization information system based on RPL and networking and communication method thereof
CN108271229A (en) A kind of user plane selection method and device
CN107316451B (en) Cluster type networks meter register method and device based on wireless meter
CN108400882A (en) Device updating method in a kind of mesh networks
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
CN106559490A (en) A kind of management method for storage cluster equipment
CN103813372B (en) A kind of wireless sensor network management method based on IPv6
CN106357723A (en) Synchronous system and method for multi-cluster information caching based on cloud host
CN102684966A (en) Method, device and system for connecting equipment to network
CN104169930B (en) resource access method and device
CN103227733B (en) A kind of topology discovery method and system
WO2017215383A1 (en) Network element configuration method and device, and network element management method and device
CN104202247A (en) Non-linear annealing based multi-constrained routing method for SDN (Software Defined Network)
CN103686675A (en) Method and device for adjacent region configuration
CN104348733A (en) Content name compression method and device

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