CN107046584B - DNS service deployment method and system for overall cooperative scheduling - Google Patents

DNS service deployment method and system for overall cooperative scheduling Download PDF

Info

Publication number
CN107046584B
CN107046584B CN201710153456.5A CN201710153456A CN107046584B CN 107046584 B CN107046584 B CN 107046584B CN 201710153456 A CN201710153456 A CN 201710153456A CN 107046584 B CN107046584 B CN 107046584B
Authority
CN
China
Prior art keywords
service
analysis
adjustment
deployment
offline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710153456.5A
Other languages
Chinese (zh)
Other versions
CN107046584A (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.)
China Internet Network Information Center
Original Assignee
China Internet Network Information Center
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 China Internet Network Information Center filed Critical China Internet Network Information Center
Priority to CN201710153456.5A priority Critical patent/CN107046584B/en
Publication of CN107046584A publication Critical patent/CN107046584A/en
Application granted granted Critical
Publication of CN107046584B publication Critical patent/CN107046584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a DNS service deployment method and system based on integral cooperative scheduling. The method maintains the service borne by the whole analysis cluster, the resource allocation and the role and incidence relation of all servers; then, performing correlation, priority, dependency and exclusion analysis on the adjustment of the service information, judging the feasibility of the service adjustment, and decomposing the feasibility into reliable operation steps and operation time sequences; and then, specific operation steps are issued to the analysis server cluster according to the operation time sequence, operation result verification is carried out, and processing such as leaving, suspending or returning is carried out on error operation. The system comprises a service information maintenance and adjustment unit, a service adjustment analysis and decomposition unit, a service deployment scheduling processing unit, a configuration management and version control unit and an analysis server cluster. The invention can realize the automatic execution of DNS cluster service deployment and service change, reduce the risk of service change and ensure the convenient, ordered and correct execution of service change operation.

Description

