CN107809473A - A kind of method and apparatus for controlling server disposition - Google Patents

A kind of method and apparatus for controlling server disposition Download PDF

Info

Publication number
CN107809473A
CN107809473A CN201710976140.6A CN201710976140A CN107809473A CN 107809473 A CN107809473 A CN 107809473A CN 201710976140 A CN201710976140 A CN 201710976140A CN 107809473 A CN107809473 A CN 107809473A
Authority
CN
China
Prior art keywords
server
service
load
need
stop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710976140.6A
Other languages
Chinese (zh)
Inventor
张攀锋
张亚军
吴凤玉
潘周
陈军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Union Mobile Pay Co Ltd
Original Assignee
Union Mobile Pay 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 Union Mobile Pay Co Ltd filed Critical Union Mobile Pay Co Ltd
Priority to CN201710976140.6A priority Critical patent/CN107809473A/en
Publication of CN107809473A publication Critical patent/CN107809473A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1031Controlling of the operation of servers by a load balancer, e.g. adding or removing servers that serve requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The present embodiments relate to server field, more particularly to a kind of method and apparatus for controlling server disposition, for being asked to solve the problems, such as that the server for needing to stop present in prior art influences business processing.In the embodiment of the present invention, management platform determines that the server of service need to be stopped;The management platform determines the load-balanced server that the server that need to stop service currently associating, and the load-balanced server is used to ask to the processing of each server distribution service;The management platform sends the first configured information to the load balancing service, and first configured information is used to indicate that the load-balanced server stops handling request to the server distribution service that need to stop service.Due to that in the embodiment of the present invention, can cause load-balanced server no longer stops the server of service to needs to send business processing request, service will not be stopped because of the server that needs stop, having influence on the processing of service request.

Description

