CN113448656A - Online script execution method and device based on Angle - Google Patents

Online script execution method and device based on Angle Download PDF

Info

Publication number
CN113448656A
CN113448656A CN202110783251.1A CN202110783251A CN113448656A CN 113448656 A CN113448656 A CN 113448656A CN 202110783251 A CN202110783251 A CN 202110783251A CN 113448656 A CN113448656 A CN 113448656A
Authority
CN
China
Prior art keywords
script
file
job
user
execution
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
CN202110783251.1A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202110783251.1A priority Critical patent/CN113448656A/en
Publication of CN113448656A publication Critical patent/CN113448656A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an online script execution method and device based on an infrastructure, relating to the technical field of mobile interconnection, wherein the method comprises the following steps: acquiring a user-defined operation and maintenance script written by a user; generating a script file according to the user-defined operation and maintenance script, and storing the script file on an infrastructure control node; one or more script jobs are arranged on line according to script files stored on the infrastructure control node, so that each script job comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines; generating a Playbook script file of each script operation according to the step of each script operation and the script information; generating an Inventory resource list file of each script job according to the executive machine information of each script job; and calling an interrupt command, and executing the operation and maintenance script of each script job. The invention can improve the script operation and maintenance efficiency.

Description

Online script execution method and device based on Angle
Technical Field
The invention relates to the technical field of mobile interconnection, in particular to an online script execution method and device based on an infrastructure.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
When the X86 platform is deployed, tens or even hundreds of machines are usually updated. Except for deployment during production, operation and maintenance personnel need to execute custom scripts on multiple machines in batches in daily inspection, post-deployment verification and other scenes. At present, operation and maintenance personnel usually maintain scripts on target servers and then manually log in each target server to execute one by one, so that the efficiency is low, and a large amount of repeated work exists.
Although some enterprises use the automation operation and maintenance tool anchor to execute scripts in batches, the existing script execution method based on anchor configures and executes scripts through a command line, and has no unified script management and execution platform, and the following defects exist: firstly, operation and maintenance personnel are required to learn the alarm command, so that the learning cost is high; secondly, because of no unified script management and execution platform, visual friendly interface operation cannot be provided, and enterprise-level unified authority management is also lacked.
Disclosure of Invention
The embodiment of the invention provides an online script execution method based on an Angle, which is used for solving the technical problem of low script operation and maintenance efficiency caused by the configuration and script execution of the Angle through a command line in the prior art, and comprises the following steps: acquiring a user-defined operation and maintenance script written by a user; generating a script file according to the user-defined operation and maintenance script, and storing the script file on an infrastructure control node; one or more script jobs are arranged on line according to script files stored on the infrastructure control node, wherein each script job comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines; generating a Playbook script file of each script operation according to the step of each script operation and the script information, wherein one step of each script operation corresponds to one Play in the Playbook script file; generating an Inventory resource list file of each script job according to the executive machine information of each script job; and calling an interrupt command according to the Inventory resource list file and the Playbook script file of each script job, and executing the operation and maintenance script of each script job.
The embodiment of the invention also provides an online script execution device based on the Angle, which is used for solving the technical problem of low script operation and maintenance efficiency caused by the configuration and script execution of the Angle through a command line in the prior art, and comprises the following steps: the script compiling module is used for acquiring a user-defined operation and maintenance script compiled by a user; the script storage module is used for generating a script file according to the user-defined operation and maintenance script and storing the script file on the infrastructure control node; the script operation editing module is used for editing one or more script operations on line according to script files stored on the infrastructure control node, wherein each script operation comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines; the script file generating module is used for generating a Playbook script file of each script operation according to the step of each script operation and the script information, wherein one step of each script operation corresponds to one Play in the Playbook script file; the resource list file generating module is used for generating an Inventory resource list file of each script job according to the executive machine information of each script job; and the script execution module is used for calling an interrupt command according to the Inventory resource list file and the Playbook script file of each script job and executing the operation and maintenance script of each script job.
The embodiment of the invention also provides computer equipment, which is used for solving the technical problem of low script operation and maintenance efficiency in the prior art due to the fact that the script is configured and executed through a command line.
The embodiment of the invention also provides a computer readable storage medium, which is used for solving the technical problem of low script operation and maintenance efficiency caused by the configuration and script execution of the anchor through a command line in the prior art.
The online script execution method, device, computer equipment and computer readable storage medium based on the infrastructure, provided by the embodiment of the invention, are used for acquiring a user-defined operation and maintenance script written by a user; generating a script file according to the user-defined operation and maintenance script, and storing the script file on an infrastructure control node; one or more script jobs are arranged on line according to script files stored on the infrastructure control node, wherein each script job comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines; generating a Playbook script file of each script operation according to the step of each script operation and the script information, wherein one step of each script operation corresponds to one Play in the Playbook script file; generating an Inventory resource list file of each script job according to the executive machine information of each script job; and calling an interrupt command according to the Inventory resource list file and the Playbook script file of each script job, and executing the operation and maintenance script of each script job.
Compared with the technical scheme of configuring and executing the script by the command line in the prior art, the embodiment of the invention can realize online script management and script execution, simplify the manual operation of script operation and maintenance personnel and improve the script operation and maintenance efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart of an online script execution method based on an anchor according to an embodiment of the present invention;
FIG. 2 is a flowchart of an optional Online script execution method based on an Angle according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a specific implementation of an online script execution method based on an anchor according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an online script execution device based on an anchor provided in the embodiment of the present invention;
fig. 5 is a schematic diagram of an optional online script execution device based on an anchor provided in the embodiment of the present invention;
fig. 6 is a schematic diagram of a computer device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Before describing embodiments of the present invention, the noun terms referred to in the embodiments of the present invention are first explained as follows:
anchor: an open source configuration management tool that can be used to automate tasks, deploy applications, etc.
Control node (Control node): the system refers to a host machine with an enterprise, also called an enterprise server side and a management machine.
Controlled nodes (Managed nodes): the client is a target server that wants to execute tasks using the ansable.
Resource manifest (inventory): and the default of the list of controlled nodes managed by the infrastructure is/etc/infrastructure/hosts file.
Task script (available playlist): the configuration file of the task set is defined in the infrastructure, and is written in the yaml language, and a task list consisting of a series of tasks and parameters is defined.
Automated Deployment Platform (SADP): the enterprise self-research automatic deployment system has product-level automatic deployment capability and authority management conforming to enterprise organization architecture.
An online script execution method based on an anchor is provided in the embodiments of the present invention, fig. 1 is a flowchart of an online script execution method based on an anchor provided in the embodiments of the present invention, as shown in fig. 1, the method includes the following steps:
s101, obtaining a user-defined operation and maintenance script written by a user.
In specific implementation, in S101, the user-defined operation and maintenance script written by the user may be obtained in any one of the following manners:
the first mode is as follows: acquiring a user-defined operation and maintenance script written by a user on line;
the second mode is as follows: and acquiring a custom operation and maintenance script locally uploaded by a user.
Optionally, the online script execution method based on the firmware provided in the embodiment of the present invention may further provide a visual Web page for the user to write the user-defined operation and maintenance script online, or for the user to upload the local user-defined operation and maintenance script through a data import button on the Web page.
And S102, generating a script file according to the user-defined operation and maintenance script, and storing the script file on the infrastructure control node.
After a user writes or uploads a custom operation and maintenance script, a corresponding script file can be automatically generated and stored on the infrastructure control node. In specific implementation, the generated script file can be stored in the "/home/Ansible/script/$ product name" directory of the Ansible control node.
S103, one or more script jobs are arranged on line according to script files stored on the infrastructure control node, wherein each script job comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines.
In the embodiment of the invention, a user is supported to arrange a plurality of scripts into script jobs, and the scripts are executed in batch by issuing one key to a plurality of execution machines (also called execution servers) for executing the scripts. In particular implementations, each scripted job that is composed by the user may have one or more steps, each step may correspond to one or more scripts, and each script may correspond to a set of execution machines.
And S104, generating a Playbook script file of each script job according to the steps of each script job and the script information, wherein one step of each script job corresponds to one Play in the Playbook script file.
In specific implementation, the Playbook script file is automatically generated according to the script execution sequence arranged by the user, so that script execution is called by the subsequent executable command.
And S105, generating an Inventory resource list file of each script job according to the executive machine information of each script job.
And generating an Inventory resource list file according to the execution machine (execution server) selected by the user.
And S106, calling an alarm command according to the Inventory resource list file and the Playbook script file of each script job, and executing the operation and maintenance script of each script job.
In specific implementation, in the online script execution method based on an anchor provided in the embodiment of the present invention, a script execution sequence of each script job includes: the steps are sequentially and serially executed, the scripts are sequentially and serially executed in the steps, and multiple execution machines are parallelly executed in the same script.
In an embodiment, as shown in fig. 2, after invoking an anchor command according to the Inventory resource manifest file and the Playbook script file of each script job and executing the operation and maintenance script of each script job, the online script execution method based on anchor provided in the embodiment of the present invention may further include the following steps:
s107, writing the script execution result of each script job into a log file through an callback function of the infrastructure, and updating the script execution state of each script job in the database.
In specific implementation, after the script execution is finished, the result can be written into a log file through an alarm Callback Callback function, and the script execution state in the database is updated.
From the above, the online script execution method based on the ansable provided in the embodiment of the present invention supports online management of the custom script, arranges a plurality of scripts into an operation, and issues a plurality of servers to perform in batch, execute the progress and feed back the result in real time by one key, thereby greatly reducing the workload of the operation and maintenance personnel and improving the operation and maintenance efficiency.
The method comprises the steps that a user compiles own operation and maintenance scripts on line, a background automatically generates script files and stores the script files in an infrastructure control node, and when the scripts are executed, an Inventory resource list is automatically generated according to an execution server selected by the user; automatically generating a Playbook script according to the script execution sequence arranged by the user; invoking an Angle command to invoke script execution; and after the execution is finished, writing the result into a log file through an alarm Callback Callback function, and updating the script execution state in the database.
The online script execution method based on the infrastructure provided by the embodiment of the invention can provide an online script execution platform based on the infrastructure, support online management of the custom script, arrange a plurality of scripts into operation, and issue a key to a plurality of servers for batch execution, execution progress and result real-time feedback, thereby greatly reducing the workload of operation and maintenance personnel and improving the operation and maintenance efficiency. Fig. 3 is a flowchart of a specific implementation of an online script execution method based on an anchor according to an embodiment of the present invention, and as shown in fig. 3, a user operation process includes:
1) the user newly builds scripts in the page (files can be written online or uploaded from the local), each script selects one product, and the product options range is the products which the user has the authority in the automatic deployment platform.
2) The method comprises the following steps that a user newly builds a job in a page, and the specific steps comprise:
selecting one product for each job, wherein the product option range is the product which the user has the authority in the automatic deployment platform.
And secondly, adding a plurality of steps under the operation, wherein each step comprises a plurality of scripts, and the script option range is the scripts created under the product to which the current operation belongs.
And selecting one group of execution machines for each script. When the execution machine is selected, authority control is provided, and the environment (the environment range is the environment under the product to which the current operation belongs) is selected first, and then the server under the environment is selected.
3) Executing the operation: and aiming at each job, clicking to execute, and finishing the issuing and execution of the script on a plurality of servers by one key according to the script arrangement sequence. The execution sequence is as follows: the steps are sequentially and serially executed, the scripts are sequentially and serially executed, and multiple servers are parallelly executed under the same script.
As shown in fig. 3, the system processing flow specifically includes:
1) when a user creates a script, a script file is automatically generated and stored in the "/home/Ansible/script/$ product name" directory of the Ansible control node.
2) When a user creates a new job, the steps arranged by the user and the script information are put into a warehouse, and the information of the selected executive machine under each script is put into the warehouse.
3) When the user executes the job:
first, the steps and script information under the job are acquired from the database, and a playlist in the interactive (defined in the form of a yaml configuration file) is automatically generated. Specifically, the method comprises the following steps: (1) each operation corresponds to a Playbook; (2) each script of each step under the operation corresponds to one Play in the Playbook, and the Play sequence in the yacl configuration file of the Playbook is arranged according to the steps and script sequence arranged by the user; (3) each Play identifies which script in which step is by custom variables steps _ ord and script _ ord.
And acquiring the selected execution machine under each script from the database, and automatically generating the Inventory (defined in the hosts file form) in the alarm. And taking a group of machines selected by each script as a host group under one Inventory in an infrastructure, wherein the host group comprises a plurality of machines.
③ calling the Ansible command to execute the Playbook. For example: anchor-Playbook-i …/hosts (Inventory file) xx.yaml (Playbook file).
Fourthly, after the script execution is finished, calling a self-defined method to process and return: the log of each running host is written under …/allowed/log/hosts directory (different files are named by each host's IP), and the execution status is updated to the database.
In the embodiment of the invention, the service concepts (such as steps and scripts) in the script execution platform and the concepts (such as playbook and play) in the interrupt are reasonably mapped so as to call the correct interrupt script at the proper time in the platform service flow; through compiling a python script, the configuration and calling operations of the script such as script generation, script execution, log and state updating and the like on the interrupt are realized; the script execution platform is organically combined with the existing automatic deployment platform to realize unified authority management, unified server management and the like; and information such as the execution state of the script and the like is written back to the database of the script execution platform through the Angle callback function, so that the real-time visibility of the execution progress is realized.
Based on the same inventive concept, the embodiment of the present invention further provides an online script execution device based on an firmware, as described in the following embodiments. Because the principle of the device for solving the problems is similar to the online script execution method based on the anchor, the implementation of the device can refer to the implementation of the online script execution method based on the anchor, and repeated parts are not described again.
Fig. 4 is a schematic diagram of an online script execution device based on an anchor provided in an embodiment of the present invention, and as shown in fig. 4, the device includes: a script writing module 41, a script storage module 42, a script job arranging module 43, a scenario file generating module 44, a resource list file generating module 45, and a script executing module 46.
The script writing module 41 is used for acquiring a user-defined operation and maintenance script written by a user;
the script storage module 42 is used for generating a script file according to the user-defined operation and maintenance script and storing the script file on the infrastructure control node;
the script operation editing module 43 is configured to edit one or more script operations on line according to script files stored on the infrastructure control node, where each script operation includes one or more steps, each step corresponds to one or more scripts, and each script corresponds to a group of execution machines;
a script file generating module 44, configured to generate a Playbook script file for each script job according to the step of each script job and the script information, where one step of each script job corresponds to one Play in the Playbook script file;
a resource list file generating module 45, configured to generate an Inventory resource list file of each script job according to the information of the execution machine of each script job;
and the script execution module 46 is configured to invoke an anchor command according to the Inventory resource list file and the Playbook script file of each script job, and execute the operation and maintenance script of each script job.
In an embodiment, as shown in fig. 5, in the online script execution apparatus based on anchor provided in the embodiment of the present invention, the script writing module 41 may include any one of the following units:
the script online writing unit 411 is used for acquiring a user-defined operation and maintenance script written by a user online;
and the script uploading unit 412 is configured to obtain a custom operation and maintenance script locally uploaded by the user.
In an embodiment, as shown in fig. 5, the online script execution device based on an anchor provided in the embodiment of the present invention may further include:
and the script execution result callback module 47 is configured to write the script execution result of each script job into the log file through an anchor callback function, and update the script execution state of each script job in the database.
It should be noted that, in the online script execution apparatus based on an firmware provided in the embodiment of the present invention, the script execution sequence of each script job includes: the steps are sequentially and serially executed, the scripts are sequentially and serially executed in the steps, and multiple execution machines are parallelly executed in the same script.
Based on the same inventive concept, an embodiment of the present invention further provides a computer device, so as to solve the technical problem that the script operation and maintenance efficiency is low due to the configuration and script execution of an interrupt by a command line in the prior art, fig. 6 is a schematic diagram of the computer device provided in the embodiment of the present invention, as shown in fig. 6, the computer device 60 includes a memory 601, a processor 602, and a computer program stored in the memory 601 and capable of running on the processor 602, and the online script execution method based on interrupt is implemented when the processor 602 executes the computer program.
Based on the same inventive concept, the embodiment of the present invention further provides a computer readable storage medium, so as to solve the technical problem that the script operation and maintenance efficiency is low due to the fact that the existing technology configures and executes the script through a command line, and the computer readable storage medium stores a computer program for executing the online script execution method based on the firmware.
In summary, the online script execution method, device, computer device and computer-readable storage medium based on the firmware provided in the embodiments of the present invention obtain a user-defined operation and maintenance script written by a user; generating a script file according to the user-defined operation and maintenance script, and storing the script file on an infrastructure control node; one or more script jobs are arranged on line according to script files stored on the infrastructure control node, wherein each script job comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines; generating a Playbook script file of each script operation according to the step of each script operation and the script information, wherein one step of each script operation corresponds to one Play in the Playbook script file; generating an Inventory resource list file of each script job according to the executive machine information of each script job; and calling an interrupt command according to the Inventory resource list file and the Playbook script file of each script job, and executing the operation and maintenance script of each script job.
Compared with the technical scheme of configuring and executing the script by the command line in the prior art, the embodiment of the invention can realize online script management and script execution, simplify the manual operation of script operation and maintenance personnel and improve the script operation and maintenance efficiency.
By the embodiment of the invention, the following technical effects can be realized but not limited: operation of operation and maintenance personnel is simplified, and operation and maintenance efficiency is improved; the script unified version management and the script reuse are facilitated; and supplementing the existing automatic deployment platform, so that operation and maintenance personnel can smoothly use the newly added automatic operation and maintenance function without newly added users, repeated configuration of environment and servers in the same platform.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An online script execution method based on an infrastructure, comprising:
acquiring a user-defined operation and maintenance script written by a user;
generating a script file according to the user-defined operation and maintenance script, and storing the script file on an infrastructure control node;
one or more script jobs are arranged on line according to script files stored on the infrastructure control node, wherein each script job comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines;
generating a Playbook script file of each script operation according to the step of each script operation and the script information, wherein one step of each script operation corresponds to one Play in the Playbook script file;
generating an Inventory resource list file of each script job according to the executive machine information of each script job;
and calling an interrupt command according to the Inventory resource list file and the Playbook script file of each script job, and executing the operation and maintenance script of each script job.
2. The method of claim 1, wherein obtaining a user-written custom operation and maintenance script comprises any one of:
acquiring a user-defined operation and maintenance script written by a user on line;
and acquiring a custom operation and maintenance script locally uploaded by a user.
3. The method of claim 1, wherein after invoking an anchor command to execute the operation and maintenance script of each script job according to the Inventory resource manifest file and the Playbook script file of each script job, the method further comprises:
and writing the script execution result of each script job into a log file through an callback function of the infrastructure, and updating the script execution state of each script job in the database.
4. The method of any of claims 1 to 3, wherein the script execution order for each script job comprises: the steps are sequentially and serially executed, the scripts are sequentially and serially executed in the steps, and multiple execution machines are parallelly executed in the same script.
5. An online script execution device based on an infrastructure, comprising:
the script compiling module is used for acquiring a user-defined operation and maintenance script compiled by a user;
the script storage module is used for generating a script file according to the user-defined operation and maintenance script and storing the script file on the infrastructure control node;
the script operation editing module is used for editing one or more script operations on line according to script files stored on the infrastructure control node, wherein each script operation comprises one or more steps, each step corresponds to one or more scripts, and each script corresponds to one group of execution machines;
the script file generating module is used for generating a Playbook script file of each script operation according to the step of each script operation and the script information, wherein one step of each script operation corresponds to one Play in the Playbook script file;
the resource list file generating module is used for generating an Inventory resource list file of each script job according to the executive machine information of each script job;
and the script execution module is used for calling an interrupt command according to the Inventory resource list file and the Playbook script file of each script job and executing the operation and maintenance script of each script job.
6. The apparatus of claim 5, wherein the scripting module comprises any one of:
the script online compiling unit is used for acquiring a user-defined operation and maintenance script compiled online by a user;
and the script uploading unit is used for acquiring the user-defined operation and maintenance script locally uploaded by the user.
7. The apparatus of claim 5, wherein the apparatus further comprises:
and the script execution result callback module is used for writing the script execution result of each script operation into the log file through the callback function of the infrastructure and updating the script execution state of each script operation in the database.
8. The apparatus of any of claims 5 to 7, wherein the script execution order of each script job comprises: the steps are sequentially and serially executed, the scripts are sequentially and serially executed in the steps, and multiple execution machines are parallelly executed in the same script.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the online script execution method based on an firmware of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium storing a computer program for executing the anchor-based online script execution method according to any one of claims 1 to 4.
CN202110783251.1A 2021-07-12 2021-07-12 Online script execution method and device based on Angle Pending CN113448656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110783251.1A CN113448656A (en) 2021-07-12 2021-07-12 Online script execution method and device based on Angle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110783251.1A CN113448656A (en) 2021-07-12 2021-07-12 Online script execution method and device based on Angle

Publications (1)

Publication Number Publication Date
CN113448656A true CN113448656A (en) 2021-09-28

Family

ID=77815861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110783251.1A Pending CN113448656A (en) 2021-07-12 2021-07-12 Online script execution method and device based on Angle

Country Status (1)

Country Link
CN (1) CN113448656A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915621A (en) * 2022-05-26 2022-08-16 中国银行股份有限公司 File distribution method, device and equipment based on infrastructure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915621A (en) * 2022-05-26 2022-08-16 中国银行股份有限公司 File distribution method, device and equipment based on infrastructure

Similar Documents

Publication Publication Date Title
US9298713B2 (en) Executor for software configuration automation
US20230236809A1 (en) Ios application program construction method and apparatus, electronic device, and storage medium
US20060195817A1 (en) Visual workflow modeling tools for user interface automation
CN110990026B (en) Automatic deployment method and system for PaaS platform
KR20200115020A (en) Hyperledger fabric network creation method, controller and storage medium
US20090327465A1 (en) Distributed Configuration Orchestration for Network Client Management
CN107612962B (en) Distributed simulation evaluation test management system
US8850400B2 (en) System and method for providing an implementation accelerator and regression testing framework for use with environments such as fusion applications
CN101982815A (en) Software test system and method
CN108897547A (en) A kind of software automatic deployment and device
CN112711411A (en) CI/CD pipeline system based on Kubernetes and docker
EP3413149B1 (en) Field device commissioning system and field device commissioning method
CN114153743A (en) Automatic testing method based on interface
CN113448656A (en) Online script execution method and device based on Angle
CN111147291B (en) Service maintenance method and device
CN112579568A (en) Database version processing method and system
CN116400987A (en) Continuous integration method, device, electronic equipment and storage medium
JP6835207B2 (en) Operations management server, development operations support system, their methods and programs
CN115185489B (en) Time sequence data algorithm configuration system and method
CN114265595B (en) Cloud native application development and deployment system and method based on intelligent contracts
CN104732341A (en) Control method and control system for simulating service process and service process operation
CN115185825A (en) Interface test scheduling method and device
CN114443433A (en) Method and system for realizing distributed automatic alarm processing on cloud computing platform
CN114489955A (en) System and method for realizing GitOps by Docker Swarm cluster
US11562105B2 (en) System and method for module engineering with sequence libraries

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