CN111371589A - Batch deployment method and system for server operating systems - Google Patents
Batch deployment method and system for server operating systems Download PDFInfo
- Publication number
- CN111371589A CN111371589A CN202010094593.8A CN202010094593A CN111371589A CN 111371589 A CN111371589 A CN 111371589A CN 202010094593 A CN202010094593 A CN 202010094593A CN 111371589 A CN111371589 A CN 111371589A
- Authority
- CN
- China
- Prior art keywords
- operating system
- deployed
- server node
- server
- ipmi
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000009434 installation Methods 0.000 claims abstract description 99
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 claims abstract description 97
- 238000012360 testing method Methods 0.000 claims abstract description 73
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 claims description 5
- 238000012795 verification Methods 0.000 claims description 5
- 238000000638 solvent extraction Methods 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 4
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a server operating system batch deployment method and a system, wherein the method comprises the following steps: s1, setting a console server node and a server node to be deployed in the same network, deploying a test script at the console server node and installing a mirror image file in an operating system; s2, setting a control console server node to start a test script; s3, automatically scanning IPMI ports of all server nodes to be deployed by the configuration test script, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) to install the operating system; and S4, verifying whether all the server nodes to be deployed complete the installation of the operating system by the configuration test script. According to the server operating system batch deployment method and system, the host name and IP address distribution of the operating system is automatically completed by flexibly configuring the IPMI port information, the operating system installation is realized, the operating system installation efficiency is improved, and the installation time is reduced.
Description
Technical Field
The invention belongs to the technical field of server operating system deployment, and particularly relates to a server operating system batch deployment method and system.
Background
In the server debugging process, often need carry out operating system's installation deployment to big batch server, simple repetitive work such as configuration ip, traditional operating system installation is to carving operating system to CD or USB flash disk, power up the back at the server and manual selection is started from CD-ROM or USB, every machine is independently installed, single server installation approximately needs 30 minutes, this work consumes time longer needs to invest into the big and installation inconsistent circumstances easily appear when server is in large quantity, can waste time, it is hard, great influence work efficiency, increase the cost of labor.
Therefore, it is very necessary to provide a batch deployment method and system for server operating systems to overcome the above-mentioned drawbacks in the prior art.
Disclosure of Invention
Aiming at the defects that the large-batch server deployment operation system in the prior art needs large input of manpower and material resources and is easy to have inconsistent installation, the invention provides a server operation system batch deployment method and a server operation system batch deployment system, so as to solve the technical problems.
In a first aspect, the present invention provides a batch deployment method for server operating systems, including the following steps:
s1, setting a console server node and a server node to be deployed in the same network, deploying a test script at the console server node and installing a mirror image file in an operating system;
s2, setting a control console server node to start a test script;
s3, automatically scanning IPMI ports of all server nodes to be deployed by the configuration test script, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) to install the operating system;
and S4, verifying whether all the server nodes to be deployed complete the installation of the operating system by the configuration test script.
Further, the step S1 specifically includes the following steps:
s11, creating a virtual machine, and deploying a console server node in the virtual machine;
s12, obtaining and setting IPMI ports and network ports of all server nodes to be deployed and the console server nodes in the same network;
and S13, uploading the operating system installation image file on the server node of the console. The console server node is arranged in the virtual machine to operate, the implementation cost is low, and the implementation is easy.
Further, the step S3 specifically includes the following steps:
s31, configuring a test script to automatically scan an IPMI port, acquiring IPMI port information of each server node to be deployed, and generating a list;
s32, the configuration test script sequentially selects server nodes to be deployed from the list, and network configuration information and IPMI management information required by the corresponding IPMI port are obtained;
s33, configuring a test script to set the host name and IP network information of each server node to be deployed and selecting a network card for installing an operating system;
and S34, configuring a test script to set an IPMI port network, an account and password information, restarting the BMC, setting each node to be deployed to download an operating system installation image file from a console server node through the restarted BMC, and installing the operating system. The testing script obtains each server node to be deployed by scanning the IPMI port, configures the server node to be deployed and a network thereof, and finds the BMC of the server node to be deployed through the IPMI port.
Further, in step S31, the IPMI port information of each node to be deployed includes an MAC address of the IPMI port, a server host model, and a serial number;
in step S32, the network configuration information of the IPMI port includes an IP address, a mask, and a gateway; the IPMI management information comprises an account number and a password of the IPMI port. The IPMI port of the server node to be deployed can be uniquely identified through the MAC address of the IPMI port, the network configuration information of the IPMI port is used for realizing the network connection between the server node to be deployed and the server node of the master console, and the IPMI management information is used for acquiring the management authority of the BMC and sending an instruction to the server node to be deployed.
Further, the step S34 specifically includes the following steps:
s341, configuring a test script to set an IPMI port network, an account and password information, restarting a BMC, and setting the restarted BMC to send instructions to each server node to be deployed;
s342. the BMC sets each server node to be deployed to start the PXE from the selected network card to boot the operating system for installation;
s343, the BMC sets each server node to be deployed to remotely download an operating system installation image file from a console server node through a TFTP protocol;
and S344, the BMC sets each node to be deployed to automatically install the operating system and configure the operating system according to the operating system installation image file. The TFTP protocol is a protocol used for simple file transmission between a client and a server in a TCP/IP protocol family, and provides a file transmission service with low complexity and cost; PXE, a pre-boot execution environment, is a network boot technology developed by Inter corporation, working in Client/Server mode, allowing clients to download boot images from remote servers over the network and load installation files or the entire operating system.
Further, the operating system configuration in step S344 includes raid creation, file system division, and software package selection. The operating system installation image file stored in the console server node is a specially-designed plate, and besides basic operating system installation is completed, additional raid creation, file system division and software package selection are integrated into the operating system installation image file, so that the workload of manual installation is further simplified.
Further, the step S4 specifically includes the following steps:
s41, acquiring and judging whether the network configuration information of the IPMI port output by each server node to be deployed is the same as preset by the configuration test script;
s42, if yes, successfully installing all the node operating systems of the servers to be deployed;
if not, the process returns to step S34. And whether the installation of the operating system of the server to be deployed is finished is checked through the server node of the console.
Further, before returning to step S34, step S42 further includes the following steps:
s43, judging whether the reinstallation times of the to-be-deployed server node with the failed installation of the operating system exceeds a set threshold value;
if yes, selecting the next server node to be deployed, and returning to the step S32;
if not, the process returns to step S34. And ensuring that each server node to be deployed is installed completely, and the reinstallation times cannot exceed the set limit.
In a second aspect, the present invention provides a batch deployment system for server operating systems, including:
the network and installation file setting module is used for setting the console server node and the server node to be deployed in the same network, and deploying the test script and installing the mirror image file in the console server node;
the test script starting module is used for setting a control console server node to start a test script;
the operating system installation module is used for configuring a test script to automatically scan IPMI ports of all the server nodes to be deployed, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) so as to install the operating system;
and the operating system verification module is used for configuring the test script to verify whether all the nodes of the server to be deployed complete the installation of the operating system.
Further, the network and installation file setting module comprises:
the control console server node deployment unit is used for creating a virtual machine and deploying control console server nodes in the virtual machine;
the network setting unit is used for acquiring and setting the IPMI port and the network card of each server node to be deployed and the console server node in the same network;
the operating system mirror image file setting unit is used for uploading an operating system installation mirror image file on a console server node;
the operating system installation module includes:
the IPMI scanning unit is used for configuring a test script to automatically scan an IPMI port, acquiring IPMI port information of each server node to be deployed and generating a list;
the IPMI setting and obtaining unit is used for configuring the test script to sequentially select the server nodes to be deployed from the list and obtaining the network configuration information and the IPMI management information required by the corresponding IPMI port;
the system comprises a to-be-deployed server node setting unit, a network interface unit and a network interface unit, wherein the to-be-deployed server node setting unit is used for configuring a test script to set the host name and IP network information of each to-be-deployed server node and selecting a network interface card for installing an operating system;
the operating system installation unit is used for configuring a test script, setting an IPMI port network, an account and password information, restarting the BMC, setting each node to be deployed through the restarted BMC, downloading an operating system installation image file from a console server node, and installing an operating system;
the operating system verification module includes:
the IPMI network configuration judging unit is used for configuring the test script to obtain and judging whether the network configuration information of the IPMI port output by each server node to be deployed is the same as the preset information;
the operating system installation success judging unit is used for judging that the operating systems of all the server nodes to be deployed are installed successfully when the network configuration information of the IPMI port output by each server node to be deployed is the same as the preset information;
and the operating system installation failure frequency judging unit is used for judging whether the reinstallation frequency of the to-be-deployed server node with the operating system installation failure exceeds a set threshold value when the network configuration information of the IPMI port output by the to-be-deployed server node is different from the preset value.
The beneficial effect of the invention is that,
according to the server operating system batch deployment method and system, the host name and IP address distribution of the operating system is automatically completed by flexibly configuring the IPMI port information, the operating system installation is realized, the operating system installation efficiency is improved, and the installation time is reduced.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a first schematic flow chart of the method of the present invention;
FIG. 2 is a second schematic flow chart of the method of the present invention;
FIG. 3 is a schematic diagram of the system of the present invention;
in the figure, 1-network and installation file setting module; 1.1-a console server node deployment unit; 1.2-a network setup unit; 1.3-an operating system image file setting unit; 2-test script starting module; 3-operating system installation module; 3.1-IPMI scanning unit; 3.2-IPMI setup acquisition unit; 3.3-a server node to be deployed setting unit; 3.4-operating system installation unit; 4-operating system authentication module; 4.1-IPMI network configuration judging unit; 4.2-operating system installation success judging unit; 4.3-operating system installation failure times judging unit.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1, the present invention provides a batch deployment method for server operating systems, which includes the following steps:
s1, setting a console server node and a server node to be deployed in the same network, deploying a test script at the console server node and installing a mirror image file in an operating system;
s2, setting a control console server node to start a test script;
s3, automatically scanning IPMI ports of all server nodes to be deployed by the configuration test script, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) to install the operating system;
and S4, verifying whether all the server nodes to be deployed complete the installation of the operating system by the configuration test script.
Example 2:
as shown in fig. 2, the present invention provides a batch deployment method for server operating systems, which includes the following steps:
s1, setting a console server node and a server node to be deployed in the same network, deploying a test script at the console server node and installing a mirror image file in an operating system; the method comprises the following specific steps:
s11, creating a virtual machine, and deploying a console server node in the virtual machine; the console server node is arranged in the virtual machine to operate, so that the implementation cost is low and the implementation is easy;
s12, obtaining and setting IPMI ports and network cards of all server nodes to be deployed and the server nodes of the console in the same network;
s13, uploading an operating system installation image file on a control console server node;
s2, setting a control console server node to start a test script;
s3, automatically scanning IPMI ports of all server nodes to be deployed by the configuration test script, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) to install the operating system; the method comprises the following specific steps:
s31, configuring a test script to automatically scan an IPMI port, acquiring IPMI port information of each server node to be deployed, and generating a list; the IPMI port information of each node to be deployed comprises an MAC address of an IPMI port, a server host model and a serial number; the IPMI port of the server node to be deployed can be uniquely identified through the MAC address of the IPMI port;
s32, the configuration test script sequentially selects server nodes to be deployed from the list, and network configuration information and IPMI management information required by the corresponding IPMI port are obtained; the network configuration information of the IPMI port comprises an IP address, a mask code and a gateway; the IPMI management information comprises an account number and a password of an IPMI port; the IPMI port network configuration information is used for realizing the network connection between the server node to be deployed and the master console server node, and the IPMI management information is used for acquiring the management authority of the BMC and sending an instruction to the server node to be deployed;
s33, configuring a test script to set the host name and IP network information of each server node to be deployed and selecting a network card for installing an operating system;
s34, configuring a test script to set an IPMI port network, an account and password information, restarting a BMC, setting each node to be deployed to download an operating system installation image file from a console server node through the restarted BMC, and installing the operating system; the testing script obtains each server node to be deployed by scanning the IPMI port, configures the server node to be deployed and a network thereof, and finds the BMC of the server node to be deployed through the IPMI port; the method comprises the following specific steps:
s341, configuring a test script to set an IPMI port network, an account and password information, restarting a BMC, and setting the restarted BMC to send instructions to each server node to be deployed;
s342. the BMC sets each server node to be deployed to start the PXE from the selected network port to boot the operating system for installation; the PXE is a network boot technology developed by Inter companies, works in a Client/Server mode, allows a Client to download a boot image from a remote Server through a network, and loads an installation file or the whole operating system;
s343, the BMC sets each server node to be deployed to remotely download an operating system installation image file from a console server node through a TFTP protocol; the TFTP protocol is a protocol used for simple file transmission between a client and a server in a TCP/IP protocol family, and provides a file transmission service with low complexity and cost;
s344, the BMC sets each node to be deployed to automatically perform operating system installation and operating system configuration according to the operating system installation image file; the operating system configuration comprises raid creation, file system division and software package selection; the operating system installation image file stored in the console server node is a specially-designed plate, and besides the completion of the basic operating system installation, additional raid creation, file system division and software package selection are integrated into the operating system installation image file, so that the workload of manual installation is further simplified;
s4, verifying whether all the server nodes to be deployed complete the installation of the operating system by the configuration test script; the method comprises the following specific steps:
s41, acquiring and judging whether the network configuration information of the IPMI port output by each server node to be deployed is the same as preset by the configuration test script;
s42, if yes, successfully installing all the node operating systems of the servers to be deployed; whether the installation of the operating system of the server to be deployed is finished is checked through a server node of the console;
s43, if not, judging whether the reinstallation times of the to-be-deployed server node with the failed installation of the operating system exceeds a set threshold value for 3 times;
if yes, selecting the next server node to be deployed, and returning to the step S32;
if not, the process returns to step S34.
Example 3:
as shown in fig. 3, the present invention provides a batch deployment system for server operating systems, including:
the system comprises a network and installation file setting module 1, a test script and an operating system installation mirror image file, wherein the network and installation file setting module 1 is used for setting a console server node and a server node to be deployed in the same network, and deploying the test script and the operating system installation mirror image file in the console server node; the network and installation file setting module 1 includes:
the system comprises a console server node deployment unit 1.1 for creating a virtual machine and deploying console server nodes in the virtual machine;
the network setting unit 1.2 is used for acquiring and setting IPMI ports and network ports of the server nodes to be deployed and the console server nodes in the same network;
the operating system image file setting unit 1.3 is used for uploading an operating system installation image file on a console server node;
the test script starting module 2 is used for setting a console server node to start a test script;
the operating system installation module 3 is used for configuring a test script to automatically scan IPMI ports of all the server nodes to be deployed, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) to install an operating system; the operating system installation module 3 includes:
the IPMI scanning unit 3.1 is used for configuring a test script to automatically scan an IPMI port, acquiring IPMI port information of each server node to be deployed and generating a list;
an IPMI setting and obtaining unit 3.2, configured to configure the test script to sequentially select the server nodes to be deployed from the list, and obtain the network configuration information and IPMI management information required by the corresponding IPMI port;
a to-be-deployed server node setting unit 3.3, configured to configure a test script to set a host name and IP network information of each to-be-deployed server node and select a network card for operating system installation;
the operating system installation unit 3.4 is used for configuring a test script, setting an IPMI port network, an account and password information, restarting the BMC, setting each node to be deployed through the restarted BMC, downloading an operating system installation image file from a console server node, and installing an operating system;
the operating system verification module 4 is used for configuring a test script to verify whether all the nodes of the server to be deployed complete the installation of the operating system; the operating system authentication module 4 includes:
the IPMI network configuration judging unit 4.1 is used for configuring the test script to obtain and judging whether the network configuration information of the IPMI port output by each server node to be deployed is the same as the preset one;
the operating system installation success judging unit 4.2 is used for judging that the operating systems of all the server nodes to be deployed are installed successfully when the network configuration information of the IPMI port output by each server node to be deployed is the same as the preset information;
and the operating system installation failure frequency judging unit 4.3 is used for judging whether the reinstallation frequency of the to-be-deployed server node with the operating system installation failure exceeds a set threshold value when whether the network configuration information of the IPMI port output by the to-be-deployed server node is different from the preset value.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A server operating system batch deployment method is characterized by comprising the following steps:
s1, setting a console server node and a server node to be deployed in the same network, and deploying a test script and installing a mirror image file in an operating system in the console server node;
s2, setting a control console server node to start a test script;
s3, automatically scanning IPMI ports of all server nodes to be deployed by the configuration test script, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) to install the operating system;
and S4, verifying whether all the server nodes to be deployed complete the installation of the operating system by the configuration test script.
2. The batch deployment method of the server operating systems as claimed in claim 1, wherein the step S1 includes the following steps:
s11, creating a virtual machine, and deploying a console server node in the virtual machine;
s12, obtaining and setting IPMI ports and network ports of all server nodes to be deployed and console server nodes in the same network;
and S13, uploading the operating system installation image file on the console server node.
3. The batch deployment method of the server operating systems as claimed in claim 2, wherein the step S3 includes the following steps:
s31, configuring a test script to automatically scan an IPMI port, acquiring IPMI port information of each server node to be deployed, and generating a list;
s32, the configuration test script sequentially selects server nodes to be deployed from the list, and network configuration information and IPMI management information required by the corresponding IPMI port are obtained;
s33, configuring a test script to set the host name and IP network information of each server node to be deployed and selecting a network card for installing an operating system;
and S34, configuring a test script to set an IPMI port network, an account and password information, restarting the BMC, setting each node to be deployed to download an operating system installation image file from a console server node through the restarted BMC, and installing the operating system.
4. The batch deployment method of server operating systems according to claim 3, wherein in step S31, the IPMI port information of each node to be deployed includes a MAC address of an IPMI port, a server host model number and a serial number;
in step S32, the network configuration information of the IPMI port includes an IP address, a mask, and a gateway; the IPMI management information comprises an account number and a password of the IPMI port.
5. The batch deployment method of the server operating systems as claimed in claim 4, wherein the step S34 includes the following steps:
s341, configuring a test script to set an IPMI port network, an account and password information, restarting a BMC, and setting the restarted BMC to send instructions to each server node to be deployed;
s342. the BMC sets each server node to be deployed to start the PXE from the selected network port to boot the operating system for installation;
s343, the BMC sets each server node to be deployed to remotely download an operating system installation image file from a console server node through a TFTP protocol;
and S344, the BMC sets each node to be deployed to automatically install the operating system and configure the operating system according to the operating system installation image file.
6. The batch deployment method of the server operating systems as claimed in claim 5, wherein the operating system configuration in step S344 includes raid creation, file system partitioning, and software package selection.
7. The batch deployment method of the server operating systems as claimed in claim 4, wherein the step S4 includes the following steps:
s41, acquiring and judging whether the network configuration information of the IPMI port output by each server node to be deployed is the same as preset by the configuration test script;
s42, if yes, successfully installing all the node operating systems of the servers to be deployed;
if not, the process returns to step S34.
8. The batch deployment method of server operating systems as claimed in claim 7, wherein in step S42, before returning to step S34, the method further comprises the following steps:
s43, judging whether the reinstallation times of the to-be-deployed server node with the failed installation of the operating system exceeds a set threshold value;
if yes, selecting the next server node to be deployed, and returning to the step S32;
if not, the process returns to step S34.
9. A server operating system batch deployment system, comprising:
the system comprises a network and installation file setting module (1) and a test script setting module, wherein the network and installation file setting module is used for setting a console server node and a server node to be deployed in the same network, and deploying the test script and installing a mirror image file in the operating system in the console server node;
the test script starting module (2) is used for setting a control console server node to start a test script;
the operating system installation module (3) is used for configuring a test script to automatically scan IPMI ports of all the server nodes to be deployed, and informing each server node to be deployed of downloading an operating system installation image file through a BMC (baseboard management controller) to install an operating system;
and the operating system verification module (4) is used for configuring the test script to verify whether all the nodes of the server to be deployed complete the installation of the operating system.
10. The batch deployment system of server operating systems as claimed in claim 9, characterized in that the network and installation file setting module (1) comprises:
the system comprises a console server node deployment unit (1.1) for creating a virtual machine and deploying a console server node in the virtual machine;
the network setting unit (1.2) is used for acquiring and setting the IPMI port and the network port of each server node to be deployed and the console server node in the same network;
the operating system image file setting unit (1.3) is used for uploading an operating system installation image file on a console server node;
the operating system installation module (3) comprises:
the IPMI scanning unit (3.1) is used for configuring a test script to automatically scan an IPMI port, acquiring IPMI port information of each server node to be deployed and generating a list;
the IPMI setting and obtaining unit (3.2) is used for configuring the test script to sequentially select the server nodes to be deployed from the list and obtaining the network configuration information and the IPMI management information required by the corresponding IPMI port;
the server node to be deployed setting unit (3.3) is used for configuring a test script to set the host name and IP network information of each server node to be deployed and selecting a network card for installing an operating system;
the operating system installation unit (3.4) is used for configuring a test script, setting an IPMI port network, an account and password information, restarting the BMC, setting each node to be deployed through the restarted BMC, downloading an operating system installation image file from a console server node, and installing the operating system;
the operating system verification module (4) comprises:
the IPMI network configuration judging unit (4.1) is used for configuring the test script to obtain and judging whether the network configuration information of the IPMI port output by each server node to be deployed is the same as the preset one;
the operating system installation success judging unit (4.2) is used for judging that the operating systems of all the server nodes to be deployed are installed successfully when the network configuration information of the IPMI port output by each server node to be deployed is the same as the preset information;
and the operating system installation failure frequency judging unit (4.3) is used for judging whether the reinstallation frequency of the operating system installation failure to-be-deployed server node exceeds a set threshold value when the network configuration information of the IPMI port output by the operating system installation failure server node is different from the preset value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010094593.8A CN111371589A (en) | 2020-02-16 | 2020-02-16 | Batch deployment method and system for server operating systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010094593.8A CN111371589A (en) | 2020-02-16 | 2020-02-16 | Batch deployment method and system for server operating systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111371589A true CN111371589A (en) | 2020-07-03 |
Family
ID=71210357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010094593.8A Withdrawn CN111371589A (en) | 2020-02-16 | 2020-02-16 | Batch deployment method and system for server operating systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111371589A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114416122A (en) * | 2021-12-30 | 2022-04-29 | 山东奥邦交通设施工程有限公司 | Method and system for automatically installing ETC portal system software in batches |
WO2022237361A1 (en) * | 2021-05-10 | 2022-11-17 | International Business Machines Corporation | Agentless installation for building deployments |
CN117215642A (en) * | 2023-11-07 | 2023-12-12 | 四川华鲲振宇智能科技有限责任公司 | Complete machine server software batch customization method and system based on PXE and IPMI |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106855819A (en) * | 2017-01-01 | 2017-06-16 | 国云科技股份有限公司 | A kind of method of automatic deployment operating system |
CN109117089A (en) * | 2018-07-25 | 2019-01-01 | 郑州云海信息技术有限公司 | The method and device of RAID and deployment system is automatically created based on BMC |
-
2020
- 2020-02-16 CN CN202010094593.8A patent/CN111371589A/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106855819A (en) * | 2017-01-01 | 2017-06-16 | 国云科技股份有限公司 | A kind of method of automatic deployment operating system |
CN109117089A (en) * | 2018-07-25 | 2019-01-01 | 郑州云海信息技术有限公司 | The method and device of RAID and deployment system is automatically created based on BMC |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022237361A1 (en) * | 2021-05-10 | 2022-11-17 | International Business Machines Corporation | Agentless installation for building deployments |
US11762644B2 (en) | 2021-05-10 | 2023-09-19 | International Business Machines Corporation | Agentless installation for building deployments |
GB2621802A (en) * | 2021-05-10 | 2024-02-21 | Ibm | Agentless installation for building deployments |
CN114416122A (en) * | 2021-12-30 | 2022-04-29 | 山东奥邦交通设施工程有限公司 | Method and system for automatically installing ETC portal system software in batches |
CN114416122B (en) * | 2021-12-30 | 2022-11-11 | 山东奥邦交通设施工程有限公司 | Method and system for automatically installing ETC portal system software in batches |
CN117215642A (en) * | 2023-11-07 | 2023-12-12 | 四川华鲲振宇智能科技有限责任公司 | Complete machine server software batch customization method and system based on PXE and IPMI |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111371589A (en) | Batch deployment method and system for server operating systems | |
US8135989B2 (en) | Systems and methods for interrogating diagnostic target using remotely loaded image | |
CN110879712B (en) | Cloud data center physical host installation method and related device | |
CN106855819B (en) | Method for automatically deploying operating system | |
CN109587005B (en) | Connection detection method and device, computer equipment and readable storage medium | |
CN108628716B (en) | Information receiving and managing system, method and device | |
CN105242875A (en) | Server raid batch configuration method | |
CN103024079B (en) | Obtain the method for server resource information, resource pool management system and server | |
CN113238864A (en) | Python-based MongoDB cluster deployment method and system | |
CN105512026A (en) | Automatic batch testing method | |
CN112152843A (en) | Cluster node deployment method, device and system and electronic equipment | |
CN114443073A (en) | Device and method for rapidly deploying bare metal server | |
CN112114746A (en) | Automatic deployment method of distributed storage cluster | |
CN110324191B (en) | Hybrid cloud deployment method, device and system | |
CN108365987B (en) | Management system and management method of multiple servers | |
CN111240700A (en) | Cross-network-segment server OS deployment system and method | |
CN115357258A (en) | Application deployment method and device, storage medium and electronic device | |
CN114253564A (en) | Container cluster mirror image template generation method and device | |
CN112291096B (en) | Configuration method and device of bare metal server | |
CN110489134B (en) | PXE server and high-performance cluster environment deployment method and system | |
CN105373477B (en) | Capacity testing method | |
CN112256289A (en) | Automatic deployment method, device and equipment | |
CN111984372A (en) | Data processing method and system | |
CN113242323B (en) | Method, storage medium, and system for automatically installing system for physical server | |
CN112272221B (en) | Batch deployment method and system for server cluster and computer readable storage medium |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200703 |