CN113031969B - Equipment deployment inspection method and device, computer equipment and storage medium - Google Patents

Equipment deployment inspection method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113031969B
CN113031969B CN202110312548.XA CN202110312548A CN113031969B CN 113031969 B CN113031969 B CN 113031969B CN 202110312548 A CN202110312548 A CN 202110312548A CN 113031969 B CN113031969 B CN 113031969B
Authority
CN
China
Prior art keywords
deployment
equipment
inspection
cluster
node
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
CN202110312548.XA
Other languages
Chinese (zh)
Other versions
CN113031969A (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.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202110312548.XA priority Critical patent/CN113031969B/en
Publication of CN113031969A publication Critical patent/CN113031969A/en
Application granted granted Critical
Publication of CN113031969B publication Critical patent/CN113031969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • 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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3867Concurrent instruction execution, e.g. pipeline or look ahead using instruction pipelines

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The embodiment of the application discloses a device deployment inspection method, a device, computer equipment and a storage medium. The embodiment of the application relates to the field of Internet of things and cloud computing, and the method comprises the following steps: operating a pipeline to deploy equipment in the cluster; performing inspection on the equipment in the cluster; wherein deployment of the device is prior to inspection of the device. The embodiment of the application can improve the equipment inspection and deployment efficiency.

Description

Equipment deployment inspection method and device, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the field of Internet of things and cloud computing, in particular to a device deployment inspection method, a device, computer equipment and a storage medium.
Background
Today, where internet and cloud computing are widely popularized, more and more enterprise applications and personal applications require cloud operation, which provides a good opportunity for a data center to transform the cloud computing, and also provides higher requirements and challenges for operation and maintenance of the data center, so that daily health check of the data center is an important link for maintenance of the data center, and installation and deployment of the data center are important processes for daily operation.
At present, most of the inspection and deployment operations of a data center adopt a manual mode, specifically, operation and maintenance personnel log on each data center machine manually to carry out manual technical inspection, and the inspection results are summarized through excel and the like.
The method requires manual multi-link intervention, results are not well scattered and collected, and the method is not suitable for large-scale concurrence, long in time consumption, easy to make mistakes and quite low in efficiency.
Disclosure of Invention
The embodiment of the application provides a device deployment inspection method, a device, computer equipment and a storage medium, which can improve the efficiency of device inspection and deployment.
In a first aspect, an embodiment of the present application provides a device deployment inspection method, including:
operating a pipeline to deploy equipment in the cluster;
performing inspection on the equipment in the cluster;
wherein deployment of the device is prior to inspection of the device.
In a second aspect, an embodiment of the present application further provides an apparatus deployment inspection device, including:
the deployment module is used for running the pipeline and deploying the devices in the cluster;
the inspection module is used for inspecting the equipment in the cluster; wherein deployment of the device is prior to inspection of the device.
In a third aspect, an embodiment of the present application further provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the device deployment inspection method according to any one of the embodiments of the present application when the processor executes the program.
In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements a device deployment inspection method according to any one of the embodiments of the present application.
According to the embodiment of the application, each device is deployed and inspected through the automation of the operation assembly line, and each device is ensured to be deployed before the inspection of the device, so that the problem of low efficiency caused by manually deploying and inspecting the device in the prior art is solved, the deployment and inspection time of the device is shortened, the deployment and inspection efficiency of the device is improved, the automation degree of a system is improved, the labor cost is reduced, the labor error is reduced, and the accuracy of the inspection result is improved.
Drawings
FIG. 1 is a flow chart of a method for device deployment inspection in accordance with a first embodiment of the present application;
fig. 2a is a flowchart of a device deployment inspection method in a second embodiment of the present application;
FIG. 2b is a schematic diagram of a node structure in an apparatus according to a second embodiment of the present application;
FIG. 2c is a schematic diagram of a parallel execution application scenario of a deployment and patrol detection bit in a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an equipment deployment inspection device in a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device in a fourth embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
Example 1
Fig. 1 is a schematic diagram of a flowchart of a device deployment inspection method in a first embodiment of the present application, where the embodiment may be suitable for use in performing software deployment on devices in a cluster and performing testing on performance of the deployed devices, where the method may be performed by a device deployment inspection apparatus provided in the embodiment of the present application, where the apparatus may be implemented in a software and/or hardware manner, and may generally be integrated into a computer device. As shown in fig. 1, the method in this embodiment specifically includes:
s110, operating the pipeline to deploy the devices in the cluster.
The execution pipeline may refer to a script file of the execution pipeline. The pipeline is provided with a plurality of nodes, and each node is sequentially called to execute corresponding tasks according to the execution sequence of each node in the pipeline, and the nodes on the pipeline can be script files. A pipeline may refer to a series of sequential tasks that deploy and patrol devices in a cluster. The pipeline is used for sequentially deploying and inspecting the devices in the cluster, and the devices can be inspected after deployment. The cluster is illustratively a public cloud data center system, and the devices in the cluster are devices in the public cloud data center. Pipelines are used to describe one way of arranging a data center inspection script, typically by writing corresponding software or interfaces to provide a framework for running the script.
Deployment may refer to installing specified software in a device. Typically deployment requires a certain amount of time.
Optionally, the deploying the device in the cluster includes: executing, in a device of a cluster, a deployment node in the pipeline; and deploying, by the deployment node, an application in the device.
A pipeline is deployed in each device in the cluster, the pipeline including a deployment node. The deployment node is configured to run in the deployed device and install the specified at least one application. A deployment node may refer to one application and, upon execution, installs at least one application specified.
By configuring the pipeline and installing the application program in the equipment when the deployment node in the pipeline is executed, the application program is automatically deployed in the equipment, the deployment efficiency is improved, and the deployment labor cost is reduced.
Optionally, the deploying, by the deployment node, an application in the device includes: sequentially calling the deployment sub-nodes according to the operation order of the deployment sub-nodes through the deployment nodes; and installing at least one application program in the equipment through each deployment child node.
The deployment sub-node is used for being called by the deployment node, running in the deployed equipment and installing the corresponding application program. The deployment node may invoke the deployment child node. The order of operation of the deployment sub-nodes may refer to the timing of operation of the deployment sub-nodes. Different deployment sub-nodes can cooperate together to install an application. Or different deployment sub-nodes respectively according to different application programs. There is a set time interval between the operation of the different deployment child nodes. According to the resource condition of the equipment, at least one deployment sub-node can be selected to run in parallel or at least one deployment sub-node can be selected to run in series. Optionally, the deployment node sequentially calls the deployment sub-nodes according to the operation order of the deployment sub-nodes in the pipeline, and the number of the deployment sub-nodes operated at the same time is one.
By configuring the operation sequence, the flow of the deployment application can be configured, the operation control flexibility of the deployment application is improved, the deployment requirement of diversity is met, and the deployment mode is enriched.
Optionally, the application comprises middleware.
Middleware is a type of computer software that connects software components and applications and can include a set of services. Such that a plurality of software running on one or more machines interact over a network. Middleware is a separate system software service by which distributed application software shares resources among different technologies, and is located on top of the client server's operating system, managing computing resources and network communications.
The middleware can be configured in each device of the cluster by configuring the application program to comprise the middleware, so that an interaction bridge between the devices is established, a distributed application scene is increased, the deployment requirement of diversity is met, and the deployment modes are enriched.
S120, carrying out inspection on the equipment in the cluster; wherein deployment of the device is prior to inspection of the device.
The inspection can be to detect the software installed in the equipment and the state of the equipment, and judge whether the equipment can work normally or not. For example, the patrol may perform health checks of software and hardware on the devices in the data center, e.g., detect hardware status, and whether the deployed middleware and software are functioning properly. The hardware state may refer to an occupied condition of a resource, and the like. The device is generally inspected after the deployment of the device is completed. Deployment of a device prior to a patrol of the device may refer to a deployment operation of the device prior to a patrol operation of the device.
Optionally, the performing inspection on the devices in the cluster includes: executing the routing inspection node in the pipeline in the cluster equipment; and performing performance test on the equipment through the routing inspection node.
Each device in the cluster is provided with a pipeline, and the pipeline comprises a routing inspection node. The routing inspection node is used for running in the deployed equipment, detecting hardware performance of the equipment and/or detecting performance of an application program installed in the equipment. The routing inspection node may refer to an application program, and when executed, performs software and hardware performance testing on the device.
By configuring the assembly line and performing performance test on the deployed equipment when the inspection nodes in the assembly line are executed, automatic inspection equipment is realized, inspection efficiency is improved, and inspection labor cost is reduced.
Optionally, the performing, by the inspection node, performance test on the device includes: sequentially calling the patrol sub-nodes through the patrol nodes according to the running sequence of the patrol sub-nodes; and carrying out software and hardware performance test on the equipment through each patrol sub-node.
The patrol child node is used for being called by the patrol node, running in patrol (namely deployed) equipment, and testing software and hardware performance of the patrol equipment. The patrol node may invoke a patrol child node. The running order of the patrol child nodes may refer to the running timing of the patrol child nodes. Different patrol child nodes can cooperate to detect an application. Or different patrol sub-nodes test different hardware states or the like according to application programs with different functions. A set time interval exists between the operations of different patrol child nodes. According to the resource condition of the equipment, at least one patrol sub-node can be selected to run in parallel or run in series. Optionally, the routing inspection nodes call the routing inspection sub-nodes sequentially according to the running order of the routing inspection sub-nodes in the pipeline, and the number of the routing inspection sub-nodes running at the same time is one.
By configuring the running sequence, the flow of the inspection equipment can be configured, the operation control flexibility of the inspection equipment is improved, the inspection requirements of diversity are met, and the inspection modes are enriched.
Optionally, after performing the software and hardware performance test on the device through each patrol child node, the method further includes: and generating a patrol report through each patrol child node.
The patrol report is used for describing the software and hardware performance test result. The patrol child node can generate a patrol result according to the set data structure and add the patrol result to the appointed address. And adding all the inspection results of all the inspection sub-nodes of one device, and determining all the added contents as an inspection report.
The inspection result of one device can be counted by generating the inspection report, the browsing and counting labor cost of the inspection result is reduced, the inspection efficiency is improved, and the follow-up abnormal positioning and cluster optimization are facilitated.
Optionally, the performing inspection on the devices in the cluster includes: and after the equipment in the cluster is deployed, the equipment in the cluster is inspected.
After the deployment of the devices in all the clusters is completed, the devices in the clusters are started to be patrolled and examined. The management device may be configured in the cluster, and the management device instructs each device to perform the patrol task, i.e. to perform the patrol node deployed thereon, when the deployment of each device is completed.
By carrying out inspection on the devices after the deployment of the devices is completed, the deployment of each device can be ensured before inspection, the condition that the inspection result is inaccurate is reduced, and meanwhile, the inspection accuracy is improved.
Optionally, the performing inspection on the devices in the cluster includes: and when the first equipment in the cluster is deployed, the second equipment in the cluster is patrolled and examined in parallel.
And when the clusters are deployed, the clusters are inspected in parallel, and meanwhile, after the deployment is completed, one device can be inspected. The first device is different from the second device, and the second device deployment is completed before the second device is patrolled. By way of example, each device is deployed in turn, after the deployment of the first device is completed, when the deployment of the second device is completed, the first device can be patrolled and examined in parallel, so that the first device can be patrolled and examined after the deployment is completed, and the time for completing the deployment of other devices is not required to be waited. It should be noted that the deployment and inspection of the same device cannot be performed in parallel. The deployment of one device may be performed in parallel with the inspection of other devices.
When the equipment in the cluster is deployed, other equipment in the cluster is subjected to inspection in parallel, so that the deployment and inspection time of the cluster can be shortened, and the deployment and inspection efficiency can be improved.
Optionally, when the first device in the cluster is deployed, the polling of the second device in the cluster in parallel includes: after the deployment of the first device in the cluster is completed, the devices in the cluster are inspected according to the deployment sequence of the devices in the cluster.
The deployment order may refer to the timing at which devices in the cluster are deployed. At the same time, the number of deployed devices is one. And the devices in the cluster are deployed according to the deployment sequence. After the first equipment is deployed, the second equipment starts to be deployed, and meanwhile, all the equipment in the cluster starts to be inspected according to the deployment sequence, and correspondingly, the first deployed equipment is inspected first, at the moment, the equipment is already deployed, inspection can be performed, and at the same time, the second equipment is deployed in parallel. When the third device is deployed, the second device may begin to be patrol in the deployment order, at which time the second device has also been deployed. And the like, the deployment of each device is ensured before the inspection, so that the deployed application programs of the devices can be inspected, the inspection application program range is increased, the condition that the application programs are omitted and are not inspected is reduced, and the inspection accuracy is improved.
The deployment and the inspection are respectively carried out according to the same deployment sequence in the cluster, and the time for configuring the inspection is delayed from the deployment time, so that the inspection accuracy of each device can be improved after the deployment of the inspection of the same device, the time for deploying and inspecting the cluster is greatly shortened, and the efficiency of the deployment and the inspection is improved.
Optionally, the device deployment inspection method further includes: executing the operation result acquisition node in equipment deployed with the operation result acquisition node; and acquiring deployment results and/or routing inspection results of all the devices in the cluster through the operation result acquisition node.
And at least one device in the cluster is provided with an operation result acquisition node. The operation result acquisition node is deployed in a pipeline of the device. The operation result collection node is used for collecting deployment and inspection results of all devices in the cluster. The operation result collection node may refer to an application program, and collect deployment and inspection results of each device in the cluster when executing.
By configuring the operation result acquisition node and acquiring the deployment result and the inspection result of each device in the cluster when the operation result acquisition node is operated, the deployment result and the inspection result of each device in the cluster are automatically acquired, the deployment and the inspection state of each device in the cluster can be monitored, and the labor cost for acquiring the deployment result and the inspection result is reduced.
Optionally, after generating the inspection report by each inspection child node, the method further includes: storing, by the patrol sub-node, the patrol report in the device; and indicating the equipment to call a preset interface through the patrol sub-node so as to send the patrol report to an operation result acquisition node.
The inspection report is used for being sent to the operation result collection node as an inspection result. The patrol report is stored in the device. When the patrol report needs to be transmitted, an instruction is sent to the equipment through the patrol child node, and the controlled equipment calls an interface configured in the equipment in advance to transmit the patrol report to the operation result acquisition node.
The patrol sub-node stores the patrol report in the equipment, and instructs the equipment to call the interface and transmit the patrol report to the operation result acquisition node, so that the patrol report of each equipment in the aggregation cluster is realized, the patrol state of each equipment in the cluster can be monitored, and the labor cost for acquiring the patrol result is reduced.
According to the embodiment of the application, each device is deployed and inspected through the automation of the operation assembly line, and each device is ensured to be deployed before the inspection of the device, so that the problem of low efficiency caused by manually deploying and inspecting the device in the prior art is solved, the deployment and inspection time of the device is shortened, the deployment and inspection efficiency of the device is improved, the automation degree of a system is improved, the labor cost is reduced, the labor error is reduced, and the accuracy of the inspection result is improved.
Example two
Fig. 2a is a flowchart of an audio/video processing method according to a second embodiment of the present application, which is implemented based on the above-mentioned embodiment. The method of the embodiment specifically comprises the following steps:
s201, running a pipeline, and executing a deployment node in the pipeline in cluster equipment.
Reference is made to the preceding embodiments for a non-detailed description of embodiments of the application.
In order to solve the problem of automatic deployment and inspection of public cloud data center machines, a common arrangement technology can be adopted to arrange required scripts into a production line, and meanwhile, related operations such as report generation and the like are also arranged together. The pipeline can be developed in a software development mode, and can also be arranged by adopting some arrangement tools. The core modules of the technical scheme adopted by the assembly line are divided into pipelines and nodes. The nodes define scripts operated by each pipeline node, the nodes are deployed on a machine operated by the scripts, and the pipeline is formed by connecting the nodes in series to form time sequence relation dependence. And (3) an automatic deployment and inspection pipeline is required to be designed and deployed, inspection is required, and three nodes are acquired as operation results. Each node may be further divided into a plurality of sub-nodes for performing a plurality of sub-tasks.
S202, sequentially calling the deployment sub-nodes according to the operation order of the deployment sub-nodes through the deployment nodes.
S203, at least one application program is installed in the equipment through each deployment child node.
S204, after the deployment of the first device in the cluster is completed, the device in the cluster is inspected according to the deployment sequence of each device in the cluster, wherein the deployment of the device is before the inspection of the device.
S205, executing the patrol nodes in the pipeline in the clustered devices.
S206, sequentially calling the patrol sub-nodes through the patrol nodes according to the running sequence of the patrol sub-nodes.
S207, performing software and hardware performance test on the equipment through each patrol child node.
S208, executing the operation result acquisition node in the equipment deployed with the operation result acquisition node.
S209, acquiring deployment results and/or routing inspection results of all the devices in the cluster through the operation result acquisition node.
In a specific example, as shown in fig. 2b, a deployment node, a patrol node, and an operation result collection node may be configured in one device.
Firstly, when pipeline operation starts, operating a deployment node, deploying according to deployment sub-nodes in the deployment node, automatically traversing scripts when deployment scripts in the deployment sub-nodes run, and deploying at designated equipment. After deployment, software and middleware required by public cloud are deployed on the devices. The scripts executed by the deployment child nodes and the deployed devices can be configured arbitrarily. After deployment is completed, inspection can be performed. When the inspection starts, the inspection nodes are operated, the inspection is performed according to the inspection sub-nodes in the inspection nodes, and the inspection script in the inspection sub-nodes automatically traverses the designated equipment configured in the inspection during operation to perform the inspection. And the tour inspection result generates a corresponding tour inspection report and generates a tour inspection report out file, and under a specified folder on the corresponding tour inspection Linux equipment, the reset interface is triggered to be pushed to the equipment corresponding to the operation result acquisition node. And finally, executing an operation result acquisition node, collecting results generated by operation of the installation and deployment sub-node and the inspection sub-node, summarizing and generating report output, storing and providing the report output for a user to browse, view and the like.
Devices in the cluster may be deployed and patrolled separately in a serial fashion. However, there are thousands or even tens of thousands of devices in public cloud data centers, and in many cases, these resources are in a competitive state, that is, the same task cannot be performed on two devices at the same time (for example, the same task can be performed on two devices at the same time and share the same hard disk for storage), so in this condition, mass devices can only be used in serial, however, this method is inefficient, and the time is the sum of node operation durations in one device (that is, deployment time+inspection time of the device) and the number of devices. The deployment and the inspection generally have sequential time sequence relationship in a completely parallel mode (namely, the same equipment cannot simultaneously execute the deployment task and the inspection task at the same time).
Therefore, the deployment node and the routing inspection node can be arranged according to the pipeline sequence in a staggered parallel mode. As shown in the figure, the sequence of deployment and inspection in the same equipment is ensured, the parallel of the deployment node and the inspection node is ensured, and meanwhile, the same equipment can only execute one operation in the deployment and inspection at the same time.
In particular, as shown in fig. 2c, on the premise of complete resource competition, because the pipeline is adopted, if the deployment and inspection time of each unit is t, the pipeline mode is adopted to consume 4 pieces of equipment to be 5t in total, and the deployment of the same piece of equipment is ensured to be always before inspection. If the pipeline is not adopted, the device is executed in a pure serial mode, 4 pieces of equipment need 4 times of 2t=8t to perform deployment inspection operation, and the execution time is greatly reduced due to pipeline optimization. In addition, as the number of devices increases, more time is saved.
According to the embodiment of the application, equipment in public cloud deployment and inspection clusters is realized through arrangement and report summarization technologies based on a pipeline system, the problem of low efficiency of manual inspection, acquisition, change, installation deployment and result summarization of a public cloud data center is solved, concurrent execution of time sequence dependency relationships can be supported, the automation degree of the deployment and inspection systems is improved, the labor cost is reduced, and the deployment and inspection efficiency is improved.
Example III
Fig. 3 is a schematic diagram of an equipment deployment inspection device in a third embodiment of the present application. The third embodiment of the present application is a corresponding apparatus for implementing the equipment deployment inspection method provided in the foregoing embodiment of the present application, where the apparatus may be implemented in software and/or hardware, and may be generally integrated into a computer device.
Accordingly, the apparatus of this embodiment may include:
a deployment module 310, configured to run a pipeline to deploy devices in the cluster;
the inspection module 320 is configured to inspect the devices in the cluster; wherein deployment of the device is prior to inspection of the device.
According to the embodiment of the application, each device is deployed and inspected through the automation of the operation assembly line, and each device is ensured to be deployed before the inspection of the device, so that the problem of low efficiency caused by manually deploying and inspecting the device in the prior art is solved, the deployment and inspection time of the device is shortened, the deployment and inspection efficiency of the device is improved, the automation degree of a system is improved, the labor cost is reduced, the labor error is reduced, and the accuracy of the inspection result is improved.
Further, the deployment module 310 is specifically configured to: executing, in a device of a cluster, a deployment node in the pipeline; and deploying, by the deployment node, an application in the device.
Further, the deployment module 310 is specifically configured to: sequentially calling the deployment sub-nodes according to the operation order of the deployment sub-nodes through the deployment nodes; and installing at least one application program in the equipment through each deployment child node.
Further, the application includes middleware.
Further, the inspection module 320 is specifically configured to: executing the routing inspection node in the pipeline in the cluster equipment; and performing performance test on the equipment through the routing inspection node.
Further, the inspection module 320 is specifically configured to: sequentially calling the patrol sub-nodes through the patrol nodes according to the running sequence of the patrol sub-nodes; and carrying out software and hardware performance test on the equipment through each patrol sub-node.
Further, the device deployment inspection apparatus further includes: and the patrol report generation module is used for generating a patrol report through each patrol sub-node after the software and hardware performance test of the equipment is carried out through each patrol sub-node.
Further, the inspection module 320 is specifically configured to: and after the equipment in the cluster is deployed, the equipment in the cluster is inspected.
Further, the inspection module 320 is specifically configured to: and when the first equipment in the cluster is deployed, the second equipment in the cluster is patrolled and examined in parallel.
Further, the inspection module 320 is specifically configured to: after the deployment of the first device in the cluster is completed, the devices in the cluster are inspected according to the deployment sequence of the devices in the cluster.
Further, the device deployment inspection apparatus further includes: the operation result acquisition module is used for executing the operation result acquisition node in the equipment provided with the operation result acquisition node; and acquiring deployment results and/or routing inspection results of all the devices in the cluster through the operation result acquisition node.
Further, the device deployment inspection apparatus further includes: the acquisition interface calling module is used for storing the patrol report in the equipment through the patrol sub-nodes after the patrol report is generated through the patrol sub-nodes; and indicating the equipment to call a preset interface through the patrol sub-node so as to send the patrol report to an operation result acquisition node.
The device can execute the equipment deployment inspection method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present application. Fig. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present application. The computer device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in FIG. 4, the computer device 12 is in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16. Computer device 12 may be a device that is attached to a bus.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry standard architecture (Industry Standard Architecture, ISA) bus, micro channel architecture (Micro Channel Architecture, MCA) bus, enhanced ISA bus, video electronics standards association (Video Electronics Standards Association, VESA) local bus, and peripheral component interconnect (PerIPheral Component Interconnect, PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from and writing to a removable nonvolatile optical disk (e.g., a compact disk Read Only Memory (CD-ROM), digital versatile disk (Digital Video Disc-Read Only Memory, DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may be via an Input/Output (I/O) interface 22. The computer device 12 may also communicate with one or more networks such as a local area network (Local Area Network, LAN), a wide area network (Wide Area Network, WAN) via the network adapter 20, as shown, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that, although not shown in FIG. 4, other hardware and/or software modules may be used in connection with the computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive array (Redundant Arrays of Inexpensive Disks, RAID) systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the device deployment patrol method provided by any embodiment of the present application.
Example five
A fifth embodiment of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the methods as provided by all the inventive embodiments of the present application: operating a pipeline to deploy equipment in the cluster; performing inspection on the equipment in the cluster; wherein deployment of the device is prior to inspection of the device.
The computer storage media of embodiments of the application may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a RAM, a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio frequency (RadioFrequency, RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present application and the technical principle applied. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, while the application has been described in connection with the above embodiments, the application is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the application, which is set forth in the following claims.

Claims (8)

1. A method for device deployment inspection, comprising:
operating a pipeline to deploy equipment in the cluster;
performing inspection on the equipment in the cluster;
wherein deployment of the device is prior to inspection of the device;
the deploying the equipment in the cluster comprises the following steps:
executing, in a device of a cluster, a deployment node in the pipeline;
deploying, by the deployment node, an application in the device;
the deploying, by the deployment node, an application in the device, including:
sequentially calling the deployment sub-nodes according to the operation order of the deployment sub-nodes through the deployment nodes;
installing at least one application program in the device through each deployment child node;
the patrol for the equipment in the cluster comprises the following steps:
executing the routing inspection node in the pipeline in the cluster equipment;
performing performance test on the equipment through the routing inspection node;
the performance test of the equipment is carried out by the inspection node, and the method comprises the following steps:
sequentially calling the patrol sub-nodes through the patrol nodes according to the running sequence of the patrol sub-nodes;
performing software and hardware performance test on the equipment through each patrol sub-node;
the patrol for the equipment in the cluster comprises the following steps:
when a first device in the cluster is deployed, a second device in the cluster is inspected in parallel; meanwhile, after deployment of one device is completed, the device can be inspected; the first equipment is different from the second equipment, and the second equipment is deployed before the second equipment is inspected;
when the first device in the cluster is deployed, the second device in the cluster is patrolled and examined in parallel, which comprises the following steps:
and deploying all the devices in the cluster in sequence, and after the deployment of the first device in the cluster is completed, carrying out inspection on the first device in parallel when the deployment of the second device is completed.
2. The method of claim 1, wherein the application comprises middleware.
3. The method of claim 1, further comprising, after performing a software and hardware performance test on the device by each of the patrol child nodes:
and generating a patrol report through each patrol child node.
4. The method as recited in claim 1, further comprising:
executing the operation result acquisition node in equipment deployed with the operation result acquisition node;
and acquiring deployment results and/or routing inspection results of all the devices in the cluster through the operation result acquisition node.
5. The method of claim 4, further comprising, after generating a patrol report by each of the patrol child nodes:
storing, by the patrol sub-node, the patrol report in the device;
and indicating the equipment to call a preset interface through the patrol sub-node so as to send the patrol report to an operation result acquisition node.
6. An equipment deployment inspection device, comprising:
the deployment module is used for running the pipeline and deploying the devices in the cluster;
the inspection module is used for inspecting the equipment in the cluster; wherein deployment of the device is prior to inspection of the device;
the deployment module is specifically configured to: executing, in a device of a cluster, a deployment node in the pipeline; deploying, by the deployment node, an application in the device;
the deployment module is specifically configured to: sequentially calling the deployment sub-nodes according to the operation order of the deployment sub-nodes through the deployment nodes; installing at least one application program in the device through each deployment child node;
the inspection module is specifically used for: executing the routing inspection node in the pipeline in the cluster equipment; performing performance test on the equipment through the routing inspection node;
the inspection module is specifically used for: sequentially calling the patrol sub-nodes through the patrol nodes according to the running sequence of the patrol sub-nodes; performing software and hardware performance test on the equipment through each patrol sub-node;
the inspection module is specifically used for: when a first device in the cluster is deployed, a second device in the cluster is inspected in parallel; meanwhile, after deployment of one device is completed, the device can be inspected; the first equipment is different from the second equipment, and the second equipment is deployed before the second equipment is inspected;
the inspection module is specifically used for: and deploying all the devices in the cluster in sequence, and after the deployment of the first device in the cluster is completed, carrying out inspection on the first device in parallel when the deployment of the second device is completed.
7. 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 device deployment patrol method of any of claims 1-5 when the program is executed by the processor.
8. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the device deployment inspection method of any of claims 1-5.
CN202110312548.XA 2021-03-24 2021-03-24 Equipment deployment inspection method and device, computer equipment and storage medium Active CN113031969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110312548.XA CN113031969B (en) 2021-03-24 2021-03-24 Equipment deployment inspection method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110312548.XA CN113031969B (en) 2021-03-24 2021-03-24 Equipment deployment inspection method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113031969A CN113031969A (en) 2021-06-25
CN113031969B true CN113031969B (en) 2023-09-19

Family

ID=76473251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110312548.XA Active CN113031969B (en) 2021-03-24 2021-03-24 Equipment deployment inspection method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113031969B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114371853B (en) * 2022-01-10 2022-09-20 柏科数据技术(深圳)股份有限公司 Distributed system deployment method, device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262372A (en) * 2008-04-15 2008-09-10 北京华纬讯电信技术有限公司 Method for video monitoring platform to operate and control front-end device based on SIP server cluster
CN109814876A (en) * 2017-11-22 2019-05-28 航天信息股份有限公司 The method, apparatus and storage medium of disposing application program
CN109995612A (en) * 2019-03-21 2019-07-09 北京奇艺世纪科技有限公司 A kind of service method for inspecting, device and electronic equipment
CN110768872A (en) * 2019-10-31 2020-02-07 南方电网数字电网研究院有限公司 Inspection method, system, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262372A (en) * 2008-04-15 2008-09-10 北京华纬讯电信技术有限公司 Method for video monitoring platform to operate and control front-end device based on SIP server cluster
CN109814876A (en) * 2017-11-22 2019-05-28 航天信息股份有限公司 The method, apparatus and storage medium of disposing application program
CN109995612A (en) * 2019-03-21 2019-07-09 北京奇艺世纪科技有限公司 A kind of service method for inspecting, device and electronic equipment
CN110768872A (en) * 2019-10-31 2020-02-07 南方电网数字电网研究院有限公司 Inspection method, system, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113031969A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN110768872B (en) Inspection method, system, device, computer equipment and storage medium
US9886375B2 (en) Automated execution of functional test scripts on a remote system within a unit testing framework
US9569325B2 (en) Method and system for automated test and result comparison
US9697104B2 (en) End-to end tracing and logging
CN108768730B (en) Method and device for operating intelligent network card
CN111737127A (en) Method and apparatus for testing map service
CN109672722B (en) Data deployment method and device, computer storage medium and electronic equipment
US8806277B1 (en) Systems and methods for fetching troubleshooting data
CN110750592A (en) Data synchronization method, device and terminal equipment
US20220179763A1 (en) Log-based status modeling and problem diagnosis for distributed applications
CN114625597A (en) Monitoring operation and maintenance system, method and device, electronic equipment and storage medium
CN113031969B (en) Equipment deployment inspection method and device, computer equipment and storage medium
CN114629831B (en) Network card performance test method, device, equipment and storage medium
US20200117640A1 (en) Method, device and computer program product for managing storage system
CN111949484B (en) Information processing method, device, electronic equipment and medium
Koller et al. Unified monitoring and analytics in the cloud
US11599404B2 (en) Correlation-based multi-source problem diagnosis
US11294804B2 (en) Test case failure with root cause isolation
CN113641575B (en) Test method, device, equipment and storage medium
US20240103824A1 (en) Server management apparatus and server management method
CN112328184B (en) Cluster capacity expansion method, device, equipment and storage medium
CN114756301A (en) Log processing method, device and system
US11093371B1 (en) Hidden input detection and re-creation of system environment
Wang et al. Log data modeling and acquisition in supporting SaaS software performance issue diagnosis
CN112422349A (en) Network management system, method, equipment and medium for NFV

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