DNS service deployment method and system for overall cooperative scheduling
Technical Field
The invention belongs to an automatic deployment technology for a distributed analysis system in the field of computer networks, and particularly relates to a DNS service deployment method and system for overall cooperative scheduling.
Background
The resolution system is an important infrastructure of the internet and is mainly responsible for the conversion between domain names and IP addresses. At present, a relatively important distributed analysis system deploys tens to hundreds of analysis nodes in multiple places to ensure the safety and stability of analysis services.
The existing service deployment technology of the analysis node mainly depends on issuing software and configuration to an analysis server and implements deployment by completing a specified operation command, and the following problems mainly exist:
a) the method is characterized in that a single type of analysis service is deployed for one or more analysis nodes, and the consideration of system cooperative scheduling under the scene that an analysis cluster provides multiple services (such as top-level domain service, secondary authority service, recursive service and the like) is lacked;
b) only the service deployment operation of local nodes is considered, and the consideration of change risks and optimization schemes in the process of simultaneously changing the services by a plurality of analysis servers is lacked.
Disclosure of Invention
The invention aims to provide a DNS service deployment system and a DNS service deployment method based on integral cooperative scheduling. The system judges the change feasibility aiming at the overall adjustment of the distributed analysis service, converts the change feasibility into specific operation steps and operation time sequences, drives each step of operation to be issued to a related node server according to the time sequences, carries out correctness verification on each step of operation and carries out leaving, suspending or backspacing on failed operation, and ensures the convenient, ordered and correct execution of the service change operation.
In order to achieve the purpose, the technical scheme of the invention is as follows:
an overall cooperative scheduling DNS service deployment method comprises the following steps:
1) maintaining the service and resource allocation carried by the whole analysis server cluster and the roles and incidence relations of all the servers;
2) analyzing the adjustment of the service information, judging the feasibility of the service adjustment, and decomposing the feasibility into reliable operation steps and operation time sequences;
3) and issuing the specific operation steps to the analysis server cluster according to the operation time sequence, checking the result of each operation step, continuing to execute if the check is correct, and performing corresponding processing if the check is wrong.
Furthermore, the software package and the configuration information required by service deployment are maintained, and each analysis server obtains the software package of the latest version for deployment and obtains the configuration template of the latest version for service configuration in the process of executing service deployment.
Further, the adjustment of the service information in step 2) is analyzed, including association, precedence, dependency and exclusion analysis.
Further, the checking error in step 3) is processed correspondingly, including legacy, suspended or rollback processing.
Further, the operation sequence is as follows: a) stopping the service to be offline; b) archiving a log; c) deploying the adjusted service; d) and providing the adjusted service to the outside.
An overall co-scheduled DNS service deployment system, comprising: the system comprises a service information maintenance and adjustment unit, a service adjustment analysis and decomposition unit, a service deployment scheduling processing unit, a configuration management and version control unit and an analysis server cluster; the service information maintenance and adjustment unit is used for maintaining the service and resource allocation borne by the whole analysis server cluster and the role and association relation of all the servers; the service adjustment analysis and decomposition unit is used for analyzing the adjustment of the service information (including association, priority, dependence and exclusion analysis), judging the feasibility of the service adjustment and decomposing the feasibility into reliable operation steps and operation time sequences; the service deployment scheduling processing unit is used for issuing specific operation steps to the analysis server cluster according to the operation time sequence, checking the result of each operation step, if the check is correct, continuing to execute the operation, and if the check is wrong, performing corresponding processing (including leaving, suspending or returning and the like); the configuration management and version control unit is used for maintaining software packages and configuration information required by service deployment; the analysis server cluster is used for providing analysis service and implementing service change.
According to the scheme, the service information maintenance and adjustment unit is used for changing and adjusting each service resource, the service adjustment analysis and decomposition unit is used for performing association, priority, dependency and rejection analysis on service changes, judging the change feasibility and generating an operation time sequence, the service deployment scheduling processing unit is used for issuing operation steps to the corresponding analysis server in the cluster according to the time sequence, checking results of each operation step and performing continuation, leaving, suspension and rollback processing, and therefore the convenient, ordered and correct execution of the analysis cluster service adjustment is guaranteed.
The key points of the invention are as follows:
a) triggering automatic generation and scheduling execution of service change operation by adjusting the integral service information of the cluster;
b) judging feasibility and generating specific operation steps and operation time sequences by analyzing the service adjustment information;
c) the correct and orderly execution of the operation is ensured by carrying out result verification on each step of operation and carrying out leave-on, pause or rollback processing on a verification error;
compared with the prior art, the invention has the following beneficial effects:
1) generating a specific operation step through analysis of the service adjustment information, triggering and completing service change and service deployment, and realizing automatic execution of DNS cluster service deployment and service change;
2) analyzing the association, the priority, the dependence, the exclusion and the like of specific service change operation, judging the change feasibility, generating an operation time sequence and optimizing a change operation flow;
3) and triggering each step of operation, verifying and analyzing results, and carrying out legacy, pause or rollback processing on failed operations, so that the service change risk is reduced, and the ordered execution of the change operations is ensured.
Drawings
FIG. 1 is a block diagram of an overall co-scheduled DNS service deployment system, according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an overall co-scheduled DNS service deployment system, according to an embodiment of the present invention;
fig. 3 is a flowchart of an overall cooperative scheduling DNS service deployment method according to an embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following specific examples and the accompanying drawings.
The invention provides an overall cooperative scheduling DNS service deployment system. Fig. 1 is a block diagram of an overall coordinated DNS service deployment system according to an embodiment of the present invention. Fig. 2 is a schematic diagram of an overall coordinated deployment system for DNS services according to an embodiment of the present invention.
As shown in fig. 1 and 2, the overall cooperative scheduling DNS service deployment system may include: the system comprises a service information maintenance and adjustment unit 10, a service adjustment analysis and decomposition unit 20, a service deployment scheduling processing unit 30, a configuration management and version control unit 40 and an analysis server cluster 50.
Specifically, the service information maintenance and adjustment unit 10 may be configured to maintain the services and resource allocation carried by the entire parsing cluster and the roles and association relationships of all servers. More specifically, service resource allocation can be performed for different resolution services by the service information maintenance and adjustment unit 10. For example, M servers may be allocated from the resolution node a to the secondary authoritative service according to the service requirement. The roles of the servers can be divided into several categories, namely, the servers bearing different services, the servers bearing the same service are divided into a main part and an auxiliary part, and the servers which do not provide services externally and are used for supporting functions such as log analysis and the like are also arranged.
A service adjustment analysis and decomposition unit 20, configured to perform association, precedence, dependency, and exclusion analysis on the adjustment of the service information, and decompose the requirement into reliable operation steps and operation timing sequences. More specifically, the service adjustment may be subjected to association analysis to determine whether the adjustment may affect the availability of a certain service, and if the operation is feasible, the requirement may be decomposed and the dependency relationship between the operations may be determined to generate the operation timing. For example, the adjustment of the second-level authoritative service is analyzed, the deployment of the second-level authoritative service depends on the top-level domain service currently provided by the M servers which are offline, and the analysis that the availability of the top-level domain overall service is not influenced by the M servers which are offline is carried out; in addition, the service adjustment is decomposed and analyzed, the offline top-level domain service is prior to the deployment of the second-level authority service, and the log is filed after the external service is stopped before the service is offline. Therefore, the operation sequence is generated: 1) stopping top-level domain service; 2) archiving a log; 3) deploying a second-level authoritative service; 4) and providing a secondary authoritative service for the outside. The exclusion analysis means that if the service availability is influenced by the M servers which are off-line at the same time, the off-line can be carried out in batches, but the off-line tasks cannot be executed at the same time.
The service deployment scheduling processing unit 30 is configured to issue specific operation steps to the analysis server cluster 50 according to an operation timing sequence, perform operation result verification, and perform processing such as leaving, suspending, or returning on an error operation. For example, the operation is issued to the M servers according to the time sequence, each step of operation is verified, if the verification of each server has errors, the leaving is carried out, the leaving refers to the fact that specific error information is reported, but the execution of the subsequent tasks is not influenced; if the plurality of servers are checked to have errors, executing pause processing; and if the adjustment has a bug, executing rollback processing, wherein the rollback refers to the service deployment state before operation.
The configuration management and version control unit 40 is configured to maintain the software package and the configuration template required by the service deployment, and more specifically, each analysis server obtains the software package of the latest version from the configuration management and version control unit 40 for deployment and obtains the configuration template of the latest version for service configuration in the service deployment process.
And the analysis server cluster 50 is configured to provide an analysis service to the outside and implement service change under the control of the service deployment scheduling processing unit 30.
Fig. 3 is a flowchart of an overall cooperative scheduling DNS service deployment method according to an embodiment of the present invention. As shown in fig. 3, the overall coordinated DNS service deployment method may include:
s01, the service change requirement of the service information maintenance and adjustment unit 10 is analyzed by the service adjustment analysis and decomposition unit 20 to determine whether the change operation feasibility affects the external service availability;
s02, the service adjustment analysis and decomposition unit 20 analyzes the service change operation in association, precedence, dependency and exclusion, and decomposes the service change into reliable operation steps and operation sequences;
s03, the service deployment scheduling processing unit 30 issues the specific operation steps to the corresponding parsing servers according to the operation timing sequence, checks the operation result, and performs leaving, suspending, or rollback on the error operation.
The specific steps of the scheme of the invention also comprise the following deformation modes:
1) the configuration management and version control unit 40 generates a software package or a configuration template of a new version, and the service information maintenance and adjustment unit 10 triggers the software version or configuration upgrade of the resolution server cluster 50. The service adjustment analysis and decomposition unit 20 analyzes and decomposes the upgrade task, and upgrades the application software of the server in batches through the service deployment scheduling processing unit 30.
2) The analysis server cluster 50 adds a new server, the service information maintenance and adjustment unit 10 configures a service role for the newly added server, the service adjustment analysis and decomposition unit 20 analyzes the task, and triggers the service deployment scheduling processing unit 30 to perform service deployment on the new server.
The above embodiments are only intended to illustrate the technical solution of the present invention and not to limit the same, and a person skilled in the art can modify the technical solution of the present invention or substitute the same without departing from the spirit and scope of the present invention, and the scope of the present invention should be determined by the claims.

