CN104158906A - Server agent manipulation system and manipulation method - Google Patents

Server agent manipulation system and manipulation method Download PDF

Info

Publication number
CN104158906A
CN104158906A CN201410435861.2A CN201410435861A CN104158906A CN 104158906 A CN104158906 A CN 104158906A CN 201410435861 A CN201410435861 A CN 201410435861A CN 104158906 A CN104158906 A CN 104158906A
Authority
CN
China
Prior art keywords
instruction
server
control system
agent control
agent
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
CN201410435861.2A
Other languages
Chinese (zh)
Other versions
CN104158906B (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

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention provides server agent manipulation system and manipulation method, the system is used for receiving instructions from an instruction transmitting party and operating corresponding servers according to types of the instructions or conducting the operation of function extension on the system itself; the system comprising an interface module, a compiling module, a server operation module and a function extension module; the method manipulates corresponding servers through at least one said system, and the manipulation method comprising steps as follows: a) receiving instructions from an instruction transmitting party; b) interpreting the received instructions; operating corresponding servers if the type of instructions is a first type of instructions; and conducting function extension or version update on the system if the type of instructions is a second type of instruction; and c) returning processing results to the instruction transmitting party. The server agent manipulation system and manipulation method of the present invention can realize efficient manipulation of servers with a simple system structure.

Description

