CA2795782A1 - Cloud node management method, system and central server - Google Patents

Cloud node management method, system and central server Download PDF

Info

Publication number
CA2795782A1
CA2795782A1 CA 2795782 CA2795782A CA2795782A1 CA 2795782 A1 CA2795782 A1 CA 2795782A1 CA 2795782 CA2795782 CA 2795782 CA 2795782 A CA2795782 A CA 2795782A CA 2795782 A1 CA2795782 A1 CA 2795782A1
Authority
CA
Canada
Prior art keywords
task
cloud node
central server
script
name
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
CA 2795782
Other languages
French (fr)
Other versions
CA2795782C (en
Inventor
Yong Ma
Pingping Fu
Fan Li
Dongmei Liu
Xiaosong Zhang
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.)
Information and Telecommunication Branch of State Grid Jiangxi Electric Power Co Ltd
Original Assignee
Information and Telecommunication Branch of State Grid Jiangxi Electric Power 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 Information and Telecommunication Branch of State Grid Jiangxi Electric Power Co Ltd filed Critical Information and Telecommunication Branch of State Grid Jiangxi Electric Power Co Ltd
Publication of CA2795782A1 publication Critical patent/CA2795782A1/en
Application granted granted Critical
Publication of CA2795782C publication Critical patent/CA2795782C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a cloud node management method, system and central server, comprising: receive a task instruction, by a central server, wherein the task instruction comprises a task name and an identification of a cloud node for executing the task; according to the task name, inquire the task resource pool, and acquire a task script corresponding to the task name; send the task script to the task script download center; send a task execution message to the cloud node corresponding to the cloud node identification, wherein the task execution message comprises a download address of the task script, thus improving the efficiency of management for a cloud node cluster.

Description

