CN104158906B - A kind of server agent control system and control method - Google Patents

A kind of server agent control system and control method Download PDF

Info

Publication number
CN104158906B
CN104158906B CN201410435861.2A CN201410435861A CN104158906B CN 104158906 B CN104158906 B CN 104158906B CN 201410435861 A CN201410435861 A CN 201410435861A CN 104158906 B CN104158906 B CN 104158906B
Authority
CN
China
Prior art keywords
instruction
server
control system
sender
agent control
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.)
Active
Application number
CN201410435861.2A
Other languages
Chinese (zh)
Other versions
CN104158906A (en
Inventor
姜中明
陈阳
郝新斌
曾海林
刘晓飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201410435861.2A priority Critical patent/CN104158906B/en
Publication of CN104158906A publication Critical patent/CN104158906A/en
Application granted granted Critical
Publication of CN104158906B publication Critical patent/CN104158906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of server agent control system and control method, the system is used to receive the instruction from instruction sender, and corresponding server is operated according to instruction type, or the operation of the Function Extension to system in itself is carried out, system includes interface module, collector, server operation module and function expanding module;Methods described is manipulated by least one system to corresponding server, and control method comprises the following steps:A) instruction from instruction sender is received;B) instruction to reception is explained, if instruction type instructs for the first kind, corresponding server is operated;If instruction type is the instruction of the second class, the function of the system is extended or edition upgrading;C) result is returned to instruction sender.It can be realized with simple system architecture according to the server agent control system of the present invention and control method, efficiently manipulate server.

Description