A kind of server agent control system and control method
Technical field
The present invention relates to server and control field, particularly a kind of server agent control system and control method.
Background technology
Distributed software system is the software systems of supporting distributed treatment, is the system of executing the task in the multiprocessor interconnected by communication network (server) architecture.Because distributed system needs a plurality of servers, jointly complete related service, in the Internet type product, need iteration fast to upgrade.Thereby the server component upgrading of corresponding distributed system is trouble and frequent very, need to a lot of servers be operated, be upgraded, and wastes time and energy.
In existing distributed system, when needs are realized server component upgrading, adopt the mode of regularly reaching the standard grade, by program packing, checking, disposes or adopts automatized script to dispose.Wait for after the complete normal operation of component upgrade, by order or automatized script, be synchronized to Servers-all, reach the object of upgrading.Yet, when utilizing present plan implementation program, need manpower intervention, waste time and energy.
In addition,, except the updating operation for server, other operational example, as some deployment operation also needs more manpower intervention, can not realize the efficient manipulation for server.
Therefore, need a kind of server agent control system and control method, with simple system configuration, control efficiently server.
Summary of the invention
The object of this invention is to provide a kind of server agent control system and control method.
According to an aspect of the present invention, a kind of server agent control system is provided, described server agent control system is for receiving the instruction from instruction transmit leg, and according to described instruction type, corresponding described server is operated, or carry out the operation to the Function Extension of described server agent control system itself, described server agent control system comprises interface module, collector, server operation module and function expanding module, wherein, described interface module, for receiving the instruction from described instruction transmit leg, and return to result to described instruction transmit leg, described collector, makes an explanation for the described instruction that described interface module is received, if described instruction type is the first kind instruction for server is operated, exports the described instruction after explaining to described server operation module, if described instruction type, for for expanding the Equations of The Second Kind instruction of described server agent control system self function, exports the described instruction after explaining to described function expanding module, described server operation module, when the described instruction receiving when described interface module is described first kind instruction, described server operation module, according to the particular content of described instruction, operates the server of described correspondence, described function expanding module, when the described instruction receiving when described interface module is described Equations of The Second Kind instruction, described function expanding module is expanded or edition upgrading the function of described server operation module according to described instruction.
Preferably, described instruction transmit leg is in the situation that sending described instruction to a plurality of described server agent control systems, for the target of the described instruction of transmission and the order of transmission instruction, carry out a key configuration, if a certain server agent control system is carried out described instruction success and returned to successful result to described instruction transmit leg, the next server agent control system of described instruction sending direction continues to send instruction; If described a certain server agent control system is carried out instruction failure and returned to the result of failure to described instruction transmit leg, described instruction transmit leg stops sending instruction to next server agent control system.
Preferably, described instruction transmit leg agreement Network Based sends instruction to described server agent control system, and receives returning results from described server agent control system.
Preferably, the function of described server operation module be selected from following at least one: upgrade function, verifying function, state reporting function, dispose function, configuration feature, and monitoring function.
According to a further aspect in the invention, provide a kind of server control method, by least one server agent control system pair server corresponding with it, controlled, described control method comprises the steps: a) to receive the instruction from instruction transmit leg; B) the described instruction receiving is made an explanation, if described instruction type is the first kind instruction for server is operated, the described command after explaining to described server is operated the server of described correspondence; If described instruction type, for for expanding the Equations of The Second Kind instruction of described server agent control system self function, is exported the described instruction after explaining so that the function of described server agent control system is expanded or edition upgrading; C) to described instruction transmit leg, return to result.
Preferably, when received described first kind instruction is the instruction that described server is upgraded, described method comprises the steps: b1) the existing assembly in the assembly in described instruction and described server is carried out to verification; B2) judging whether by verification, is to enter step b3; Otherwise the result to the failure of described instruction transmit leg back-checking; B3) by checking that the state of described server judges whether described server is suitable for upgrading; B4) judge that described server, whether by status checkout, is to enter step b5; Otherwise check unsanctioned result to described instruction transmit leg return state; The assembly of b5) upgrading in described server; B6) judging that whether described server updating is successful, is to enter step b7; Otherwise return to described instruction transmit leg the result that upgrading is failed; B7) service through component upgrade is restarted.
Preferably, state described in step c comprises load, memory size, disk size, CPU information.
Preferably, if do not upgrade successfully in step b6, to described instruction transmit leg, return to the result not upgrading successfully, and, also to described instruction transmit leg, report rollback information, to receive the rollback instruction from described instruction transmit leg, with version before described server restore is extremely upgraded.
Preferably, if the success of server updating described in step b6 also reports the state information of self to described instruction transmit leg.
Preferably, when the described Equations of The Second Kind instruction receiving is the described server agent control system function of expansion, described method comprises that step is as follows: l) according to described Equations of The Second Kind instruction, download the upgrade file of redaction to assigned address; M) carry out verification operation, and described server agent control system self is upgraded; N) described server agent control system is closed self program; O) restart described server agent control system, so that the new function of described server agent control system comes into force.
Preferably, when registration increases new server, carry out following steps: p) start the corresponding server agent control system of server to be registered; Q) by described server agent control system link order recipient; R) upload system information, deployment services information and the version information of described server agent control system; And s) described command reception square tube is crossed the mode that arranges and send Equations of The Second Kind instruction, adjusts the state of described server agent control system.
Server agent control system according to the present invention can be realized with simple system configuration, controls efficiently server.Each server agent control system corresponding with each server is by the first kind instruction of accepting to be issued by instruction transmit leg, and the mode that each server is controlled, and completes the operations such as upgrading to each server, deployment, configuration, monitoring.In addition, server agent control system can also be accepted the Equations of The Second Kind instruction from server, realize the Function Extension of server agent control system self, so that each server agent control system possesses more perfect function, to control each relevant server.The method according to this invention and system can make to control more simplification, procedure so that the control of individual server is changed into the control to server agent control system, have improved the efficiency that server is controlled.
Accompanying drawing explanation
With reference to the accompanying drawing of enclosing, the more object of the present invention, function and advantage are illustrated the following description by embodiment of the present invention, wherein:
Fig. 1 has schematically shown according to the block diagram of the server agent control system of embodiment of the present invention.
Fig. 2 has schematically shown the structured flowchart of server agent control system.
Fig. 3 has schematically shown according to the flow chart of the server control method of the embodiment of the present invention.
Fig. 4 has schematically shown server updating method flow diagram according to an embodiment of the invention.
Fig. 5 has schematically shown the method flow diagram of server agent control system Function Extension according to an embodiment of the invention.
Fig. 6 has schematically shown the method flow diagram that server agent control system is registered to instruction transmit leg according to an embodiment of the invention.
Fig. 7 has schematically shown the method for subsequent processing flow chart that server rolls off the production line according to an embodiment of the invention.
Embodiment
By reference to one exemplary embodiment, object of the present invention and function and will be illustrated for realizing the method for these objects and function.Yet the present invention is not limited to following disclosed one exemplary embodiment; Can to it, be realized by multi-form.The essence of specification is only to help various equivalent modifications Integrated Understanding detail of the present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical Reference numeral represents same or similar parts, or same or similar step.
Fig. 1 has schematically shown according to the block diagram of the server agent control system of embodiment of the present invention.
In Fig. 1, having schematically shown 3 groups of server agent control system Agent 120a-120c, server 130a-130c associated therewith and transmit leg is server supervising platform 110, and Agent 120a is associated with server 130a, Agent 120b is associated with server 130b, Agent 120c is associated with server 130c.In this embodiment, the quantity of Agent120 is identical with the quantity of server 130, and in other embodiments, the quantity of Agent120 can be different from the quantity of server 130.
Transmit leg, is server supervising platform 110 in the present embodiment, to Agent 120, sends instruction, and receives returning results from Agent 120.The type of instruction comprises two kinds: the instruction 1) server 130 being operated (following, to be called first kind instruction).Such as certain business to server upgrade, the instruction such as deployment, configuration; The instruction of self function of expansion Agent 120 (following, to be called Equations of The Second Kind instruction), specifically comprises: the function that can operate server Agent 120 is expanded or edition upgrading or the parameter of Agent is adjusted etc.
In the above-described embodiments, although the instruction that server agent control system 120 receives from server supervising platform 110, and operate according to instruction type.Yet, it will be appreciated by persons skilled in the art that server agent control system 120 also can receive the instruction sending from other instruction transmit legs except server supervising platform 110.In other embodiments, transmit leg 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 instruction to a plurality of Agent120, in this case, can carry out a key configuration for the target of transmission instruction and the order of transmission instruction.And if a certain Agent 120 carries out instruction success and returns to successful result to server supervising platform 110, server supervising platform 110 continues to send instruction to next Agent 120; If described a certain Agent 120 carries out instruction failure and returns to the result of failure to described server supervising platform 110, described server supervising platform 110 stops sending instruction to next Agent 120.Wherein, by an above-mentioned key, configured the order of determined transmission instruction, specify described next Agent 120.For example, can be set to these three Agent, send instruction with the order of Agent 120a, Agent 120c, Agent 120g (not shown), and, if Agent 120a carries out instruction success and returns to successful result to server supervising platform 110, return results automatic activation server supervising platform 110 and continue to send instruction to next Agent 120c; If Agent 120c carries out instruction failure and returns to the result of failure to server supervising platform 110, server supervising platform does not continue to send instruction to next Agent 120g.Thus, after a key configuration, server supervising platform 110 just can carry out various controlling to the server of appointment successively according to configuration, upgrades successively etc. such as the assembly in given server.
According to still another embodiment of the invention, server supervising platform 110 can agreement Network Based sends instructions to Agent 120, and receives from the returning results of Agent 120, thereby realizes the remote control to Agent 120 and the server 130 that is associated.By setting the communication protocol between server supervising platform 110 and Agent 120, can also be supported in the deployment between the different machines in consolidated network, realize across machine, cross-platform controlling.
Agent 120 is for receiving the instruction from server supervising platform 110, and carries out the operation to its corresponding server according to instruction type, or carries out the operation to the Function Extension of Agent 120 itself.Especially, each Agent 120 has a server 130 for unique correspondence with it, and for example, in Fig. 1, Agent 120a is corresponding with server 130a, and Agent 120b is corresponding with server 130b, and Agent 120c is corresponding with server 130c.
Server 130, for the instruction that server is operated of accepting to send from Agent 120, and returns to the result of this operation to Agent 120.
Fig. 2 has schematically shown the structured flowchart of server agent control system Agent, and as shown in Figure 2, Agent comprises interface module 121, collector 122, server operation module 123 and Agent function expanding module 124.
Interface module 121, for receiving the instruction from server supervising platform 110, and returns to result to server supervising platform 110.
Collector 122, the instruction receiving for docking port module 121 makes an explanation, if instruction type is first kind instruction, exports the instruction after explaining to server operation module 123; If instruction type is Equations of The Second Kind instruction, export the instruction after explaining to Agent function expanding module 124.
Server operation module 123, when the instruction receiving when interface module 121 is first kind instruction, server operation module 123, according to the particular content of instruction, operates the server corresponding with it 130.According to one embodiment of present invention, the function of server operation module 123 be selected from following at least one: upgrade function, for server is upgraded; Verifying function, the assemblies such as upgrade components that server supervising platform 110 is sent carry out verification; State reporting function, for detecting the state of server and it being reported to server supervising platform 110; Dispose function, for server is disposed; Configuration feature, for being configured server; And monitoring function, for server being monitored etc.
Agent function expanding module 124, when the instruction receiving when interface module 121 is Equations of The Second Kind instruction, Agent function expanding module 124 is expanded the function of server operation module 123 according to instruction or edition upgrading or the parameter of Agent is adjusted etc.
Fig. 3 has schematically shown according to the flow chart of the server control method of embodiment of the present invention.As shown in Figure 3, flow process 1 is instruction transmit leg, the process that for example thereby server supervising platform 110 is controlled server to Agent 120 by sending instruction, thereby flow process 2 is processes that server supervising platform 110 self is controlled Agent 120 to Agent 120 by sending instruction.
In flow process 1: first, server supervising platform 110 sends first kind instruction, the instruction (305) operating by 120 pairs of corresponding servers 130 of this Agent 120 of Agent to Agent 120.Receive and explain after this instruction, Agent 120 controls the corresponding server 130 (310) of Agent 120 according to instruction.When Agent 120 completes after the controlling of server 130, server 130 returns to result (315) to Agent 120, and last, Agent 120 is back to result server supervising platform 110 (320) again.
According to another embodiment of the present invention, also can not there is not step 305, and directly server 130 be controlled by Agent 120.For example, for the state reporting function of server operation module 123, it does not need to wait for the instruction of accepting from server supervising platform 110.Particularly, after server 130 is restarted, its corresponding Agent 120 is the state of monitor server 130 on one's own initiative, and is initiatively reported to server supervising platform 110.
In flow process 2: first server supervising platform 110 sends Equations of The Second Kind instructions to Agent 120, expand the instruction (325) of Agent 120 self function.Then, receive and explain that, after this instruction, Agent 120 expands the function of self, such as the function that can operate server Agent 120 add, the operation (330) such as deletion, modification.Complete after the Function Extension of Agent 120 self, Agent 120 returns to result (320) to server supervising platform 110.
Fig. 4 has schematically shown server updating method flow diagram according to an embodiment of the invention.The object of upgrading is in server, for the assembly of a certain service is provided.As shown in Figure 4, specifically comprise the steps:
Step 405, Agent 120 receives from instruction transmit leg, the server updating instruction of server supervising platform 110.
Step 410,122 pairs of upgrade command of collector make an explanation.
Step 415, carries out verification to the existing assembly in the assembly in upgrade command and server 130.According to one embodiment of present invention, its associated servers 130 of server operation module 123 access, obtain the version information of server 130, and the assembly in itself and upgrade command is carried out to verification; According to another embodiment of the present invention, the record of 123 pairs of the last state reportings of server operation module is inquired about, find the current version information of the assembly in the associated server of Agent 120 130, the assembly in itself and upgrade command is being carried out to verification.
Step 420, judges whether by verification, is to enter step 425; Otherwise enter step 450, to the result of server supervising platform 110 back-checking failures.
Step 425, checks that the state of server 130 judges whether server 130 is suitable for upgrading, particularly, the state of server 130 is checked, this state for example comprises load, memory size, disk size, the system informations such as CPU information.For example, if internal memory is too small, and be not enough to upgrade server, represent that this server 130 is not suitable for carrying out this upgrading.
Step 430, judges that server 130, whether by status checkout, is to enter step 435; Otherwise enter step 450, to check unsanctioned result to server supervising platform 110 return states.
Step 435, the assembly in upgrade server 130.
Step 440, judges that whether server 130 upgradings are successful, is to enter step 445; Otherwise enter step 450 to return to the result that upgrading is failed.
Step 445, restarts the service through component upgrade.
Step 450, returns to result to server supervising platform 110.Particularly, if in step 420 not by verification, to the result of server supervising platform 110 back-checking failures; If not by status checkout, return not by the result of status checkout to server supervising platform 110 in step 430; If do not upgrade successfully in step 440, to server supervising platform 110, return to the result not upgrading 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, to reduce the front version of upgrading;
Alternatively, server 130 can also report to Agent 120 state information of self after upgrading successfully, for example component version and running time, and report server supervising platform 110 by Agent 120, with 110 pairs of assemblies of convenient service device supervising platform and server, supervise and manage.
Fig. 5 has schematically shown according to the method flow diagram of the server agent control system Agent Function Extension of the embodiment of the present invention.As shown in Figure 5, in order to make Agent 120 possess more fully function, server supervising platform 110 need to send Equations of The Second Kind instruction to Agent 120, so that it is carried out to Function Extension.Specifically comprise the steps:
Step 510, server supervising platform 101 sends upgrade information to Agent 120.Particularly, first operating personnel check the version of each Agent 120 at server supervising platform 110, and the Agent 120 transmission upgrade command of upgrading to needs according to version information, so that the new function of specifying Agent 120 to have.Especially, can see the various states of each Agent 120 at server supervising platform 110, except the version information of above-mentioned Agent 120, the state of Agent 120 also can comprise: the function that Agent 120 has, parameter current etc.
Step 520, Agent 120, according to upgrade information, downloads the upgrade file of redaction to assigned address.
Step 530, carries out verification operation, and Agent 120 self is upgraded.
Step 540, closes Agent 120 self program.
Step 550, server monitoring is restarted Agent 120, so that the new function of Agent 120 comes into force.Here, Agent 120 can be on server 130 with the form storage of process, and server 130 checks by monitoring script whether Agent 120 exists, and starts Agent 120 if do not exist, the module after will loading upgrading after Agent 120 starts.
Fig. 6 has schematically shown Agent according to the embodiment of the present invention (or new server) to instruction transmit leg, for example, to the method flow diagram of server supervising platform registration.When having server 130 to register to server supervising platform 110, the Agent 120 corresponding with this server 130 need to register to server supervising platform 110.As shown in Figure 6, specifically comprise the steps:
Step 610, starts Agent to be registered 120.That is, start the corresponding Agent 120 of server to be registered 130.
Step 620, Agent 120 connection server supervising platforms 110 (being instruction transmit leg);
Step 630, uploads the information such as version information of system information, deployment services information and the Agent 120 of Agent 120.Wherein, system information comprises IP, load, memory size, disk size, CPU information etc.Deployment services information refers to the information on services of disposing on the server corresponding with Agent 120 130.
Step 640, platform, by arranging and send the mode of Equations of The Second Kind instruction, is adjusted the state of Agent.Particularly, receive after the state information that Agent 120 uploads, if need to it be upgraded, can at server supervising platform 110, the version that this Agent 120 need to be upgraded to be set by operating personnel, then server supervising platform 110 sends Equations of The Second Kind instruction to this Agent 120, to adjust the state of Agent 120.
Especially, the above-mentioned hardware system information of server and software systems and Agent are total, and Agent 120 is on server 130 with the form storage of process.So when Agent is upgraded, operating personnel need to check hardware system and the software process of Agent, with the version that judges that this hardware and software are supported, finally at the version that need to be upgraded to Agent, arrange.
Although as mentioned above, the above-mentioned hardware system information of server and software systems and Agent are total, but be not limited to this, Agent 120 also can be independent with hardware system and the software systems of server 130, and Agent 120 has independently hardware system and software systems.
Fig. 7 has schematically shown the method for subsequent processing flow chart rolling off the production line according to the server of the embodiment of the present invention.As shown in Figure 7, when server 130 rolls off the production line, instruction transmit leg, for example server supervising platform 110 need to be made a series of subsequent treatment, specifically comprises the steps:
Step 710, rolls off the production line server 130.Particularly, Agent receives offline information, and then clearing server closes Agent process.
Step 720, server supervising platform 110 is adjusted warning message.In one embodiment, when occurring Agent 120 without response or the situation such as breaking down, server supervising platform 110 will send warning message.When server 130 rolls off the production line, the Agent 120 corresponding with this server 130 can be without response, and for avoiding unnecessary warning information, server supervising platform 110 will be adjusted warning message when server 130 rolls off the production line, so that it is not reported to the police.
The server info having rolled off the production line that 110 pairs of step 730 server supervising platforms have removes.
According to server agent control system of the present invention and control method, can realize with simple system configuration, control efficiently server.Each Agent corresponding with each server is by receiving the first kind instruction issued by platform, and the mode that each server is controlled, and completes the operations such as upgrading to each server, deployment, configuration, monitoring.In addition, Agent can also receive the Equations of The Second Kind instruction from server, realizes the Function Extension of Agent self, so that each Agent possesses more perfect function, to control each relevant server.The method according to this invention and system can make to control more simplification, procedure so that the control of individual server is changed into the control to Agent, have improved the efficiency that server is controlled.
In conjunction with the explanation of the present invention and the practice that disclose here, other embodiment of the present invention are easy to expect and understand for those skilled in the art.Illustrate with embodiment and be only considered to exemplary, true scope of the present invention and purport limit by claim.