Claims (6)

1. An overall cooperative scheduling DNS service deployment method is characterized by comprising the following steps:
1) maintaining the service and resource allocation carried by the whole analysis server cluster and the roles and incidence relations of all the servers;
2) analyzing the adjustment of the service information, including correlation, priority, dependence and exclusion analysis, judging the feasibility of the service adjustment, and decomposing the feasibility into reliable operation steps and operation time sequences; the correlation analysis is to judge whether the adjustment of the service information will affect the availability of a certain service; the dependency analysis is to judge the dependency relationship among the operations and generate an operation time sequence; the priority analysis means that the offline top-level domain service is prior to the deployment of the second-level authority service, and the log is filed after the external service is stopped before the service is offline; the exclusive analysis means that if a plurality of servers are offline at the same time and the service availability is influenced, the servers are offline in batches, but the offline tasks are not executed at the same time; the operation time sequence is as follows: a) stopping the service to be offline; b) archiving a log; c) deploying the adjusted service; d) providing the adjusted service to the outside;
3) issuing specific operation steps to the analysis server cluster according to the operation time sequence, checking the result of each operation step, continuing to execute if the check is correct, and performing corresponding processing including leaving, suspending or backspacing processing if the check is wrong, so as to ensure the convenient, ordered and correct execution of the service change operation; the leaving-behind is that a specific error message is reported, but the execution of the subsequent task is not influenced.
2. The method of claim 1, wherein: and maintaining the software package and the configuration information required by service deployment, and acquiring the software package of the latest version for deployment and acquiring the configuration template of the latest version for service configuration by each analysis server in the process of executing service deployment.
3. A DNS service deployment system of integral cooperative scheduling is characterized by comprising a service information maintenance and adjustment unit, a service adjustment analysis and decomposition unit, a service deployment scheduling processing unit, a configuration management and version control unit and an analysis server cluster; the service information maintenance and adjustment unit is used for maintaining the service and resource allocation borne by the whole analysis server cluster and the role and association relation of all the servers; the service adjustment analysis and decomposition unit is used for analyzing the adjustment of the service information, judging the feasibility of the service adjustment and decomposing the feasibility into reliable operation steps and operation time sequences; the service deployment scheduling processing unit is used for issuing specific operation steps to the analysis server cluster according to the operation time sequence, checking the result of each operation step, if the check is correct, continuing to execute the operation, and if the check is wrong, performing corresponding processing; the configuration management and version control unit is used for maintaining software packages and configuration information required by service deployment; the analysis server cluster is used for providing analysis service and implementing service change;
the service adjustment analysis and decomposition unit analyzes the adjustment of the service information, including correlation, priority, dependency and exclusion analysis; corresponding processing, including legacy, suspended or rollback processing, performed by the service deployment scheduling processing unit when the error is checked; the correlation analysis is to judge whether the adjustment of the service information will affect the availability of a certain service; the dependency analysis is to judge the dependency relationship among the operations and generate an operation time sequence; the priority analysis means that the offline top-level domain service is prior to the deployment of the second-level authority service, and the log is filed after the external service is stopped before the service is offline; the exclusive analysis means that if a plurality of servers are offline at the same time and the service availability is influenced, the servers are offline in batches, but the offline tasks are not executed at the same time; the leaving-behind means that specific error information is reported, but the execution of subsequent tasks is not influenced;
the operation time sequence is as follows: a) stopping the service to be offline; b) archiving a log; c) deploying the adjusted service; d) and providing the adjusted service to the outside.
4. The system of claim 3, wherein: and in the process of executing service deployment, each analysis server acquires the software package with the latest version from the configuration management and version control unit for deployment, and acquires the configuration template with the latest version for service configuration.
5. The system of claim 3 or 4, wherein: the configuration management and version control unit generates a software package or a configuration template of a new version, and the service information maintenance and adjustment unit triggers and analyzes the software version or configuration upgrade of the server cluster; the service adjusting, analyzing and decomposing unit analyzes and decomposes the upgrading task, and the service deploying, dispatching and processing unit upgrades the application software of the server in batches.
6. The system of claim 3, wherein: and the analysis server cluster is additionally provided with a new server, the service information maintenance and adjustment unit configures a service role for the newly added server, and the service adjustment analysis and decomposition unit analyzes the task and triggers the service deployment scheduling processing unit to deploy the service of the new server.
CN201710153456.5A 2017-03-15 2017-03-15 DNS service deployment method and system for overall cooperative scheduling Active CN107046584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710153456.5A CN107046584B (en) 2017-03-15 2017-03-15 DNS service deployment method and system for overall cooperative scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710153456.5A CN107046584B (en) 2017-03-15 2017-03-15 DNS service deployment method and system for overall cooperative scheduling

