CN117201316A - Distributed control system cluster deployment method, system, equipment and medium - Google Patents
Distributed control system cluster deployment method, system, equipment and medium Download PDFInfo
- Publication number
- CN117201316A CN117201316A CN202311204308.3A CN202311204308A CN117201316A CN 117201316 A CN117201316 A CN 117201316A CN 202311204308 A CN202311204308 A CN 202311204308A CN 117201316 A CN117201316 A CN 117201316A
- Authority
- CN
- China
- Prior art keywords
- node
- configuration
- computer
- software
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000009434 installation Methods 0.000 claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 25
- 238000003860 storage Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 description 11
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011900 installation process Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a distributed control system cluster deployment method, a distributed control system cluster deployment system, distributed control system cluster deployment equipment and a distributed control system cluster deployment medium, wherein the distributed control system cluster deployment method comprises the following steps: connecting the PXE server with all node computers; installing an operating system for each node computer according to the pre-cut operating system image file; copying and decompressing the software configuration file package to the node computer provided with the operating system, and configuring the mutual trust of each node computer; generating a LLD file according to the actual configuration requirement of the node computer after mutual trust configuration; generating a system node configuration table according to the LLD file; copying the upper computer software program package into a node computer after mutual trust configuration, and installing the upper computer software into the node computer after mutual trust configuration according to a system node configuration table to obtain the node computer with the upper computer software installed; the invention realizes the automatic cluster deployment of the node computers, reduces the configuration time, improves the installation efficiency of the DCS system and reduces the installation error rate.
Description
Technical Field
The invention belongs to the technical field of a distributed control system, and particularly relates to a distributed control system cluster deployment method, a distributed control system cluster deployment system, distributed control system cluster deployment equipment and a distributed control system cluster deployment medium.
Background
The distributed control system (Distributed Control System, DCS) is novel control equipment for carrying out centralized monitoring, operation, management and distributed control on the production process by utilizing a computer technology, and is widely applied to the industrial production fields of electric power and the like; the upper computer of the existing distributed control system comprises a large number of node computers, wherein each node computer is provided with upper computer software to realize the functions of monitoring, operation, management and distributed control.
In the initial stage of the operation of the distributed control system, an operating system and the upper computer software of the distributed control system are required to be installed for each node computer; at present, aiming at the installation process of the operating system and the upper computer software of the node computers, a mode of installing and configuring the node computers one by one is mostly adopted, the installation and configuration efficiency is low, the time consumption is long, the error rate is high, and the inspection difficulty is high.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a distributed control system cluster deployment method, a distributed control system cluster deployment system, distributed control system cluster deployment equipment and a distributed control system cluster deployment medium, so as to solve the technical problems that the installation configuration mode of node computers is adopted one by one in the installation process of an operating system and upper computer software of the node computers, the installation configuration efficiency is low, the time consumption is long, and the error rate is high.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the invention provides a distributed control system cluster deployment method, which comprises the following steps:
connecting the PXE server with all node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package;
according to the pre-cut operating system image file, installing an operating system for each node computer to obtain the node computer with the operating system installed;
copying and decompressing the software configuration file package to a node computer provided with an operating system, and configuring mutual trust of each node computer to obtain node computers after mutual trust configuration;
generating an LLD file according to the actual configuration requirement of the node computer after mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer;
generating a system node configuration table according to the LLD file;
copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
Further, the process of connecting the PXE server with all the node computers is as follows:
and adopting a switch to respectively connect the PXE server with all the node computers.
Further, the pre-cut operating system image file comprises an operating system kernel file, a system default configuration file and a preset third-party business software package;
the system default configuration files comprise language configuration files, time zone configuration files, root user configuration files, default user configuration files, disk division configuration files and network configuration files;
the preset third-party business software packages comprise a libdb software package, a libgtop software package, a libssl software package, an ntp software package, a sox software package, a tcsh software package, an unzip software package and a zip software package.
Further, according to the pre-cut operating system image file, installing an operating system on each node computer to obtain a process of installing the node computer with the operating system, which specifically comprises the following steps:
installing an operating system for each node computer in a PXE mode by utilizing a PXE server; specifically, after the node computer is started, starting from the PXE network card, acquiring an IP from a DHCP server in a network after starting, and searching the position of a guide file; after the node computer obtains the IP and the guide file position distributed by the DHCP server, the node computer with the operating system can be obtained by obtaining and executing the pre-cut operating system image file from the PXE server.
Further, copying and decompressing the software configuration file package to a node computer provided with an operating system, configuring mutual trust of each node computer, and obtaining a process of the node computer after mutual trust configuration, wherein the process is specifically as follows:
and pre-installing a mutually trusted script in a pxelinnux.cfg in a node computer provided with an operating system, automatically executing the pre-installed mutually trusted script after the operating system is installed, and setting trusted operation after decompressing the software configuration file.
Further, copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain a process of installing the upper computer software, wherein the process is as follows:
copying the upper computer software program package to the node computer after mutual trust configuration;
the node computer after mutual trust configuration reads the node information pre-configured in the system node configuration table through a sm_cfg_depth tool, and inserts the read node information into a sysinfo database; then, installing the upper computer software into the node computer after the mutual trust configuration to obtain the node computer with the upper computer software installed;
the file name of the system node configuration table is syscfg.xml, and the system node configuration table comprises node names, node types, A network IP addresses and B network IP addresses.
Further, a system node configuration table is used for installing upper computer software into the node computers after the mutual trust configuration, and according to the system node configuration table, the upper computer software is installed into the node computers after the mutual trust configuration, and after the node computers with the upper computer software are obtained, an installation checking step is further included;
the installation checking step comprises the following steps of:
and comparing the local node name and the software application type of the node computer provided with the upper computer software with the actual node name and the software application type of the current node computer in the LLD file, and if the local node name and the software application type are consistent, prompting that the installation is successful.
The invention also provides a distributed control system cluster deployment system, which comprises:
the connection module is used for connecting the PXE server with all the node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package;
the operating system installation module is used for installing an operating system for each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system;
the mutual trust configuration module is used for copying and decompressing the software configuration file package to the node computer provided with the operating system, configuring mutual trust of each node computer and obtaining the node computer after mutual trust configuration;
the file generation module is used for generating an LLD file according to the actual configuration requirement of the node computer after the mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer;
the system node configuration table generating module is used for generating a system node configuration table according to the LLD file;
and the software installation module is used for copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
The invention also provides cluster deployment equipment of the distributed control system, which comprises the following components:
a memory for storing a computer program;
and the processor is used for realizing the steps of the distributed control system cluster deployment method when executing the computer program.
The invention also provides a computer readable storage medium storing a computer program which when executed by a processor implements the steps of the distributed control system cluster deployment method.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a distributed control system cluster deployment method and system, which are characterized in that a PXE server is utilized to connect with all node computers, and operating system installation, mutually trusted configuration and upper computer software program installation are sequentially carried out, so that the automatic cluster deployment effect on the node computers is realized, the configuration time is effectively reduced, the installation efficiency of a DCS system is improved, and the installation error rate is greatly reduced; the method has the advantages of high installation and configuration efficiency, short time consumption and high accuracy.
Drawings
Fig. 1 is a flowchart of a distributed control system cluster deployment method according to the present invention.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects solved by the invention more clear, the following specific embodiments are used for further describing the invention in detail. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, the invention provides a distributed control system cluster deployment method, which comprises the following steps:
and step 1, connecting the PXE server with all the node computers. Specifically, a switch is adopted to connect the PXE server with all the node computers respectively.
In the invention, the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package; the pre-cut operating system image file comprises an operating system kernel file, a system default configuration file and a preset third-party business software package.
The system default configuration files comprise language configuration files, time zone configuration files, root user configuration files, default user configuration files, disk division configuration files and network configuration files; the preset third-party business software packages comprise a libdb software package, a libgtop software package, a libssl software package, an ntp software package, a sox software package, a tcsh software package, an unzip software package and a zip software package.
And step 2, installing an operating system for each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system. The specific process is as follows:
installing an operating system for each node computer in a PXE mode by utilizing a PXE server; specifically, after the node computer is started, starting from the PXE network card, acquiring an IP from a DHCP server in a network after starting, and searching the position of a guide file; after the node computer obtains the IP and the guide file position distributed by the DHCP server, the node computer with the operating system can be obtained by obtaining and executing the pre-cut operating system image file from the PXE server.
And 3, copying and decompressing the software configuration file package to the node computer provided with the operating system, and configuring the mutual trust of each node computer to obtain the node computer after the mutual trust configuration. Specifically, a mutual trust script is pre-installed in a pxelinnux.cfg in a node computer provided with an operating system, after the operating system is installed, the pre-installed mutual trust script is automatically executed, and after the software configuration file is decompressed, a trusted operation is set.
And 4, generating an LLD file according to the actual configuration requirement of the node computer after mutual trust configuration. The LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer.
And 5, generating a system node configuration table according to the LLD file. The file name of the system node configuration table is syscfg.xml, and the system node configuration table comprises node names, node types, A network IP addresses and B network IP addresses.
And 6, copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software. The specific process is as follows:
copying the upper computer software program package to the node computer after mutual trust configuration;
the node computer after mutual trust configuration reads the node information pre-configured in the system node configuration table through a sm_cfg_depth tool, and inserts the read node information into a sysinfo database; and then, installing the upper computer software into the node computer after the mutual trust configuration to obtain the node computer with the upper computer software.
Step 7, installation verification
And comparing the local node name and the software application type of the node computer provided with the upper computer software with the actual node name and the software application type of the current node computer in the LLD file, and if the local node name and the software application type are consistent, prompting that the installation is successful.
The distributed control system cluster deployment method realizes the automatic cluster deployment effect on the node computers, effectively reduces the configuration time, improves the installation efficiency of the DCS system and greatly reduces the installation error rate; the method has the advantages of high installation and configuration efficiency, short time consumption and high accuracy.
The invention also provides a distributed control system cluster deployment system, which comprises a connection module, an operating system installation module, a mutually trusted configuration module, a file generation module, a system node configuration table generation module and a software installation module; the connection module is used for connecting the PXE server with all the node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package; the operating system installation module is used for installing an operating system for each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system; the mutual trust configuration module is used for copying and decompressing the software configuration file package to the node computer provided with the operating system, configuring mutual trust of each node computer and obtaining the node computer after mutual trust configuration; the file generation module is used for generating an LLD file according to the actual configuration requirement of the node computer after the mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer; the system node configuration table generating module is used for generating a system node configuration table according to the LLD file; and the software installation module is used for copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
The invention also provides cluster deployment equipment of the distributed control system, which comprises the following components: a memory for storing a computer program; and the processor is used for realizing the steps of the distributed control system cluster deployment method when executing the computer program.
The steps of the distributed control system cluster deployment method are implemented when the processor executes the computer program, for example: connecting the PXE server with all node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package; according to the pre-cut operating system image file, installing an operating system for each node computer to obtain the node computer with the operating system installed; copying and decompressing the software configuration file package to a node computer provided with an operating system, and configuring mutual trust of each node computer to obtain node computers after mutual trust configuration; generating an LLD file according to the actual configuration requirement of the node computer after mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer; generating a system node configuration table according to the LLD file; copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
Alternatively, the processor may implement functions of each module in the above system when executing the computer program, for example: the connection module is used for connecting the PXE server with all the node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package; the operating system installation module is used for installing an operating system for each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system; the mutual trust configuration module is used for copying and decompressing the software configuration file package to the node computer provided with the operating system, configuring mutual trust of each node computer and obtaining the node computer after mutual trust configuration; the file generation module is used for generating an LLD file according to the actual configuration requirement of the node computer after the mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer; the system node configuration table generating module is used for generating a system node configuration table according to the LLD file; and the software installation module is used for copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
The computer program may be divided into one or more modules/units, which are stored in the memory and executed by the processor to accomplish the present invention, for example. The one or more modules/units may be a series of computer program instruction segments capable of performing a predetermined function, the instruction segments describing the execution of the computer program in the distributed control system cluster deployment device. For example, the computer program may be divided into a connection module, an operating system installation module, a mutually trusted configuration module, a file generation module, a system node configuration table generation module, and a software installation module.
The specific functions of each module are as follows: the connection module is used for connecting the PXE server with all the node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package; the operating system installation module is used for installing an operating system for each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system; the mutual trust configuration module is used for copying and decompressing the software configuration file package to the node computer provided with the operating system, configuring mutual trust of each node computer and obtaining the node computer after mutual trust configuration; the file generation module is used for generating an LLD file according to the actual configuration requirement of the node computer after the mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer; the system node configuration table generating module is used for generating a system node configuration table according to the LLD file; and the software installation module is used for copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
The distributed control system cluster deployment device can be computing devices such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The distributed control system cluster deployment device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the foregoing is an example of a distributed control system cluster deployment device, and does not constitute a limitation of the distributed control system cluster deployment device, and may include more components than those described above, or combine certain components, or different components, e.g., the distributed control system cluster deployment device may further include an input output device, a network access device, a bus, etc.
The processor may be a central processing unit (CentralProcessingUnit, CPU), other general purpose processors, digital signal processors (DigitalSignalProcessor, DSP), application specific integrated circuits (ApplicationSpecificIntegratedCircuit, ASIC), off-the-shelf programmable gate arrays (Field-ProgrammableGateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the distributed control system cluster deployment device, and connects various parts of the entire distributed control system cluster deployment device using various interfaces and lines.
The memory may be used to store the computer program and/or modules, and the processor may implement various functions of the distributed control system cluster deployment device by running or executing the computer program and/or modules stored in the memory and invoking data stored in the memory.
The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart memory card (SmartMediaCard, SMC), secure digital (SecureDigital, SD) card, flash card (FlashCard), at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The present invention also provides a computer readable storage medium storing a computer program which when executed by a processor implements the steps of the distributed control system cluster deployment method.
The modules/units integrated by the distributed control system cluster deployment system, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
Based on such understanding, the implementation of all or part of the flow in the distributed control system cluster deployment method according to the present invention may also be accomplished by instructing related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of the distributed control system cluster deployment method when executed by a processor. The computer program comprises computer program code, and the computer program code can be in a source code form, an object code form, an executable file or a preset intermediate form and the like.
The computer readable storage medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-only memory (ROM), a random access memory (RandomAccessMemory, RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and so forth.
It should be noted that the computer readable storage medium may include content that is subject to appropriate increases and decreases as required by jurisdictions and by jurisdictions in which such computer readable storage medium does not include electrical carrier signals and telecommunications signals.
Examples
Taking the deployment process of an upper computer cluster of a certain DCS system as an example.
The embodiment provides a distributed control system cluster deployment method, which comprises the following steps:
step 1, cutting an operating system kernel by adopting a PXE server to obtain a pre-cut operating system image file; storing the pre-cut operating system image file in the PXE server; the PXE server also stores an upper computer software program package and a software configuration file package.
In this embodiment, the pre-cut operating system image file is used for installing an operating system of the node computer; the pre-cut operating system image file can realize default configuration language, time zone, root user, default user, disk partition and network configuration function when the operating system is installed through a self-defined PXE script; the purpose of tailoring the operating system kernel with the PXE server is: deleting useless functions in the operating system, adding user-defined functions, modifying default configuration of the operating system and enhancing security of the system.
The pre-cut operating system image file comprises an operating system kernel file, a system default configuration file and a preset third-party business software package; the system default configuration files comprise language configuration files, time zone configuration files, root user configuration files, default user configuration files, disk division configuration files and network configuration files; the preset third-party business software packages comprise a libdb software package, a libgtop software package, a libssl software package, an ntp software package, a sox software package, a tcsh software package, an unzip software package and a zip software package.
And 2, adopting a switch to respectively connect the PXE server with all the node computers.
And step 3, installing an operating system for each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system.
Specifically, after the node computer is started, the node computer is started from the PXE network card, acquires an IP (Internet protocol) from a DHCP (dynamic host configuration protocol) server in the network, searches the position of a guide file, distributes the IP and the position of the guide file for the node computer, and executes the IP and the position of the guide file after acquiring the pre-cut operating system image file from the PXE server so as to realize the installation of an operating system; setting node names according to the installation sequence after the default installation is finished; after the installation of the operating system is completed, restarting the node computer, installing the latest patch three-party library for the node computer, and setting a default user environment variable; restarting the node computers after patching, and independently setting initial IP for each node computer.
Step 4, after restarting all the node computers, copying and decompressing the software configuration file package to the node computer provided with the operating system by using a PXE server, and configuring the mutual trust of each node computer to obtain the node computer after the mutual trust configuration; the firewall is closed, a key file is generated, the key file is copied to other nodes, mutual trust is configured for facilitating file transfer between the nodes, and otherwise, a user name password is required to be input for file transfer each time.
Step 5, generating an LLD file according to the actual configuration requirement of the node computer after mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer;
step 6, generating a system node configuration table according to the LLD file; the system node configuration table is specifically as follows:
his01 his 198.120.1.10 198.121.1.10
his02 his 198.120.1.11 198.121.1.11
opr01 opr 198.120.1.12 198.121.1.12
opr02 opr 198.120.1.13 198.121.1.13
eng01 eng 198.120.1.14 198.121.1.14
eng02 eng 198.120.1.15 198.121.1.15
it should be noted that, in the system node configuration table, the first column is a node name, and is set as a host name of the operating system; the second column is the node type; where his represents a history station, opr represents an operator station, and eng represents an engineer station; the two latter columns are the IP of the AB network.
Step 7, copying the upper computer software program package to the node computer after the mutual trust configuration, executing a dcs_install tool according to the system node configuration table, and installing the upper computer software to the node computer after the mutual trust configuration to obtain the node computer with the upper computer software installed; the specific process is as follows:
copying the upper computer software program package to the node computer after mutual trust configuration;
the node computer after mutual trust configuration reads the node information pre-configured in the system node configuration table through a sm_cfg_depth tool, and inserts the read node information into a sysinfo database; and then, installing the upper computer software into the node computer after the mutual trust configuration to obtain the node computer with the upper computer software.
Step 8, comparing the local node name and the software application type of the node computer with the upper computer software, and if the local node name and the software application type of the current node computer in the LLD file are consistent, prompting that the installation is successful; specifically, starting background software, and comparing whether the current node name, the application information and the LLD file are consistent in a sm_cfg tool; so far, the installation is completed, and the electric power can be applied after the electric power is sent to the site.
According to the distributed control system cluster deployment method, the cut kernel and the distributed control system clusters are installed through the PXE server, so that delivery to site and power-on are realized and the distributed control system clusters can be used; the DCS system which generally comprises more than 10 computers can be installed in 1 day; the method has the advantages that complex cluster configuration work is changed from manual work to automatic work through cluster one-key deployment, configuration time is effectively shortened, configuration accuracy is improved, and cost is reduced.
The above embodiment is only one of the implementation manners capable of implementing the technical solution of the present invention, and the scope of the claimed invention is not limited to the embodiment, but also includes any changes, substitutions and other implementation manners easily recognized by those skilled in the art within the technical scope of the present invention.
Claims (10)
1. A distributed control system cluster deployment method, comprising:
connecting the PXE server with all node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package;
according to the pre-cut operating system image file, installing an operating system for each node computer to obtain the node computer with the operating system installed;
copying and decompressing the software configuration file package to a node computer provided with an operating system, and configuring mutual trust of each node computer to obtain node computers after mutual trust configuration;
generating an LLD file according to the actual configuration requirement of the node computer after mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer;
generating a system node configuration table according to the LLD file;
copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
2. The distributed control system cluster deployment method according to claim 1, wherein the process of connecting the PXE server with all the node computers is as follows:
and adopting a switch to respectively connect the PXE server with all the node computers.
3. The distributed control system cluster deployment method according to claim 1, wherein the pre-cut operating system image file comprises an operating system kernel file, a system default configuration file and a preset third party business software package;
the system default configuration files comprise language configuration files, time zone configuration files, root user configuration files, default user configuration files, disk division configuration files and network configuration files;
the preset third-party business software packages comprise a libdb software package, a libgtop software package, a libssl software package, an ntp software package, a sox software package, a tcsh software package, an unzip software package and a zip software package.
4. The distributed control system cluster deployment method according to claim 1, wherein the process of installing an operating system on each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system is specifically as follows:
installing an operating system for each node computer in a PXE mode by utilizing a PXE server; specifically, after the node computer is started, starting from the PXE network card, acquiring an IP from a DHCP server in a network after starting, and searching the position of a guide file; after the node computer obtains the IP and the guide file position distributed by the DHCP server, the node computer with the operating system can be obtained by obtaining and executing the pre-cut operating system image file from the PXE server.
5. The distributed control system cluster deployment method according to claim 1, wherein the software configuration file package is copied and decompressed to a node computer installed with an operating system, mutual trust of each node computer is configured, and a process of obtaining the node computer after mutual trust configuration is specifically as follows:
and pre-installing a mutually trusted script in a pxelinnux.cfg in a node computer provided with an operating system, automatically executing the pre-installed mutually trusted script after the operating system is installed, and setting trusted operation after decompressing the software configuration file.
6. The distributed control system cluster deployment method according to claim 1, wherein the process of copying the upper computer software package to the mutually trusted configured node computer and installing the upper computer software to the mutually trusted configured node computer according to the system node configuration table to obtain the node computer installed with the upper computer software is as follows:
copying the upper computer software program package to the node computer after mutual trust configuration;
the node computer after mutual trust configuration reads the node information pre-configured in the system node configuration table through a sm_cfg_depth tool, and inserts the read node information into a sysinfo database; then, installing the upper computer software into the node computer after the mutual trust configuration to obtain the node computer with the upper computer software installed;
the file name of the system node configuration table is syscfg.xml, and the system node configuration table comprises node names, node types, A network IP addresses and B network IP addresses.
7. The distributed control system cluster deployment method according to claim 1, wherein the distributed control system cluster deployment method further comprises a step of installing upper computer software into the mutually trusted configured node computers according to a system node configuration table to obtain the node computers with the upper computer software after installing the upper computer software;
the installation checking step comprises the following steps of:
and comparing the local node name and the software application type of the node computer provided with the upper computer software with the actual node name and the software application type of the current node computer in the LLD file, and if the local node name and the software application type are consistent, prompting that the installation is successful.
8. A distributed control system cluster deployment system, comprising:
the connection module is used for connecting the PXE server with all the node computers; the PXE server stores a pre-cut operating system image file, an upper computer software program package and a software configuration file package;
the operating system installation module is used for installing an operating system for each node computer according to the pre-cut operating system image file to obtain the node computer with the operating system;
the mutual trust configuration module is used for copying and decompressing the software configuration file package to the node computer provided with the operating system, configuring mutual trust of each node computer and obtaining the node computer after mutual trust configuration;
the file generation module is used for generating an LLD file according to the actual configuration requirement of the node computer after the mutual trust configuration; the LLD file comprises the actual node name, the node type, the software application type, the node active-standby configuration information and the AB network IP information of the node computer;
the system node configuration table generating module is used for generating a system node configuration table according to the LLD file;
and the software installation module is used for copying the upper computer software program package to the node computer after the mutual trust configuration, and installing the upper computer software to the node computer after the mutual trust configuration according to the system node configuration table to obtain the node computer with the upper computer software.
9. A distributed control system cluster deployment apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the distributed control system cluster deployment method according to any of claims 1-7 when executing said computer program.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the distributed control system cluster deployment method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311204308.3A CN117201316A (en) | 2023-09-18 | 2023-09-18 | Distributed control system cluster deployment method, system, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311204308.3A CN117201316A (en) | 2023-09-18 | 2023-09-18 | Distributed control system cluster deployment method, system, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117201316A true CN117201316A (en) | 2023-12-08 |
Family
ID=88984789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311204308.3A Pending CN117201316A (en) | 2023-09-18 | 2023-09-18 | Distributed control system cluster deployment method, system, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117201316A (en) |
-
2023
- 2023-09-18 CN CN202311204308.3A patent/CN117201316A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109274722B (en) | Data sharing method and device and electronic equipment | |
US8150948B2 (en) | Complex software deployment | |
CN106873970B (en) | Installation method and device of operating system | |
CN112988317B (en) | Multi-mode cloud desktop management and control method and device | |
WO2020233081A1 (en) | Client plugin-ization implementation method, apparatus, computer device and storage medium | |
CN111177043A (en) | Method, system, device and medium for accelerating reading of field replaceable unit information | |
CN111026723A (en) | Big data cluster management control method and device, computer equipment and storage medium | |
CN111522574B (en) | Differential packet generation method and related equipment | |
CN115150392B (en) | Remote file copying method, system, computing equipment and storage medium | |
CN117201316A (en) | Distributed control system cluster deployment method, system, equipment and medium | |
US11979307B2 (en) | Network switching method and apparatus, electronic device, and storage medium | |
CN113312669B (en) | Password synchronization method, device and storage medium | |
JP2019008799A (en) | System and method for merging source data from source application into target data of target application | |
CN111769992B (en) | Network data management method, cloud platform and storage medium | |
CN112559233A (en) | Method, device, equipment and computer readable medium for identifying fault type | |
CN112417012A (en) | Data processing method and system | |
CN113542022A (en) | Networking management method and device of networking system, terminal equipment and storage medium | |
CN111324614B (en) | Table configuration method and device, terminal equipment and storage medium | |
CN110647546A (en) | Third-party rule engine generation method and device | |
WO2022134918A1 (en) | Virtual machine attribute changing method and apparatus, storage medium, and electronic device | |
CN112052571B (en) | Simulation method and device of power equipment and storage medium | |
WO2022057698A1 (en) | Efficient bulk loading multiple rows or partitions for single target table | |
CN113472745B (en) | Openstack public cloud multi-tenant isolation method, system and terminal based on selinux | |
WO2024099274A1 (en) | Data processing method, device, and storage medium | |
CN110633088A (en) | Hadoop automatic installation method and device |
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 |