A kind of method and apparatus for controlling server disposition
Technical field
The present embodiments relate to server field, more particularly to a kind of method and apparatus for controlling server disposition.
Background technology
With the fast development of cloud computing, user's request is more and more diversified, and each enterprise or government department need to use Substantial amounts of server provides service.Some leakages occurred in use due to the increase of user's request, server its own system The problems such as hole, cause to need often to dispose server;Such as extension or upgrading.
In the prior art, because the quantity of server is more huge, in order to reduce the huge work of operation maintenance personnel, generally take Device be engaged in by the way of automatic deployment.But the place that the business processing received can be asked during server automatic deployment Reason has an impact.
The content of the invention
The embodiment of the present invention provides a kind of method for controlling server disposition, to solve to need present in prior art Stop the problem of server of service influences business processing request.
The embodiment of the present invention provides a kind of method for controlling server disposition, including:Management platform determines to stop servicing Server;The management platform determines the load-balanced server that the server that need to stop service currently associating, described Load-balanced server is used to ask to the processing of each server distribution service;The management platform is sent out to the load balancing service The first configured information is sent, first configured information is used to indicate that the load-balanced server stops to stop servicing to described Server distribution service processing request.
Alternatively, before the management platform sends the first configured information to the load balancing service, in addition to:It is described Management platform changes the configuration file of the load-balanced server, and the configuration file includes load-balanced server and service Mapping relations between device;The management platform sends the first configured information to the load balancing service, including:The management Platform sends update instruction to the load balancing service, and the update instruction includes amended configuration file, it is described more It is new to indicate for indicating that the load-balanced server updates the configuration file that the load balancing service is locally stored;It is described negative The configuration file that equalization server is locally stored according to is carried to ask to the processing of each server distribution service.
Alternatively, methods described also includes:The management platform is receiving the completion of the load balancing service transmission After instruction, instruction is affixed one's name to the server sending department that need to stop service, the Disposition Instructions are used to indicate described to stop taking The server of business is disposed.
Alternatively, methods described includes:The management platform receives the deployment result of the server that need to stop service; The management platform it is determined that it is described deployment result be deployment success after, to the load-balanced server send second instruction believe Breath;The server that second configured information is used to notify to need to stop servicing described in the load-balanced server is in normal work Make state.
Alternatively, methods described also includes:The management platform is it is determined that the deployment result is Xiang Yong after deployment fails Family sends a notification message;The notification message includes the Upgrade process daily record of the server that need to stop service.
The embodiment of the present invention provides a kind of device for controlling server disposition, including:Determining unit, for determining to need to stop The server of service;Determine the load-balanced server that the server that need to stop service currently associating, the load balancing Server is used to ask to the processing of each server distribution service;Transmitting element, for sending first to the load balancing service Configured information, first configured information are used to indicate that the load-balanced server stops to the service that need to stop service The processing request of device distribution service.
Alternatively, described device also includes processing unit, for changing the configuration file of the load-balanced server, institute Stating configuration file includes the mapping relations between load-balanced server and server;The transmitting element, is used for:Born to described Carry balancing service and send update instruction, the update instruction includes amended configuration file, and the renewal refers to for indicating The load-balanced server updates the configuration file that the load balancing service is locally stored;The load-balanced server root Asked according to the configuration file being locally stored to the processing of each server distribution service.
Alternatively, the transmitting element, is additionally operable to:After the completion instruction that the load balancing service is sent is received, Instruction is affixed one's name to the server sending department that need to stop service, the Disposition Instructions are used to indicate the service that need to stop service Device is disposed.
Alternatively, in addition to receiving unit, it is used for:Receive the deployment result of the server that need to stop service;It is described Transmitting element, it is used for:It is determined that it is described deployment result be deployment success after, to the load-balanced server send second instruction Information;The server that second configured information is used to notify to need to stop servicing described in the load-balanced server is in normal Working condition.
Alternatively, the transmitting element, is additionally operable to:It is determined that the deployment result is after deployment fails, to be sent to user Notification message;The notification message includes the Upgrade process daily record of the server that need to stop service.
A kind of computer-readable recording medium, the computer-readable recording medium storage are provided in the embodiment of the present invention There are computer executable instructions, the computer executable instructions are used to make the computer perform described method.
A kind of computer equipment is provided in the embodiment of the present invention, including:Memory, instructed for storage program;Processing Device, for calling the programmed instruction stored in the memory, described method is performed according to the program of acquisition.
In the embodiment of the present invention, because in the embodiment of the present invention, management platform is it is determined that need to stop the server of service Afterwards, the load-balanced server currently associated with the server for needing stopping to service is determined, to the load balancing service Device sends the first configured information, indicates that the load-balanced server stops needing the server for stopping service distributing industry to described Business processing request.In this way, load-balanced server can be caused no longer to stop the server of service to needs and send business processing The service request is sent to and can handled on the server of the service request by request, the load-balanced server, it is ensured that Business processing request by timely processing and can will not stop service because of a certain server for needing stop, and have influence on industry The processing of business request.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow schematic diagram for controlling server disposition provided in an embodiment of the present invention;
Fig. 3 is a kind of method flow schematic diagram for controlling server updating provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of the device of control server disposition provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
Fig. 1 shows a kind of configuration diagram of system using the embodiment of the present invention.As shown in figure 1, the system architecture Management platform 101, load-balanced server 102 and server 103-105 can be included.Management platform 101 and load balancing Between server 102, either between management platform 101 and load-balanced server 102 or load-balanced server 102 with It can be attached between server by way of wirelessly or non-wirelessly, in order to ensure the safety of server in the embodiment of the present invention Property, connected by Intranet between each server and management platform 101, load-balanced server 102 in server 103-105 Connect.
Management platform 101 is stored with load balancing service and server 103-105 relevant information.Such as, it is stored with load Configuration file in equalization server 102, configuration file include reflecting between load-balanced server 102 and server 103-105 Penetrate relation;The resource information being stored with server 103-105.Management platform 101 is used for management server 103-105.Such as Management platform controls server disposition, is specifically as follows:Management platform 101 determines whether server 103-105 needs to upgrade, really Determine whether to dispose new application etc. on server 103-105.The notebook or display of management platform and operator are by having Line wirelessly connects so that operator can control management platform to perform corresponding management function.
Load-balanced server 102 is the server for load distribution.By load-balanced server 102 by business Reason asks equilibrium assignment to be serviced to the server for providing active service, so as to ensure the response speed of whole system.It is negative It can run the server for having load balancing software to carry equalization server 102, such as nginx, Linux virtual server;Or Person is hardware load equalization server, such as F5.
Server 103-105 is used to handle practical business request, and user is stored with server 103-105 to be needed to access Resource information.Server 103-105 due to customer service demand, it is necessary to disposed to these servers, such as, to service Device is upgraded or disposed on the server new application etc..Server 103-105 can be provided with application program The server of (Application, abbreviation APP) or some other servers that Web service is provided, such as:tomcat Server or appache servers.
Based on the system architecture shown in Fig. 1, Fig. 2 illustrates a kind of control server provided in an embodiment of the present invention The method flow schematic diagram of deployment, as shown in Fig. 2 the method for the deployment of the server comprises the following steps:
Step 201, management platform determines that the server of service need to be stopped;
Step 202, the management platform determines the load balancing service that the server that need to stop service currently associating Device, the load-balanced server are used to ask to the processing of each server distribution service;
Step 203, the management platform sends the first configured information, the first instruction letter to the load balancing service Cease for indicating that the load-balanced server stops handling request to the server distribution service that need to stop service.
Due in the embodiment of the present invention, management platform after it is determined that needing to stop the server of service, determine with it is described The load-balanced server for needing the server for stopping servicing currently to associate, send the first instruction to the load-balanced server and believe Breath, indicate that the load-balanced server stops needing the server distribution service for stopping service handling request to described.In this way, Load-balanced server can be caused no longer to stop the server of service to needs and send business processing request, the load balancing The service request is sent to and can handled on the server of the service request by server, it is ensured that business processing request can be with By timely processing and service will not be stopped because of a certain server for needing to stop, having influence on the processing of service request.
In the embodiment of the present invention, the situation that server needs to stop service including:Server system needs to upgrade or serviced Need to dispose some new applications etc. in device.
In the embodiment of the present invention, the first configured information can directly send no longer to needs to stop to load-balanced server The server distribution service only serviced.Can also send amended configuration file to load-balanced server, so that described Loaded server updates the local profile of the loaded server according to amended configuration file.
In the embodiment of the present invention, management platform is stored with the configuration file in the load-balanced server, when management is flat After platform determines the server that needs stop service, the management platform changes the configuration file of the load-balanced server, The configuration file includes the mapping relations between load-balanced server and server;The management platform is equal to the load Weighing apparatus service sends the first configured information, including:The management platform to the load balancing service send update instruction, it is described more New instruction includes amended configuration file, and the update instruction is used to indicate that the load-balanced server renewal is described negative Carry the configuration file that balancing service is locally stored;The configuration file that the load-balanced server is locally stored according to is to each The processing request of server distribution service.
The tool that two kinds of management platforms change the configuration file of the load-balanced server is provided in the embodiment of the present invention Body implementation.Implementation one, management platform delete the mark for the server for needing to stop service in the configuration file. Implementation two:Management platform comments out the mark for the server for needing to stop service in the configuration file.
The embodiment of the present invention, management platform sends the first configured information to the load-balanced server to be included after changing Configuration file when, the load-balanced server is stored in local configuration text according to the amended configuration file renewal Part, or directly replaced with amended configuration file and be stored in local configuration file.
In the embodiment of the present invention, load-balanced server is completed to be stored in local configuration according to first configured information After the renewal of file, instruction is sent completely to management platform.The management platform is receiving the load balancing service transmission Completion instruction after, to it is described need to stop service server sending department affix one's name to instruction, the Disposition Instructions be used for indicate the need The server for stopping service being disposed.
In the embodiment of the present invention, load-balanced server is after renewal is stored in local configuration file, in order to further Ensure that server can not influence business processing request, management platform can not receive load in more than the first preset duration During the completion instruction that equalization server is sent, detection needs whether the server for stopping service is also receiving business processing request, If have has business processing request in the second preset duration, stop the finger of the server transmission pause deployment of service to the needs Order;If not having business processing request in the second preset duration, the server sending department administration for stopping service being needed to refer to described Order.In this way, further reduce because server needs to stop influence of the service to service request.
In the embodiment of the present invention, server can in real time or often dispose a step during deployment and report portion to management platform The result of administration.The management platform receives the deployment result of the server that need to stop service;The management platform it is determined that It is described to dispose result as after deployment success, the second configured information is sent to the load-balanced server;The second instruction letter Cease and be in normal operating conditions for the server for notifying to need to stop servicing described in the load-balanced server.
Alternatively, when the management platform is to after it is determined that the deployment result is deployment success, management platform is to load Equalization server send the second configured information specific implementation be:Management platform determines the server of the deployment success The load-balanced server currently associated, the configuration file for the load-balanced server being stored in management platform is repaiied Change, i.e., increase the server in the configuration file corresponding to the server, the configuration file is sent to corresponding negative afterwards Carry in equalization server, change and be stored in the local configuration file of load-balanced server, so that the load-balanced server Continue to send business processing request to the server of the deployment success.
In the embodiment of the present invention, the management platform is it is determined that the deployment result is after deployment fails, to be sent to user Notification message;The notification message includes the Upgrade process daily record of the server that need to stop service.
Alternatively, the notification message can be in a manner of short message or mail.
Alternatively, because notification message includes the Upgrade process daily record of the server of needs stopping service;Therefore, user It can determine which load-balanced server walk deployment failure and dispose the reason for failing at, be easy to user management load equal Weigh server.
Above method flow is introduced in order to clearer, is carried in the embodiment of the present invention by taking the system architecture shown in Fig. 1 as an example A kind of method of specific server updating is supplied, as shown in Figure 3.In the embodiment, it is previously stored with management platform 101 negative Carry the configuration file A of equalization server 102:Include 103,104,105 with the corresponding server of load-balanced server 102.Such as Fig. 3 Shown, this method includes:
Step 301, management platform 101 determines that server 103 needs to upgrade;
Step 302, the load-balanced server that management platform 101 determines with server 103 currently associates is 102, described It is A that management platform 101, which changes configuration file A,1;Wherein, configuration file A1For:With the corresponding server bag of load-balanced server 102 Include 104,105;
Step 303, management platform 101 sends fresh information to load-balanced server 102, and the fresh information includes Configuration file A1
Step 304, load balancing service 102 is according to the configuration file A received1Renewal/replacement is stored in local match somebody with somebody Put file A;
Step 305, load balancing service 102 is sent completely renewal/replacement to management platform 101 and indicated;
Step 306, the management platform judges whether to receive completion renewal/replacement instruction;If so, then perform step 307;If being not received by completion renewal/replacement instruction in the first preset duration, step 308 is performed;
Step 307, the management platform sends Disposition Instructions to the server 103;
Step 308, whether the server that the management platform judges to need to stop service receiving business processing request, if It is then to perform step 309;If it is not, then perform step 310;
Step 309, the management platform stops the instruction of the server transmission pause upgrading of service to the needs;
Step 310, the management platform needs the server for stopping service sending upgrade command to described.
Step 311, the server 102 is upgraded after receiving Disposition Instructions;
Step 312, the server 102 sends updating result to management platform 101;
Step 313, the management platform 101 it is determined that it is described deployment result be deployment success after, by configuration file A1Repair It is changed to configuration file A;
Step 314, the management platform 101 sends the second configured information to the load-balanced server 102, and described the Two configured informations include configuration file A;
Step 315, load-balanced server 102 according to receive include configuration file A renewals/replacement be stored in it is local Configuration file A1
Step 316, the management platform 101 is it is determined that the deployment result is after deployment fails, to send and notify to user Message;The notification message includes the Upgrade process daily record of the server that need to stop service;
Alternatively, there is no sequencing between step 313 and step 316, exist in practical implementation, two steps One.
It can be seen from the above:In the embodiment of the present invention, because in the embodiment of the present invention, management platform is it is determined that need After the server for stopping service, determine and the load balancing service for needing the server for stopping service currently associating Device, the first configured information is sent to the load-balanced server, indicate that the load-balanced server stops stopping to the needs The server distribution service processing request only serviced.In this way, load-balanced server can be caused no longer to stop servicing to needs Server send business processing request, the service request is sent to by the load-balanced server can handle the business On the server of request, it is ensured that business processing request can be by timely processing and the service that will not stop because of a certain needs Device stops service, has influence on the processing of service request.
Based on identical technical concept, the embodiment of the present invention also provides a kind of device for controlling server disposition, the device Executable above method embodiment.Fig. 4, which is that the embodiments of the invention provide a kind of structure of the device of control server disposition, to be shown It is intended to, as shown in figure 4, the device 400 includes determining unit 401, transmitting element 402, alternatively, in addition to receiving unit 403 With processing unit 404.Wherein:
Determining unit, for determining that the server serviced need to be stopped;Determine that the server that need to stop service currently closing The load-balanced server of connection, the load-balanced server are used to ask to the processing of each server distribution service;Transmitting element, For sending the first configured information to the load balancing service, first configured information is used to indicate the load balancing clothes Business device stops handling request to the server distribution service that need to stop service.
Alternatively, described device also includes processing unit, for changing the configuration file of the load-balanced server, institute Stating configuration file includes the mapping relations between load-balanced server and server;The transmitting element, is used for:Born to described Carry balancing service and send update instruction, the update instruction includes amended configuration file, and the renewal refers to for indicating The load-balanced server updates the configuration file that the load balancing service is locally stored;The load-balanced server root Asked according to the configuration file being locally stored to the processing of each server distribution service.
Alternatively, the transmitting element, is additionally operable to:After the completion instruction that the load balancing service is sent is received, Instruction is affixed one's name to the server sending department that need to stop service, the Disposition Instructions are used to indicate the service that need to stop service Device is disposed.
Alternatively, in addition to receiving unit, it is used for:Receive the deployment result of the server that need to stop service;It is described Transmitting element, it is used for:It is determined that it is described deployment result be deployment success after, to the load-balanced server send second instruction Information;The server that second configured information is used to notify to need to stop servicing described in the load-balanced server is in normal Working condition.
Alternatively, the transmitting element, is additionally operable to:It is determined that the deployment result is after deployment fails, to be sent to user Notification message;The notification message includes the Upgrade process daily record of the server that need to stop service.
A kind of computer-readable recording medium is provided in the embodiment of the present invention, it is characterised in that described computer-readable Storage medium is stored with computer executable instructions, and the computer executable instructions are used for make the computer execution described Method.
A kind of computer equipment is provided in the embodiment of the present invention, it is characterised in that including:Memory, for storing journey Sequence instructs;Processor, for calling the programmed instruction stored in the memory, described side is performed according to the program of acquisition Method.
It can be seen from the above:In the embodiment of the present invention, because in the embodiment of the present invention, management platform is it is determined that need After the server for stopping service, determine and the load balancing service for needing the server for stopping service currently associating Device, the first configured information is sent to the load-balanced server, indicate that the load-balanced server stops stopping to the needs The server distribution service processing request only serviced.In this way, load-balanced server can be caused no longer to stop servicing to needs Server send business processing request, the service request is sent to by the load-balanced server can handle the business On the server of request, it is ensured that business processing request can be by timely processing and the service that will not stop because of a certain needs Device stops service, has influence on the processing of service request.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method or computer program product. Therefore, the present invention can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the present invention can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (12)

  1. A kind of 1. method for controlling server disposition, it is characterised in that including:
    Management platform determines that the server of service need to be stopped;
    The management platform determines the load-balanced server that the server that need to stop service currently associating, and the load is The server that weighs is used to ask to the processing of each server distribution service;
    The management platform sends the first configured information to the load balancing service, and first configured information is used to indicate institute Load-balanced server is stated to stop handling request to the server distribution service that need to stop service.
  2. 2. the method as described in claim 1, it is characterised in that the management platform sends first to the load balancing service Before configured information, in addition to:
    The management platform changes the configuration file of the load-balanced server, and the configuration file includes load balancing service Mapping relations between device and server;
    The management platform sends the first configured information to the load balancing service, including:
    The management platform sends update instruction to the load balancing service, and the update instruction includes amended configuration File, the update instruction are used to indicate that the load-balanced server updates the configuration that the load balancing service is locally stored File;The configuration file that the load-balanced server is locally stored according to is asked to the processing of each server distribution service.
  3. 3. method as claimed in claim 1 or 2, it is characterised in that also include:The management platform is receiving the load After the completion instruction that balancing service is sent, instruction is affixed one's name to the server sending department that need to stop service, the Disposition Instructions are used Disposed in the instruction server that need to stop service.
  4. 4. method as claimed in claim 3, it is characterised in that described to refer to the server sending department administration that stop service After order, including:
    The management platform receives the deployment result of the server that need to stop service;
    The management platform it is determined that it is described deployment result be deployment success after, to the load-balanced server send second refer to Show information;The server that second configured information is used to notify to need to stop servicing described in the load-balanced server is in just Normal working condition.
  5. 5. method as claimed in claim 4, it is characterised in that also include:The management platform is it is determined that the deployment result After failing for deployment, sent a notification message to user;The notification message includes the deployment of the server that need to stop service Process daily record.
  6. A kind of 6. device for controlling server disposition, it is characterised in that including:
    Determining unit, for determining that the server serviced need to be stopped;Determine what the server that need to stop service currently associating Load-balanced server, the load-balanced server are used to ask to the processing of each server distribution service;
    Transmitting element, for sending the first configured information to the load balancing service, first configured information is used to indicate The load-balanced server stops handling request to the server distribution service that need to stop service.
  7. 7. device as claimed in claim 6, it is characterised in that also including processing unit, for changing the load balancing clothes The configuration file of business device, the configuration file include the mapping relations between load-balanced server and server;
    The transmitting element, is used for:
    Send update instruction to the load balancing service, the update instruction includes amended configuration file, it is described more It is new to indicate for indicating that the load-balanced server updates the configuration file that the load balancing service is locally stored;It is described negative The configuration file that equalization server is locally stored according to is carried to ask to the processing of each server distribution service.
  8. 8. device as claimed in claims 6 or 7, it is characterised in that the transmitting element, be additionally operable to:It is described negative receiving After carrying the completion instruction that balancing service is sent, instruction, the Disposition Instructions are affixed one's name to the server sending department that need to stop service For indicating that the server that need to stop service being disposed.
  9. 9. device as claimed in claim 8, it is characterised in that also including receiving unit, be used for:Receiving described need to stop servicing Server deployment result;
    The transmitting element, is used for:It is determined that it is described deployment result be deployment success after, to the load-balanced server send Second configured information;Second configured information is used to notify to need to stop the server servicing described in the load-balanced server In normal operating conditions.
  10. 10. device as claimed in claim 9, it is characterised in that the transmitting element, be additionally operable to:It is determined that the deployment knot After fruit is deployment failure, sent a notification message to user;The notification message includes the liter of the server that need to stop service Level process daily record.
  11. 11. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has computer can Execute instruction, the computer executable instructions are used to make the computer perform claim require described in 1 to 5 any claim Method.
  12. A kind of 12. computer equipment, it is characterised in that including:
    Memory, instructed for storage program;
    Processor, for calling the programmed instruction stored in the memory, according to acquisition program perform as claim 1 to Method described in 5 any claims.
