CN102970375A - Cluster configuration method and device - Google Patents

Cluster configuration method and device Download PDF

Info

Publication number
CN102970375A
CN102970375A CN2012105181199A CN201210518119A CN102970375A CN 102970375 A CN102970375 A CN 102970375A CN 2012105181199 A CN2012105181199 A CN 2012105181199A CN 201210518119 A CN201210518119 A CN 201210518119A CN 102970375 A CN102970375 A CN 102970375A
Authority
CN
China
Prior art keywords
cluster
configuration
user
instruction set
direct
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105181199A
Other languages
Chinese (zh)
Inventor
马少杰
李斌
杨亮
占杰
何牧君
田相桂
曹振南
戴荣
邵宗有
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing 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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN2012105181199A priority Critical patent/CN102970375A/en
Publication of CN102970375A publication Critical patent/CN102970375A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a cluster configuration method and device. The method comprises the following steps: determining configuration operation required to be executed according to a received cluster configuration command; finding a configuration instruction capable of implementing the cluster configuration operation in an instruction set, wherein the instruction set stores a plurality of configuration instructions for configuring a cluster; and executing the found configuration instruction. According to the invention, through finding the configuration instruction capable of implementing the cluster configuration operation in the instruction set, the found configuration instruction is executed, and the required instruction can be quickly and effectively called in the cluster to execute the required operation, thus avoiding the inconvenience due to manual input by an operating person, and improving the efficiency and accuracy.

Description