Claims (11)

1. a server agent control system, it is characterized in that, described server agent control system is for receiving the instruction from instruction transmit leg, and according to described instruction type, corresponding described server is operated, or carry out the operation to the Function Extension of described server agent control system itself, described server agent control system comprises interface module, collector, server operation module and function expanding module, wherein
Described interface module, for receiving the instruction from described instruction transmit leg, and returns to result to described instruction transmit leg;
Described collector, makes an explanation for the described instruction that described interface module is received, if described instruction type is the first kind instruction for server is operated, exports the described instruction after explaining to described server operation module; If described instruction type, for for expanding the Equations of The Second Kind instruction of described server agent control system self function, exports the described instruction after explaining to described function expanding module;
Described server operation module, when the described instruction receiving when described interface module is described first kind instruction, described server operation module, according to the particular content of described instruction, operates the server of described correspondence;
Described function expanding module, when the described instruction receiving when described interface module is described Equations of The Second Kind instruction, described function expanding module is expanded or edition upgrading the function of described server operation module according to described instruction.
2. system according to claim 1, it is characterized in that, described instruction transmit leg is in the situation that sending described instruction to a plurality of described server agent control systems, for the target of the described instruction of transmission and the order of transmission instruction, carry out a key configuration, if a certain server agent control system is carried out described instruction success and returned to successful result to described instruction transmit leg, the next server agent control system of described instruction sending direction continues to send instruction; If described a certain server agent control system is carried out instruction failure and returned to the result of failure to described instruction transmit leg, described instruction transmit leg stops sending instruction to next server agent control system.
3. system according to claim 1, is characterized in that, described instruction transmit leg agreement Network Based sends instruction to described server agent control system, and receives returning results from described server agent control system.
4. system according to claim 1, is characterized in that, the function of described server operation module be selected from following at least one: upgrade function, verifying function, state reporting function, dispose function, configuration feature, and monitoring function.
5. a server control method, is characterized in that, by least one server agent control system pair server corresponding with it, controls, and described control method comprises the steps:
A) receive the instruction from instruction transmit leg;
B) the described instruction receiving is made an explanation, if described instruction type is the first kind instruction for server is operated, the described command after explaining to described server is operated the server of described correspondence; If described instruction type, for for expanding the Equations of The Second Kind instruction of described server agent control system self function, is exported the described instruction after explaining so that the function of described server agent control system is expanded or edition upgrading;
C) to described instruction transmit leg, return to result.
6. method according to claim 5, is characterized in that, when received described first kind instruction is the instruction that described server is upgraded, described method comprises the steps:
B1) the existing assembly in the assembly in described instruction and described server is carried out to verification;
B2) judging whether by verification, is to enter step b3; Otherwise the result to the failure of described instruction transmit leg back-checking;
B3) by checking that the state of described server judges whether described server is suitable for upgrading;
B4) judge that described server, whether by status checkout, is to enter step b5; Otherwise check unsanctioned result to described instruction transmit leg return state;
The assembly of b5) upgrading in described server;
B6) judging that whether described server updating is successful, is to enter step b7; Otherwise return to the unsuccessful result of upgrading to described instruction transmit leg;
B7) service through component upgrade is restarted.
7. method according to claim 6, is characterized in that, state described in step b3 comprises load, memory size, disk size, CPU information.
8. method according to claim 6, it is characterized in that, if do not upgrade successfully in step b6, to described instruction transmit leg, return to the result not upgrading successfully, and, also to described instruction transmit leg, report rollback information, to receive the rollback instruction from described instruction transmit leg, with version before described server restore is extremely upgraded.
9. method according to claim 6, is characterized in that, if the success of server updating described in step b6 also reports the state information of self to described instruction transmit leg.
10. method according to claim 5, is characterized in that, when the described Equations of The Second Kind instruction receiving is the described server agent control system function of expansion, described method comprises that step is as follows:
L), according to described Equations of The Second Kind instruction, to assigned address, download the upgrade file of redaction;
M) carry out verification operation, and described server agent control system self is upgraded;
N) described server agent control system is closed self program;
O) restart described server agent control system, so that the new function of described server agent control system comes into force.
11. methods according to claim 5, is characterized in that, when registration increases new server, carry out following steps:
P) start the corresponding server agent control system of server to be registered;
Q) by described server agent control system link order recipient;
R) upload system information, deployment services information and the version information of described server agent control system; With
S) described command reception square tube is crossed the mode that arranges and send Equations of The Second Kind instruction, adjusts the state of described server agent control system.
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 true CN104158906A (en) 2014-11-19
CN104158906B 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)