CN201710976140.6A 2017-10-19 2017-10-19 A kind of method and apparatus for controlling server disposition Pending CN107809473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710976140.6A CN107809473A (en) 2017-10-19 2017-10-19 A kind of method and apparatus for controlling server disposition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710976140.6A CN107809473A (en) 2017-10-19 2017-10-19 A kind of method and apparatus for controlling server disposition

Publications (1)

Publication Number Publication Date
CN107809473A true CN107809473A (en) 2018-03-16

Family

ID=61585083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710976140.6A Pending CN107809473A (en) 2017-10-19 2017-10-19 A kind of method and apparatus for controlling server disposition

Country Status (1)

Country Link
CN (1) CN107809473A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717358A (en) * 2018-05-25 2018-10-30 网宿科技股份有限公司 Service type software configuration management method and apparatus
CN109151519A (en) * 2018-09-03 2019-01-04 视联动力信息技术股份有限公司 A kind of configuration distribution method and system based on view networking
CN110083443A (en) * 2019-03-18 2019-08-02 平安普惠企业管理有限公司 A kind of system testing exception notification method and system
CN110213114A (en) * 2019-06-21 2019-09-06 深圳前海微众银行股份有限公司 Network service method, device, equipment and the readable storage medium storing program for executing of decentralization
CN110389831A (en) * 2019-06-14 2019-10-29 网宿科技股份有限公司 Safeguard the method and server monitoring equipment of load balancing configuration
CN112055086A (en) * 2020-09-10 2020-12-08 郑州时空隧道信息技术有限公司 IIS site, Windows service publishing and managing method, operation and maintenance system and platform
CN115134227A (en) * 2022-06-17 2022-09-30 京东科技信息技术有限公司 Method and apparatus for maintaining server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070130341A1 (en) * 2005-12-06 2007-06-07 Cisco Technology, Inc. System for power savings in server farms
CN103095845A (en) * 2013-01-31 2013-05-08 汉柏科技有限公司 Method and system achieving distribution type communication
CN103118142A (en) * 2013-03-14 2013-05-22 曙光信息产业(北京)有限公司 Load balancing method and system
CN103812945A (en) * 2014-02-26 2014-05-21 可牛网络技术(北京)有限公司 Method for upgrading data and central server
CN105430095A (en) * 2015-12-22 2016-03-23 青岛海尔智能家电科技有限公司 Network service providing method, equipment and system for distributed system
CN106034137A (en) * 2015-03-09 2016-10-19 阿里巴巴集团控股有限公司 Intelligent scheduling method for distributed system, and distributed service system
CN106101175A (en) * 2016-05-25 2016-11-09 腾讯科技(深圳)有限公司 Apparatus management/control methods, devices and systems
CN106980565A (en) * 2017-03-17 2017-07-25 北京潘达互娱科技有限公司 Escalation process monitoring method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070130341A1 (en) * 2005-12-06 2007-06-07 Cisco Technology, Inc. System for power savings in server farms
CN103095845A (en) * 2013-01-31 2013-05-08 汉柏科技有限公司 Method and system achieving distribution type communication
CN103118142A (en) * 2013-03-14 2013-05-22 曙光信息产业(北京)有限公司 Load balancing method and system
CN103812945A (en) * 2014-02-26 2014-05-21 可牛网络技术(北京)有限公司 Method for upgrading data and central server
CN106034137A (en) * 2015-03-09 2016-10-19 阿里巴巴集团控股有限公司 Intelligent scheduling method for distributed system, and distributed service system
CN105430095A (en) * 2015-12-22 2016-03-23 青岛海尔智能家电科技有限公司 Network service providing method, equipment and system for distributed system
CN106101175A (en) * 2016-05-25 2016-11-09 腾讯科技(深圳)有限公司 Apparatus management/control methods, devices and systems
CN106980565A (en) * 2017-03-17 2017-07-25 北京潘达互娱科技有限公司 Escalation process monitoring method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717358A (en) * 2018-05-25 2018-10-30 网宿科技股份有限公司 Service type software configuration management method and apparatus
CN109151519A (en) * 2018-09-03 2019-01-04 视联动力信息技术股份有限公司 A kind of configuration distribution method and system based on view networking
CN110083443A (en) * 2019-03-18 2019-08-02 平安普惠企业管理有限公司 A kind of system testing exception notification method and system
CN110389831A (en) * 2019-06-14 2019-10-29 网宿科技股份有限公司 Safeguard the method and server monitoring equipment of load balancing configuration
CN110389831B (en) * 2019-06-14 2021-11-02 网宿科技股份有限公司 Method for maintaining load balancing configuration and server supervision equipment
CN110213114A (en) * 2019-06-21 2019-09-06 深圳前海微众银行股份有限公司 Network service method, device, equipment and the readable storage medium storing program for executing of decentralization
CN110213114B (en) * 2019-06-21 2024-04-09 深圳前海微众银行股份有限公司 Decentralised network service method, device, equipment and readable storage medium
CN112055086A (en) * 2020-09-10 2020-12-08 郑州时空隧道信息技术有限公司 IIS site, Windows service publishing and managing method, operation and maintenance system and platform
CN112055086B (en) * 2020-09-10 2023-05-16 郑州时空隧道信息技术有限公司 IIS site, release and management method of Windows service, operation and maintenance system and platform
CN115134227A (en) * 2022-06-17 2022-09-30 京东科技信息技术有限公司 Method and apparatus for maintaining server

