CN110879712B - Cloud data center physical host installation method and related device - Google Patents

Cloud data center physical host installation method and related device Download PDF

Info

Publication number
CN110879712B
CN110879712B CN201911083235.0A CN201911083235A CN110879712B CN 110879712 B CN110879712 B CN 110879712B CN 201911083235 A CN201911083235 A CN 201911083235A CN 110879712 B CN110879712 B CN 110879712B
Authority
CN
China
Prior art keywords
server
installation
pxe
memory system
servers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911083235.0A
Other languages
Chinese (zh)
Other versions
CN110879712A (en
Inventor
陈英南
胡玉鹏
李红卫
孙希发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN201911083235.0A priority Critical patent/CN110879712B/en
Publication of CN110879712A publication Critical patent/CN110879712A/en
Application granted granted Critical
Publication of CN110879712B publication Critical patent/CN110879712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a cloud data center physical host installation method which comprises the steps that after a configuration file of a network installation service program is set to guide installation of a memory system, PXE IP is issued to each server to be installed, so that each server to be installed obtains a memory system installation file based on the corresponding PXE IP and installs the memory system based on the memory system installation file; traversing the corresponding servers to be installed based on each PXE IP to obtain the MAC addresses of the PXE boot network cards of the servers to be installed; setting a BMC IP for each server to be installed and setting an RAID for each server to be installed; and after the configuration file is modified to guide installation of the cloud platform operating system, accessing the servers to be installed through the BMC IP and restarting the servers to be installed, and after each server to be installed is restarted, installing the cloud platform operating system on the servers to be installed corresponding to the specified MAC address. The method can improve the installation efficiency and meet the requirement of large-scale installation.

Description

Cloud data center physical host installation method and related device
Technical Field
The application relates to the technical field of server installation, in particular to a physical host installation method of a cloud data center; the cloud data center physical host installation device, the equipment and the computer readable storage medium are also related.
Background
The main work of the cloud data center in the implementation stage comprises the steps of installing a server operating system, installing and deploying a cloud infrastructure management platform, virtually distributing services, cloud-going services and the like. In the construction work of a large-scale cloud data center, the implementation quality and the implementation efficiency of server installation determine whether the delivery can be smoothly completed on time in the whole implementation process. Currently, the server installation method includes a U-disk startup installation, an optical disk startup installation, an IPMI (virtual optical drive startup) installation, and the like. The server installation method strictly speaking is that only one server can be installed at a time, the efficiency is low, and the method cannot meet the requirement of quick installation of thousands of machines in the cloud data center. Therefore, how to provide a server installation scheme to improve installation efficiency has become a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The method for installing the physical host of the cloud data center aims to improve the installation efficiency and meet the requirement of large-scale installation of the cloud data center; another object of the present application is to provide a cloud data center physical host installation apparatus, a device and a computer readable storage medium, all having the above technical effects.
In order to solve the technical problem, the application provides a physical host installation method for a cloud data center, which comprises the following steps:
after the configuration file of the network installation service program is set to guide installation of the memory system, sending a PXE IP to each server to be installed, so that each server to be installed obtains an installed file of the memory system based on the corresponding PXE IP and installs the memory system based on the installed file of the memory system;
traversing the corresponding servers to be installed based on the PXE IP to obtain the MAC addresses of the PXE boot network cards of the servers to be installed;
setting a BMC IP for each server to be installed and setting a RAID for each server to be installed;
after the configuration file of the network installation service program is modified to guide installation of a cloud platform operating system, the BMC IP accesses the servers to be installed and restarts the servers to be installed, and after each server to be installed is restarted, the cloud platform operating system is installed on the server to be installed corresponding to the appointed MAC address.
Optionally, the setting a BMC IP for each server to be installed and setting a RAID for each server to be installed include:
traversing each PXE IP in a DHCP service distributed list through each server to be installed, and setting a BMC IP for each server to be installed corresponding to each PXE IP in the distributed IP record list through an IPMITOOL tool integrated by a memory system of the server to be installed;
and sending an instruction to each server to be installed through each PXE IP in the DHCP service distributed list so that the server to be installed can set RAID through a RAID card management tool integrated by a memory system of the server to be installed.
Optionally, the method further includes:
maintaining an installation planning list; wherein the installed planning list at least comprises a device serial number, a device location, a node host name, a BMC IP, a PXE MAC, and a PXE IP.
Optionally, the method further includes:
and traversing the distributed IP record list, checking the network communication state, and checking the MAC address, the equipment serial number and the equipment position corresponding to the PXE IP with the abnormal network communication when the network communication is abnormal.
Optionally, the method further includes:
traversing the allocated IP record list and comparing the allocated IP record list with the installation planning list to check whether servers with uncompleted installation exist or not, and installing the servers with uncompleted installation when the servers with uncompleted installation exist.
Optionally, the setting, by the RAID card management tool integrated by the memory system, RAID for each server to be installed includes:
and setting RAID for each server to be installed by the RAID card management tool integrated by the memory system to obtain a mirror disk array.
In order to solve the technical problem, the present application further provides a cloud data center physical host installation device, including:
the issuing module is used for issuing PXE IP to each server to be installed after the configuration file of the network installation service program is set to guide the installation of the memory system, so that each server to be installed obtains the installed file of the memory system based on the corresponding PXE IP and installs the memory system based on the installed file of the memory system;
the acquisition module is used for traversing the corresponding servers to be installed based on the PXE IP to acquire the MAC addresses of the PXE boot network cards of the servers to be installed;
the setting module is used for setting a BMC IP for each server to be installed and setting an RAID for each server to be installed;
and the installation module is used for accessing the servers to be installed and restarting the servers to be installed through the BMC IP after the configuration file of the network installation service program is modified to guide installation of the cloud platform operating system, and installing the cloud platform operating system on the servers to be installed corresponding to the appointed MAC address after each server to be installed is restarted.
Optionally, the setting module includes:
the BMC IP setting unit is used for traversing each to-be-installed server through each PXE IP in the DHCP service distributed list and setting a BMC IP for each to-be-installed server corresponding to each PXE IP in the distributed IP record list through an IPMITOOL tool integrated by a memory system of the to-be-installed server;
and the RAID setting unit is used for sending an instruction to each server to be installed through each PXE IP in the DHCP service distributed list so that the server to be installed sets the RAID through a RAID card management tool integrated by a memory system of the server to be installed.
In order to solve the above technical problem, the present application further provides a cloud data center physical host installation device, including:
a memory for storing a computer program;
a processor configured to implement the steps of the cloud data center physical host installation method according to any one of the above when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the steps of the method of the cloud data center physical host batch device as described above.
The cloud data center physical host installation method comprises the steps that after configuration files of a network installation service program are set to guide installation of a memory system, PXE IPs are issued to servers to be installed, so that each server to be installed obtains memory system installation files based on the corresponding PXE IPs and installs the memory system based on the memory system installation files; traversing the corresponding servers to be installed based on the PXE IP to obtain the MAC addresses of the PXE boot network cards of the servers to be installed; setting a BMC IP for each server to be installed and setting a RAID for each server to be installed; after the configuration file of the network installation service program is modified to guide installation of a cloud platform operating system, the BMC IP accesses the servers to be installed and restarts the servers to be installed, and after each server to be installed is restarted, the cloud platform operating system is installed on the server to be installed corresponding to the appointed MAC address.
The installation method of the network installation is different from installation schemes that only one server can be installed at one time, such as a USB flash disk startup installation and an optical disk startup installation, specifically, a memory system is installed on each server to be installed through a network by a deployment node, and a cloud platform operating system is installed on each server to be installed on the basis that the memory system is installed on each server to be installed, so that batch installation of physical hosts of a cloud data center is achieved, installation efficiency is greatly improved, and the requirement of large-scale installation of the cloud data center can be well met.
The cloud data center physical host installation device, the equipment and the computer readable storage medium have the technical effects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the prior art and the embodiments are briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for installing a physical host in a cloud data center according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a physical host installation apparatus of a cloud data center according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a cloud data center physical host installation method, which can improve installation efficiency. The requirement of large-scale installation of the cloud data center is met; another core of the present application is to provide a cloud data center physical host installation apparatus, a device, and a computer readable storage medium, all having the above technical effects.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but 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 application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for installing a physical host in a cloud data center according to an embodiment of the present disclosure; referring to fig. 1, the method includes:
s101: after the configuration file of the network installation service program is set to guide installation of the memory system, sending a PXE IP to each server to be installed, so that each server to be installed obtains the installed files of the memory system based on the corresponding PXE IP and installs the memory system based on the installed files of the memory system;
specifically, an execution main body of the cloud data center physical host installation method provided by the application is a deployment node, the deployment node is provided with a network installation server program, and the network installation server program at least comprises a DHCP service, a TFTP service, a Xinetd service, an httpd service and a Kickstart unattended configuration. The DHCP service provides an address allocation service, the TFTP service serves as a sub-service of the Xinetd service and provides a transmission service of a start file, a kernel file and a root file system file, the httpd service is used for providing an installation source, and the Kickstart provides unattended installation configuration. After the deployment node is built, the operating system of the deployment node automatically installs the network installation service program, modifies the configuration file of the network installation service program, and sets the network installation service program to be guided from the memory system and restarted. Specifically, the PXE _ DEFAULT _ MENU field of the configuration file can be modified, the memory system is booted and installed by DEFAULT when the field is set to be 2, and the cloud platform operating system is booted and installed by DEFAULT when the field is set to be 3. The installation mode of the deployment node can be any one of a U disk startup installation, an optical disk startup installation and an IPMI startup installation.
After each server to be installed on the cabinet is powered on and started, the deployment node issues a PXE IP to each server to be installed after receiving a broadcast request sent by each server to be installed, so that each server to be installed acquires installed files of the memory system including a starting file, a kernel file and the like from the deployment node based on the corresponding PXE IP, and further installs the memory system based on the acquired files. For a specific communication process between the deployment node and each server to be installed and a specific process of installing the memory system after the server to be installed obtains the installed file of the core system, reference may be made to the existing related technology, which is not described herein again.
S102: traversing the corresponding servers to be installed based on each PXE IP to obtain the MAC addresses of the PXE boot network cards of the servers to be installed;
specifically, after the memory system of each server to be loaded is installed, the network installation server program in the deployment node can check all issued PXE IP addresses, and can execute a batch script to traverse each server to be loaded by maintaining the PXE IP list, thereby obtaining the MAC address of the PXE boot network card of each server to be loaded.
S103: setting a BMC IP for each server to be installed and setting an RAID for each server to be installed;
specifically, after the deployment node completes the installation of the memory system on each server to be loaded, the cloud platform operating system is further filled in each server to be loaded. After the RAID is set for each server to be installed, the installation system can identify the hard disk, otherwise, the cloud platform operating system cannot be off-line. Therefore, after the deployment node completes the installation of the memory system on each server to be installed, the BMC IP is further set for each server to be installed, and the RAID is set for each server to be installed.
In a specific embodiment, the setting of the BMC IP for each server to be installed and the setting of the RAID for each server to be installed include traversing each server to be installed through each PXE IP in the DHCP service allocated list, and setting the BMC IP for each server to be installed corresponding to each PXE IP in the allocated IP record list through an IPMITOOL tool integrated with a memory system of the server to be installed; and sending an instruction to each server to be installed through each PXE IP in the DHCP service distributed list so that the server to be installed can set RAID through a RAID card management tool integrated by a memory system of the server to be installed.
Specifically, the memory system installed by the to-be-installed server is integrated with an IPMITOOL tool, so that the deployment node may traverse each corresponding to-be-installed server through each PXE IP in the assigned list of the DHCP service, and further set a BMC IP for each to-be-installed server through the IPMITOOL tool integrated with the memory system of the to-be-installed server (specifically, the operation may be implemented using an ansable tool integrated with the memory system or a preprogrammed ssh script), and subsequently access the management software of the to-be-installed server through the BMC IP, control the server to perform operations such as startup, shutdown, and the like, and also view the hardware information and the like of the restart-installed server. In addition, the memory system of the server to be installed is integrated with a RAID card management tool, so that the deployment node can send an instruction to each corresponding server to be installed through each PXE IP in the DHCP service allocated list, so that the server to be installed sets RAID through the RAID card management tool integrated with the memory system, and subsequently installs the cloud platform operating system.
In order to ensure data security, in a specific embodiment, the setting of RAID for each server to be installed by the RAID card management tool integrated by the memory system includes setting RAID for each server to be installed by the RAID card management tool integrated by the memory system to obtain a mirror disk array, that is, setting RAID 1.
S104: and after the configuration file of the network installation service program is modified to guide installation of the cloud platform operating system, accessing the servers to be installed through the BMC IP and restarting the servers to be installed, and after each server to be installed is restarted, installing the cloud platform operating system on the servers to be installed corresponding to the appointed MAC address.
Specifically, as described above, when the configuration file of the network installed service program in the deployment node is set to be the boot installation memory system, the deployment node fills the memory system into each server to be installed, and when the configuration file of the network installed service program in the deployment node is set to be the boot installation cloud platform operating system, the deployment node fills the cloud platform operating system into each server to be installed. After the installation of the memory system is completed, the deployment node firstly modifies the configuration file of the network installed service program, specifically modifies the PXE _ DEFAULT _ MENU field of the configuration file of the network installed service program, and modifies the field value 2 of the field to 3, so that the configuration file of the network installed service program is modified to guide installation of the cloud platform operating system. And after the configuration file of the network installation service program is modified to guide installation of the cloud platform operating system, the deployment node accesses each server to be installed through the BMC IP set for each server to be installed and restarts the server to be installed, and after each server to be installed is restarted, the cloud platform operating system is installed on the server to be installed corresponding to the specified MAC address. Similarly, for a specific communication process and a specific installation process between the server to be installed and the deployment node in the installation process of the cloud platform operating system, details are not repeated herein, and reference may be made to the existing related technology.
Further, on the basis of the above embodiment, as a specific implementation manner, the method further includes maintaining an installed planning list; the installed planning list at least comprises an equipment serial number, an equipment position, a node host name, a BMC IP, a PXE MAC and a PXE IP.
Specifically, each server to be installed corresponds to a server serial number, for example, 400017001, and after being mounted to the server cabinet according to the server serial number, the device location of each server to be installed is recorded. The machine room of the cloud data center is provided with a plurality of cabinets, each cabinet can be provided with a plurality of servers to be installed, and the equipment information is the positions of the servers to be installed in the machine room. For example, the equipment location of the first standby server of the first cabinet can be marked as P0101. PXE IP is the IP address of the network card plan used by the network installation, BMC IP is the IP address of the out-of-band management network card plan, and the node host name is the hostname of the server to be installed after the system is installed. The PXE IP address, the BMC address and the node host name are maintained in advance. PXE MAC is the physical address of the out-of-band management network card, and after the deployment node traverses each server to be installed to obtain the MAC address of each server to be installed, the MAC address can be added into an installation planning list. The specific deployment node acquires the MAC address and also acquires the equipment serial number of each server to be installed at the same time, so that the MAC address is maintained in a row where the corresponding equipment serial number is located in the installation planning list. And after a final installation planning table is formed, modifying the user-defined installation configuration according to the installation planning table and importing the network installation service program of the deployment node, and after a request of a server to be installed is received, completing installation of the cloud platform operating system according to the user-defined installation setting.
Further, on the basis of the above embodiment, as a specific implementation manner, the method further includes:
and traversing the distributed IP record list, checking the network communication state, and checking the MAC address, the equipment serial number and the equipment position corresponding to the PXE IP with the abnormal network communication when the abnormal network communication exists.
Specifically, the present embodiment is directed to checking whether there is a network connectivity abnormality after the server is installed. Specifically, the distributed IP record list is traversed, the network communication state is checked, and when the network communication abnormity exists, the MAC address, the equipment serial number and the equipment position of the server corresponding to the PXE IP with the abnormal network communication are checked, so that the position of the server is conveniently located, and the specific reason is checked in a machine room of the cloud data center.
Further, on the basis of the above embodiment, as a specific implementation manner, the method further includes:
and traversing the allocated IP record list and comparing the allocated IP record list with the installation planning list to check whether servers with uncompleted installations exist or not, and installing the servers with uncompleted installations when the servers with uncompleted installations exist.
Specifically, the present embodiment is directed to checking whether there is a server installation omission after the server installation is completed, that is, there is a server with an installation incomplete. Specifically, the allocated IP record list is traversed and compared with the installation planning list, so that whether servers with unfinished installation exist is determined, and when the servers with unfinished installation exist, the servers with unfinished installation are installed again.
In summary, different from installation schemes that one server can be installed at a time, such as a usb disk startup installation scheme and an optical disk startup installation scheme, the application provides an installation method of a network installation, specifically, a deployment node installs a memory system on each server to be installed through a network, and installs a cloud platform operating system on each server to be installed on the basis that each server to be installed completes installation of the memory system, so that batch installation of physical hosts of a cloud data center is achieved, installation efficiency is greatly improved, and requirements of large-scale installation of the cloud data center can be well met.
The present application further provides a data caching apparatus, which can be referred to in correspondence with the above-described method. Referring to fig. 2, fig. 2 is a schematic diagram of a data caching apparatus according to an embodiment of the present disclosure; with reference to fig. 2, the data caching apparatus includes:
the issuing module 10 is configured to issue a PXE IP to each server to be installed after the configuration file for the network installed service program is set to guide installation of the memory system, so that each server to be installed acquires an installed file of the memory system based on the corresponding PXE IP and installs the memory system based on the installed file of the memory system;
the obtaining module 20 is configured to traverse the corresponding to-be-installed server based on each PXE IP to obtain an MAC address of the PXE boot network card of each to-be-installed server;
the setting module 30 is used for setting a BMC IP for each server to be installed and setting an RAID for each server to be installed;
and the installation module 40 is used for accessing the servers to be installed through the BMC IP and restarting the servers to be installed after the configuration file of the network installation service program is modified to guide installation of the cloud platform operating system, and installing the cloud platform operating system on the servers to be installed corresponding to the specified MAC addresses after the servers to be installed are restarted.
On the basis of the above embodiment, optionally, the setting module 30 includes:
the BMC IP setting unit is used for traversing each server to be installed through each PXE IP in the DHCP service allocated list and setting a BMC IP for each server to be installed corresponding to each PXE IP in the allocated IP record list through an IPMITOOL tool integrated by a memory system of the server to be installed;
and the RAID setting unit is used for sending an instruction to each server to be installed through each PXE IP in the DHCP service distributed list so that the server to be installed can set the RAID through a RAID card management tool integrated by a memory system of the server to be installed.
On the basis of the above embodiment, optionally, the method further includes:
and the first checking module is used for traversing the allocated IP record list, checking the network communication state, and checking the MAC address, the equipment serial number and the equipment position corresponding to the PXE IP with the abnormal network communication when the network communication is abnormal.
On the basis of the above embodiment, optionally, the method further includes:
and the second checking module is used for traversing the allocated IP record list and comparing the allocated IP record list with the installation planning list to check whether servers with uncompleted installations exist or not, and installing the servers with uncompleted installations when the servers with uncompleted installations exist.
The application also provides a cloud data center physics host installation equipment, includes: a memory and a processor; wherein the memory is used for storing a computer program; the processor is configured to implement the following steps when executing the computer program:
after the configuration file of the network installation service program is set to guide installation of the memory system, sending a PXE IP to each server to be installed, so that each server to be installed obtains the installed files of the memory system based on the corresponding PXE IP and installs the memory system based on the installed files of the memory system; traversing the corresponding servers to be installed based on each PXE IP to obtain the MAC addresses of the PXE boot network cards of the servers to be installed; setting a BMC IP for each server to be installed and setting an RAID for each server to be installed; after the configuration file of the network installation service program is modified to guide installation of the cloud platform operating system, the servers to be installed are accessed through the BMC IP, the servers to be installed are restarted, and the cloud platform operating system is installed on the servers to be installed corresponding to the appointed MAC addresses after the servers to be installed are restarted.
For the introduction of the device provided in the present application, please refer to the embodiment of the above method, which is not described herein again.
The present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
after the configuration file of the network installation service program is set to guide installation of the memory system, sending a PXE IP to each server to be installed, so that each server to be installed obtains the installed files of the memory system based on the corresponding PXE IP and installs the memory system based on the installed files of the memory system; traversing the corresponding servers to be installed based on each PXE IP to obtain the MAC addresses of the PXE boot network cards of the servers to be installed; setting a BMC IP for each server to be installed and setting an RAID for each server to be installed; after the configuration file of the network installation service program is modified to guide installation of the cloud platform operating system, the servers to be installed are accessed through the BMC IP, the servers to be installed are restarted, and the cloud platform operating system is installed on the servers to be installed corresponding to the appointed MAC addresses after the servers to be installed are restarted.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The apparatuses, devices, and computer-readable storage media disclosed in the embodiments correspond to the methods disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to in the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (8)

1. The cloud data center physical host installation method is characterized in that an execution main body of the cloud data center physical host installation method is a deployment node, a network installation server program is installed on the deployment node, after the deployment node is built, an operating system of the deployment node automatically installs the network installation server program, and a configuration file of the network installation server program is modified; the installation method of the physical host of the cloud data center comprises the following steps:
after the configuration file of the network installation service program is set to guide installation of a memory system, sending a PXE IP to each server to be installed, so that each server to be installed obtains an installed file of the memory system based on the corresponding PXE IP and installs the memory system based on the installed file of the memory system;
traversing the corresponding servers to be installed based on the PXE IP to obtain the MAC addresses of the PXE boot network cards of the servers to be installed;
setting a BMC IP for each server to be installed and setting RAID for each server to be installed;
after the configuration file of the network installation service program is modified to guide installation of a cloud platform operating system, the server to be installed is accessed and restarted through the BMC IP, and after each server to be installed is restarted, the cloud platform operating system is installed on the server to be installed corresponding to the specified MAC address;
the setting of BMC IP for each server to be installed and RAID for each server to be installed include:
traversing each PXE IP in the DHCP service distributed list through each server to be installed, and setting a BMC IP for each server to be installed corresponding to each PXE IP in the distributed IP record list through an IPMITOOL tool integrated by a memory system of the server to be installed;
and sending an instruction to each server to be installed through each PXE IP in the DHCP service distributed list so that the server to be installed can set RAID through a RAID card management tool integrated by a memory system of the server to be installed.
2. The cloud data center physical host installation method of claim 1, further comprising:
maintaining an installation planning list; wherein the installed planning list at least comprises a device serial number, a device location, a node host name, a BMC IP, a PXE MAC, and a PXE IP.
3. The cloud data center physical host installation method of claim 2, further comprising:
and traversing the distributed IP record list and checking the network communication state, and checking the MAC address, the equipment serial number and the equipment position corresponding to the PXE IP with the abnormal network communication when the network communication is abnormal.
4. The cloud data center physical host installation method of claim 3, further comprising:
traversing the allocated IP record list and comparing the allocated IP record list with the installation planning list to check whether servers with uncompleted installation exist or not, and installing the servers with uncompleted installation when the servers with uncompleted installation exist.
5. The cloud data center physical host installation method of claim 4, wherein setting a RAID for each server to be installed by a RAID card management tool integrated by a memory system comprises:
and setting RAID for each server to be installed by the RAID card management tool integrated by the memory system to obtain a mirror disk array.
6. The cloud data center physical host installation device is applied to a deployment node, a network installation server program is installed on the deployment node, after the deployment node is built, an operating system of the deployment node automatically installs the network installation server program and modifies a configuration file of the network installation server program; the cloud data center physical host installation device comprises:
the issuing module is used for issuing PXE IP to each server to be installed after the configuration file of the network installation service program is set as a guide for installing the memory system, so that each server to be installed acquires the installed file of the memory system based on the corresponding PXE IP and installs the memory system based on the installed file of the memory system;
the acquisition module is used for traversing the corresponding servers to be installed based on the PXE IP to acquire the MAC addresses of the PXE boot network cards of the servers to be installed;
the setting module is used for setting a BMC IP for each server to be installed corresponding to each PXE IP and setting an RAID for each server to be installed;
the installation module is used for accessing the servers to be installed through the BMC IP and restarting the servers to be installed after the configuration file of the network installation service program is modified to guide installation of a cloud platform operating system, and installing the cloud platform operating system on the servers to be installed corresponding to the appointed MAC address after each server to be installed is restarted;
the setting module includes:
the BMC IP setting unit is used for traversing each to-be-installed server through each PXE IP in the DHCP service distributed list and setting a BMC IP for each to-be-installed server corresponding to each PXE IP in the distributed IP record list through an IPMITOOL tool integrated by a memory system of the to-be-installed server;
and the RAID setting unit is used for sending an instruction to each server to be installed through each PXE IP in the DHCP service distributed list so that the server to be installed sets the RAID through a RAID card management tool integrated by a memory system of the server to be installed.
7. The utility model provides a physical host installation equipment of cloud data center which characterized in that includes:
a memory for storing a computer program;
a processor for implementing the steps of the cloud data center physical host installation method of any one of claims 1 to 5 when executing the computer program.
8. A computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the cloud data center physical host installation method of any of claims 1 to 5.
CN201911083235.0A 2019-11-07 2019-11-07 Cloud data center physical host installation method and related device Active CN110879712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911083235.0A CN110879712B (en) 2019-11-07 2019-11-07 Cloud data center physical host installation method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911083235.0A CN110879712B (en) 2019-11-07 2019-11-07 Cloud data center physical host installation method and related device

Publications (2)

Publication Number Publication Date
CN110879712A CN110879712A (en) 2020-03-13
CN110879712B true CN110879712B (en) 2022-06-17

Family

ID=69729060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911083235.0A Active CN110879712B (en) 2019-11-07 2019-11-07 Cloud data center physical host installation method and related device

Country Status (1)

Country Link
CN (1) CN110879712B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694577A (en) * 2020-04-28 2020-09-22 平安科技(深圳)有限公司 Method, device and equipment for installing cluster based on EXCEL file and storage medium
CN111625391B (en) * 2020-05-29 2023-06-13 北京思特奇信息技术股份有限公司 Task processing method, system and electronic equipment
CN112003908B (en) * 2020-08-07 2022-06-21 苏州浪潮智能科技有限公司 Method, system, device and medium for configuring BMC
CN112073555A (en) * 2020-09-14 2020-12-11 中移(杭州)信息技术有限公司 Method for configuring IP address, electronic device and computer readable storage medium
CN112866017B (en) * 2021-01-08 2022-07-08 苏州浪潮智能科技有限公司 Method, system, medium and device for configuring BMC IP address of bare metal server
CN113542097B (en) * 2021-07-08 2022-05-13 北京百度网讯科技有限公司 Server deployment method and device, electronic equipment, storage medium and product
CN114422361A (en) * 2021-11-26 2022-04-29 浪潮通信技术有限公司 Operation and maintenance management method, device, equipment and product of cluster server
CN115037723A (en) * 2022-06-06 2022-09-09 中邮信息科技(北京)有限公司 Full-link system autonomous delivery method and device, electronic equipment and storage medium
CN115333932B (en) * 2022-08-11 2024-04-19 北京蔚领时代科技有限公司 Automatic networking method of server, storage medium and electronic equipment
CN116088954A (en) * 2023-04-10 2023-05-09 江苏博云科技股份有限公司 Operating system installation method based on coexistence of PXE and out-of-band installation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024079A (en) * 2012-12-31 2013-04-03 华为技术有限公司 Method for acquiring resource information of server, resource pool management system and server
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
US9654599B1 (en) * 2016-10-06 2017-05-16 Brian Wheeler Automatic concurrent installation refresh of a large number of distributed heterogeneous reconfigurable computing devices upon a booting event
CN110045991A (en) * 2019-03-08 2019-07-23 平安科技(深圳)有限公司 RAID configuration method, device, computer equipment and the storage medium of server
CN110380868A (en) * 2019-08-22 2019-10-25 广东浪潮大数据研究有限公司 A kind of communication means, device and communication system and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI469607B (en) * 2012-06-25 2015-01-11 Hope Bay Technologies Inc Cloud server for managing hostnames and ip addresses, and management method for the cloud server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024079A (en) * 2012-12-31 2013-04-03 华为技术有限公司 Method for acquiring resource information of server, resource pool management system and server
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
US9654599B1 (en) * 2016-10-06 2017-05-16 Brian Wheeler Automatic concurrent installation refresh of a large number of distributed heterogeneous reconfigurable computing devices upon a booting event
CN110045991A (en) * 2019-03-08 2019-07-23 平安科技(深圳)有限公司 RAID configuration method, device, computer equipment and the storage medium of server
CN110380868A (en) * 2019-08-22 2019-10-25 广东浪潮大数据研究有限公司 A kind of communication means, device and communication system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
云管平台裸金属分布式PXE服务;郭进先;《信息与电脑(理论版)》;20190515(第09期);全文 *

Also Published As

Publication number Publication date
CN110879712A (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN110879712B (en) Cloud data center physical host installation method and related device
CN109951325B (en) Network cable connection checking method and device
CN110943860B (en) BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium
CN103516547B (en) A kind of network parameter distribution method and device
US20190182110A1 (en) Raid configuration
CN107566518B (en) Method and device for managing equipment information in file installation process
CN107666493B (en) Database configuration method and equipment thereof
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
CN109587331B (en) Method and system for automatically repairing cloud mobile phone fault
CN110266761B (en) Load balancing application creation method and device, computer equipment and storage medium
CN111782283A (en) Automatic management method, device and medium for bare metal server
CN111061496A (en) PXE installation method and device for Linux operating system
CN109379223A (en) A kind of method and apparatus for realizing network interface card automated setting
CN111953809B (en) Method, device, equipment and system for managing resource address
CN107659621B (en) RAID control card configuration method and device
CN115499413A (en) Method and system for batch configuration of fixed IP addresses of virtual machines based on KVM
CN112291096B (en) Configuration method and device of bare metal server
CN111984372B (en) Data processing method and system
CN111061503B (en) Cluster system configuration method and cluster system
CN102810067A (en) Virtual machine template updating system and method
CN106506276A (en) A kind of information detecting method for server
CN109120588B (en) Method for acquiring verification information and data center
CN112256289A (en) Automatic deployment method, device and equipment
CN113076111A (en) Customized cluster configuration method, system, terminal and storage medium
CN109918305A (en) A kind of online service monitoring system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant