CN102833092A - Method and system for managing cloud nodes and central server - Google Patents
Method and system for managing cloud nodes and central server Download PDFInfo
- Publication number
- CN102833092A CN102833092A CN2012102079466A CN201210207946A CN102833092A CN 102833092 A CN102833092 A CN 102833092A CN 2012102079466 A CN2012102079466 A CN 2012102079466A CN 201210207946 A CN201210207946 A CN 201210207946A CN 102833092 A CN102833092 A CN 102833092A
- Authority
- CN
- China
- Prior art keywords
- task
- central server
- cloud node
- script
- names
- 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
Images
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and a system for managing cloud nodes and a central server; the method comprises the following steps of: receiving a task instruction by the central server; the task instruction comprises a task name and a cloud node identification for executing a task; inquiring a task resource pool according to the task name so as to obtain a task script corresponding to the task name; sending the task script to a task script downloading centre; and sending task executing information to the cloud nodes corresponding to the cloud node identification; the task executing information comprises a download address of the task script; according to the invention, management efficiency for a cloud node cluster can be improved.
Description
Technical field
The present invention relates to computer technology, relate in particular to a kind of cloud node administration method and system, central server.
Background technology
Along with cloud computing technology high speed development at home and abroad, feasible storage of magnanimity cloud and cloud computing system based on the cloud node is able to extensive use.Make up cloud node cluster through PC servers thousands of even up to ten thousand, thereby storage and the computing capability to mass data is provided.
Because it is huge to form the number of servers of cloud node cluster, therefore, how high efficiency management cloud node cluster becomes existing cloud computing system problem demanding prompt solution based on the cloud node.
Summary of the invention
The present invention provides a kind of cloud node administration method and system, central server, can improve the efficiency of management to cloud node cluster.
The present invention provides the cloud node administration method, comprising:
Central server receives assignment instructions, and said assignment instructions comprises task names and the cloud node identification of executing the task;
According to said task names, the query task resource pool obtains the task script corresponding with said task names;
Cloud node transmission task to said cloud node identification is corresponding is carried out message; Said task is carried out the download address that message comprises said task script; So that said cloud node is downloaded said task script according to said download address; Move said task script, return execution result to said central server.
The present invention provides central server, comprising:
Receiver module is used to receive assignment instructions, and said assignment instructions comprises task names and the cloud node identification of executing the task;
Acquisition module is used for according to said task names, and the query task resource pool obtains the task script corresponding with said task names;
Sending module; Be used for carrying out message to the corresponding cloud node transmission task of said cloud node identification; Said task is carried out the download address that message comprises said task script; So that said cloud node is downloaded said task script according to said download address, move said task script, return execution result to said central server.
The present invention provides cloud node administration system, comprising: above-mentioned central server.
Present embodiment is through the unified assignment instructions that receives of central server; Obtain the task script; Unified to the cloud node transmission task execution message of executing the task; And receive corresponding execution result, the centralized and unified management of central server can be realized, thereby the efficiency of management can be improved cloud node cluster to all cloud nodes.
Description of drawings
The schematic flow sheet of the cloud node administration method that Fig. 1 provides for the embodiment of the invention one;
The structural representation of the central server that Fig. 2 provides for the embodiment of the invention two;
The structural representation of the cloud node administration system that Fig. 3 provides for the embodiment of the invention three.
Embodiment
The schematic flow sheet of the cloud node administration method that Fig. 1 provides for the embodiment of the invention one specifically comprises:
101, central server receives assignment instructions, and said assignment instructions comprises task names and the cloud node identification of executing the task.
Before the step 101; Actual needs according to system; Central server receives a plurality of task names of uploading and corresponding task script thereof according to user instruction or program command, and a plurality of task names and corresponding task script thereof are saved in the said task resource pond.
Central server receives the assignment instructions of self terminal or upper layer application through at least a interface in command line interface, DLL, network service interface or the REST interface.
Assignment instructions comprises configuration-direct, and configuration-direct comprises a plurality of cloud node identifications, carries out configuration task in order to indicate a plurality of cloud nodes.
102, according to said task names, the query task resource pool obtains the task script corresponding with said task names.
Central server is according to the configuration task that comprises in the configuration-direct; Obtain the configuration file script corresponding with this configuration task; The configuration file script is uploaded to task script download center, receive the download address of the configuration file script that sends task script download center.
103, carry out message to the corresponding cloud node transmission task of said cloud node identification; Said task is carried out the download address that message comprises said task script; So that said cloud node is downloaded said task script according to said download address; Move said task script, return execution result to said central server.
Before the step 103, each the cloud node in the cloud node cluster sends corresponding cloud node identification to central server, and central server is according to each the cloud node identification that receives, and sets up the corresponding relation between each cloud node identification and the corresponding cloud node respectively.
Central server is carried out message to the corresponding cloud node transmission task of each cloud node identification respectively, and each task is carried out the download address that comprises the configuration file script in the message.Each cloud node is distinguished the download configuration file script according to the download address of configuration file script, and the running configuration file script returns to central server with execution result, thereby realizes the centralized configuration of central server to each cloud node, has improved the efficient of configuration.
Present embodiment is through the unified assignment instructions that receives of central server; Obtain the task script; Unified to the cloud node transmission task execution message of executing the task; And receive corresponding execution result, the centralized and unified management of central server can be realized, thereby the efficiency of management can be improved cloud node cluster to all cloud nodes.Simultaneously, the task that central server sends is carried out message and is included only task script download address, does not comprise the task script, can save the Internet resources of central server.
The structural representation of the central server that Fig. 2 provides for the embodiment of the invention two comprises:
Sending module 23; Be used for carrying out message to the corresponding cloud node transmission task of said cloud node identification; Said task is carried out the download address that message comprises said task script; So that said cloud node is downloaded said task script according to said download address, move said task script, return execution result to said central server.
Said central server also comprises:
Preserve module 24, be used for said task names and corresponding task script thereof are saved in said task resource pond.
Sending module 23 also is used for said task script is uploaded to task script download center;
Said central server also comprises:
The central server of present embodiment can specifically be carried out described method embodiment illustrated in fig. 1, and it realizes that principle and technique effect repeat no more.
The structural representation of the cloud node administration system that Fig. 3 provides for the embodiment of the invention three comprises: central server shown in Figure 2 and a plurality of cloud node.
Also comprise: at least one other central server;
Central server 31 is used central server for the master who from all central servers, elects.
Need to prove; In order to improve the central server reliability of operation; Present embodiment can adopt a plurality of central servers (central server cluster), for example, selects the central server of a central server as main usefulness through the Paxos algorithm; And other central server is as the central server of backup; When the central server of main usefulness broke down, the central server cluster can be selected the central server of a central server as main usefulness automatically through the Paxos algorithm in other central server.
A plurality of cloud nodes; Central server through Handshake Protocol in the communication system and main usefulness is set up the communication port of encrypting based on digital certificate; The cloud node identification that self is corresponding sends to the central server of main usefulness through the secured communication channel of setting up; So that the central server of main usefulness is realized each cloud node is carried out safety certification and registration; Wherein, the cloud node identification includes but not limited in the relevant information of host name, IP address, server certificate or cloud node of corresponding cloud node at least one.
The system of present embodiment can specifically carry out described method embodiment illustrated in fig. 1, and it realizes that principle and technique effect repeat no more.
What should explain at last is: above each embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although the present invention has been carried out detailed explanation with reference to aforementioned each embodiment; Those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, perhaps to wherein part or all technical characteristic are equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.
Claims (10)
1. a cloud node administration method is characterized in that, comprising:
Central server receives assignment instructions, and said assignment instructions comprises task names and the cloud node identification of executing the task;
According to said task names, the query task resource pool obtains the task script corresponding with said task names;
Cloud node transmission task to said cloud node identification is corresponding is carried out message; Said task is carried out the download address that message comprises said task script; So that said cloud node is downloaded said task script according to said download address; Move said task script, return execution result to said central server.
2. method according to claim 1 is characterized in that, said central server receives before the assignment instructions, comprising:
Said central server receives said task names and the corresponding task script of uploading thereof, and said task names and corresponding task script thereof are saved in the said task resource pond.
3. method according to claim 1 is characterized in that, and is said before the corresponding cloud node transmission task of said cloud node identification is carried out message, comprising:
Said central server uploads to task script download center with said task script, receives the download address of the said task script that returns said task script download center.
4. method according to claim 1 is characterized in that, said central server receives before the assignment instructions, comprising:
Said central server receives the said cloud node identification that said cloud node sends, and sets up the corresponding relation of said cloud node and said cloud node identification.
5. a central server is characterized in that, comprising:
Receiver module is used to receive assignment instructions, and said assignment instructions comprises task names and the cloud node identification of executing the task;
Acquisition module is used for according to said task names, and the query task resource pool obtains the task script corresponding with said task names;
Sending module; Be used for carrying out message to the corresponding cloud node transmission task of said cloud node identification; Said task is carried out the download address that message comprises said task script; So that said cloud node is downloaded said task script according to said download address, move said task script, return execution result to said central server.
6. central server according to claim 5 is characterized in that, said receiver module also is used to receive said task names and the corresponding task script thereof uploaded;
Said central server also comprises:
Preserve module, be used for said task names and corresponding task script thereof are saved in said task resource pond.
7. central server according to claim 5 is characterized in that, said sending module also is used for said task script is uploaded to task script download center;
Said receiver module also is used to receive the download address of the said task script that returns said task script download center.
8. central server according to claim 5 is characterized in that, said receiver module also is used to receive the said cloud node identification that said cloud node sends;
Said central server also comprises:
Registering modules is used to set up the corresponding relation of said cloud node and said cloud node identification.
9. a cloud node administration system is characterized in that, comprising: a plurality of cloud nodes and like each described central server among the claim 4-6.
10. system according to claim 9 is characterized in that, also comprises: at least one other central server;
Said central server is used central server for the master who from all central servers, elects.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102079466A CN102833092A (en) | 2012-06-21 | 2012-06-21 | Method and system for managing cloud nodes and central server |
CA2795782A CA2795782C (en) | 2012-06-21 | 2012-11-14 | Cloud node management method, system and central server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102079466A CN102833092A (en) | 2012-06-21 | 2012-06-21 | Method and system for managing cloud nodes and central server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102833092A true CN102833092A (en) | 2012-12-19 |
Family
ID=47336071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102079466A Pending CN102833092A (en) | 2012-06-21 | 2012-06-21 | Method and system for managing cloud nodes and central server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102833092A (en) |
CA (1) | CA2795782C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618700A (en) * | 2013-11-12 | 2014-03-05 | 曙光信息产业股份有限公司 | Method for determining leader server in server system and server system |
CN104753706A (en) * | 2013-12-27 | 2015-07-01 | 中国移动通信集团公司 | Distributed cluster configuration management method and distributed cluster configuration management device |
CN106375373A (en) * | 2016-08-24 | 2017-02-01 | 广西小草信息产业有限责任公司 | Task decomposition method and system based on dynamic cloud nodes |
CN111400027A (en) * | 2019-11-15 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Distributed task processing method, device and system |
CN113572833B (en) * | 2021-07-21 | 2024-05-14 | 北京百度网讯科技有限公司 | Cloud mobile phone maintenance method and device, electronic equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9401954B2 (en) * | 2013-11-06 | 2016-07-26 | International Business Machines Corporation | Scaling a trusted computing model in a globally distributed cloud environment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075358A (en) * | 2010-12-31 | 2011-05-25 | 网宿科技股份有限公司 | System and method for distributing and deploying content of large-scale server cluster |
-
2012
- 2012-06-21 CN CN2012102079466A patent/CN102833092A/en active Pending
- 2012-11-14 CA CA2795782A patent/CA2795782C/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075358A (en) * | 2010-12-31 | 2011-05-25 | 网宿科技股份有限公司 | System and method for distributing and deploying content of large-scale server cluster |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618700A (en) * | 2013-11-12 | 2014-03-05 | 曙光信息产业股份有限公司 | Method for determining leader server in server system and server system |
CN103618700B (en) * | 2013-11-12 | 2016-12-07 | 曙光信息产业股份有限公司 | The determination method of leader's server and server system in server system |
CN104753706A (en) * | 2013-12-27 | 2015-07-01 | 中国移动通信集团公司 | Distributed cluster configuration management method and distributed cluster configuration management device |
CN104753706B (en) * | 2013-12-27 | 2017-11-24 | 中国移动通信集团公司 | A kind of distributed type assemblies configuring management method and device |
CN106375373A (en) * | 2016-08-24 | 2017-02-01 | 广西小草信息产业有限责任公司 | Task decomposition method and system based on dynamic cloud nodes |
CN111400027A (en) * | 2019-11-15 | 2020-07-10 | 杭州海康威视系统技术有限公司 | Distributed task processing method, device and system |
CN113572833B (en) * | 2021-07-21 | 2024-05-14 | 北京百度网讯科技有限公司 | Cloud mobile phone maintenance method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CA2795782C (en) | 2016-01-26 |
CA2795782A1 (en) | 2013-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102833092A (en) | Method and system for managing cloud nodes and central server | |
EP2675127B1 (en) | Method and device for automatically migrating system configuration item | |
US20150003296A1 (en) | System and method for providing p2p based reconfigurable computing and structured data distribution | |
CN102137007B (en) | Method and system for generating network topology as well as coordinator | |
CN102932455B (en) | Construction method based on cloud computing render farms | |
CN102137032B (en) | Cloud message system and cloud message transmitting and receiving method | |
CN111857873A (en) | Method for realizing cloud native container network | |
CN104144098A (en) | Information pushing method and system and pushing server equipment | |
CN110727738B (en) | Global routing system based on data fragmentation, electronic equipment and storage medium | |
CN110636127B (en) | Communication processing method and system between information data | |
CN103685535A (en) | Interface design of cloud database system for large-scale distributed heterogeneous data treatment | |
CN111245634A (en) | Virtualization management method and device | |
CN103812881A (en) | Offline downloading control method and apparatus | |
CN104320347A (en) | Method and device for initiatively updating LLDP | |
US10069715B2 (en) | Method for deploying resource in cloud computing environment | |
CN108259605B (en) | Data calling system and method based on multiple data centers | |
CN105791147A (en) | Connection method of load equalizer, instantiated deployment method and device for business | |
WO2023066046A1 (en) | Contract management method, apparatus and system | |
KR101997602B1 (en) | Resource Dependency Service Method for M2M Resource Management | |
CN113824801B (en) | Intelligent integration terminal unified access management component system | |
CN102377830A (en) | IP (Internet Protocol) address configuration method | |
CN103200225A (en) | Method and system of centralized management of services in server cluster | |
CN103841186A (en) | Private cloud grouping method and system | |
CN110891239B (en) | PNF configuration and PNFD TOSCA implementation method and device | |
CN105187244A (en) | Access management system of digital communication equipment supporting multiple management modes |
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: 20121219 |