Cloud Node Management Method, System and Central Server CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims priority to Chinese Patent Application No.
201210207946.6, filed on June 21, 2012, entitled "Cloud Node Management Method, System and Central Server", which is incorporated herein by reference in its entirety.
FIELD OF THE TECHNOLOGY
[0001] The present invention relates to computer technology, and particularly to a cloud node management method, system and central server.
BACKGROUND
[0002] With the rapid growing of cloud computing technology at home and abroad, mass cloud storage and cloud computing systems based on cloud node are widely applied. A
cluster of cloud nodes built by thousands of PC servers provide storage and computing capacity for mass data.
[0003] The amount of servers which build the cloud node cluster is huge and, therefore, how to manage the cloud node cluster efficiently becomes an urgent problem to be solved in existing cloud computing system based on the cloud node.
SUMMARY
[0004] The present invention provides a cloud node management method, system and central server, which can improve the efficiency of management for a cloud node cluster.
[0005] The cloud node management method provided in one aspect of the present invention comprises:
[0006] receiving a task instruction, by a central server, wherein the task instruction comprises task name and an identification of a cloud node for executing the task;
[0007] according to the task name, inquiring the task resource pool, and acquiring a task script corresponding to the task name; and
[0008] sending a task execution message to the cloud node corresponding to the cloud node identification, wherein the task execution message comprises a download address of the task script, such that the cloud node can download the task script according to the download address, and run the task script, then return an execution result to the central server.
[0009] The central server provided in another aspect of the present invention comprises:
[0010] a receiving module, configured to receive a task instruction, wherein the task instruction comprises a task name and an identification of a cloud node for executing the task;
[0011] an acquiring module, configured to inquire a task resource pool and acquire a task script corresponding to the task name; and
[0012] a sending module, configured to send a task execution message to the cloud node corresponding to the cloud node identification, wherein the task execution message comprises a download address of the task script, such that the cloud node can download the task script according to the download address, and run the task script, then return an execution result to the central server.
[0013] The cloud node management system provided in still another aspect of the present invention comprises the central server mentioned above.
[0014] Embodiments of the present invention can achieve a centralized and unified management for all the cloud nodes by the central server through receiving a task instruction, acquiring a task script, sending a task execution message to the cloud node which executes the task, and receiving an execution result correspondingly, thus improving the efficiency of management for the cloud node cluster.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Fig. 1 is a schematic flow chart of a cloud node management method provided by Embodiment 1 of the present invention;
[0016] Fig. 2 is a schematic diagram of a central server provided by Embodiment 2 of the present invention; and
[0017] Fig. 3 is a schematic diagram of a cloud node management system provided by Embodiment 3 of the present invention.
DETAILED DESCRIPTION
[0018] Fig. 1 is a schematic flow chart of a cloud node management method provided by Embodiment 1 of the present invention, and the method specifically comprises the following steps:
[0019] Step 101, receive a task instruction, by a central server, wherein the task instruction comprises a task name and an identification of a cloud node for executing the task.
[0020] Before step 101, according to the actual requirements of the system, the central server receives multiple uploaded task names and corresponding task scripts according to user instruction or program instruction, and saves the multiple task names and the corresponding task scripts in a task resource pool.
[0021] The central server receives the task instruction from terminals or upper layer applications through at least one interface selected from a command line interface, a programming interface, a network service interface or a REST interface.
[0022] The task instruction comprises configuration instruction, the configuration instruction comprises multiple identifications of cloud nodes, configured to indicate multiple cloud nodes to execute configuration task.
[0023] Step 102, according to the task name, inquire the task resource pool, and acquire a task script corresponding to the task name.
[0024] The central server acquires a corresponding configuration file script according to the configuration task included in the configuration instruction, and uploads the configuration script file to task script download center, receives a download address of the configuration file script sent by the task script download center.
[0025] Step 103, send a task execution message to the cloud node corresponding to the cloud node identification, wherein the task execution message comprises the download address of the task script, such that the cloud node can download the task script according to the download address, and run the task script, then return an execution result to the central server.
[0026] Before step 103, the central server sends a task execution message to each cloud node corresponding to the respective cloud node identification, wherein each task execution message includes download address of the configuration file script. Each cloud node downloads configuration file script and runs the configuration file script respectively according to the download address of the configuration file script, then returns the execution result to the central server, thus achieving the centralized configuration of the central server to each cloud node, and improving the configuration efficiency.
[0027] The present embodiment can achieve a centralized and unified management for all the cloud nodes by the central server through receiving a target instruction, acquiring a task script, sending a task execution message to the cloud node which executes the task, and receiving the execution result correspondingly, thus improving the efficiency of management for the cloud node cluster. Meanwhile, the task instruction sent by the central server only comprises the download address of the task script, but not the task script, this can save the network resource of the central server.
[0028] Fig. 2 is a schematic diagram of a central server provided by Embodiment 2 of the present invention, and the central server comprises;
[0029] a receiving module 21, configured to receive a task instruction, wherein the task instruction comprises a task name and an identification of a cloud node for executing the task;
[0030] an acquiring module 22, configured to inquire the task resource pool, and acquire a task script corresponding to the task name;
[0031] a sending module 23, configured to send a task execution message to the cloud node corresponding to the cloud node identification, wherein the task execution message comprises a download address of the task script, such that the cloud node can download the task script according to the download address, and run the task script, then return an execution result to the central server.
[0032] The receiving module 21 is further configured to receive the uploaded task name and the corresponding task script;
[0033] the central server further comprises:
[0034] a saving module 24, configured to save the task name and the corresponding task script in the task resource pool.
[0035] The sending module 23 is further configured to upload the task script to the task script download center;
[0036] the receiving module 21 is further configured to receive the download address of the task script returned by the task script download center.
[0037] The receiving module 21 is further configured to receive the cloud node identification sent by the cloud node;
[0038] the central server further comprises:
[0039] a registration module 25, configured to establish the corresponding relation between the cloud node and the cloud node identification.
[0040] The central server of the present embodiment can particularly execute the method mentioned in the embodiment shown in Fig. 1, and no further descriptions about the theory and the technical effect thereof will be given.
[0041] Fig. 3 is a schematic diagram of a cloud node management system provided by Embodiment 3 of the present invention, and the system comprises: the central server shown in Fig. 2 and multiple cloud nodes.
[0042] The system further comprises: at least one additional central server;
[0043] the central server 31 is a main central server elected from all the central servers.
[0044] It should be understood that, in order to improve the operation reliability of the central server, the present embodiment can adopt multiple central servers (central server cluster), for example, select a central server as the main central server using Paxos algorithm, while other central servers as backup central servers, when the central server is in fault state, the central server cluster will automatically select an additional central server among other central servers as the main central server using Paxos algorithm.
[0045] A communication channel of the main central server based on digital certificate encryption is established by using handshake protocol in the communication system, and multiple cloud nodes send the corresponding cloud node identification to the main central server through the established secure communication channel, such that safety certification and registration of each cloud node can be conducted by the main central server, wherein the cloud node identification comprises, but not limited to, at least one of a host name of the cloud node, an IP address, a server certificate or a reference information of the cloud node.
[0046] The system of the present embodiment can particularly execute the method mentioned in the embodiment shown in Fig. 1, and no further descriptions about the theory and the technical effect thereof will be given.
[0047] Finally, it should be noted that the above embodiments are merely used for illustratively describing the technical solutions of the present invention, but not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood that those skilled in the art can make modifications to the technical solutions described in the foregoing embodiments or equivalent substitutions of a part of the technical features or all of the technical features thereof without creative work, and these modifications or substitutions do not make the essence of their corresponding technical solutions deviate from the scope of the invention as defined in the claims.

