A cobbler-based all-in-one machine automatic deployment method, device and medium
Through Cobbler's all-in-one automatic deployment method, the system image, application and middleware of the edge all-in-one machine are automatically installed and configured, which solves the problems of human resource waste and low efficiency during the deployment process, and achieves efficient automated deployment.
Patent Information
- Application Number
- CN202211564597.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-07
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-12-07
AI Technical Summary
The deployment process of edge all-in-one machines has the problems of being labor-intensive, inefficient, and unable to perform automatic configuration flexibly and efficiently.
Using the all-in-one automatic deployment method based on cobbler, it generates configuration files by obtaining deployment information, assigns IP addresses, sends boot files and deployment compressed packages, automatically installs system images, applications and middleware, and schedules shell scripts and ansible through the management scheduling module module to install and configure.
It realizes the automated deployment of edge all-in-one machines, reduces the workload of operation and maintenance personnel, saves deployment time, and solves the problem of low deployment efficiency.
Smart Images

Figure CN115883348B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an all-in-one automatic deployment method, device and medium based on quickly establishing a Linux network installation environment cobbler. Background Art
[0002] The edge all-in-one machine is an IoT edge platform that integrates software and hardware and is used in small and medium-sized IoT application scenarios. It can carry edge business applications and algorithms and provide convenient services for enterprises.
[0003] At present, before the all-in-one machine is connected to the enterprise system, it is generally necessary for operation and maintenance personnel to install the system and business services, and any installation problems that arise during the installation process need to be solved on-site by the operation and maintenance personnel. This installation method is time-consuming, and there are many unstable factors during the installation process, which consumes human resources. Summary of the invention
[0004] The embodiments of the present application provide a cobbler-based all-in-one machine automatic deployment method, device and medium, which are used to solve the problems of current edge all-in-one machine deployment, which is labor-intensive, inefficient, and unable to be automatically configured flexibly and efficiently.
[0005] On the one hand, an embodiment of the present application provides a method for automatic deployment of an integrated machine based on Cobbler, the method comprising:
[0006] Obtaining first deployment information; wherein the first deployment information includes a number of shell scripts and system image files;
[0007] Generate a corresponding configuration file based on the second deployment information pre-configured by the user; the configuration file is a configuration file corresponding to cobbler;
[0008] Obtaining an IP address request allocation instruction of at least one edge machine, and allocating a corresponding IP address to the edge machine to establish a system deployment channel;
[0009] Based on the deployment request information of the edge machine, the corresponding boot file and the preset deployment compressed package are sent to the edge machine in sequence from the system deployment channel; the boot file is used to guide the installation of the corresponding system image file;
[0010] Based on the first deployment information and the configuration file, the corresponding system image file, application and middleware are installed to the edge machine, and the deployment progress of the edge machine is determined.
[0011] In one implementation of the present application, a boot storage location of the edge machine is determined by a preset management scheduling module, so as to install the system image file through the cobbler and the boot file in the edge machine; the management scheduling module is used to schedule the cobbler, the shell script and the ansible module; the ansible module is used to schedule the execution of the shell script;
[0012] When the deployment progress of the edge machine is that the system image installation is completed, the management scheduling module schedules the shell script and the ansible module in sequence according to a predetermined order to install the application and middleware corresponding to the shell script to the edge machine.
[0013] In one implementation of the present application, it is determined whether there is installation error information by scheduling a self-check script in the shell script;
[0014] In the case where the installation error information exists, determining the application, middleware or system image file corresponding to the security error information, and generating corresponding alarm information; wherein the alarm information is used to indicate the application, middleware or system image file where the installation error occurs; the alarm information includes at least one or more of the following: sound, text, picture;
[0015] The alarm information is sent to the corresponding user terminal.
[0016] In one implementation of the present application, after receiving the IP address request allocation instruction, the MAC address of the edge machine is determined, and the MAC address is compared with a preset local area network address table to determine whether the MAC address of the edge machine is in a deployable local area network;
[0017] If yes, assign the corresponding IP address to the edge machine to establish a system deployment channel;
[0018] Otherwise, abnormal access information is generated and sent to the user terminal and the edge integrated machine.
[0019] In one implementation of the present application, several deployment templates are generated based on the user's configuration operation; the deployment templates include several deployment parameters in the second deployment information; the deployment parameters are used to configure the configuration parameters of cobbler, ansible module and shell script; the deployment templates are scheduled by the management scheduling module.
[0020] In one implementation of the present application, the configuration file includes: a user configuration file Profile file and an automatic response file kickstart file;
[0021] Based on the first deployment information and the configuration file, the corresponding system image file, application and middleware are installed on the edge all-in-one machine, specifically including:
[0022] Sending the system image file in the first deployment information to the edge machine through the management and scheduling module; and installing the system image file to the edge machine through the configuration file;
[0023] When the deployment progress of the edge all-in-one machine is that the system image installation is completed, the application and middleware are installed to the edge all-in-one machine according to the corresponding deployment scripts of the application and middleware corresponding to the shell script and the preset deployment compressed package; and the configuration parameters of the installed application and middleware are configured according to the configuration file.
[0024] In one implementation of the present application, the shell script includes a control script, a self-check script, and a deployment script; wherein the control script is used to schedule the self-check script and the deployment script; the self-check script and the deployment script feed back the running results to the control script.
[0025] In one implementation of the present application, the deployment script includes at least one or more of the following: a relational database management system MySQL installation script, a remote dictionary service Redis installation script, an industrial Internet IIoT installation script, and a terminal remote maintenance management system TMS installation script.
[0026] On the other hand, the embodiment of the present application further provides an all-in-one automatic deployment device based on cobbler, the device comprising:
[0027] at least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0028] Obtaining first deployment information; wherein the first deployment information includes a number of shell scripts and system image files;
[0029] Generate a corresponding configuration file based on the second deployment information pre-configured by the user; the configuration file is a configuration file corresponding to cobbler;
[0030] Obtaining an IP address request allocation instruction of at least one edge machine, and allocating a corresponding IP address to the edge machine to establish a system deployment channel;
[0031] Based on the deployment request information of the edge machine, the corresponding boot file and the preset deployment compressed package are sent to the edge machine in sequence from the system deployment channel; the boot file is used to guide the installation of the corresponding system image file;
[0032] Based on the first deployment information and the configuration file, the corresponding system image file, application and middleware are installed to the edge machine, and the deployment progress of the edge machine is determined.
[0033] On the other hand, the embodiment of the present application further provides a cobbler-based all-in-one machine automatic deployment non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:
[0034] Obtaining first deployment information; wherein the first deployment information includes a number of shell scripts and system image files;
[0035] Generate a corresponding configuration file based on the second deployment information pre-configured by the user; the configuration file is a configuration file corresponding to cobbler;
[0036] Obtaining an IP address request allocation instruction of at least one edge machine, and allocating a corresponding IP address to the edge machine to establish a system deployment channel;
[0037] Based on the deployment request information of the edge machine, the corresponding boot file and the preset deployment compressed package are sent to the edge machine in sequence from the system deployment channel; the boot file is used to guide the installation of the corresponding system image file;
[0038] Based on the first deployment information and the configuration file, the corresponding system image file, application and middleware are installed to the edge machine, and the deployment progress of the edge machine is determined.
[0039] Through the first deployment information and the second deployment information, the edge integrated machine for establishing the system channel is automatically deployed, and the operation and maintenance personnel do not need to manually deploy the system and business services when deploying the system, business applications and middleware on each integrated machine. This saves the deployment time of the integrated machine and solves the problem that the current edge integrated machine deployment is labor-intensive, inefficient, and cannot be flexibly and efficiently configured automatically. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0041] Figure 1A schematic diagram of a process of an automatic deployment method of an integrated machine based on Cobbler in an embodiment of the present application;
[0042] Figure 2 A schematic diagram of an automatic deployment method of an integrated machine based on Cobbler in an embodiment of the present application;
[0043] Figure 3 This is a schematic diagram of the structure of a server corresponding to a cobbler-based all-in-one machine automatic deployment method in an embodiment of the present application;
[0044] Figure 4 This is another schematic diagram of an all-in-one automatic deployment method based on cobbler in an embodiment of the present application;
[0045] Figure 5 A schematic diagram of a shell script in a cobbler-based all-in-one machine automatic deployment method in an embodiment of the present application;
[0046] Figure 6 It is a structural schematic diagram of a cobbler-based all-in-one automatic deployment device in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0048] The embodiment of the present application provides a method, device and medium for automatic deployment of an integrated machine based on Cobbler, which is used to solve the problem that the current deployment of edge integrated machines is labor-intensive, inefficient and cannot be automatically configured flexibly and efficiently. It realizes automatic deployment of integrated machines and reduces the workload of operation and maintenance personnel.
[0049] The following describes in detail various embodiments of the present application in conjunction with the accompanying drawings.
[0050] The present application embodiment provides a method for automatic deployment of an integrated machine based on cobbler, such as Figure 1 As shown, the method may include steps S101-S105:
[0051] S101: The server obtains first deployment information.
[0052] The first deployment information includes a number of shell scripts and system image files. The first deployment information is information pre-set in the server by the operation and maintenance personnel.
[0053] It should be noted that the server, as an edge all-in-one machine based on Cobbler, such as the executor of the "Pioneer" all-in-one machine automated deployment method, is only an example. The executor is not limited to the server, and this application does not make specific limitations on this.
[0054] The server is pre-set with the deployment scripts of the application and middleware of the all-in-one machine written and deployed by the operation and maintenance personnel, and the cobbler is set in the server to automatically install the Linux operating system. It also includes the ansible module, an automated operation and maintenance tool for scheduling and executing shell scripts. Figure 2 As shown, the operation and maintenance personnel 210 configures the deployment template 310 and manages the deployment template 320 on the server 220, and the server 220 automatically deploys each edge machine 230. For the convenience of explaining the embodiment, only three edge machines are drawn in the figure. In actual use, the edge machines connected to the server are not limited to three. Among them, the deployment template management 320 includes the following Figure 3 Template addition 321, template deletion 322, template publishing 323, operation and maintenance personnel can also perform system image management 330 (image upload 331, image deletion 332, image update 333) and shell script management 340 (including: shell script upload 341, shell script deletion 342, shell script update 343). In addition, the server also includes cobbler module 350, ansible module 360, shell script module 370.
[0055] S102: The server generates a corresponding configuration file based on the second deployment information pre-configured by the user.
[0056] The configuration file is the configuration file corresponding to cobbler.
[0057] In an embodiment of the present application, the server can generate a configuration file according to the second deployment information pre-configured by the user (such as an operation and maintenance personnel or a user of the edge all-in-one machine), and the second deployment information refers to the deployment parameters using cobbler, ansible and shell scripts, such as the release information of the system image file, version information, installation path, etc. According to the pre-configured second deployment information, a configuration file corresponding to cobbler is generated, such as: a user configuration file Profile file and an automatic response file kickstart file.
[0058] In one example, before generating a corresponding configuration file based on the second deployment information pre-configured by the user, the method further includes:
[0059] The server generates several deployment templates based on the configuration operations of the user (operation and maintenance personnel). The deployment templates include several deployment parameters in the second deployment information. The deployment parameters are used to configure the configuration parameters of cobbler, ansible module and shell script. The deployment templates are scheduled by the management scheduling module.
[0060] In other words, the second deployment information may have a preset deployment template corresponding to the operation and maintenance personnel. When configuring the deployment parameters of the edge machine, cobbler can perform the configuration by selecting the deployment template.
[0061] S103, the server obtains an IP address request allocation instruction of at least one edge machine, and allocates a corresponding IP address to the edge machine to establish a system deployment channel.
[0062] In the embodiment of the present application, the edge integrated machine can generate an IP address request allocation instruction and transmit the IP address to the corresponding switch 410 (such as Figure 4 As shown, the server can connect the edge all-in-one machine and the user terminal of the operation and maintenance personnel through a switch) and send an IP address request allocation instruction to the server for system deployment. After obtaining the IP address request allocation instruction, the server can establish a system deployment channel according to the allocated IP address from the system deployment service.
[0063] The server obtains an IP address request allocation instruction of at least one edge machine, and allocates a corresponding IP address to the edge machine to establish a system deployment channel, specifically including:
[0064] After receiving the IP address allocation request instruction, the server determines the MAC address of the edge machine and compares the MAC address with the preset LAN address table to determine whether the MAC address of the edge machine is in the deployable LAN. That is, if the MAC address of the edge machine exists in the LAN address table, then the MAC address is in the deployable LAN, otherwise it is not in the deployable LAN.
[0065] The preset LAN address table can be preset with the server or a storage medium connected to the server, such as a database, and the LAN address table is an address table of the LAN where the server is located.
[0066] If it is determined that the edge machine is in a deployable LAN, a corresponding IP address is assigned to the edge machine to establish a system deployment channel. Otherwise, abnormal access information is generated and sent to the user terminal and the edge machine.
[0067] By querying the LAN address table, it is determined that the integrated machine is in the server's LAN, which can ensure that the integrated machine can be deployed safely and prevent information from being stolen or illegal systems from being installed. Abnormal access information is sent to the user terminal and the edge integrated machine to remind the user whether there is an illegal deployment request or to enable the edge integrated machine to select the correct LAN for automatic deployment.
[0068] S104, based on the deployment request information of the edge machine, the server sends the corresponding boot file and the preset deployment compressed package to the edge machine in sequence from the system deployment channel.
[0069] Among them, the boot file is used to boot and install the corresponding system image file.
[0070] In the embodiment of the present application, in response to the user's operation on the edge machine (selecting the version and type of the installed operating system, etc.), the deployment request information corresponding to the user operation is sent to the system deployment server through the system deployment channel; wherein the deployment request information is used to request a boot file, and the boot file type includes at least an operating system boot file, a middleware boot file, and an application service boot file. Then, the edge machine configures the corresponding system according to the boot file from the system deployment server and the corresponding preset deployment compressed package of the boot file.
[0071] The order of sending the boot files is predetermined, and the order can be preset in the management and scheduling module, which performs unified scheduling of deployment.
[0072] S105, the server installs the corresponding system image file, application and middleware to the edge machine based on the first deployment information and configuration file, and determines the deployment progress of the edge machine.
[0073] The deployment progress refers to the progress of installing the system image file, application installation progress, and middleware installation progress according to the configuration file. Among them, the installation system image file and the boot file have been sent to the edge machine, and the boot system image file can be installed. The deployment compressed package of the application and middleware is also in the edge machine, and can be installed on the edge machine.
[0074] Wherein, based on the first deployment information and the configuration file, the corresponding system image file, the application and the middleware are installed on the edge machine, and the deployment progress of the edge machine is determined, specifically including:
[0075] First, the server determines the boot storage location of the edge appliance through the preset management scheduling module, so as to install the system image file through cobbler and the boot file in the edge appliance. The management scheduling module is used to schedule cobbler, shell scripts and ansible modules. The ansible module is used to schedule the execution of shell scripts.
[0076] That is to say, the boot storage location (installation location) of the system image file, application and middleware in the edge all-in-one machine is determined through the management scheduling module, and then the system image file is automatically installed through the boot file.
[0077] The above cobbler module is responsible for the installation of the all-in-one operating system, and the shell script module is responsible for the installation and operation and maintenance self-check of applications and middleware.
[0078] When the deployment progress of the edge machine is that the system image installation is completed, the management scheduling module is used to schedule the shell script and the ansible module in sequence according to the predetermined order to install the application and middleware corresponding to the shell script to the edge machine.
[0079] During the deployment process, there may be installation failures, which require an operation and maintenance self-check function, as follows:
[0080] The server determines whether there is any installation error information by scheduling the self-check script in the shell script.
[0081] In the case of installation error information, the application, middleware or system image file corresponding to the security error information is determined, and a corresponding alarm message is generated. The alarm message is used to indicate the application, middleware or system image file where the installation error occurred. The alarm message includes at least one or more of the following: sound, text, and picture. Then, the alarm message is sent to the corresponding user terminal.
[0082] Among them, shell scripts include control scripts, self-check scripts, and deployment scripts. The workflow of the shell script module is as follows: Figure 5 As shown, the control script schedules the self-check script and the deployment script.
[0083] The control script 510 is used to schedule 511 the self-check script 520 and the deployment script 530. The self-check script and the deployment script will run the results and feedback 512 to the control script. The deployment script includes at least one or more of the following: the relational database management system MySQL installation script, the remote dictionary service Redis installation script, the industrial Internet IIoT installation script, and the terminal remote maintenance management system (Terminal Management System, TMS) installation script.
[0084] In the embodiment of the present application, based on the first deployment information and the configuration file, the corresponding system image file, application and middleware are installed to the edge all-in-one machine, which specifically includes:
[0085] The server sends the system image file in the first deployment information to the edge machine through the management scheduling module. And installs the system image file to the edge machine through the configuration file. When the deployment progress of the edge machine is that the system image installation is completed, the application and the middleware are installed to the edge machine according to the corresponding deployment scripts and preset deployment compression packages of the application and the middleware corresponding to the shell script. And configure the configuration parameters of the installed application and the middleware according to the configuration file.
[0086] That is to say, after the operating system of the edge machine is installed, the application and middleware are installed through the shell script. The application can include: microservices developed based on spring cloud, middleware such as MySQL, Redis, MongoDB database based on distributed file storage, open source stream processing platform kafka, dynamic service discovery, configuration management and service management platform (Dynamic Naming and Configuration Service, nacos) that is easy to build cloud native applications, open source million-level distributed MQTT message server emqx, and computing engine spark.
[0087] This application uses the server (deployment platform) of the above solution to automatically deploy the edge all-in-one machine, eliminating the need for manual operations by operation and maintenance personnel when deploying systems, business applications and middleware on each all-in-one machine, saving the deployment time of the all-in-one machine and solving the problem that the current deployment of edge all-in-one machines is labor-intensive, inefficient and unable to be automatically configured flexibly and efficiently.
[0088] Figure 6 An all-in-one automatic deployment device based on cobbler is provided in an embodiment of the present application, and the device includes:
[0089] At least one processor; and a memory in communication with the at least one processor. The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to:
[0090] Get the first deployment information. The first deployment information includes several shell scripts and system image files. Generate a corresponding configuration file based on the second deployment information pre-configured by the user. The configuration file is a configuration file corresponding to cobbler. Get the IP address request allocation instruction of at least one edge all-in-one machine, and assign the corresponding IP address to the edge all-in-one machine to establish a system deployment channel. Based on the deployment request information of the edge all-in-one machine, send the corresponding boot file and preset deployment compressed package to the edge all-in-one machine from the system deployment channel in sequence. The boot file is used to boot the installation of the corresponding system image file. Based on the first deployment information and the configuration file, install the corresponding system image file, application and middleware to the edge all-in-one machine, and determine the deployment progress of the edge all-in-one machine.
[0091] The embodiment of the present application also provides a non-volatile computer storage medium for automatic deployment of an all-in-one machine based on cobbler, which stores computer executable instructions, and the computer executable instructions are set to:
[0092] Get the first deployment information. The first deployment information includes several shell scripts and system image files. Generate a corresponding configuration file based on the second deployment information pre-configured by the user. The configuration file is a configuration file corresponding to cobbler. Get the IP address request allocation instruction of at least one edge all-in-one machine, and assign the corresponding IP address to the edge all-in-one machine to establish a system deployment channel. Based on the deployment request information of the edge all-in-one machine, send the corresponding boot file and preset deployment compressed package to the edge all-in-one machine from the system deployment channel in sequence. The boot file is used to boot the installation of the corresponding system image file. Based on the first deployment information and the configuration file, install the corresponding system image file, application and middleware to the edge all-in-one machine, and determine the deployment progress of the edge all-in-one machine.
[0093] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0094] The devices, media and methods provided in the embodiments of the present application correspond one to one, and therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0096] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A cobbler-based all-in-one machine automatic deployment method, characterized in that: The method comprises: Obtaining first deployment information; wherein the first deployment information includes a number of shell scripts and system image files; Generate a corresponding configuration file based on the second deployment information pre-configured by the user; the configuration file is a configuration file corresponding to cobbler; Obtaining an IP address request allocation instruction of at least one edge machine, and allocating a corresponding IP address to the edge machine to establish a system deployment channel; Based on the deployment request information of the edge machine, the corresponding boot file and the preset deployment compressed package are sent to the edge machine in sequence from the system deployment channel; the boot file is used to guide the installation of the corresponding system image file; Based on the first deployment information and the configuration file, install the corresponding system image file, application and middleware to the edge machine, and determine the deployment progress of the edge machine; Wherein, based on the first deployment information and the configuration file, the corresponding system image file, application and middleware are installed to the edge machine, and the deployment progress of the edge machine is determined, specifically including: The boot storage location of the edge machine is determined by a preset management and scheduling module, so as to install the system image file through the cobbler and the boot file in the edge machine; the management and scheduling module is used to schedule the cobbler, the shell script and the ansible module; the ansible module is used to schedule the execution of the shell script; When the deployment progress of the edge machine is that the system image installation is completed, the shell script and the ansible module are sequentially scheduled in a predetermined order through the management scheduling module to install the application and middleware corresponding to the shell script to the edge machine; Wherein, the method further comprises: Determine whether there is installation error information by scheduling a self-check script in the shell script; In the case where the installation error information exists, determining the application, middleware or system image file corresponding to the installation error information, and generating corresponding alarm information; wherein the alarm information is used to indicate the application, middleware or system image file in which the installation error occurs; the alarm information includes at least one or more of the following: sound, text, picture; Sending the alarm information to the corresponding user terminal; The step of obtaining an IP address request allocation instruction of at least one edge machine and allocating a corresponding IP address to the edge machine to establish a system deployment channel specifically includes: After receiving the IP address allocation request instruction, determine the MAC address of the edge device, and compare the MAC address with a preset local area network address table to determine whether the MAC address of the edge device is in a deployable local area network; If yes, assign the corresponding IP address to the edge machine to establish a system deployment channel; Otherwise, abnormal access information is generated and sent to the user terminal and the edge integrated machine.
2. The method according to claim 1, characterized in that: Before generating a corresponding configuration file based on the second deployment information pre-configured by the user, the method further includes: Based on the configuration operation of the user, several deployment templates are generated; the deployment templates include several deployment parameters in the second deployment information; the deployment parameters are used to configure the configuration parameters of cobbler, ansible module and shell script; the deployment templates are scheduled by the management scheduling module.
3. The method according to claim 1, characterized in that: The configuration files include: a user configuration file Profile file and an automatic response file kickstart file; Based on the first deployment information and the configuration file, the corresponding system image file, application and middleware are installed on the edge all-in-one machine, specifically including: Sending the system image file in the first deployment information to the edge machine through the management and scheduling module; and installing the system image file to the edge machine through the configuration file; When the deployment progress of the edge all-in-one machine is that the system image installation is completed, the application and middleware are installed to the edge all-in-one machine according to the corresponding deployment scripts of the application and middleware corresponding to the shell script and the preset deployment compressed package; and the configuration parameters of the installed application and middleware are configured according to the configuration file.
4. The method according to claim 1, characterized in that: The shell script includes a control script, a self-check script, and a deployment script; wherein the control script is used to schedule the self-check script and the deployment script; the self-check script and the deployment script feed back the running results to the control script.
5. The method according to claim 4, characterized in that: The deployment script includes at least one or more of the following: a relational database management system MySQL installation script, a remote dictionary service Redis installation script, an industrial Internet IIoT installation script, and a terminal remote maintenance management system TMS installation script.
6. An all-in-one automatic deployment device based on cobbler, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a cobbler-based all-in-one automatic deployment method as described in any one of claims 1 to 5 above.
7. A cobbler-based all-in-one machine automatically deploys a non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions can execute a cobbler-based all-in-one automatic deployment method as described in any one of claims 1 to 5 above.