The cluster configuration method and apparatus
Technical field
The present invention relates to computer realm, particularly, relate to a kind of cluster configuration method and apparatus
Background technology
Cluster, be one group separate, by the interconnected computer of express network, they have consisted of a group, and are managed with the pattern of triangular web.When user and cluster interacted, cluster similarly was an independently server.By Clustering, can obtain in the relatively high income aspect performance, reliability, the flexibility paying in the situation of lower cost.
At present, the Linux cluster has occupied the share more than 80% of existing High-Performance Computing Cluster.Yet, remain the more original state that is in for the configuration of cluster.
Because the cluster configuration link of Linux is a lot, each node in the cluster needs manually to go to revise the dozens of file in layoutprocedure, the nodes that one of adds the cover cluster is huge, often reach tens even hundreds of, the role is numerous, comprises management node, login node, IO node and computing node.Often dispose a cover cluster and need to spend several days workload of a teacher of factory, and in layoutprocedure, often occur easily omitting, cause mistake occurring in the later stage use.
For the problem that cluster configuration efficient is poor in the correlation technique, accuracy rate is low, the manual operation amount is large, effective solution is proposed not yet at present.
Summary of the invention
For the problem that cluster configuration efficient is poor in the correlation technique, accuracy rate is low, the manual operation amount is large, the present invention proposes a kind of cluster configuration method and apparatus, configuration that can synchronized clusters, thus can improve efficient and the accuracy rate of cluster configuration.
Technical scheme of the present invention is achieved in that
According to an aspect of the present invention, provide a kind of cluster configuration method, the method comprises:
Determine the configuration operation that needs are carried out according to the cluster configuration order that receives;
Search the configuration-direct that can realize the cluster configuration operation in instruction set, wherein, instruction set has been stored many configuration-directs that are configured for to cluster;
The configuration-direct that execution finds.
Wherein, alternatively, instruction set comprises for realizing following configuration operation configuration-direct one of at least:
Network connectivty in the test cluster between the Servers-all;
For the safe shell host-host protocol of administrator configurations without cryptographic acess;
For all users dispose long-range shell host-host protocol without cryptographic acess;
Required cluster service is set;
For cluster arranges the NFS service;
The user profile of synchronized clusters;
The time parameter of synchronized clusters;
User in the management cluster;
The specified file of synchronized clusters; And
The cpu load that shows cluster.
Wherein, alternatively, user profile can comprise following one of at least: user name, user cipher, IP address.
In addition, time parameter comprise following one of at least: the running time of Servers-all, the clock of server.
Alternatively, the user in the management cluster comprise following one of at least: to cluster increase the user, to cluster deletion user.
According to another aspect of the present invention, provide a kind of cluster configuration device, this device comprises:
Determination module is used for determining the configuration operation that needs are carried out according to the cluster configuration order that receives;
Memory module is used for store sets of instructions, and wherein, instruction set has been stored many configuration-directs that are configured for to cluster;
Search module, be used for searching the configuration-direct that can realize the cluster configuration operation in instruction set, wherein, instruction set has been stored many configuration-directs that are configured for to cluster;
Executive Module is used for carrying out the configuration-direct that finds.
Wherein, the instruction set of memory module storage comprises for realizing following configuration operation configuration-direct one of at least:
Network connectivty in the test cluster between the Servers-all;
For the safe shell host-host protocol of administrator configurations without cryptographic acess;
For all users dispose long-range shell host-host protocol without cryptographic acess;
Required cluster service is set;
For cluster arranges the NFS service;
The user profile of synchronized clusters;
The time parameter of synchronized clusters;
User in the management cluster;
The specified file of synchronized clusters; And
The cpu load that shows cluster.
And, the user in the management cluster comprise following one of at least: to cluster increase the user, to cluster deletion user.
In addition, alternatively, user profile comprise following one of at least: user name, user cipher, IP address.
Alternatively, time parameter comprise following one of at least: the running time of Servers-all, the clock of server.
The present invention is by searching the configuration-direct that can realize the cluster configuration operation in instruction set according to the cluster configuration order that receives, carry out the configuration-direct that finds, can in cluster, call fast and effectively required instruction, carry out required operation, avoided operating personnel manually to input the inconvenience that brings, and can raise the efficiency and accuracy rate.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use among the embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart according to the cluster configuration method of the embodiment of the invention;
Fig. 2 is the block diagram according to the cluster configuration device of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain belongs to the scope of protection of the invention.
According to embodiments of the invention, provide a kind of cluster configuration method.
As shown in Figure 1, the cluster configuration method according to the embodiment of the invention comprises:
Step S101 determines the configuration operation that needs are carried out according to the cluster configuration order that receives;
Step S103 searches the configuration-direct that can realize the cluster configuration operation in instruction set, wherein, instruction set has been stored many configuration-directs that are configured for to cluster;
Step S105 carries out the configuration-direct that finds.
Wherein, instruction set comprises for realizing following configuration operation configuration-direct one of at least:
Network connectivty in the test cluster between the Servers-all need to be tested by nmap or the pin of linux system, and the network requirement between this Servers-all is identical and mutual all-pass in twos;
For certain user arranges ssh (Secure Shell, safe shell host-host protocol), particularly, can for the safe shell host-host protocol of administrator configurations without cryptographic acess, so that administrator just specifies will be inputted password one time, just can carry out without cryptographic acess follow-up;
For all users arrange rsh (Remote Shell, long-range shell host-host protocol), particularly, for all users dispose long-range shell host-host protocol without cryptographic acess, so that domestic consumer need not additionally to input password when subsequent access, but before arranging without cryptographic acess to all users, domestic consumer still needs to input repeatedly password, can access;
Required cluster service is set, can service be set according to the standard of cluster;
For cluster arranges NFS (nfs) service, this NFS be operating system (for example, linux system) indispensable in, be used for each server of cluster with self amended File Upload, make other servers identical with it by network;
The user profile of synchronized clusters, wherein, user profile comprise following one of at least: user name, user cipher, IP address;
The temporal information of synchronized clusters, wherein, temporal information comprises the time parameter of Servers-all;
User in the management cluster comprises, according to the requirement of the required instruction of user, cluster is increased the user or cluster is deleted the user;
The appointed file of certain of synchronized clusters particularly, can according to the specified file of user, carry out synchronously the server in the cluster; And
The cpu load (for example, can show that load is greater than 5% process) that shows cluster.
According to embodiments of the invention, also provide a kind of cluster configuration device.
As shown in Figure 2, the cluster configuration device according to the embodiment of the invention comprises:
Determination module 21 is used for determining the configuration operation that needs are carried out according to the cluster configuration order that receives;
Memory module 22 is used for store sets of instructions, and wherein, instruction set has been stored many configuration-directs that are configured for to cluster;
Search module 23, be used for searching the configuration-direct that can realize the cluster configuration operation in instruction set, wherein, instruction set has been stored many configuration-directs that are configured for to cluster;
Executive Module 24 is used for carrying out the configuration-direct that finds.
Wherein, the instruction set of memory module storage comprises for realizing following configuration operation configuration-direct one of at least:
Network connectivty in the test cluster between the Servers-all;
For the safe shell host-host protocol of administrator configurations without cryptographic acess;
For all users dispose long-range shell host-host protocol without cryptographic acess;
Required cluster service is set;
For cluster arranges the NFS service;
The user profile of synchronized clusters;
The temporal information of synchronized clusters;
User in the management cluster;
Certain specified file of synchronized clusters; And
The cpu load that shows cluster.
And, the user in the management cluster comprise following one of at least: to cluster increase the user, to cluster deletion user.
In sum, by means of technique scheme of the present invention, by in instruction set, search the configuration-direct that to realize the cluster configuration operation according to the cluster configuration order that receives, carry out the configuration-direct that finds, can in cluster, call fast and effectively required instruction, carry out required operation, avoided operating personnel manually to input the inconvenience that brings, and can raise the efficiency and accuracy rate.By means of technical scheme of the present invention, so that an instruction just can be finished certain task at whole cluster, simultaneous user's information for example, and each instruction can provide a plurality of options, to satisfy user's diversity requirement, and some operation only has administrator right just can carry out, and all functions all can provide long-range realization, and the automatic detection environmental variance is configured.
Below only be preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a cluster configuration method is characterized in that, comprising:
Determine the configuration operation that needs are carried out according to the cluster configuration order that receives;
Search the configuration-direct that can realize described cluster configuration operation in instruction set, wherein, described instruction set has been stored many configuration-directs that are configured for to cluster;
The described configuration-direct that execution finds.
2. method according to claim 1 is characterized in that, described instruction set comprises for realizing following configuration operation configuration-direct one of at least:
Test the network connectivty between the Servers-all in the described cluster;
For the safe shell host-host protocol of administrator configurations without cryptographic acess;
For all users dispose long-range shell host-host protocol without cryptographic acess;
Required cluster service is set;
For described cluster arranges the NFS service;
The user profile of synchronous described cluster;
The time parameter of synchronous described cluster;
User in the management cluster;
The specified file of synchronous described cluster; And
The cpu load that shows described cluster.
3. cluster configuration method according to claim 2 is characterized in that, described user profile comprise following one of at least: user name, user cipher, IP address.
4. cluster configuration method according to claim 2 is characterized in that, described time parameter comprise following one of at least: the running time of Servers-all, the clock of server.
5. cluster configuration method according to claim 2 is characterized in that, the user in the management cluster comprise following one of at least: to described cluster increase the user, to described cluster deletion user.
6. a cluster configuration device is characterized in that, this device comprises:
Determination module is used for determining the configuration operation that needs are carried out according to the cluster configuration order that receives;
Memory module is used for store sets of instructions, and wherein, described instruction set has been stored many configuration-directs that are configured for to cluster;
Search module, be used for searching the configuration-direct that can realize described cluster configuration operation in instruction set, wherein, described instruction set has been stored many configuration-directs that are configured for to cluster;
Executive Module is used for carrying out the described configuration-direct that finds.
7. cluster configuration device according to claim 6 is characterized in that, wherein, the instruction set of described memory module storage comprises for realizing following configuration operation configuration-direct one of at least:
Test the network connectivty between the Servers-all in the described cluster;
For the safe shell host-host protocol of administrator configurations without cryptographic acess;
For all users dispose long-range shell host-host protocol without cryptographic acess;
Required cluster service is set;
For described cluster arranges the NFS service;
The user profile of synchronous described cluster;
The time parameter of synchronous described cluster;
User in the management cluster;
The specified file of synchronous described cluster; And
The cpu load that shows described cluster.
8. cluster configuration device according to claim 7 is characterized in that, the user in the management cluster comprise following one of at least: to described cluster increase the user, to described cluster deletion user.
9. cluster configuration device according to claim 7 is characterized in that, described user profile comprise following one of at least: user name, user cipher, IP address.
10. cluster configuration device according to claim 7 is characterized in that, described time parameter comprise following one of at least: the running time of Servers-all, the clock of server.
CN2012105181199A 2012-12-05 2012-12-05 Cluster configuration method and device Pending CN102970375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105181199A CN102970375A (en) 2012-12-05 2012-12-05 Cluster configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105181199A CN102970375A (en) 2012-12-05 2012-12-05 Cluster configuration method and device

Publications (1)

Publication Number Publication Date
CN102970375A true CN102970375A (en) 2013-03-13

Family

ID=47800254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105181199A Pending CN102970375A (en) 2012-12-05 2012-12-05 Cluster configuration method and device

Country Status (1)

Country Link
CN (1) CN102970375A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593322A (en) * 2013-11-11 2014-02-19 曙光信息产业(北京)有限公司 Configuration method and device for drive assemblies
CN104580384A (en) * 2014-12-16 2015-04-29 曙光信息产业(北京)有限公司 Cluster management method and device
CN107317713A (en) * 2017-06-29 2017-11-03 郑州云海信息技术有限公司 A kind of method and system of cluster user management
CN108063674A (en) * 2016-11-07 2018-05-22 深圳先进技术研究院 Method for network access control and system based on cluster

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859634A (en) * 2005-12-26 2006-11-08 华为技术有限公司 Method and system for realizing cluster communication function
US20070067318A1 (en) * 2005-08-31 2007-03-22 International Business Machines Corporation Heterogenous high availability cluster manager
CN101262376A (en) * 2008-04-21 2008-09-10 北京星网锐捷网络技术有限公司 A method and system for modifying configuration of network device in batch mode
CN101616023A (en) * 2009-07-15 2009-12-30 浪潮电子信息产业股份有限公司 A kind of method of cluster being implemented monitoring by note
CN101765225A (en) * 2008-12-24 2010-06-30 华为技术有限公司 Virtual cluster management system and cluster node
CN101908967A (en) * 2009-06-02 2010-12-08 百度在线网络技术(北京)有限公司 Configuration method and system of Linux virtual server
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067318A1 (en) * 2005-08-31 2007-03-22 International Business Machines Corporation Heterogenous high availability cluster manager
CN1859634A (en) * 2005-12-26 2006-11-08 华为技术有限公司 Method and system for realizing cluster communication function
CN101262376A (en) * 2008-04-21 2008-09-10 北京星网锐捷网络技术有限公司 A method and system for modifying configuration of network device in batch mode
CN101765225A (en) * 2008-12-24 2010-06-30 华为技术有限公司 Virtual cluster management system and cluster node
CN101908967A (en) * 2009-06-02 2010-12-08 百度在线网络技术(北京)有限公司 Configuration method and system of Linux virtual server
CN101616023A (en) * 2009-07-15 2009-12-30 浪潮电子信息产业股份有限公司 A kind of method of cluster being implemented monitoring by note
CN102255752A (en) * 2011-06-30 2011-11-23 北京新媒传信科技有限公司 Configuration management system and method of server cluster

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593322A (en) * 2013-11-11 2014-02-19 曙光信息产业(北京)有限公司 Configuration method and device for drive assemblies
CN104580384A (en) * 2014-12-16 2015-04-29 曙光信息产业(北京)有限公司 Cluster management method and device
CN108063674A (en) * 2016-11-07 2018-05-22 深圳先进技术研究院 Method for network access control and system based on cluster
CN107317713A (en) * 2017-06-29 2017-11-03 郑州云海信息技术有限公司 A kind of method and system of cluster user management