Claims (10)

CLAIM(S) What is claimed is:
1. A cloud node management method, comprising:
receiving a task instruction, by a central server, wherein the task instruction comprises a task name and an identification of a cloud node for executing the task;
according to the task name, inquiring a task resource pool, and acquiring a task script corresponding to the task name; and sending a task execution message to the cloud node corresponding to the cloud node identification, wherein the task execution message comprises a download address of the task script, such that the cloud node can download the task script according to the download address, and run the task script, then return an execution result to the central server.
2. The method according to claim 1, before the central server receiving the task instruction, comprising:
receiving an uploaded task name and a corresponding task script, by the central server, saving the uploaded task name and the corresponding task script in the task resource pool.
3. The method according to claim 1, before sending the task execution message to the cloud node corresponding to the cloud node identification, comprising:
uploading the task script to the task script download center, by the central server, and receiving the download address returned from the task script download center.
4. The method according to claim 1, before the central server receiving the task instruction, comprising:
receiving the cloud node identification sent by the cloud node, by the central server, establishing a corresponding relation between the cloud node and the cloud node identification.
5. A central server, comprising:
a receiving module, configured to receive a task instruction, wherein the task instruction comprises a task name and an identification of a cloud node for executing the task;
an acquiring module, configured to inquire a task resource pool, and acquire a task script corresponding to the task name; and a sending module, configured to send a task execution message to the cloud node corresponding to the cloud node identification, wherein the task execution message comprises a download address of the task script, such that the cloud node can download the task script according to the download address, and run the task script, then return an execution result to the central server.
6. The central server according to claim 5, wherein the receiving module is further configured to receive an uploaded task name and a corresponding task script;
and the central server further comprises:
a saving module, configured to save the task name and the corresponding task script in the task resource pool.
7. The central server according to claim 5, wherein the sending module is further configured to upload the task script to a task script download center; and the receiving module is further configured to receive the download address of the task script returned by the task script download center.
8. The central server according to claim 5, wherein the receiving module is further configured to receive the cloud node identification sent by the cloud node;
and the central server further comprises:
a registration module, configured to establish a corresponding relation between the cloud node and the cloud node identification.
9. A cloud node management system, comprising: multiple cloud nodes and the central server according to any one of claims 5-8.
10. The cloud node management system according to claim 9, further comprising:
at least one additional central server;
wherein the central server is a main central server elected from all the central servers.
CA2795782A 2012-06-21 2012-11-14 Cloud node management method, system and central server Expired - Fee Related CA2795782C (en)

Applications Claiming Priority (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
CN201210207946.6 2012-06-21

Publications (2)

Publication Number Publication Date
CA2795782A1 true CA2795782A1 (en) 2013-12-21
CA2795782C CA2795782C (en) 2016-01-26

Family

ID=47336071

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2795782A Expired - Fee Related CA2795782C (en) 2012-06-21 2012-11-14 Cloud node management method, system and central server

Country Status (2)

Country Link
CN (1) CN102833092A (en)
CA (1) CA2795782C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150127795A1 (en) * 2013-11-06 2015-05-07 International Business Machines Corporation Scaling a trusted computing model in a globally distributed cloud environment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618700B (en) * 2013-11-12 2016-12-07 曙光信息产业股份有限公司 The determination method of leader's server and server system in server system
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075358B (en) * 2010-12-31 2013-10-30 网宿科技股份有限公司 System and method for distributing and deploying content of large-scale server cluster

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150127795A1 (en) * 2013-11-06 2015-05-07 International Business Machines Corporation Scaling a trusted computing model in a globally distributed cloud environment
US9401954B2 (en) * 2013-11-06 2016-07-26 International Business Machines Corporation Scaling a trusted computing model in a globally distributed cloud environment
US20160294878A1 (en) * 2013-11-06 2016-10-06 International Business Machines Corporation Scaling a trusted computing model in a globally distributed cloud environment
US9614875B2 (en) 2013-11-06 2017-04-04 International Business Machines Corporation Scaling a trusted computing model in a globally distributed cloud environment

Also Published As

Publication number Publication date
CN102833092A (en) 2012-12-19
CA2795782C (en) 2016-01-26

Similar Documents

Publication Publication Date Title
US9596135B1 (en) Configuring new nodes for using a storage system managed by a unified storage manager
US9154577B2 (en) Sychronization of configuration file of virtual application distribution chassis
CA2795782C (en) Cloud node management method, system and central server
RU2683630C2 (en) Method for update of nsd network service descriptor and device
CN115918139A (en) Active assurance of network slicing
EP2675127B1 (en) Method and device for automatically migrating system configuration item
CN112087312A (en) Method, device and equipment for providing edge service
CN108713309B (en) SD-WAN system, use method of SD-WAN system and related device
US11281476B2 (en) Plugin framework to support zero touch management of heterogeneous infrastructure elements across distributed data centers
CN103412768A (en) Zookeeper cluster automatic-deployment method based on script program
CN103024081B (en) Be applicable to the terminal scheduling method of the point-to-point communication of effective guarantee communication system
CN102932455B (en) Construction method based on cloud computing render farms
CN106027287B (en) Unified management and control platform of power distribution communication network
CN109120444B (en) Cloud resource management method, processor and storage medium
US20220272041A1 (en) Controlling a destination of network traffic
US10581923B2 (en) System and method for configuration of a connected device connection
JP2023500669A (en) Cloud services for cross-cloud operations
Kim et al. Developing an on-demand cloud-based sensing-as-a-service system for internet of things
US20220345371A1 (en) Control configuration for a plurality of endpoint devices
WO2016070566A1 (en) Cloud terminal upgrade method and system, network management server and proxy server
WO2020024991A1 (en) Internet of things gateway access method and device, and storage medium
US9736027B2 (en) Centralized enterprise image upgrades for distributed campus networks
CN116915827A (en) Data transmission method and device of internet of things edge gateway, electronic equipment and medium
CN114422160A (en) Method and device for setting virtual firewall, electronic equipment and storage medium
CN104468293A (en) VPN accessing method

Legal Events

Date Code Title Description
MKLA Lapsed

Effective date: 20201116