A kind of server agent control system and control method
Technical field
The present invention relates to server to manipulate field, particularly a kind of server agent control system and control method.
Background technology
Distributed software system is the software systems for supporting distributed treatment, is in the multiprocessor interconnected by communication network The system that task is performed in (server) architecture.Because distributed system needs multiple servers to complete related industry jointly Business, it is necessary to quickly iteration renewal in Internet type product.So as to the server component upgrading of corresponding distributed system Very trouble and frequently, it is necessary to operated, updated to many servers, wastes time and energy.
,, will by the way of periodically reaching the standard grade when needing to realize server component upgrading in existing distributed system Program is packed, checking, is disposed or is disposed using automatized script.Wait the complete normal operation of component upgrade after, by order or Automatized script is synchronized to Servers-all, reaches the purpose of upgrading.However, using present plan implementation program when, it is necessary to Manpower intervention, waste time and energy.
In addition, except the updating operation for server, for example some deployment operations of others operation are also required to more Manpower intervention, it is impossible to realize the efficient manipulation for server.
Therefore, it is necessary to which a kind of server agent control system and control method, with simple system architecture, are efficiently manipulated Server.
The content of the invention
It is an object of the invention to provide a kind of server agent control system and control method.
According to an aspect of the invention, there is provided a kind of server agent control system, the server agent manipulation System is used to receive the instruction from instruction sender, and the corresponding server is grasped according to the instruction type Make, or carry out the operation of the Function Extension to the server agent control system in itself, the server agent control system Including interface module, collector, server operation module and function expanding module, wherein, the interface module, for connecing The instruction from the instruction sender is received, and result is returned to the instruction sender;The collector, for pair The instruction that the interface module receives explains, if the instruction type is for server is operated first Class instructs, then exports the instruction after explanation to the server operation module;If the instruction type be for Extend server agent control system itself function the second class instruction, then by the instruction after explanation export to The function expanding module;The server operation module, when the instruction that the interface module receives is described first When class instructs, the server operation module operates according to the particular content of the instruction to the corresponding server; The function expanding module, when the instruction that the interface module receives is that second class instructs, the function expands The function of the server operation module is extended according to the instruction for exhibition module or edition upgrading.
Preferably, the instruction sender is sending the situation of the instruction to multiple server agent control systems Under, a key configuration is carried out for the target for sending the instruction and the order for sending instruction, if a certain server agent manipulates System execution is described to be instructed successfully and returns to successful result to the instruction sender, then under the instruction sending direction One server agent control system continues to send instruction;If a certain server agent control system execute instruction failure and The result of failure is returned to the instruction sender, then the instruction sender stops manipulating to next server agent System sends instruction.
Preferably, the instruction sender is based on procotol and sends instruction to the server agent control system, and Receive the returning result from the server agent control system.
Preferably, the function of the server operation module is selected from following at least one:Upgrade function, verifying function, shape State reporting functions, deployment function, configuration feature, and monitoring function.
According to another aspect of the present invention, there is provided a kind of server control method, pass through at least one server agent Control system manipulates to corresponding server, and the control method comprises the following steps:A) receive from instruction hair The instruction for the side of sending;B) instruction to reception explains, if the instruction type to server for operating The first kind instructs, then transmits the instruction after explanation to the server and the corresponding server is grasped Make;, will be through if the instruction type is to be instructed for extending the second class of server agent control system itself function The instruction output crossed after explaining is extended with the function to the server agent control system or edition upgrading;C) to The instruction sender returns to result.
Preferably, when the first kind instruction received is the instruction upgraded to the server, the side Method comprises the following steps:B1) the existing component in the component in the instruction and the server is verified;b2) Judge whether by verification, be then to enter step b3;Otherwise to the result of the instruction sender back-checking failure; B3) judge whether the server is suitable to upgrading by checking the state of the server;B4 whether the server) is judged It is then to enter step b5 by status checkout;Otherwise the unsanctioned result of status checkout is returned to the instruction sender; B5 the component in the server) is upgraded;B6) judge whether the server updating succeeds, be then to enter step b7;Otherwise to The instruction sender returns to the result of upgrading failure;B7) service Jing Guo component upgrade is restarted.
Preferably, state described in step c includes load, memory size, disk size, CPU information.
Preferably, if not upgraded successfully in step b6, the processing knot not upgraded successfully is returned to the instruction sender Fruit, also, rollback information also is reported to the instruction sender, instructed with receiving the rollback from the instruction sender, with The server is restored to version before upgrading.
Preferably, if the success of server updating described in step b6, also the shape of itself is reported to the instruction sender State information.
Preferably, it is described when second class instruction of reception is extends the server agent control system function It is as follows that method includes step:L) instructed according to second class, the upgrade file of redaction is downloaded to specified location;M) school is carried out Operation is tested, and the server agent control system itself is upgraded;N) the server agent control system is closed certainly Body program;O) the server agent control system is restarted, so that the New function of the server agent control system comes into force.
Preferably, when registration increases new server, following steps are carried out:P) start corresponding to server to be registered Server agent control system;Q) by the server agent control system link order recipient;R) service is uploaded Device acts on behalf of the system information of control system, deployment services information and version information;And s) the command reception side passes through setting And the mode of the second class instruction is sent, adjust the state of the server agent control system.
It can be realized with simple system architecture, efficiently manipulation service according to the server agent control system of the present invention Device.Each server agent control system corresponding with each server is referred to by receiving by the first kind for instructing sender to issue Order, and to the mode that each server is manipulated, complete the upgrading to each server, deployment, configuration, monitoring etc. and operate.This Outside, server agent control system can also receive the second class instruction from server, realize server agent control system The Function Extension of itself, so that each server agent control system possesses more perfect function, with the related each clothes of manipulation Business device.The method according to the invention and system can make it that the control to individual server is changed into manipulate server agent The control of system so that control more simplified, procedure, improve the efficiency to server manipulation.
Brief description of the drawings
With reference to the accompanying drawing enclosed, the present invention more purpose, function and advantages will pass through the as follows of embodiment of the present invention Description is illustrated, wherein:
Fig. 1 diagrammatically illustrates the block diagram of the server agent control system according to embodiment of the present invention.
Fig. 2 diagrammatically illustrates the structured flowchart of server agent control system.
Fig. 3 diagrammatically illustrates the flow chart of server control method according to embodiments of the present invention.
Fig. 4 diagrammatically illustrates server updating method flow diagram according to an embodiment of the invention.
Fig. 5 diagrammatically illustrates the method stream of server agent control system Function Extension according to an embodiment of the invention Cheng Tu.
Fig. 6 diagrammatically illustrates server agent control system according to an embodiment of the invention to instruction sender's registration Method flow diagram.
Fig. 7 diagrammatically illustrates the offline method for subsequent processing flow chart of server according to an embodiment of the invention.
Embodiment
By reference to one exemplary embodiment, the purpose of the present invention and function and the side for realizing these purposes and function Method will be illustrated.However, the present invention is not limited to one exemplary embodiment as disclosed below;Can by multi-form come It is realized.The essence of specification is only to aid in the detail of the various equivalent modifications Integrated Understanding present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical reference represents identical Or similar part, or same or like step.
Fig. 1 diagrammatically illustrates the block diagram of the server agent control system according to embodiment of the present invention.
3 groups of server agent control system Agent 120a-120c, clothes associated therewith are diagrammatically illustrated in Fig. 1 Be engaged in device 130a-130c and sender is server supervising platform 110, i.e. Agent 120a are associated with server 130a, Agent 120b are associated with server 130b, Agent 120c are associated with server 130c.In this embodiment, Agent120 quantity is identical with the quantity of server 130, and in other embodiments, Agent120 quantity can be with server 130 quantity is different.
Sender, it is in the present embodiment server supervising platform 110, sends and instruct to Agent 120, and receives and From Agent 120 returning result.The type of instruction includes two kinds:1) instruction (following, the title operated to server 130 Instructed for the first kind).Such as the instruction such as upgraded, disposed, being configured to certain business of server;Extend oneself of Agent 120 The instruction (instruction of hereinafter referred to as the second class) of body function, is specifically included:Agent 120 can be operated to server Function is extended or edition upgrading or the parameter to Agent are adjusted.
In the above-described embodiments, although server agent control system 120 receives the finger from server supervising platform 110 Order, and operated according to instruction type.However, it will be appreciated by persons skilled in the art that server agent control system 120 can also receive from the instruction transmitted by other instructions sender in addition to server supervising platform 110.At other In embodiment, sender for example can be other instruction sending devices, equipment, program, also or associative operation personnel or user.
According to one embodiment of present invention, server supervising platform 110 can send to multiple Agent120 and instruct, A key configuration is carried out in this case, the target for sending instruction can be directed to and send the order instructed.It is if also, a certain The execute instructions of Agent 120 are successful and return to successful result to server supervising platform 110, then server supervising platform 110 continue to send instruction to next Agent 120;If the execute instructions of a certain Agent 120 failure and to the service Device supervising platform 110 returns to the result of failure, then the server supervising platform 110 stops to next Agent 120 Send instruction.Wherein, the identified order for sending instruction is configured by an above-mentioned key, specifies next Agent 120.Example Such as, could be arranged to send out to these three Agent with Agent 120a, Agent 120c, Agent 120g (not shown) order Send instruction, if also, Agent 120a execute instructions success and return to successful result to server supervising platform 110, Then the automatic activation server supervising platform 110 of returning result continues to send instruction to next Agent 120c;If Agent 120c execute instructions failure and to server supervising platform 110 return failure result, then server supervising platform not after Continue to send to next Agent 120g and instruct.Thus, after being configured by a key, the can of server supervising platform 110 is pressed Various manipulations are carried out successively to specified server according to configuration, such as the component in given server is upgraded etc. successively.
According to still another embodiment of the invention, server supervising platform 110 can be sent out based on procotol to Agent 120 Instruction is sent, and receives the returning result from Agent 120, so as to realize to Agent 120 and associated server 130 Remote control.By setting the communication protocol between server supervising platform 110 and Agent 120, can also support same The deployment between different machines in one network, realize across machine, cross-platform manipulation.
Agent 120 is used to receive the instruction from server supervising platform 110, and carried out according to instruction type it is right to its The operation for the server answered, or carry out the operation to the Function Extensions of of Agent 120 itself.Especially, each Agent 120 There is a unique corresponding server 130, such as in Fig. 1, Agent 120a are corresponding with server 130a, Agent 120b therewith Corresponding with server 130b, Agent 120c are corresponding with server 130c.
Server 130, for receiving the instruction operated to server that is sent from Agent 120, and to Agent 120 return to the result of the operation.
Fig. 2 diagrammatically illustrates server agent control system Agent structured flowchart, as shown in Fig. 2 Agent includes Interface module 121, collector 122, server operation module 123 and Agent function expanding modules 124.
Interface module 121, for receiving the instruction from server supervising platform 110, and to server supervising platform 110 Return to result.
Collector 122, the instruction received for docking port module 121 explains, if instruction type refers to for the first kind Order, then export the instruction after explanation to server operation module 123;, will be through if instruction type is the instruction of the second class The instruction crossed after explaining is exported to Agent function expanding modules 124.
Server operation module 123, when the instruction that interface module 121 receives is that the first kind instructs, server operation Module 123 operates according to the particular content of instruction to corresponding server 130.According to one of present invention implementation Example, the function of server operation module 123 are selected from following at least one:Upgrade function, for upgrading to server;Verification The component such as function, the upgrade components sent to server supervising platform 110 verifies;State reporting function, for service The state of device is detected and is reported it to server supervising platform 110;Function is disposed, for server carry out portion Administration;Configuration feature, for being configured to server;And monitoring function, for being monitored to server.
Agent function expanding modules 124, when the instruction that interface module 121 receives is that the second class instructs, Agent work( Can expansion module 124 function of server operation module 123 is extended according to instruction or edition upgrading or to Agent's Parameter is adjusted.
Fig. 3 diagrammatically illustrates the flow chart of the server control method according to embodiment of the present invention.As shown in figure 3, Flow 1 is instruction sender, such as server supervising platform 110 is by sending instructions to Agent 120 so as to enter to server The process of row manipulation, flow 2 be server supervising platform 110 by send instructions to Agent 120 so as to Agent 120 from The process that body is manipulated.
In flow 1:First, server supervising platform 110 sends first kind instruction to Agent 120, that is, passes through Agent The instruction (305) that server 130 corresponding to 120 couples of Agent 120 is operated.After receiving and explaining the instruction, Agent 120 server 130 (310) according to corresponding to instruction manipulation Agent 120.When Agent 120 completes the behaviour to server 130 After control, server 130 returns to result (315) to Agent 120, and finally, result is back to clothes by Agent 120 again Business device supervising platform 110 (320).
According to another embodiment of the present invention, step 305 can also be not present, and by Agent 120 directly to server 130 are manipulated.Such as the state reporting function for server operation module 123, it withouts waiting for receiving from service The instruction of device supervising platform 110.Specifically, after server 130 is restarted, its corresponding Agent 120 can take in monitoring on one's own initiative The state of business device 130, and actively reported to server supervising platform 110.
In flow 2:Server supervising platform 110 sends the instruction of the second class to Agent 120 first, that is, extends Agent The instruction (325) of 120 itself function.Then, after receiving and explaining the instruction, Agent 120 is extended to the function of itself, Such as the operation (330) such as it is added, deletes, changing to the functions that can be operated to server of Agent 120.Completion pair After the Function Extensions of itself of Agent 120, Agent 120 returns to result (320) to server supervising platform 110.
Fig. 4 diagrammatically illustrates server updating method flow diagram according to an embodiment of the invention.Pair of upgrading As in server, for providing the component of a certain service.As shown in figure 4, specifically comprise the following steps:
Step 405, Agent 120 receives refers to from instruction sender, the server updating of server supervising platform 110 Order.
Step 410, collector 122 explains to upgrade command.
Step 415, the existing component in the component in upgrade command and server 130 is verified.According to this One embodiment of invention, server operation module 123 access the server 130 associated by it, obtain the version of server 130 Information, and itself and the component in upgrade command are verified;According to another embodiment of the present invention, server operation module The record of 123 pairs of the last state reportings is inquired about, and finds component in the server 130 associated by Agent 120 Current version information, verified by itself and the component in upgrade command.
Step 420, judge whether by verification, be then to enter step 425;Otherwise enter step 450, supervised to server The result of the back-checking of platform 110 failure.
Step 425, check server 130 state come judge server 130 whether be suitable to upgrading, specifically, to service The state of device 130 is checked that the state is for example including system informations such as load, memory size, disk size, CPU informations.Example Such as, if internal memory is too small, and it is not enough to upgrade server, then it represents that the server 130 is not suitable for carrying out this upgrading.
Step 430, judge that server 130 is then to enter step 435 whether by status checkout;Otherwise step is entered 450, to return to the unsanctioned result of status checkout to server supervising platform 110.
Step 435, the component in upgrade server 130.
Step 440, judge that server 130 upgrades whether to succeed, be then to enter step 445;Otherwise step 450 is entered to return The result of rise level failure.
Step 445, the service Jing Guo component upgrade is restarted.
Step 450, result is returned to server supervising platform 110.It is specifically, if not validated in step 420, Then to the result of the back-checking of server supervising platform 110 failure;If not by status checkout in step 430, to clothes Business device supervising platform 110 is returned not by the result of status checkout;If not upgraded successfully in step 440, to server Supervising platform 110 returns to the result not upgraded successfully, according to one embodiment of present invention, also to server supervising platform 110 report rollback information, so that server supervising platform 110 sends a rollback instruction to Agent 120, before being upgraded with reduction Version;
Alternatively, server 130 can also report the status information of itself after upgrading successfully to Agent 120, such as Component version and run time, and server supervising platform 110 is reported by Agent 120, to facilitate server supervising platform 110 pairs of components and server are supervised and managed.
Fig. 5 diagrammatically illustrates the side of server agent control system Agent Function Extensions according to embodiments of the present invention Method flow chart.As shown in figure 5, in order that Agent 120 possesses more fully function, the needs pair of server supervising platform 110 Agent 120 sends the instruction of the second class, to carry out Function Extension to it.Specifically comprise the following steps:
Step 510, server supervising platform 101 sends upgrade information to Agent 120.Specifically, operating personnel are first Each Agent 120 version, and the Agent 120 upgraded according to version information to needs are checked in server supervising platform 110 Upgrade command is sent, so as to specify the New function that Agent 120 has.Especially, can see in server supervising platform 110 Each Agent 120 various states, except above-mentioned Agent 120 version information, Agent 120 state may also include: Function that Agent 120 has, parameter current etc..
Step 520, Agent 120 is according to upgrade information, to the upgrade file of specified location download redaction.
Step 530, verification operation is carried out, and Agent 120 is upgraded itself.
Step 540, itself program of Agent 120 is closed.
Step 550, server monitoring restarts Agent 120, so that Agent 120 New function comes into force.Here, Agent 120 can be stored in the form of process and be on server 130, and whether server 130 checks Agent 120 by monitoring script In the presence of if starting Agent 120, the module that Agent 120 will be after loading upgrading after starting in the absence of if.
Fig. 6 diagrammatically illustrates Agent according to embodiments of the present invention (or new demand servicing device) to instruction sender, such as to The method flow diagram of server supervising platform registration.When there is server 130 to be registered to server supervising platform 110, Agent 120 corresponding with the server 130 needs to be registered to server supervising platform 110.As shown in fig. 6, specific bag Include following steps:
Step 610, Agent 120 to be registered is started.That is, the Agent corresponding to server 130 to be registered is started 120。
Step 620, the connection server supervising platforms 110 (instructing sender) of Agent 120;
Step 630, upload Agent 120 system information, deployment services information and Agent 120 version information etc. Information.Wherein, system information includes IP, load, memory size, disk size, CPU information etc..Deployment services information refers to The information on services disposed on server 130 corresponding with Agent 120.
Step 640, platform adjusts Agent state by way of setting and sending the instruction of the second class.Specifically, receive After the status information uploaded to Agent 120, if necessary to upgrade to it, then it can be supervised and put down in server by operating personnel Platform 110 sets the Agent 120 to need the version that is upgraded to, and then server supervising platform 110 sends the to the Agent 120 Two classes instruct, to adjust Agent 120 state.
Especially, the above-mentioned hardware system information and software systems of server be shared with Agent, Agent 120 with The form storage of process is on server 130.So when upgrading to Agent, operating personnel need to check Agent's Hardware system and software process, to judge version that the hardware and software are supported, finally Agent is being needed to be upgraded to Version be configured.
Although as described above, the above-mentioned hardware system information and software systems of server are shared with Agent, not It is limited to this, Agent 120 can also be independent with the hardware system and software systems of server 130, i.e. Agent 120 possesses solely Vertical hardware system and software systems.
Fig. 7 diagrammatically illustrates the offline method for subsequent processing flow chart of server according to embodiments of the present invention.Such as Fig. 7 It is shown, when server 130 is offline, instruct sender, such as server supervising platform 110 to need to make a series of follow-up places Reason, specifically comprises the following steps:
Step 710, it is server 130 is offline.Specifically, Agent receives offline information, clearing server, is then shut off Agent processes.
Step 720, server supervising platform 110 adjusts warning message.In one embodiment, when there are the nothings of Agent 120 Response or when breaking down, server supervising platform 110 is by alert.When server 130 is offline, with Agent 120 corresponding to the server 130 can be without response, and to avoid unnecessary warning information, server supervising platform 110 exists Server 130 will adjust warning message when offline, with to its without alarm.
Step 730 server supervising platform 110 removes to the offline server info having.
It can be realized with simple system architecture according to the server agent control system of the present invention and control method, efficiently Ground manipulates server.Each Agent corresponding with each server is instructed by receiving the first kind issued by platform, and to each The mode that server is manipulated, complete the upgrading to each server, deployment, configuration, monitoring etc. and operate.In addition, Agent is also The second class instruction from server can be received, realize Agent itself Function Extension so that each Agent possess it is completeer Kind function, with the related each server of manipulation.The method according to the invention and system can cause to individual server Control is changed into the control to Agent so that controls more simplified, procedure, improves the efficiency to server manipulation.
With reference to the explanation of the invention disclosed here and practice, other embodiment of the invention is for those skilled in the art It all will be readily apparent and understand.Illustrate and embodiment is to be considered only as exemplary, of the invention true scope and purport is equal It is defined in the claims.

Claims (10)

1. a kind of server agent control system, it is characterised in that the server agent control system is used to receive from finger The instruction of sender is made, and the corresponding server is operated according to the instruction type, or is carried out to the clothes Business device acts on behalf of the operation of the Function Extension of control system in itself, and the server agent control system includes interface module, compiling Module, server operation module and function expanding module, wherein,
The interface module, handled for receiving the instruction from the instruction sender, and to the instruction sender return As a result, the instruction sender to multiple server agent control systems in the case where sending the instruction, for hair The target for sending the instruction and the order for sending instruction carry out a key configuration, if a certain server agent control system performs institute State and instruct successfully and return to successful result to the instruction sender, then the instruction next server of sending direction Control system is acted on behalf of to continue to send instruction;If a certain server agent control system execute instruction failure and to the instruction Sender returns to the result of failure, then the instruction sender, which stops sending to next server agent control system, refers to Order;
The collector, the instruction for being received to the interface module explain, if the instruction type is use In the first kind instruction operated to server, then the instruction after explanation is exported to the server operation mould Block;, will be through if the instruction type is to be instructed for extending the second class of server agent control system itself function The instruction crossed after explaining is exported to the function expanding module;
The server operation module, it is described when the instruction that the interface module receives is that the first kind instructs Server operation module operates according to the particular content of the instruction to the corresponding server;
The function expanding module, when the instruction that the interface module receives is that second class instructs, the work( The function of the server operation module is extended according to the instruction for energy expansion module or edition upgrading.
2. system according to claim 1, it is characterised in that the instruction sender is based on procotol to the service Device acts on behalf of control system and sends instruction, and receives the returning result from the server agent control system.
3. system according to claim 1, it is characterised in that the function of the server operation module be selected from it is following at least It is a kind of:Upgrade function, verifying function, state reporting function, deployment function, configuration feature, and monitoring function.
4. a kind of server control method, it is characterised in that by least one server agent control system to corresponding Server manipulated, the control method comprises the following steps:
A) instruction from instruction sender is received, the instruction sender sends out to multiple server agent control systems In the case of sending the instruction, a key configuration is carried out for the target for sending the instruction and the order for sending instruction, if certain The execution of one server agent control system is described to be instructed successfully and returns to successful result to the instruction sender, then institute The instruction next server agent control system of sending direction is stated to continue to send instruction;If a certain server agent manipulation system Execute instruction of uniting fails and the result of failure is returned to the instruction sender, then the instruction sender stops to next Individual server agent control system sends instruction;
B) instruction to reception explains, if the instruction type is to refer to for the first kind that is operated to server Order, then transmit the instruction after explanation to the server and the corresponding server operated;It is if described Instruction type is to be instructed for extending the second class of server agent control system itself function, then by after explanation The instruction output is extended with the function to the server agent control system or edition upgrading;
C) result is returned to the instruction sender.
5. according to the method for claim 4, it is characterised in that when the first kind instruction received is to the service During the instruction that device is upgraded, methods described comprises the following steps:
B1) the existing component in the component in the instruction and the server is verified;
B2) judge whether by verification, be then to enter step b3;Otherwise to the processing of the instruction sender back-checking failure As a result;
B3) judge whether the server is suitable to upgrading by checking the state of the server;
B4) judge that the server is then to enter step b5 whether by status checkout;Otherwise returned to the instruction sender The unsanctioned result of status checkout;
B5 the component in the server) is upgraded;
B6) judge whether the server updating succeeds, be then to enter step b7;Otherwise upgrading is returned to the instruction sender Failed result;
B7) service Jing Guo component upgrade is restarted.
6. according to the method for claim 5, it is characterised in that state described in step b3 includes load, memory size, magnetic Disk size, CPU information.
7. according to the method for claim 5, it is characterised in that if not upgraded successfully in step b6, sent out to the instruction The side of sending returns to the result not upgraded successfully, also, also reports rollback information to the instruction sender, and institute is come to receive The rollback instruction of instruction sender is stated, the server is restored to version before upgrading.
8. according to the method for claim 5, it is characterised in that if server updating described in step b6 success, also to The instruction sender reports the status information of itself.
9. according to the method for claim 4, it is characterised in that when second class instruction of reception is the extension service When device acts on behalf of control system function, it is as follows that methods described includes step:
L) instructed according to second class, the upgrade file of redaction is downloaded to specified location;
M) verification operation is carried out, and the server agent control system itself is upgraded;
N) the server agent control system closes itself program;
O) the server agent control system is restarted, so that the New function of the server agent control system comes into force.
10. according to the method for claim 4, it is characterised in that when registration increases new server, walked as follows Suddenly:
P) the server agent control system corresponding to server to be registered is started;
Q) by the server agent control system link order recipient;
R) system information, deployment services information and the version information of the server agent control system are uploaded;With
S) the command reception side adjusts the server agent control system by way of setting and sending the instruction of the second class State.
CN201410435861.2A 2014-08-29 2014-08-29 A kind of server agent control system and control method Active CN104158906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410435861.2A CN104158906B (en) 2014-08-29 2014-08-29 A kind of server agent control system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410435861.2A CN104158906B (en) 2014-08-29 2014-08-29 A kind of server agent control system and control method