Cited By (4)

* 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
CN115150291A (en) * 2022-07-05 2022-10-04 中国银行股份有限公司 Operation and maintenance system and method based on event driving

Citations (9)

* 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
US20080224903A1 (en) * 2007-03-12 2008-09-18 Allen Samuels Systems and methods for sharing compression histories between multiple devices
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

Patent Citations (9)

* 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
US20080224903A1 (en) * 2007-03-12 2008-09-18 Allen Samuels Systems and methods for sharing compression histories between multiple devices
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
蓝友枢: "主动式服务器管理技术研究", 《情报探索》 *

Cited By (4)

* 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
CN115150291A (en) * 2022-07-05 2022-10-04 中国银行股份有限公司 Operation and maintenance system and method based on event driving

Also Published As

Publication number Publication date
CN104158906B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN102609281B (en) Distributed software patch update method and system
CN100479575C (en) Method and apparatus for realizing scheduled operation in equipment management
US11256539B2 (en) Task processing method, apparatus, and system based on distributed system
CN101789886B (en) Environment setup automation system of distribution type environment and method
CN105653329A (en) Application management method, apparatus and system
CN104301136A (en) Method and equipment for reporting and processing fault information
CN101888304A (en) Updating method, device and system for routing equipment
CN107660289A (en) Automatic network controls
CN112860282B (en) Cluster plug-in upgrading method, device and server
JP2009259161A (en) Knowledge-based failure recovery support system, user terminal, relay server and knowledge supply server, and data relay method
CN104158906A (en) Server agent manipulation system and manipulation method
CN105808278A (en) Client version upgrading method and device
CN106339273A (en) Application program restoration method, terminal and server
CN105260209A (en) Hot-update solution of program
CN101442688A (en) Method and system for updating intelligent network platform, controller and intelligent network platform equipment
US20080235357A1 (en) On-line configuration management system and method
CN104954482A (en) Configuration management system and method
CN102567050B (en) The method and apparatus of B/S system remote deploying projects
CN108241545B (en) Debugging method and device for system fault
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
CN113312059A (en) Service processing system and method and cloud native system
CN115809096B (en) Batch self-adaptive upgrading method for operating system
CN116149713B (en) Program upgrading method and device for all-level equipment under tree-type heterogeneous network
CN109426514A (en) Automatization of service dispositions method, device, electronic equipment and storage medium
CN109547534B (en) Method for assisting distributed B/S architecture to realize automatic online upgrade of 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