Publications (2)

Publication Number Publication Date
CN107046584A CN107046584A (en) 2017-08-15
CN107046584B true CN107046584B (en) 2020-08-14

Family

ID=59545418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710153456.5A Active CN107046584B (en) 2017-03-15 2017-03-15 DNS service deployment method and system for overall cooperative scheduling

Country Status (1)

Country Link
CN (1) CN107046584B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846305B (en) * 2017-09-28 2020-12-01 贵州白山云科技股份有限公司 Change task management method and device
CN108717358A (en) * 2018-05-25 2018-10-30 网宿科技股份有限公司 Service type software configuration management method and apparatus
CN111917898B (en) * 2020-07-24 2021-08-27 网宿科技股份有限公司 Resource scheduling policy adjusting method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227315A (en) * 2007-01-17 2008-07-23 上海市医疗保险信息中心 Dynamic state server colony and control method thereof
WO2013120243A1 (en) * 2012-02-13 2013-08-22 华为技术有限公司 System and method for processing virtual machine in cloud platform
CN105072211A (en) * 2015-08-12 2015-11-18 网宿科技股份有限公司 Domain name deployment system and domain name deployment method based on DNS (Domain Name Server)
CN105959427A (en) * 2016-04-25 2016-09-21 中国互联网络信息中心 DNS server automatic expansion method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170041332A1 (en) * 2015-08-07 2017-02-09 Cisco Technology, Inc. Domain classification based on domain name system (dns) traffic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227315A (en) * 2007-01-17 2008-07-23 上海市医疗保险信息中心 Dynamic state server colony and control method thereof
WO2013120243A1 (en) * 2012-02-13 2013-08-22 华为技术有限公司 System and method for processing virtual machine in cloud platform
CN105072211A (en) * 2015-08-12 2015-11-18 网宿科技股份有限公司 Domain name deployment system and domain name deployment method based on DNS (Domain Name Server)
CN105959427A (en) * 2016-04-25 2016-09-21 中国互联网络信息中心 DNS server automatic expansion method