Publications (2)

Publication Number Publication Date
CN104158906A CN104158906A (en) 2014-11-19
CN104158906B true CN104158906B (en) 2017-11-28

Family

ID=51884311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410435861.2A Active CN104158906B (en) 2014-08-29 2014-08-29 A kind of server agent control system and control method

Country Status (1)

Country Link
CN (1) CN104158906B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161409A (en) * 2015-04-23 2016-11-23 珀金埃尔默企业管理(上海)有限公司 A kind of agent framework service system including local component and method
CN106897165A (en) * 2017-02-07 2017-06-27 苏州蜗牛数字科技股份有限公司 A kind of automatic cross-platform version verification of high-volume and the method for issue
CN108924193A (en) * 2018-06-15 2018-11-30 广东小天才科技有限公司 A kind of service deployment method and device based on server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553649A (en) * 2003-06-08 2004-12-08 华为技术有限公司 Realizing method for long-range maintenance
CN1848764A (en) * 2005-12-22 2006-10-18 华为技术有限公司 Server and network equipment long-distance management maintenance system and realizing method
CN101123616A (en) * 2007-09-28 2008-02-13 北京金山软件有限公司 A server management method and a server management system
JP2009265718A (en) * 2008-04-22 2009-11-12 Kddi Corp Network device transmitting only difference data of network management information, server, program and method
CN101867484A (en) * 2010-05-18 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading equipment
CN102055607A (en) * 2009-11-06 2011-05-11 三星电子(中国)研发中心 Method and system for updating network devices
CN102457565A (en) * 2010-11-03 2012-05-16 中国电信股份有限公司 Method for accessing network by mobile terminal, and agency server
CN102546809A (en) * 2012-01-16 2012-07-04 东莞市正欣科技有限公司 Unified control method of large-scale server cluster

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532134B2 (en) * 2007-03-12 2009-05-12 Citrix Systems, Inc. Systems and methods for sharing compression histories between multiple devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553649A (en) * 2003-06-08 2004-12-08 华为技术有限公司 Realizing method for long-range maintenance
CN1848764A (en) * 2005-12-22 2006-10-18 华为技术有限公司 Server and network equipment long-distance management maintenance system and realizing method
CN101123616A (en) * 2007-09-28 2008-02-13 北京金山软件有限公司 A server management method and a server management system
JP2009265718A (en) * 2008-04-22 2009-11-12 Kddi Corp Network device transmitting only difference data of network management information, server, program and method
CN102055607A (en) * 2009-11-06 2011-05-11 三星电子(中国)研发中心 Method and system for updating network devices
CN101867484A (en) * 2010-05-18 2010-10-20 中兴通讯股份有限公司 Method and system for upgrading equipment
CN102457565A (en) * 2010-11-03 2012-05-16 中国电信股份有限公司 Method for accessing network by mobile terminal, and agency server
CN102546809A (en) * 2012-01-16 2012-07-04 东莞市正欣科技有限公司 Unified control method of large-scale server cluster

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
主动式服务器管理技术研究;蓝友枢;《情报探索》;20110531(第5期);101-103 *