Similar Documents

Publication Publication Date Title
CN110389900B (en) Distributed database cluster testing method and device and storage medium
Verma et al. A survey on network methodologies for real-time analytics of massive IoT data and open research issues
US9503310B1 (en) Methods and systems of dynamic management of resources in a virtualized environment
EP2675127B1 (en) Method and device for automatically migrating system configuration item
Pechlivanidou et al. NITOS testbed: A cloud based wireless experimentation facility
CN107666493B (en) Database configuration method and equipment thereof
US20180365064A1 (en) Device replacement for hyper-converged infrastructure computing environments
CN110008005B (en) Cloud platform-based power grid communication resource virtual machine migration system and method
CN109614227A (en) Task resource concocting method, device, electronic equipment and computer-readable medium
CN110851234A (en) Log processing method and device based on docker container
CN104167817A (en) Power equipment real-time information integration system and method
CN102970375A (en) Cluster configuration method and device
US10819557B1 (en) Systems and methods for selective discovery of services
CN112073499A (en) Dynamic service method of multi-machine type cloud physical server
US20150212834A1 (en) Interoperation method of newtork device performed by computing device including cloud operating system in could environment
US9519527B1 (en) System and method for performing internal system interface-based communications in management controller
CN113711570B (en) Method and system for enabling a computing device to communicate with a cloud network
CN114756301A (en) Log processing method, device and system
CN111858260A (en) Information display method, device, equipment and medium
CN109150941B (en) Data center physical resource floating method
Cheng et al. Hadoop environment management App based on mobile cloud computing
Lu et al. Research on the technology of power unified cloud management platform
CN110019445A (en) Method of data synchronization and device calculate equipment and storage medium
Xu et al. Network-aware task assignment for MapReduce applications in shared clusters
US20170171016A1 (en) Disaster Recovery of Cloud Resources

Legal Events

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

Application publication date: 20130313