Similar Documents

Publication Publication Date Title
CN107809473A (en) A kind of method and apparatus for controlling server disposition
CN105357038B (en) Monitor the method and system of cluster virtual machine
US8166458B2 (en) Method and system for automated distributed software testing
CN108492003B (en) System for distributing optimized process automation processes
CN105051698B (en) Method and arrangement for fault management in infrastructure, that is, service cloud
CN101266563B (en) Failsafe computer support assistant
CN104750554B (en) The method and apparatus of Data Migration between a kind of virtual machine
CN107016480A (en) Method for scheduling task, apparatus and system
CN106533714A (en) Method and device for re-instantiating virtual network function
CN107534570A (en) Virtualize network function monitoring
CN107656749A (en) A kind of device version management-control method and device
US9104463B2 (en) Automated and optimal deactivation of service to enable effective resource reusability
CN109376011A (en) The method and apparatus of resource are managed in virtualization system
CN108347339A (en) A kind of service restoration method and device
US10484300B2 (en) Admission control based on the end-to-end availability
CN110610340A (en) Spare part management method, device, equipment and computer readable storage medium
JP2018055481A (en) Log monitoring apparatus, log monitoring method, and log monitoring program
JPH0744392A (en) Software delivery service system
US9430306B2 (en) Anticipatory protection of critical jobs in a computing system
CN104035821B (en) management system and method
TWI734348B (en) Computer implement method, system and program product for increasing processing capacity of virtual machines for an abnormal event
JP2020017053A (en) Environment construction support system and environment construction support method
CN105094947B (en) The quota management method and system of a kind of virtual computing resource
WO2019066690A1 (en) Methods and arrangements for automated improving of quality of service of a data center
CN109857721A (en) It will be single by GAIA system migration to the method for OSS system on way

Legal Events

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

Application publication date: 20180316

RJ01 Rejection of invention patent application after publication