Also Published As

Publication number Publication date
CN104158906A (en) 2014-11-19

Similar Documents

Publication Publication Date Title
CN102045390B (en) What computer special-purpose software updated automatically configures
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
US10003496B1 (en) Network change management
CN104158906B (en) A kind of server agent control system and control method
CN105808278A (en) Client version upgrading method and device
CN111866063B (en) Online updating system, method and device for AI algorithm of industrial Internet of things
CN105260209A (en) Hot-update solution of program
CN101710288A (en) Upgrade processing method and system, upgrade server and upgrade device
CN108804109B (en) Industrial deployment and control method based on multi-path functional equivalent module redundancy arbitration
CN112477919B (en) Dynamic redundancy backup method and system suitable for train control system platform
CN100375427C (en) Cluster device batch file transmitting method and file transmission device
KR102019158B1 (en) Method and apparatus for controlling cloud virtual base station
CN102622229A (en) Fusion method, fusion system and fusion device of development frameworks of different types
CN104572179B (en) A kind of infrastructure is service software upgrade method and apparatus
CN103150203B (en) A kind of virtual machine control system, virtual machine controller and control method
CN107465756B (en) Service request processing method and device
CN113645314A (en) Private cloud deployment method and server
CN110865826A (en) Robot software upgrading method, device, equipment and storage medium
JP2006113754A (en) Software update device and method
JP2003288233A (en) Customer supporting method, customer supporting system, storage subsystem, and operation supporting system
US11659414B1 (en) Connectivity apparatus for remote cell tower integration
CN105975359A (en) Method and device for data cleaning of server and server
CN101299676B (en) Method for upgrading veneer software and veneer system for implementing front-back ground checkout upgrade
CN106648870A (en) Service restarting method and device
CN105429790A (en) ONU (Optical Network Unit) upgrading method and system and optical network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant