Distributed control system cluster deployment methods, systems, equipment and media
By automating the connection and configuration between the PXE server and the node computer, the problem of low installation efficiency of node computers in distributed control systems is solved, and efficient and accurate cluster deployment is achieved.
Patent Information
- Application Number
- CN202311204308.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-18
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-09-18
AI Technical Summary
The installation process of operating systems and host computer software for node computers in existing distributed control systems is inefficient, time-consuming, and has a high error rate.
A PXE server is used to connect to the node computers. Using pre-tailored operating system image files and host computer software packages, automated installation and mutual trust configuration are performed via PXE, generating LLD files and system node configuration tables to achieve automated cluster deployment.
It improved installation efficiency, reduced configuration time and error rate, and enabled efficient and accurate deployment of node computer clusters.
Smart Images

Figure CN117201316B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of distributed control system technology, and specifically relates to a distributed control system cluster deployment method, system, equipment and medium. Background Technology
[0002] A distributed control system (DCS) is a new type of control equipment that uses computer technology to centrally monitor, operate, manage, and distribute control of a production process. It is widely used in industrial production fields such as power. The host computer of an existing distributed control system includes a large number of node computers, each of which is equipped with host computer software to realize the functions of monitoring, operation, management, and distributed control.
[0003] In the initial stage of operation of a distributed control system, it is necessary to install the operating system and the host computer software of the distributed control system on each node computer. At present, the installation process of the operating system and host computer software of the node computer is mostly carried out by installing and configuring the node computer one by one. This method is inefficient, time-consuming, has a high error rate, and is difficult to check. Summary of the Invention
[0004] In view of the technical problems existing in the prior art, the present invention provides a distributed control system cluster deployment method, system, equipment and medium to solve the technical problems that the installation process of the operating system and host computer software for node computers mostly adopts the method of installing and configuring one node computer at a time, which is inefficient, time-consuming and has a high error rate.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] This invention provides a method for deploying a distributed control system cluster, comprising:
[0007] Connect the PXE server to all node computers; wherein, the PXE server stores pre-tailed operating system image files, host computer software packages, and software configuration file packages;
[0008] Based on the pre-trimmed operating system image file, the operating system is installed on each node computer to obtain a node computer with the operating system installed.
[0009] The software configuration file package is copied and decompressed to the node computer with the operating system installed, and mutual trust between the node computers is configured to obtain the node computer with mutual trust configuration.
[0010] Based on the actual configuration requirements of the node computer after the mutual trust configuration, an LLD file is generated; wherein, the LLD file contains the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer.
[0011] Generate a system node configuration table based on the LLD file;
[0012] The host computer software package is copied to the node computer after mutual trust configuration, and the host computer software is installed to the node computer after mutual trust configuration according to the system node configuration table, so as to obtain a node computer with host computer software installed.
[0013] Furthermore, the process of connecting the PXE server to all node computers is as follows:
[0014] A switch is used to connect the PXE server to all node computers.
[0015] Furthermore, the pre-tailored operating system image file includes the operating system kernel file, the system default configuration file, and pre-installed third-party commercial software packages;
[0016] The system default configuration files include language configuration files, time zone configuration files, root user configuration files, default user configuration files, disk partitioning configuration files, and network configuration files.
[0017] The pre-installed third-party commercial software packages include libdb, libgtop, libssl, ntp, sox, tcsh, unzip, and zip packages.
[0018] Furthermore, based on the pre-tailed operating system image file, the operating system is installed on each node computer to obtain a node computer with an operating system installed, as follows:
[0019] Using a PXE server, an operating system is installed on each node computer via PXE. Specifically, after the node computer powers on, it boots from the PXE network card, obtains an IP address from the DHCP server on the network, and searches for the location of the boot file. After obtaining the IP address and boot file location assigned by the DHCP server, the node computer retrieves and executes the pre-tailed operating system image file from the PXE server, thus obtaining a node computer with an operating system installed.
[0020] Furthermore, the process of copying and decompressing the software configuration package to the node computer with the operating system installed, configuring mutual trust among the node computers, and obtaining the node computer with mutual trust configuration is as follows:
[0021] A mutual trust script is pre-installed in pxelinnux.cfg on the node computer with the operating system installed. After the operating system is installed, the pre-installed mutual trust script is executed automatically, and after decompressing the software configuration file, it sets trusted operations.
[0022] Furthermore, the host computer software package is copied to the node computer after mutual trust configuration, and the host computer software is installed on the node computer after mutual trust configuration according to the system node configuration table, resulting in a node computer with the host computer software installed. The specific process is as follows:
[0023] Copy the host computer software package to the node computer after the mutual trust configuration;
[0024] The node computer configured with mutual trust reads the pre-configured node information from the system node configuration table using the sm_cfg_deployment tool and inserts the read node information into the sysinfo database; then, the host computer software is installed on the node computer configured with mutual trust, resulting in a node computer with the host computer software installed.
[0025] The system node configuration table is named syscfg.xml and includes node name, node type, IP address of network A and IP address of network B.
[0026] Furthermore, the system node configuration table, after installing the host computer software into the node computer after mutual trust configuration, and after obtaining the node computer with the host computer software installed, also includes an installation verification step.
[0027] The installation verification steps are as follows:
[0028] The local node name and software application type of the node computer with the host computer software installed are compared with the actual node name and software application type of the current node computer in the LLD file. If they match, the installation is successful.
[0029] This invention also provides a distributed control system cluster deployment system, comprising:
[0030] A connection module is used to connect the PXE server to all node computers; wherein, the PXE server stores a pre-tailed operating system image file, a host computer software package, and a software configuration file package;
[0031] The operating system installation module is used to install the operating system on each node computer according to the pre-tailed operating system image file, so as to obtain a node computer with the operating system installed.
[0032] The mutual trust configuration module is used to copy and decompress the software configuration file package to the node computer with the operating system installed, and configure the mutual trust between the node computers to obtain the node computer with mutual trust configuration.
[0033] The file generation module is used to generate an LLD file based on the actual configuration requirements of the node computer after the mutual trust configuration; wherein, the LLD file includes the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer.
[0034] The system node configuration table generation module is used to generate a system node configuration table based on the LLD file;
[0035] The software installation module is used to copy the host computer software package to the node computer after mutual trust configuration, and install the host computer software to the node computer after mutual trust configuration according to the system node configuration table, so as to obtain a node computer with the host computer software installed.
[0036] The present invention also provides a distributed control system cluster deployment device, comprising:
[0037] Memory, used to store computer programs;
[0038] A processor is used to implement the steps of the distributed control system cluster deployment method when executing the computer program.
[0039] The present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the distributed control system cluster deployment method.
[0040] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0041] This invention provides a distributed control system cluster deployment method and system. It utilizes a PXE server to connect with all node computers, sequentially performing operating system installation, mutual trust configuration, and host computer software installation, thereby achieving automated cluster deployment of node computers. This effectively reduces configuration time, improves the installation efficiency of the DCS system, and significantly reduces the installation error rate. It has the advantages of high installation and configuration efficiency, short time consumption, and high accuracy. Attached Figure Description
[0042] Figure 1 This is a flowchart of the distributed control system cluster deployment method described in this invention. Detailed Implementation
[0043] To make the technical problems solved by the present invention, the technical solutions, and the beneficial effects clearer, the following specific embodiments provide a further detailed description of the present invention. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of the invention.
[0044] As attached Figure 1 As shown, the present invention provides a method for deploying a distributed control system cluster, comprising the following steps:
[0045] Step 1: Connect the PXE server to all node computers. Specifically, use a switch to connect the PXE server to each node computer.
[0046] In this invention, the PXE server stores a pre-tailed operating system image file, a host computer software package, and a software configuration file package; the pre-tailed operating system image file includes an operating system kernel file, a system default configuration file, and pre-installed third-party commercial software packages.
[0047] The system default configuration files include language configuration files, time zone configuration files, root user configuration files, default user configuration files, disk partitioning configuration files, and network configuration files; the pre-installed third-party commercial software packages include libdb, libgtop, libssl, ntp, sox, tcsh, unzip, and zip packages.
[0048] Step 2: Based on the pre-tailored operating system image file, install the operating system on each node computer to obtain node computers with the operating system installed. The specific process is as follows:
[0049] Using a PXE server, an operating system is installed on each node computer via PXE. Specifically, after the node computer powers on, it boots from the PXE network card, obtains an IP address from the DHCP server on the network, and searches for the location of the boot file. After obtaining the IP address and boot file location assigned by the DHCP server, the node computer retrieves and executes the pre-tailed operating system image file from the PXE server, thus obtaining a node computer with an operating system installed.
[0050] Step 3: Copy and decompress the software configuration file package to the node computer with the operating system installed, and configure mutual trust between the node computers to obtain the node computer with mutual trust configuration. Specifically, a mutual trust script is pre-installed in pxelinnux.cfg on the node computer with the operating system installed. After the operating system is installed, the pre-installed mutual trust script is automatically executed, decompressing the software configuration file and setting trusted operations.
[0051] Step 4: Generate an LLD file based on the actual configuration requirements of the node computers after the mutual trust configuration. The LLD file includes the actual node name, node type, software application type, primary / backup configuration information, and AB network IP information of the node computers.
[0052] Step 5: Generate a system node configuration table based on the LLD file. The system node configuration table is named syscfg.xml and includes node name, node type, IP address of network A, and IP address of network B.
[0053] Step 6: Copy the host computer software package to the node computer after mutual trust configuration, and install the host computer software to the node computer after mutual trust configuration according to the system node configuration table, thus obtaining a node computer with the host computer software installed. The specific process is as follows:
[0054] Copy the host computer software package to the node computer after the mutual trust configuration;
[0055] The node computer configured with mutual trust reads the pre-configured node information from the system node configuration table using the sm_cfg_deployment tool and inserts the read node information into the sysinfo database. Then, the host computer software is installed on the node computer configured with mutual trust, resulting in a node computer with the host computer software installed.
[0056] Step 7: Installation Verification
[0057] The local node name and software application type of the node computer with the host computer software installed are compared with the actual node name and software application type of the current node computer in the LLD file. If they match, the installation is successful.
[0058] The distributed control system cluster deployment method described in this invention achieves automated cluster deployment of node computers, effectively reducing configuration time, improving the installation efficiency of the DCS system, and greatly reducing the installation error rate; it has the advantages of high installation and configuration efficiency, short time consumption, and high accuracy.
[0059] This invention also provides a distributed control system cluster deployment system, including a connection module, an operating system installation module, a mutual trust configuration module, a file generation module, a system node configuration table generation module, and a software installation module; the connection module is used to connect a PXE server to all node computers; wherein, the PXE server stores a pre-tailed operating system image file, a host computer software package, and a software configuration file package; the operating system installation module is used to install the operating system on each node computer according to the pre-tailed operating system image file, resulting in node computers with the operating system installed; the mutual trust configuration module is used to copy and decompress the software configuration file package to the node computers with the operating system installed, and configure... The system establishes mutual trust among the node computers to obtain node computers with mutual trust configuration. A file generation module generates an LLD file based on the actual configuration requirements of the node computers with mutual trust configuration. The LLD file includes the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computers. A system node configuration table generation module generates a system node configuration table based on the LLD file. A software installation module copies the host computer software package to the node computers with mutual trust configuration and installs the host computer software to the node computers with mutual trust configuration according to the system node configuration table, resulting in node computers with the host computer software installed.
[0060] The present invention also provides a distributed control system cluster deployment device, comprising: a memory for storing a computer program; and a processor for executing the computer program to implement the steps of the distributed control system cluster deployment method.
[0061] When the processor executes the computer program, it implements the steps of the above-described distributed control system cluster deployment method, for example: connecting a PXE server to all node computers; wherein the PXE server stores a pre-tailed operating system image file, a host computer software package, and a software configuration file package; installing the operating system on each node computer according to the pre-tailed operating system image file, resulting in node computers with the operating system installed; copying and decompressing the software configuration file package to the node computers with the operating system installed, and configuring mutual trust among the node computers, resulting in node computers with mutual trust configuration; generating an LLD file according to the actual configuration requirements of the node computers with mutual trust configuration; wherein the LLD file contains the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer; generating a system node configuration table according to the LLD file; copying the host computer software package to the node computers with mutual trust configuration, and installing the host computer software on the node computers with mutual trust configuration according to the system node configuration table, resulting in node computers with the host computer software installed.
[0062] Alternatively, when the processor executes the computer program, it implements the functions of each module in the above system, such as: a connection module for connecting the PXE server to all node computers; wherein the PXE server stores a pre-tailed operating system image file, a host computer software package, and a software configuration file package; an operating system installation module for installing the operating system on each node computer according to the pre-tailed operating system image file, resulting in node computers with the operating system installed; and a mutual trust configuration module for copying and decompressing the software configuration file package to the node computers with the operating system installed, and configuring mutual trust among the node computers to obtain a mutual trust configuration. The system includes: a node computer; a file generation module for generating an LLD file based on the actual configuration requirements of the node computer after mutual trust configuration; wherein the LLD file contains the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer; a system node configuration table generation module for generating a system node configuration table based on the LLD file; and a software installation module for copying the host computer software package to the node computer after mutual trust configuration and installing the host computer software to the node computer after mutual trust configuration according to the system node configuration table, thereby obtaining a node computer with the host computer software installed.
[0063] For example, the computer program can be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing preset functions, wherein the instruction segments describe the execution process of the computer program in the distributed control system cluster deployment device. For example, the computer program can be divided into a connection module, an operating system installation module, a mutual trust configuration module, a file generation module, a system node configuration table generation module, and a software installation module.
[0064] The specific functions of each module are as follows: The connection module connects the PXE server to all node computers; the PXE server stores a pre-tailed operating system image file, a host computer software package, and a software configuration file package; the operating system installation module installs the operating system on each node computer according to the pre-tailed operating system image file, resulting in node computers with the operating system installed; the mutual trust configuration module copies and decompresses the software configuration file package to the node computers with the operating system installed, and configures mutual trust among the node computers, resulting in node computers with mutual trust configuration; file generation... The module is used to generate an LLD file based on the actual configuration requirements of the node computer after mutual trust configuration; wherein, the LLD file contains the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer; the system node configuration table generation module is used to generate a system node configuration table based on the LLD file; the software installation module is used to copy the host computer software package to the node computer after mutual trust configuration, and install the host computer software to the node computer after mutual trust configuration according to the system node configuration table, thereby obtaining a node computer with the host computer software installed.
[0065] The distributed control system cluster deployment device can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. The distributed control system cluster deployment device may include, but is not limited to, processors and memory. Those skilled in the art will understand that the above are examples of distributed control system cluster deployment devices and do not constitute a limitation on the distributed control system cluster deployment device. It may include more components than described above, or combine certain components, or different components. For example, the distributed control system cluster deployment device may also include input / output devices, network access devices, buses, etc.
[0066] The processor referred to can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or any conventional processor. The processor is the control center of the distributed control system cluster deployment equipment, connecting various parts of the entire distributed control system cluster deployment equipment via various interfaces and lines.
[0067] The memory can be used to store the computer program and / or module. The processor implements various functions of the distributed control system cluster deployment equipment by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory.
[0068] The memory may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function (such as sound playback or image playback). The data storage area may store data created based on the use of the phone (such as audio data or a phonebook). Furthermore, the memory may include high-speed random access memory (RAM) and non-volatile memory, such as hard disks, RAM, plug-in hard disks, SmartMediaCards (SMC), Secure Digital (SD) cards, flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0069] The present invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the distributed control system cluster deployment method described above.
[0070] If the modules / units of the distributed control system cluster deployment system are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
[0071] Based on this understanding, the present invention can implement all or part of the processes in the above-described distributed control system cluster deployment method, or it can be accomplished by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the above-described distributed control system cluster deployment method. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or a preset intermediate form, etc.
[0072] The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0073] It should be noted that the content contained in the computer-readable storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.
[0074] Example
[0075] Take the deployment process of the host computer cluster of a DCS system as an example.
[0076] This embodiment provides a method for deploying a distributed control system cluster, including the following steps:
[0077] Step 1: Use a PXE server to trim the operating system kernel to obtain a pre-trimmed operating system image file; and store the pre-trimmed operating system image file in the PXE server; wherein, the PXE server also stores the host computer software program package and the software configuration file package.
[0078] In this embodiment, the pre-tailed operating system image file is used for operating system installation on node computers. The pre-tailed operating system image file, through a custom PXE script, can implement functions such as default configuration of language, time zone, root user, default user, disk partitioning, and network configuration during operating system installation. The purpose of using the PXE server to tailor the operating system kernel is to remove useless functions from the operating system, add user-defined functions, modify the default configuration of the operating system, and enhance system security.
[0079] The pre-trimmed operating system image file includes an operating system kernel file, a system default configuration file, and pre-installed third-party commercial software packages; wherein, the system default configuration file includes a language configuration file, a time zone configuration file, a root user configuration file, a default user configuration file, a disk partitioning configuration file, and a network configuration file; the pre-installed third-party commercial software packages include libdb, libgtop, libssl, ntp, sox, tcsh, unzip, and zip packages.
[0080] Step 2: Use a switch to connect the PXE server to all node computers respectively.
[0081] Step 3: Based on the pre-tailed operating system image file, install the operating system on each node computer to obtain a node computer with the operating system installed.
[0082] Specifically, after the node computer boots from the PXE network card, it obtains an IP address from the DHCP server on the network and searches for the location of the boot file. The DHCP server assigns an IP address and the location of the boot file to the node computer. The node computer then obtains the pre-tailed operating system image file from the PXE server and executes it to install the operating system. After the default installation is complete, the node name is set according to the installation order. After the operating system installation is complete, the node computer is restarted, and the latest patch libraries are installed on the node computer. Default user environment variables are set. After patching, the node computer is restarted, and an initial IP address is set for each node computer individually.
[0083] Step 4: After all node computers have restarted, use the PXE server to copy and decompress the software configuration package to the node computers with the operating system installed, and configure mutual trust between the node computers to obtain the node computers with mutual trust configuration. Among them, the firewall is turned off, a key file is generated, and the key file is copied to other nodes. Configuring mutual trust is to facilitate file transfer between nodes. Otherwise, a username and password are required every time a file is transferred.
[0084] Step 5: Generate an LLD file based on the actual configuration requirements of the node computer after the mutual trust configuration; wherein, the LLD file contains the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer.
[0085] Step 6: Generate a system node configuration table based on the LLD file; wherein the system node configuration table is as follows:
[0086] his01 his 198.120.1.10 198.121.1.10
[0087] his02 his 198.120.1.11 198.121.1.11
[0088] opr01 opr 198.120.1.12 198.121.1.12
[0089] opr02 opr 198.120.1.13 198.121.1.13
[0090] eng01 eng 198.120.1.14 198.121.1.14
[0091] eng02 eng 198.120.1.15 198.121.1.15
[0092] It should be noted that in the system node configuration table, the first column is the node name, which is set to the hostname of the operating system; the second column is the node type; where his represents a historical station, opr represents an operator station, and eng represents an engineer station; the last two columns are the IP addresses of the AB network.
[0093] Step 7: Copy the host computer software package to the node computer with mutual trust configuration, and according to the system node configuration table, execute the dcs_install tool to install the host computer software to the node computer with mutual trust configuration, thus obtaining a node computer with the host computer software installed; the specific process is as follows:
[0094] Copy the host computer software package to the node computer after the mutual trust configuration;
[0095] The node computer configured with mutual trust reads the pre-configured node information from the system node configuration table using the sm_cfg_deployment tool and inserts the read node information into the sysinfo database. Then, the host computer software is installed on the node computer configured with mutual trust, resulting in a node computer with the host computer software installed.
[0096] Step 8: Compare the local node name and software application type of the node computer with the host computer software installed with the actual node name and software application type of the current node computer in the LLD file. If they match, the installation is successful. Specifically, start the background software and compare the current node name and application information with those in the LLD file in the sm_cfg tool. At this point, the installation is complete, and the computer can be used after powering on after being sent to the field.
[0097] The distributed control system cluster deployment method described in this embodiment uses a PXE server to install a customized kernel and distributed control system cluster, enabling it to be used immediately upon delivery and power-on at the site. For DCS systems with 10 or more host computers, installation can be completed in one day. This method enables one-click cluster deployment, transforming the tedious cluster configuration work from manual to automated, effectively reducing configuration time, improving configuration accuracy, and lowering costs.
[0098] The above embodiments are merely one of the implementation methods for achieving the technical solution of the present invention. The scope of protection claimed by the present invention is not limited to this embodiment, but also includes any variations, substitutions and other implementation methods that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention.
Claims
1. A method for deploying a distributed control system cluster, characterized in that, include: Connect the PXE server to all node computers; wherein, the PXE server stores pre-tailed operating system image files, host computer software packages, and software configuration file packages; Based on the pre-trimmed operating system image file, the operating system is installed on each node computer to obtain a node computer with the operating system installed. The software configuration file package is copied and decompressed to the node computer with the operating system installed, and mutual trust between the node computers is configured to obtain the node computer with mutual trust configuration. Based on the actual configuration requirements of the node computer after the mutual trust configuration, an LLD file is generated; wherein, the LLD file contains the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer. Generate a system node configuration table based on the LLD file; Copy the host computer software package to the node computer after mutual trust configuration, and install the host computer software to the node computer after mutual trust configuration according to the system node configuration table to obtain a node computer with the host computer software installed. The process of copying the host computer software package to the node computer after mutual trust configuration, and installing the host computer software to the node computer after mutual trust configuration according to the system node configuration table, to obtain a node computer with the host computer software installed, is as follows: Copy the host computer software package to the node computer after the mutual trust configuration; The node computer configured with mutual trust reads the pre-configured node information from the system node configuration table using the sm_cfg_deployment tool and inserts the read node information into the sysinfo database; then, the host computer software is installed on the node computer configured with mutual trust, resulting in a node computer with the host computer software installed. The system node configuration table is named syscfg.xml and includes node name, node type, IP address of network A and IP address of network B.
2. The distributed control system cluster deployment method according to claim 1, characterized in that, The process of connecting the PXE server to all node computers is as follows: A switch is used to connect the PXE server to all node computers.
3. The distributed control system cluster deployment method according to claim 1, characterized in that, The pre-tailored operating system image file includes the operating system kernel file, the system default configuration file, and pre-installed third-party commercial software packages; The system default configuration files include language configuration files, time zone configuration files, root user configuration files, default user configuration files, disk partitioning configuration files, and network configuration files. The pre-installed third-party commercial software packages include libdb, libgtop, libssl, ntp, sox, tcsh, unzip, and zip packages.
4. The distributed control system cluster deployment method according to claim 1, characterized in that, The process of installing the operating system on each node computer based on the pre-tailed operating system image file to obtain a node computer with an operating system installed is as follows: Using a PXE server, an operating system is installed on each node computer via PXE. Specifically, after the node computer powers on, it boots from the PXE network card, obtains an IP address from the DHCP server on the network, and searches for the location of the boot file. After obtaining the IP address and boot file location assigned by the DHCP server, the node computer retrieves and executes the pre-tailed operating system image file from the PXE server, thus obtaining a node computer with an operating system installed.
5. A distributed control system cluster deployment method according to claim 1, characterized in that, The process of copying and decompressing the software configuration package to the node computer with the operating system installed, configuring mutual trust among the node computers, and obtaining the node computer with mutual trust configuration is as follows: A mutual trust script is pre-installed in pxelinnux.cfg on the node computer with the operating system installed. After the operating system is installed, the pre-installed mutual trust script is executed automatically, and after decompressing the software configuration file, it sets trusted operations.
6. The distributed control system cluster deployment method according to claim 1, characterized in that, The system node configuration table includes installing the host computer software into the node computer after mutual trust configuration, and after obtaining the node computer with the host computer software installed, the installation verification step is also included. The installation verification steps are as follows: The local node name and software application type of the node computer with the host computer software installed are compared with the actual node name and software application type of the current node computer in the LLD file. If they match, the installation is successful.
7. A distributed control system cluster deployment system, characterized in that, include: A connection module is used to connect the PXE server to all node computers; wherein, the PXE server stores a pre-tailed operating system image file, a host computer software package, and a software configuration file package; The operating system installation module is used to install the operating system on each node computer according to the pre-tailed operating system image file, so as to obtain a node computer with the operating system installed. The mutual trust configuration module is used to copy and decompress the software configuration file package to the node computer with the operating system installed, and configure the mutual trust between the node computers to obtain the node computer with mutual trust configuration. The file generation module is used to generate an LLD file based on the actual configuration requirements of the node computer after the mutual trust configuration; wherein, the LLD file includes the actual node name, node type, software application type, node primary / backup configuration information, and AB network IP information of the node computer. The system node configuration table generation module is used to generate a system node configuration table based on the LLD file; The software installation module is used to copy the host computer software package to the node computer after mutual trust configuration, and install the host computer software to the node computer after mutual trust configuration according to the system node configuration table, so as to obtain a node computer with the host computer software installed. The process of copying the host computer software package to the node computer after mutual trust configuration, and installing the host computer software to the node computer after mutual trust configuration according to the system node configuration table, to obtain a node computer with the host computer software installed, is as follows: Copy the host computer software package to the node computer after the mutual trust configuration; The node computer configured with mutual trust reads the pre-configured node information from the system node configuration table using the sm_cfg_deployment tool and inserts the read node information into the sysinfo database; then, the host computer software is installed on the node computer configured with mutual trust, resulting in a node computer with the host computer software installed. The system node configuration table is named syscfg.xml and includes node name, node type, IP address of network A and IP address of network B.
8. A distributed control system cluster deployment device, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the distributed control system cluster deployment method as described in any one of claims 1-6.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the distributed control system cluster deployment method as described in any one of claims 1-6.
Citation Information
Patent Citations
Automatic rapid deployment method of large-scale computer cluster system nodes
CN104394223A
Method for achieving ssh password-less batch access of nodes of Rack cabinet
CN104580217A
Method and device for configuring bare-computer server
CN107329769A
