CN106487542A - A kind of utilization configuration center manages the method and system of dynamic script - Google Patents
A kind of utilization configuration center manages the method and system of dynamic script Download PDFInfo
- Publication number
- CN106487542A CN106487542A CN201510529072.XA CN201510529072A CN106487542A CN 106487542 A CN106487542 A CN 106487542A CN 201510529072 A CN201510529072 A CN 201510529072A CN 106487542 A CN106487542 A CN 106487542A
- Authority
- CN
- China
- Prior art keywords
- configuration
- script
- proxy server
- configuration script
- renewal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/046—Network management architectures or arrangements comprising network management agents or mobile agents therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of method that utilization configuration center manages dynamic script, including:Selection proxy server to be updated;Select to update configuration script from this proxy server corresponding configuration script list of the database purchase of described configuration center association;The described configuration script that updates is sent to the proxy server of selection so that this proxy server loads this renewal configuration script by described configuration center.Technology according to the present invention scheme, can by the way of remotely control efficiently management proxy system restart, stop, the operation such as thermal starting;The configuration script information of multi version, allows agency plant can fast and efficiently carry out the switching of configuration script, meets different scenes, the system operation under varying environment.Meanwhile, and it can be avoided that the problems such as maloperation present in artificial operation, modification mistake, operation have retardance.
Description
Technical field
The present invention relates to technical field of the computer network is and in particular to a kind of utilize configuration center pipe
The method and system of reason dynamic script.
Background technology
Flourishing with network, large-scale application system is all to be disposed using distributed way.
Each application system is multiple instances deployment, that is, be deployed on many servers, each service
Device provides identical service.Proxy server all can be set before these servers as request
Entrance.Each request can be transmitted to application server below by proxy server.Deployment
Agency plant on proxy server plays vital effect.Road on agency plant
May need constantly dynamically to change by information such as configurations, and agency plant can not be cut off to avoid shadow
Ring agency service.
Now, the configuration script of agency plant is all to need manager's manual modification, passes through afterwards
It is manually entered agency plant order notification agent system and reload configuration script, as shown in Figure 1.
Prior art is artificial operative configuration file information, there is maloperation, modification mistake
Risk, and this operation be usually the operation maintenance personnel of server operating, therefore this having
During modification demand, operation has retardance, the using effect of impact system.
Content of the invention
In view of this, the present invention is directed to defect present in existing operating process, is controlled using long-range
The method of system realizes the remotely control of agency plant.At the same time it can also version is carried out to configuration script
This management, can be switched to any version, the execution of dynamic management proxy system at any time.
For achieving the above object, according to an aspect of the invention, it is provided a kind of utilize configuration
The method of centre management dynamic script, including:Selection proxy server to be updated;From described
Select in this proxy server corresponding configuration script list of database purchase of configuration center association
Select renewal configuration script;Described renewal configuration script is sent to selection by described configuration center
Proxy server is so that this proxy server loads this renewal configuration script.
Alternatively, described selection renewal is joined script and is included:Change working as of described proxy server
Front configuration script, stores the corresponding configuration script of this proxy server the configuration script of modification
In list, and determine the configuration script of this modification as described renewal configuration script.
Alternatively, the described renewal configuration script issued passes through guarding of described proxy server
Thread receives, and described daemon thread execution following steps:Receive described configuration center to send
Described renewal configuration script;On this proxy server be currently configured script replace with described
Update configuration script;Instruction proxy server loads described renewal configuration script so that described generation
Reason server loads described renewal configuration script.
Alternatively, described configuration center is connected to by IP and PORT of described proxy server
The daemon thread of this proxy server.
According to another aspect of the present invention, there is provided a kind of system of management dynamic script, bag
Include:One or more application servers;One or more proxy servers, described agency service
Device is transmitted to corresponding application server user's request;Configuration center, described configuration center with
Described proxy server communication connects;Wherein,
Described configuration center is associated with data base, and described data base preservation management person is directed to agency
The configuration script of server configures, and the renewal configuration that described configuration center selects manager
Script is sent to corresponding proxy server so that corresponding proxy server loads this renewal configuration foot
This.
Technology according to the present invention scheme, can efficiently manage generation by the way of remotely control
The operations such as reason system reboot, stopping, thermal starting;The configuration script information of multi version, allows agency
System can fast and efficiently carry out the switching of configuration script, meets different scenes, different ring
System operation under border.Meanwhile, and it can be avoided that maloperation, modification present in artificial operation
The problems such as mistake, operation have retardance.
Brief description
Accompanying drawing is used for more fully understanding the present invention, does not constitute inappropriate limitation of the present invention.Wherein:
Fig. 1 is the flow chart of manual modification configuration script in prior art;
Fig. 2 is the system composition of the present invention and the schematic diagram of application flow;
Fig. 3 is the flow chart of the method managing dynamic script using configuration center;
Fig. 4 is the flow chart that daemon thread receives configuration script;
Fig. 5 is the flow chart of the configuration script modification of the example one of the present invention;
Fig. 6 is the flow chart of the configuration script rollback of the example two of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, the one exemplary embodiment of the present invention is explained, including this
The various details of bright embodiment are to help understanding it should they are thought only exemplary.
Therefore, it will be appreciated by those of ordinary skill in the art that, the embodiments described herein can be done
Go out various changes and modifications, without departing from scope and spirit of the present invention.Equally, in order to clear
Chu, with concisely, eliminates the description to known function and structure in description below.
Fig. 2 illustrates system composition and the application flow of the present invention.
The system of the present invention includes application server and the application service of multiple application example compositions
The corresponding proxy server of device and for administration agent server the configuration of configuration script in
The heart, wherein data base are associated with described configuration center, storage agent server note in this data base
Record table and configuration script list, described configuration script list includes related to each proxy server
The configuration script of connection.
Common user sends a request to proxy server, and then proxy server forwards this request
To corresponding application example.
Management staff can be managed to proxy server by configuration center system.Generally,
Manager is pre-configured with the configuration script of each proxy server, and is saved in joining in data base
Put in script listing.In follow-up operation, manager is directed to the modification of particular agent server and joins
Put script, and select some configuration script to be issued.
Configuration script proxy server being selected according to manager, the long-range transmission of configuration center should
Configuration script gives the daemon thread on corresponding proxy server.
After the daemon thread of this proxy server receives configuration script, this configuration script is protected
It is stored on this proxy server, then this daemon thread triggers the loading configuration of this proxy server
Script command, makes this proxy server load this configuration script, thus completing dynamically to change agency
The process of system.
The daemon thread of proxy server is responsible for receiving configuration script, the notice that configuration center sends
Proxy server loads new configuration script etc..
The idiographic flow that daemon thread receives configuration script is as shown in Figure 4:
The daemon thread of proxy server receives the configuration script that configuration center is sent;
The script that is currently configured on this proxy server is replaced with received configuration script, and
And store received configuration script;
Instruction proxy server loads configuration script so that proxy server adds according to described instruction
Carry configuration script, thus proxy server forwards the request of user according to new configuration script.
Example one:According to embodiments of the invention, the flow process of configuration script modification is as shown in Figure 5:
Manager selects proxy server to be changed;
The script that is currently configured of this proxy server is made an amendment;
The configuration script changed is saved in the configuration script of the data base that configuration center is associated
In list;
Amended configuration script is published to the proxy server of selection, that is, configuration center passes through
IP and PORT of this proxy server is connected to the daemon thread of this proxy server, and should
Amended configuration script is sent to this daemon thread.
Manager can make an amendment to the configuration script of a proxy server, and changes every time
Produce a redaction.All of before have recorded configuration script in the data base of configuration center
Revision.So manager can carry out old version rollback to the configuration of proxy server,
Any version before rolling back to.
Example two:According to embodiments of the invention, the flow process of configuration script rollback is as shown in Figure 6:
Manager selects to want the proxy server of rollback;
The corresponding configuration script list of this proxy server is inquired about from data base;
Select configuration script to be rolled back in this corresponding configuration script list;
Guarding on selected proxy server is sent to this configuration script by configuration center
Thread.
Above-mentioned specific embodiment, does not constitute limiting the scope of the invention.This area
Technical staff, it is to be understood that depending on design requirement and other factors, can occur various
The modification of various kinds, combination, sub-portfolio and replacement.Any within the spirit and principles in the present invention
Modification, equivalent and improvement of being made etc., should be included within the scope of the present invention.
Claims (5)
1. a kind of utilization configuration center manages the method for dynamic script it is characterised in that including:
Selection proxy server to be updated;
This proxy server corresponding configuration foot from the database purchase of described configuration center association
Select in this list to update configuration script;
The described configuration script that updates is sent to the proxy server of selection by described configuration center,
This proxy server is made to load this renewal configuration script.
2. method according to claim 1 is it is characterised in that described selection updates and joins
Script includes:That changes described proxy server is currently configured script, the configuration script of modification
Store in the corresponding configuration script list of this proxy server, and determine the configuration foot of this modification
This is as described renewal configuration script.
3. method according to claim 1 is it is characterised in that the described renewal issued
Configuration script is received by the daemon thread of described proxy server, and described daemon thread is held
Row following steps:
Receive the described renewal configuration script that described configuration center is sent;
The script that is currently configured on this proxy server is replaced with described renewal configuration script;
Instruction proxy server loads described renewal configuration script so that described proxy server adds
Carry described renewal configuration script.
4. method according to claim 1 is it is characterised in that described configuration center passes through
IP and PORT of described proxy server is connected to the daemon thread of this proxy server.
5. a kind of system of management dynamic script is it is characterised in that include:
One or more application servers;
One or more proxy servers, described proxy server is transmitted to user's request accordingly
Application server;
Configuration center, described configuration center is connected with the communication of described proxy server;Wherein,
Described configuration center is associated with data base, and described data base preservation management person is directed to agency
The configuration script of server configures, and the renewal configuration that described configuration center selects manager
Script is sent to corresponding proxy server so that corresponding proxy server loads this renewal configuration foot
This.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510529072.XA CN106487542A (en) | 2015-08-26 | 2015-08-26 | A kind of utilization configuration center manages the method and system of dynamic script |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510529072.XA CN106487542A (en) | 2015-08-26 | 2015-08-26 | A kind of utilization configuration center manages the method and system of dynamic script |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106487542A true CN106487542A (en) | 2017-03-08 |
Family
ID=58234056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510529072.XA Pending CN106487542A (en) | 2015-08-26 | 2015-08-26 | A kind of utilization configuration center manages the method and system of dynamic script |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106487542A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107544813A (en) * | 2017-09-15 | 2018-01-05 | 武汉斗鱼网络科技有限公司 | A kind of switching method and system of static library configuration |
CN110502266A (en) * | 2019-08-26 | 2019-11-26 | 中电九天智能科技有限公司 | A kind of seamless update method of CIM server cluster |
CN112351104A (en) * | 2020-11-11 | 2021-02-09 | 光大兴陇信托有限责任公司 | Proxy server function extension method and system based on script engine |
US20230224212A1 (en) * | 2022-01-12 | 2023-07-13 | Red Hat, Inc. | Automated Deployment of Control Nodes at Remote Locations |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060007944A1 (en) * | 2004-06-10 | 2006-01-12 | Yassin Movassaghi | Managing network device configuration using versioning and partitioning |
CN1898642A (en) * | 2003-12-23 | 2007-01-17 | 英特尔公司 | Method and apparatus for remote modifcation of system configuration |
CN101079763A (en) * | 2006-06-12 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A remote configuration and management system and method of servers |
CN101179429A (en) * | 2007-12-03 | 2008-05-14 | 中兴通讯股份有限公司 | Remote exhibition and real-time edition method of configuration file |
CN101552693A (en) * | 2009-05-13 | 2009-10-07 | 山东中创软件商用中间件股份有限公司 | Remote configuration technology |
CN101631105A (en) * | 2008-07-18 | 2010-01-20 | 华为技术有限公司 | Method, device and system for configuration application |
CN102843252A (en) * | 2011-06-23 | 2012-12-26 | 中兴通讯股份有限公司 | Method and device for updating network element through network management |
CN103152199A (en) * | 2013-03-04 | 2013-06-12 | 上海森松压力容器有限公司 | Method and system for remote batch configuration of network devices |
CN103516538A (en) * | 2012-06-28 | 2014-01-15 | 中兴通讯股份有限公司 | Method and device for uniform configuration of carrier-class clustered applications |
CN104023086A (en) * | 2014-06-25 | 2014-09-03 | 北京奇艺世纪科技有限公司 | WEB cluster code updating method, device and system |
-
2015
- 2015-08-26 CN CN201510529072.XA patent/CN106487542A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1898642A (en) * | 2003-12-23 | 2007-01-17 | 英特尔公司 | Method and apparatus for remote modifcation of system configuration |
US20060007944A1 (en) * | 2004-06-10 | 2006-01-12 | Yassin Movassaghi | Managing network device configuration using versioning and partitioning |
CN101079763A (en) * | 2006-06-12 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A remote configuration and management system and method of servers |
CN101179429A (en) * | 2007-12-03 | 2008-05-14 | 中兴通讯股份有限公司 | Remote exhibition and real-time edition method of configuration file |
CN101631105A (en) * | 2008-07-18 | 2010-01-20 | 华为技术有限公司 | Method, device and system for configuration application |
CN101552693A (en) * | 2009-05-13 | 2009-10-07 | 山东中创软件商用中间件股份有限公司 | Remote configuration technology |
CN102843252A (en) * | 2011-06-23 | 2012-12-26 | 中兴通讯股份有限公司 | Method and device for updating network element through network management |
CN103516538A (en) * | 2012-06-28 | 2014-01-15 | 中兴通讯股份有限公司 | Method and device for uniform configuration of carrier-class clustered applications |
CN103152199A (en) * | 2013-03-04 | 2013-06-12 | 上海森松压力容器有限公司 | Method and system for remote batch configuration of network devices |
CN104023086A (en) * | 2014-06-25 | 2014-09-03 | 北京奇艺世纪科技有限公司 | WEB cluster code updating method, device and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107544813A (en) * | 2017-09-15 | 2018-01-05 | 武汉斗鱼网络科技有限公司 | A kind of switching method and system of static library configuration |
CN107544813B (en) * | 2017-09-15 | 2020-10-16 | 武汉斗鱼网络科技有限公司 | Switching method and system for static library configuration |
CN110502266A (en) * | 2019-08-26 | 2019-11-26 | 中电九天智能科技有限公司 | A kind of seamless update method of CIM server cluster |
CN112351104A (en) * | 2020-11-11 | 2021-02-09 | 光大兴陇信托有限责任公司 | Proxy server function extension method and system based on script engine |
CN112351104B (en) * | 2020-11-11 | 2021-09-10 | 光大兴陇信托有限责任公司 | Proxy server function extension method and system based on script engine |
US20230224212A1 (en) * | 2022-01-12 | 2023-07-13 | Red Hat, Inc. | Automated Deployment of Control Nodes at Remote Locations |
US11729051B2 (en) * | 2022-01-12 | 2023-08-15 | Red Hat, Inc. | Automated deployment of control nodes at remote locations |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106487542A (en) | A kind of utilization configuration center manages the method and system of dynamic script | |
CN101300780B (en) | System and method for providing network service | |
CN102984012B (en) | Management method and system for service resources | |
CN105827446A (en) | Intelligent traffic API gateway and intelligent traffic service system | |
CN102238093A (en) | Service interruption prevention method and device | |
CN102263667B (en) | Network management system and network management processing method | |
CN105681060A (en) | Virtualization network function management upgrading method and apparatus and virtualization network function management server | |
CN105592127B (en) | Application management system for cloud computing environment | |
CN105630589A (en) | Distributed process scheduling system and process scheduling and execution method | |
CN102075985B (en) | The version upgrading method of RTR veneer and device | |
CN103546315B (en) | The standby system of a kind of Dynamic Host Configuration Protocol server, method and apparatus | |
CN101178670A (en) | Apparatus upgrade method | |
CN104283774A (en) | AC pool implementation method and device | |
CN100512222C (en) | Point-to-point fluid-medium telecommunication system and method for allocating supernode resources | |
CN103441987A (en) | Method and device for managing dual-computer firewall system | |
CN101841574B (en) | Automatic IP address assignment and management method in network video monitoring system | |
CN100563263C (en) | In network storage service, realize the method and system of system high-available | |
CN105242885A (en) | Network storage change method and device | |
JP5814753B2 (en) | Power system monitoring and control system | |
CN113055723A (en) | Version debugging and upgrading method, device, equipment and storage medium | |
CN104660953A (en) | Network image monitoring system and automatic distribution method thereof | |
CN105208435B (en) | Data processing method and network element equipment in IPTV system | |
CN100583097C (en) | Method, system and equipment for managing patch file | |
CN108089917A (en) | A kind of application process control method and device | |
CN106126220A (en) | A kind of data managing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170308 |
|
RJ01 | Rejection of invention patent application after publication |