Also Published As

Publication number Publication date
CN107046584A (en) 2017-08-15

Similar Documents

Publication Publication Date Title
CN107046584B (en) DNS service deployment method and system for overall cooperative scheduling
US10399706B1 (en) Unmanned aerial vehicle maintenance troubleshooting decision tree
CN112769924B (en) Distributed deployment method, device, equipment and medium of RocktMQ
CN105553741A (en) Automatic deployment method for application system based on cloud computing
CN103188088A (en) Equipment information acquisition system and equipment information acquisition method
US20230060053A1 (en) Method and apparatus of deploying a cluster, and storage medium
CN111324417A (en) Kubernetes cluster component control method and device, electronic equipment and medium
CN105681113A (en) Automatic operation and maintenance method based on SaltStack
CN114138754A (en) Software deployment method and device based on Kubernetes platform
US11169495B2 (en) Methods for provisioning an industrial internet-of-things control framework of dynamic multi-cloud events and devices thereof
CN106713471B (en) Configuration file acquisition method and device
WO2022267407A1 (en) Automated operation and maintenance tool-based proxy deployment method and apparatus
US9632886B2 (en) Systems and methods for implementing an automated parallel deployment solution
CN112199355A (en) Data migration method and device, electronic equipment and storage medium
CN110795105A (en) Automatic compiling and deploying method and system for power distribution automation master station system
CN110162312B (en) BeeGFS configuration method and device based on IML
CN112416936A (en) DCS background multi-node cooperative configuration mark name verification method
CN109450670B (en) Instruction conflict judgment method and system in artificial intelligence mode
CN114500530B (en) Automatic adjustment method for civil edge information system
CN100535860C (en) Equipment software upgrade automatic realizing system and method
JP2007094631A (en) Application operation monitoring system, client application operation monitoring service providing system, and method, and client application operation monitoring service providing method
CN114124471A (en) Method for automatically modifying application service password
CN111130851A (en) Method for visually deploying and managing kafka cluster
CN106896792A (en) Method of data synchronization and device
CN117908904B (en) K8S cluster deployment and operation and maintenance management method and system

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
GR01 Patent grant
GR01 Patent grant