CN108769199A - A kind of distributed file storage system host node management method and device - Google Patents
A kind of distributed file storage system host node management method and device Download PDFInfo
- Publication number
- CN108769199A CN108769199A CN201810533781.9A CN201810533781A CN108769199A CN 108769199 A CN108769199 A CN 108769199A CN 201810533781 A CN201810533781 A CN 201810533781A CN 108769199 A CN108769199 A CN 108769199A
- Authority
- CN
- China
- Prior art keywords
- node
- host node
- main
- nodes
- address
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/604—Address structures or formats
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of distributed file storage system host node management method and device, the method is:The node of the addresses ip minimum is main mon nodes in acquiescence election clustered node, by other non-master mon nodes of main mon node administrations cluster, when main mon nodes break downs, main mon nodes can float to the node of the addresses ip minimum in cluster other nodes in addition to the node to break down.The device includes:Host node elects module, after first logging into or host node breaks down, elects the node of IP address minimum as host node;Host node shift module judges whether host node breaks down for being communicated to host node transmission data.It can quickly position and access host node, facilitate guest operation, availability is strong, and meeting more efficiency is met customer need.
Description
Technical field
The present invention relates to distributed memory system technical fields, and system is stored more specifically to a kind of distributed document
Host node management method of uniting and device.
Background technology
With the fast development of distributed file storage system, the scope of application is more and more extensive, the most commonly used pipe of client
Platform also receives more and more attention.Management platform strategy before be can all memory nodes (such as three section
Point) in main mon nodes are elected according to hash algorithm, the default installation management software on the management network interface card of the main mon nodes, and
Sending acquisition message command, other all nodes, other all nodes of cluster return to acquisition information to main mon nodes, master to cluster
The information that mon node administrations obtain.
The disadvantage of this strategy is main mon nodes where making user that can not specify cluster management platform, needs to pass through bottom
CLI command is inquired, and works as main mon nodes break downs (power off, restart, shutting down), can encounter the main mon nodes of management platform
It drifts about, has the problem of accessing management platform interruption and the change of management platform entry address.
Invention content
For disadvantage mentioned above, the present invention proposes a kind of distributed file storage system host node management method and device,
It can quickly position and access host node, facilitate guest operation, availability is strong, and meeting more efficiency is met customer need.
An embodiment of the present invention provides a kind of distributed file storage system host node management method, the method is:
The node of the addresses ip minimum is main mon nodes in acquiescence election clustered node, by main other non-master mon of mon node administrations cluster
Node, when main mon nodes break downs, main mon nodes can float to cluster other nodes in addition to the node to break down
The node of the middle addresses ip minimum.
Further, it elects main mon nodes to obtain specific method to be:For the clustered node in the same network segment, obtain each
The last one field of node IP address, and compare the Digital size of the field, the selection wherein minimum IP address of number corresponds to
Node, as main mon nodes.
Further, after choosing main mon nodes, select management network interface card that management software is installed and is matched under main mon nodes
Corresponding administration interface entry address is set, occurs Microsoft Loopback Adapter under selected management network interface card, and the administration interface configured logs in
Address ip is on this Microsoft Loopback Adapter.
Further, after main mon nodes drift about, virtual ip can float to new main mon nodes and correspond under management network interface card
Microsoft Loopback Adapter.
The embodiment of the present invention additionally provides a kind of distributed file storage system host node managing device, the device packet
It includes:
Host node elects module, after first logging into or host node breaks down, elects the node conduct of IP address minimum
Host node;
Host node shift module judges whether host node breaks down for being communicated to host node transmission data.
Further, the principle of host node election module election host node is:For the clustered node in the same network segment, obtain
The last one field of each node IP address is taken, and compares the Digital size of the field, the selection wherein minimum IP of number
The corresponding node in location, as host node.
Further, the device further includes:
Microsoft Loopback Adapter setup module is installed management software for selecting management network interface card under host node and is configured corresponding
Administration interface entry address.
Further, the device further includes:
Virtual ip shift modules, for after host node drifts about, host node to be corresponded to the virtual ip in Microsoft Loopback Adapter
The Microsoft Loopback Adapter being transferred under new host node.
The effect provided in invention content is only the effect of embodiment, rather than invents all whole effects, above-mentioned
A technical solution in technical solution has the following advantages that or advantageous effect:
The high availability of the management platform of this patent design, supports multi-node cluster, and virtual ip configurations is supported to collect in deployment
It is written when installation administration interface after the completion of group, supports virtual ip and management network in a network segment, support clustered node minimum ip
Address accesses management platform, supports no matter whether main mon nodes are switched on, virtual ip may have access to cluster management interface.
Description of the drawings
Fig. 1 is the method flow diagram of the embodiment of the present invention 1;
Fig. 2 is the schematic diagram of device of the embodiment of the present invention 1;
Fig. 3 is the method flow diagram of the embodiment of the present invention 2;
Fig. 4 is the schematic diagram of device of the embodiment of the present invention 2.
Specific implementation mode
In order to clarify the technical characteristics of the invention, below by specific implementation mode, and its attached drawing is combined, to this hair
It is bright to be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relationship between various embodiments and/or setting is discussed.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings
It draws.Present invention omits the descriptions to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention 1 provides a kind of distributed file storage system host node management method, institute
The method stated is:First, the node of the addresses ip minimum is main mon nodes in acquiescence election clustered node, by main mon node administrations
Other non-master mon nodes of cluster, then, when main mon nodes break downs, main mon nodes can be floated to remove and be broken down
The node of the addresses ip minimum in cluster other nodes outside node.
Wherein, it elects main mon nodes to obtain specific method to be:There are four the field being spaced compositions for one IP address, such as
192.168.1.12, for the clustered node in the same network segment, the last one field of each node IP address is obtained, and is compared
The Digital size of the field, the selection wherein minimum corresponding node of IP address of number, as main mon nodes.
It should be noted that under normal circumstances, the ranging from 1-255 of the IP address section under a router, two endpoints
IP address will not generally distribute to node, if obtain IP address have 192.168.1.1 and 192.168.1.255,
The two addresses are not included in election queue, due to being the IP address for selecting address minimum, alternative minimum IP address
For 192.168.1.2.
As shown in Fig. 2, for the method for the embodiment of the present invention 1, a kind of main section of distributed file storage system is additionally provided
Point management apparatus, the device include host node election module and host node shift module.
The host node elects module, after first logging into or host node breaks down, elects the section of IP address minimum
Point is used as host node.Election host node principle be:For the clustered node in the same network segment, each node IP address is obtained
The last one field, and compare the Digital size of the field, the selection wherein minimum corresponding node of IP address of number, as master
Node.
The host node shift module judges whether host node breaks down for being communicated to host node transmission data.
When host node and the quality inspection of host node shift module can not carry out data communication, judges host node failure, host node is floated
It moves, starts host node election module and reselect host node, and establish the data communication with new host node.
Embodiment 2
As shown in figure 3, the embodiment of the present invention 2 provides a kind of distributed file storage system host node management method, institute
The method stated is:
First, the node of the addresses ip minimum is main mon nodes in acquiescence election clustered node, by main mon node administrations collection
Other non-master mon nodes of group, elect main mon nodes to obtain specific method to be:There are four the field being spaced composition, examples for one IP address
As 192.168.1.12 obtains the last one field of each node IP address for the clustered node in the same network segment, and compare
Compared with the Digital size of the field, the selection wherein minimum corresponding node of IP address of number, as main mon nodes.
Then, management network interface card may be selected in main mon nodes to log in install management software and configure corresponding administration interface
There is Microsoft Loopback Adapter under selected management network interface card in address, and the administration interface entry address ip configured is on this Microsoft Loopback Adapter.
Under such strategy, there are two types of modes may have access to administration interface, first, the main mon sections for the addresses the ip minimum elected
Point, second is that the virtual ip under the Microsoft Loopback Adapter of configuration, and virtual ip and management network are in a network segment.
When main mon nodes break downs, main mon nodes can float to the cluster in addition to the node to break down, and other are saved
The node of the addresses ip minimum in point, while virtual ip can float to new main mon nodes and correspond to the Microsoft Loopback Adapter managed under network interface card.
User can log in administration interface by virtual ip (management platform entry address is without change) or new main mon ip at this time;It together should
After main mon nodes restore, browser can log in virtual ip and access administration interface.Therefore no matter whether main mon nodes are switched on, virtually
Ip may have access to cluster management interface.
As shown in Fig. 2, for the method for the embodiment of the present invention 2, a kind of main section of distributed file storage system is additionally provided
Point management apparatus, the device includes host node election module, Microsoft Loopback Adapter setup module, host node shift module, virtual
Ip shift modules.
The host node elects module, after first logging into or host node breaks down, elects the section of IP address minimum
Point is used as host node.Election host node principle be:For the clustered node in the same network segment, each node IP address is obtained
The last one field, and compare the Digital size of the field, the selection wherein minimum corresponding node of IP address of number, as master
Node.
The Microsoft Loopback Adapter setup module is installed management software for selecting management network interface card under host node and is configured
Corresponding administration interface entry address.
The host node shift module judges whether host node breaks down for being communicated to host node transmission data.
When host node and the quality inspection of host node shift module can not carry out data communication, judges host node failure, host node is floated
It moves, starts host node election module and reselect host node, and establish the data communication with new host node.
The virtual ip shift modules, for after host node drifts about, host node to be corresponded in Microsoft Loopback Adapter
Virtual ip is transferred to the Microsoft Loopback Adapter under new host node.At this point, user can (management platform entry address be without change by virtual ip
More) or new main mon ip log in administration interface;With should be after main mon nodes restore, browser can log in virtual ip and access pipe
Manage interface.Therefore no matter whether main mon nodes are switched on, and virtual ip may have access to cluster management interface.
Although specification and drawings and examples have been carried out detailed description to the invention, this field skill
Art personnel should be appreciated that and still can be modified or replaced equivalently to the invention;And all do not depart from wound of the present invention
The technical solution for the spirit and scope made and its improvement are encompassed by the protection domain of the invention patent.
Claims (8)
1. a kind of distributed file storage system host node management method, which is characterized in that the method is:Acquiescence election collection
The node of the addresses ip minimum is that main mon nodes work as master by other non-master mon nodes of main mon node administrations cluster in group node
When mon nodes break downs, it is minimum that main mon nodes float to the addresses ip in the cluster in addition to the node to break down other nodes
Node.
2. a kind of distributed file storage system host node management method according to claim 1, which is characterized in that election
Main mon nodes obtain specific method and are:For the clustered node in the same network segment, the last character of each node IP address is obtained
Section, and compare the Digital size of the field, the selection wherein minimum corresponding node of IP address of number, as main mon nodes.
3. a kind of distributed file storage system host node management method according to claim 1 or 2, which is characterized in that
After choosing main mon nodes, selection management network interface card is stepped on to install management software and configure corresponding administration interface under main mon nodes
Address is recorded, occurs Microsoft Loopback Adapter under selected management network interface card, and the administration interface entry address ip configured is in this Microsoft Loopback Adapter
On.
4. a kind of distributed file storage system host node management method according to claim 3, which is characterized in that main
After mon nodes drift about, virtual ip floats to new main mon nodes and corresponds to the Microsoft Loopback Adapter managed under network interface card.
5. a kind of distributed file storage system host node managing device, which is characterized in that the device includes:
Host node elects module, after first logging into or host node breaks down, elects the node of IP address minimum as main section
Point;
Host node shift module judges whether host node breaks down for being communicated to host node transmission data.
6. a kind of distributed file storage system host node managing device according to claim 5, which is characterized in that main section
Putting the principle for electing module to elect host node is:For the clustered node in the same network segment, each node IP address is obtained most
The latter field, and compare the Digital size of the field, the selection wherein minimum corresponding node of IP address of number, as main section
Point.
7. a kind of distributed file storage system host node managing device according to claim 5 or 6, which is characterized in that
The device further includes:
Microsoft Loopback Adapter setup module, for selecting management network interface card to install management software and to configure corresponding management under host node
Interface entry address.
8. a kind of distributed file storage system host node managing device according to claim 7, which is characterized in that described
Device further include:
Virtual ip shift modules, for after host node drifts about, host node to be corresponded to the transfers of the virtual ip in Microsoft Loopback Adapter
Microsoft Loopback Adapter under new host node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810533781.9A CN108769199A (en) | 2018-05-29 | 2018-05-29 | A kind of distributed file storage system host node management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810533781.9A CN108769199A (en) | 2018-05-29 | 2018-05-29 | A kind of distributed file storage system host node management method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108769199A true CN108769199A (en) | 2018-11-06 |
Family
ID=64003921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810533781.9A Pending CN108769199A (en) | 2018-05-29 | 2018-05-29 | A kind of distributed file storage system host node management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769199A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587218A (en) * | 2018-11-07 | 2019-04-05 | 新华三技术有限公司 | A kind of method and apparatus of cluster election |
CN111030858A (en) * | 2019-12-06 | 2020-04-17 | 北京浪潮数据技术有限公司 | Data management method, system and related device for distributed multi-cluster system |
CN111431980A (en) * | 2020-03-17 | 2020-07-17 | 星辰天合(北京)数据科技有限公司 | Distributed storage system and path switching method thereof |
CN113542052A (en) * | 2021-06-07 | 2021-10-22 | 新华三信息技术有限公司 | Node fault determination method and device and server |
CN113839990A (en) * | 2021-08-30 | 2021-12-24 | 武汉市润普网络科技有限公司 | Networking safety system and method based on electronic file |
CN114285729A (en) * | 2021-11-29 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Distributed cluster management node deployment method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104506625A (en) * | 2014-12-22 | 2015-04-08 | 国云科技股份有限公司 | Method for improving reliability of metadata nodes of cloud databases |
CN104536988A (en) * | 2014-12-10 | 2015-04-22 | 杭州斯凯网络科技有限公司 | MonetDB distributed computing storage method |
CN104917792A (en) * | 2014-03-12 | 2015-09-16 | 上海宝信软件股份有限公司 | Democratic and autonomous cluster management method and system |
CN105812468A (en) * | 2016-03-15 | 2016-07-27 | 山东超越数控电子有限公司 | High-availability storage method based on SCST |
CN106972962A (en) * | 2017-03-22 | 2017-07-21 | 北京匡恩网络科技有限责任公司 | Collocation method, the apparatus and system of high-availability cluster |
CN106982259A (en) * | 2017-04-19 | 2017-07-25 | 聚好看科技股份有限公司 | The failure solution of server cluster |
-
2018
- 2018-05-29 CN CN201810533781.9A patent/CN108769199A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917792A (en) * | 2014-03-12 | 2015-09-16 | 上海宝信软件股份有限公司 | Democratic and autonomous cluster management method and system |
CN104536988A (en) * | 2014-12-10 | 2015-04-22 | 杭州斯凯网络科技有限公司 | MonetDB distributed computing storage method |
CN104506625A (en) * | 2014-12-22 | 2015-04-08 | 国云科技股份有限公司 | Method for improving reliability of metadata nodes of cloud databases |
CN105812468A (en) * | 2016-03-15 | 2016-07-27 | 山东超越数控电子有限公司 | High-availability storage method based on SCST |
CN106972962A (en) * | 2017-03-22 | 2017-07-21 | 北京匡恩网络科技有限责任公司 | Collocation method, the apparatus and system of high-availability cluster |
CN106982259A (en) * | 2017-04-19 | 2017-07-25 | 聚好看科技股份有限公司 | The failure solution of server cluster |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109587218A (en) * | 2018-11-07 | 2019-04-05 | 新华三技术有限公司 | A kind of method and apparatus of cluster election |
CN111030858A (en) * | 2019-12-06 | 2020-04-17 | 北京浪潮数据技术有限公司 | Data management method, system and related device for distributed multi-cluster system |
CN111431980A (en) * | 2020-03-17 | 2020-07-17 | 星辰天合(北京)数据科技有限公司 | Distributed storage system and path switching method thereof |
CN111431980B (en) * | 2020-03-17 | 2021-12-17 | 星辰天合(北京)数据科技有限公司 | Distributed storage system and path switching method thereof |
CN113542052A (en) * | 2021-06-07 | 2021-10-22 | 新华三信息技术有限公司 | Node fault determination method and device and server |
CN113839990A (en) * | 2021-08-30 | 2021-12-24 | 武汉市润普网络科技有限公司 | Networking safety system and method based on electronic file |
CN114285729A (en) * | 2021-11-29 | 2022-04-05 | 苏州浪潮智能科技有限公司 | Distributed cluster management node deployment method, device, equipment and storage medium |
CN114285729B (en) * | 2021-11-29 | 2023-08-25 | 苏州浪潮智能科技有限公司 | Distributed cluster management node deployment method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108769199A (en) | A kind of distributed file storage system host node management method and device | |
US11902086B2 (en) | Method and system of a dynamic high-availability mode based on current wide area network connectivity | |
CN107222320A (en) | The method and apparatus that Cloud Server cluster sets up High Availabitity connection | |
CN101305557B (en) | Automatically optimized synchronization method and device of MAC address tables | |
US11403319B2 (en) | High-availability network device database synchronization | |
US8656125B2 (en) | Data access and management system as well as a method for data access and data management for a computer system | |
EP3588856B1 (en) | Technologies for hot-swapping a legacy appliance with a network functions virtualization appliance | |
CN104468791A (en) | Private cloud IaaS platform construction method | |
CN102664747A (en) | Cloud calculating platform system | |
US11153173B1 (en) | Dynamically updating compute node location information in a distributed computing environment | |
US11956164B2 (en) | Remote management of a switch stack | |
CN101227333B (en) | Disaster tolerance network managing system and login method of network managing subscriber end | |
CN112291082A (en) | Computer room disaster recovery processing method, terminal and storage medium | |
CN114338670B (en) | Edge cloud platform and network-connected traffic three-level cloud control platform with same | |
US7660234B2 (en) | Fault-tolerant medium access control (MAC) address assignment in network elements | |
CN111371620A (en) | Bare computer service deployment method and system based on distributed cache | |
US20220070142A1 (en) | Transferring device and network system | |
CN110768812B (en) | Server management system and method | |
CN110071918A (en) | A kind of data communications method and device based on mixed cloud | |
CN107733717B (en) | Network configuration method for mobile operation and maintenance of cloud platform | |
CN108366087A (en) | A kind of ISCSI service implementing methods and device based on distributed file system | |
CN110086657B (en) | Configuration synchronization method and device | |
CN112260398B (en) | Power grid monitoring system supporting dynamic expansion | |
CN110995502B (en) | Network configuration management method, device, switching equipment and readable storage medium | |
JPH09508732A (en) | Backup method for device settings |
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: 20181106 |