CN109254783A - A kind of server system installation method, device, equipment and readable storage medium storing program for executing - Google Patents
A kind of server system installation method, device, equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109254783A CN109254783A CN201811087300.2A CN201811087300A CN109254783A CN 109254783 A CN109254783 A CN 109254783A CN 201811087300 A CN201811087300 A CN 201811087300A CN 109254783 A CN109254783 A CN 109254783A
- Authority
- CN
- China
- Prior art keywords
- server
- bmc
- destination server
- file
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4405—Initialisation of multiprocessor systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] 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 Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of server system installation methods, this method comprises: sending the IPMI order of initialization BMC to the target BMC of destination server;It sends identification information and obtains target BMC of the order to after initializing, and receive the identification information of the destination server of target BMC return;Identification information is added in default guidance file, obtains goal directed file, and goal directed file is sent to destination server;It is that destination server automates installation system using server installation service when detecting that destination server performance objective guides file.Using method provided by the embodiment of the present invention, manual operation can be reduced, it can be achieved that high-volume server automatically dispose, can be improved server system installation efficiency and accuracy rate.The invention also discloses a kind of server system mounting device, equipment and readable storage medium storing program for executing, have corresponding technical effect.
Description
Technical field
The present invention relates to server technology field, more particularly to a kind of server system installation method, device, equipment and
Readable storage medium storing program for executing.
Background technique
With the rapid development of cloud, cloud data manipulation center is answered fortune and is given birth to.Support hardware in cloud data manipulation center
Online extension, plug and play can manage a large amount of physical servers, mass memory and virtualization node simultaneously.
When adding a large amount of server in cloud data manipulation center, according to traditional working method, staff needs
Successively manually to the setting of each server initiation, operating system installation and deployment.And the number of servers added is numerous, it is artificial single
Machine installs configuration operating system manually, not only time-consuming and laborious, can also bring inevitable human error, and then reduces entire number
According to the working efficiency and accuracy rate at center.
In conclusion the problems such as how improving the efficiency and accuracy rate of server system installation configuration, is current this field
Technical staff's technical problem urgently to be solved.
Summary of the invention
The object of the present invention is to provide a kind of server system installation method, device, equipment and readable storage medium storing program for executing, to mention
The efficiency and accuracy rate of high server system installation configuration.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of server system installation method, comprising:
The IPMI order of initialization BMC is sent to the target BMC of destination server;
It sends identification information and obtains target BMC of the order to after initializing, and receive the mesh that the target BMC is returned
Mark the identification information of server;
The identification information is added in default guidance file, obtains goal directed file, and by the goal directed
File is sent to the destination server;
It is described using server installation service when detecting that the destination server executes the goal directed file
Destination server automates installation system.
Preferably, the IPMI order of initialization BMC is sent to the target BMC of destination server, comprising:
Start DHCP service, automatically configures IP address for the target BMC of destination server;
The IPMI order for obtaining No. SN is sent to the target BMC, obtains No. SN of the destination server;
According to the corresponding relationship of pre-set SN and BMC, the IP address of the target BMC is reconfigured.
Preferably, the IPMI order for sending acquisition SN, obtains No. SN of the destination server, comprising:
Send ipmitool-I lanplus-H ipaddr-U username-P Password fru list order extremely
The target BMC obtains No. SN of the destination server.
Preferably, the IP address for reconfiguring the target BMC, comprising:
Ipmitool lan set order is issued to the target MBC, to reconfigure the IP address of the target BMC.
Preferably, it sends identification information and obtains target BMC of the order to after initializing, and receive the target BMC and return
The destination server identification information, comprising:
It sends identification information and obtains target BMC of the order to after initializing;
Receive the MAC Address of first piece of network interface card of the destination server that the target BMC is returned.
Preferably, it when detecting that the destination server executes the goal directed file, is installed and is taken using server
Business is that the destination server automates installation system, comprising:
When detecting that the destination server executes the goal directed file, serviced using THCP by kernel and file
System loads are into the destination server;
Using the kernel and the file system, to the server installation system.
Preferably, after the goal directed file is sent to the destination server, further includes:
If the destination server is not detected in set period executes the goal directed file, institute is repeated
State the step of goal directed file is sent to the destination server.
A kind of server system mounting device, comprising:
BMC initialization module, for sending the IPMI order of initialization BMC to the target BMC of destination server;
Identification information obtains module, obtains target BMC of the order to after initializing for sending identification information, and receive institute
State the identification information of the destination server of target BMC return;
File sending module is guided, for the identification information to be added in default guidance file, obtains goal directed
File, and the goal directed file is sent to the destination server;
System automation installs module, for when detecting that the destination server executes the goal directed file,
It is that the destination server automates installation system using server installation service.
A kind of server system installation equipment, comprising:
Memory, for storing computer program;
Processor, the step of above-mentioned server system installation method is realized when for executing the computer program.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing
The step of processor realizes above-mentioned server system installation method when executing.
Using method provided by the embodiment of the present invention, the IPMI order of initialization BMC is sent to the mesh of destination server
Mark BMC;It sends identification information and obtains target BMC of the order to after initializing, and receive the destination server of target BMC return
Identification information;Identification information is added in default guidance file, obtains goal directed file, and goal directed file is sent
To destination server;It is that target takes using server installation service when detecting that destination server performance objective guides file
Business device automates installation system.
Since IPMI has independently of CPU, BIOS and OS, so no matter in the state of being switched on or shutting down, as long as connecing
Energization source can realize the characteristics of monitoring to server.Realize physical unit, that is, BMC (Baseboard of IPMI order
Management Controller, embedded management microcontroller), each sensing can be monitored using IPMI order by BMC
The data of device and record the log of various events and server is simply manipulated and information collect.Thus, under can passing through
The IPMI order of hair initialization BMC can be completed to the target BMC of destination server to the first of the target MBC of destination server
Beginningization.And send identification information and obtain target BMC of the order to after initializing, the mark letter of destination server can be got
Breath.Then, identification information is added in default guidance file, can obtains and carries out automation peace for guiding target server
The goal directed file of dress.It will detect that destination server performance objective draws after guidance file is sent to destination server
It is that destination server automates installation system using server installation service when leading file.That is, passing through management end server
BMC realizes that the target BMC initialization of destination server obtains target using the target BMC after initialization using IPMI order
The identification information of server, and then goal directed file is set, it is based ultimately upon goal directed file and completes to destination server
The installation configuration work of operating system, reduce manual operation, it can be achieved that high-volume server automatically dispose, service can be improved
The efficiency and accuracy rate of device system installation.
Correspondingly, the embodiment of the invention also provides server systems corresponding with above-mentioned server system installation method
Mounting device, equipment and readable storage medium storing program for executing, have above-mentioned technique effect, and details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of server system installation method in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of server system mounting device in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of server system installation equipment in the embodiment of the present invention;
Fig. 4 is a kind of concrete structure schematic diagram of server system installation equipment in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of flow chart of server system installation method in the embodiment of the present invention, this method can
Management end server for cloud platform.Method includes the following steps:
S101, the IPMI order of initialization BMC is sent to the target BMC of destination server.
Wherein, IPMI (Intelligent Platform Management Interface, Intelligent Platform Management Interface)
It is that hardware management is made to have intelligentized universal interface standard of new generation.The physical features of server can be monitored using IPMI, such as
Temperature, voltage, electric fan working condition, power supply supply and cabinet etc..The maximum advantage of IPMI be it be independently of CPU,
BIOS's and OS, so no matter in the state of being switched on or shutting down, as long as powering on the prison realized to server
Control.It the use of the most important physical unit of IPMI is exactly BMC (Baseboard Management Controller, embedded management
Microcontroller), BMC is equivalent to the brain of entire platform management, can monitor each sensor using IPMI order by BMC
Data and record the log of various events and server is simply manipulated and information collect.
Management end server can issue the IPMI order of initialization BMC by the BMC of itself, to the target of destination server
BMC is initialized.Wherein, management end server is the server that cloud data manipulation center has management function, and target
Server then can need to carry out physical server for any one in cloud data manipulation and initially dispose with automated operating system
Server.It should be noted that before to destination server installation system, it need to be by the entire environment object at cloud data manipulation center
Reason server hardware is connected to and powers on, and is management end server configuration DHCP server, tftp server.
Wherein, management end server issues IPMI order by the BMC of itself, carries out to the target BMC of destination server
Initialization, specific implementation process include:
Step 1: starting DHCP service, automatically configures IP address for the target BMC of destination server;
Step 2: sending the IPMI order for obtaining No. SN to target BMC, No. SN of destination server is obtained;
Step 3: reconfiguring the IP address of target BMC according to the corresponding relationship of pre-set SN and BMC.
It is illustrated for ease of description, below combining above three step.
Firstly, management end server can start DHCP (Dynamic Host Configuration Protocol, dynamic
Host configuration) service, and the mode automatically configured is used to configure IP address for the target BMC of destination server.It configures
After the IP address of target BMC, management end server can issue IPMI order using the BMC of itself, obtain destination server
SN (Serial Number) number.Wherein No. SN sequence number for server, unique identification.Obtaining this No. SN can be in cloud management
It is shown in platform, when if necessary to enter computer room confirmation physical machine, can be confirmed according to the mark.Specifically, i.e.
Ipmitool-I lanplus-H ipaddr-U username-P Password fru list order can be transmitted to target
BMC obtains No. SN of destination server.It, can be according to pair of pre-set SN and BMC after getting the sequence number of server
It should be related to, reconfigure the IP address of target BMC.The mode of target BMC is reconfigured, it can be by issuing ipmitool lan
Set order is to target MBC, to reconfigure the IP address of target BMC.After the IP address for having reconfigured target BMC, it can weigh
Destination server is opened, so that initialization comes into force.
After the initialization of target BMC comes into force, the operation of step S102 can be performed.
S102, target BMC of the identification information acquisition order to after initializing is sent, and receives the target of target BMC return
The identification information of server.
After initialized target BMC, since BMC has the data and note that can monitor each sensor using IPMI order
It records the log of various events and server is simply manipulated and characteristic that information is collected, management end server can utilize
The identification information of target BMC acquisition destination server.That is, after sending identification information acquisition order to the target BMC after initialization,
Target BMC can get the identification information of server, and return to management end server.
Wherein, when identification information is specifically as follows installation system, the mark of required destination server, such as destination server
First piece of network interface card MAC (Media Access Control or Medium Access Control, be media interviews control
System, or be physical address, hardware address, for defining the position of the network equipment) address.Specifically, transmittable identification information
Obtain target BMC of the order to after initializing;Receive the MAC Address of first piece of network interface card of the destination server that target BMC is returned.
That is, target BMC of the order to after initializing can be obtained by sending identification information, target BMC be collected into the of destination server
After the MAC Address of one piece of network interface card, management end server can be returned to.That is, management end server can be by receiving target BMC
The mode for returning to the MAC Address of first piece of network interface card obtains the MAC Address of first piece of network interface card of destination server.Obtain target clothes
When the MAC of first piece of network interface card of business device, management end server can issue ipmitool-I lanplus-H ipaddr-U
The IPMI order of username-P Password RAW 0X30 0X21, and then obtain first piece of network interface card of destination server
MAC Address.
S103, identification information is added in default guidance file, obtains goal directed file, and by goal directed file
It is sent to destination server.
After the identification information for obtaining destination server, identification information can be added to pre-set guidance file
In.Specifically, the guidance file (bootstrap file) is to be based on the identification information, close control destination server, from pipe
It manages and obtains installation configuration file in the server of end, and complete a file of system installation using installation configuration file.Send mesh
The mode that file is sent to destination server is led in index, and being specifically as follows using DHCP service is that destination server configures system IP
Address, and configured IP address is utilized, guidance file is sent in destination server by TFTP service.
S104, detect destination server performance objective guide file when, using server installation service be target take
Business device automates installation system.
Can be by judging whether destination server asks for file as detection foundation, and then determine whether destination server is held
Row goal directed.It is target using server installation service when detecting that destination server performs goal directed file
Server automated installation system.
Wherein, when being installed, following steps can be performed:
Step 1: being serviced using THCP by kernel and file when detecting that destination server performance objective guides file
System loads are into destination server;
Step 2: using kernel and file system, to server installation system.
It is illustrated for ease of description, below combining above-mentioned two step.
Specifically, the server installation service of management end server can be started by PXE mode.Wherein, PXE (Pre-
Boot Execute Environment, Pre-boot Execution Environment) pass through C/S (Client/Server, client/server)
Network mode work, supports server to support by network from remote server download system mirror image and configuration file, and thus
Operating system automates starting and installation by network implementations.The efficiency for starting server installation service based on PXE mode is remote
Much higher than the modes such as CD-ROM drive, BMC, USB of use, it is particularly suitable for the initial environment that cloud data manipulation center possesses a large amount of servers
Installation configuration.
Wherein, server installation service includes that DHCP service and TFTP are serviced.Wherein TFTP (Trivial File
Transfer Protocol, plain text transport protocol) service can load kernel and file system into destination server, and
Carry out system automation installation.
Since management end server opens server installation service in a manner of PEX, thus performance objective guides file
Kernel and file system can be loaded from management end server into destination server, it can be real using kernel and file system
Now to destination server installation system.
It executes instruction that is, file can be transmitted in management end server to destination server, can also be arranged in destination server
The execution program of automatic performance objective guidance file.Management end server can detect destination server, when detecting mesh
When marking server performance objective guidance file, load kernel and file system are serviced into destination server using TFTP;Benefit
With kernel and file system, to server installation system.
Preferably due to when sending guidance file to destination server using TFTP service, it may be because in time-out, network
The reasons such as disconnected cause destination server normally not guide file by performance objective, to solve such situation.The embodiment of the present invention is also
Provide following solution: after goal directed file is sent to destination server, further includes: if in set period
Destination server performance objective guidance file is not detected, then repeats and goal directed file is sent to destination server.
Can be by judging within the specified time limit, whether destination server asked for the mode of kernel or file system, determined destination service
Whether performance objective guides file to device.When determining that destination server is not carried out goal directed file, repeats and execute target
The step of guidance file is sent to destination server.
In addition, debugging to avoid failure or network failure because of destination server itself from leading to destination server
It is preceding can not performance objective guide file, and management end server constantly repeat send guidance file cause occupy resource the case where
Occur, before repeating to send goal directed file to destination server, also can determine whether that the transmission times of goal directed file is
It is no to be greater than preset threshold, if it is judged that be it is yes, then send again and guide file to destination server;If it is judged that being
It is no, then stop installation and input error prompt information.In this way, can avoid the occurrence of endless loop leads to the case where occupying resource.
Using method provided by the embodiment of the present invention, the IPMI order of initialization BMC is sent to the mesh of destination server
Mark BMC;It sends identification information and obtains target BMC of the order to after initializing, and receive the destination server of target BMC return
Identification information;Identification information is added in default guidance file, obtains goal directed file, and goal directed file is sent
To destination server;It is that target takes using server installation service when detecting that destination server performance objective guides file
Business device automates installation system.
Since IPMI has independently of CPU, BIOS and OS, so no matter in the state of being switched on or shutting down, as long as connecing
Energization source can realize the characteristics of monitoring to server.Realize physical unit, that is, BMC (Baseboard of IPMI order
Management Controller, embedded management microcontroller), each sensing can be monitored using IPMI order by BMC
The data of device and record the log of various events and server is simply manipulated and information collect.Thus, under can passing through
The IPMI order of hair initialization BMC can be completed to the target BMC of destination server to the first of the target MBC of destination server
Beginningization.And send identification information and obtain target BMC of the order to after initializing, the mark letter of destination server can be got
Breath.Then, identification information is added in default guidance file, can obtains and carries out automation peace for guiding target server
The goal directed file of dress.It will detect that destination server performance objective draws after guidance file is sent to destination server
It is that destination server automates installation system using server installation service when leading file.That is, passing through management end server
BMC realizes that the target BMC initialization of destination server obtains target using the target BMC after initialization using IPMI order
The identification information of server, and then goal directed file is set, it is based ultimately upon goal directed file and completes to destination server
The installation configuration work of operating system, reduce manual operation, it can be achieved that high-volume server automatically dispose, service can be improved
The efficiency and accuracy rate of device system installation.
It should be noted that a kind of server system installation method provided by the embodiment of the present invention can be simultaneously more clothes
Business device installation system.For ease of description, only being carried out in example 1 with the process that a destination server is configured detailed
Explanation.The process for carrying out system installation to multiple servers can be found in following Examples two.To multiple servers installation system
And it can be cross-referenced to the realization between a server installation system.
Embodiment two:
For convenient for those skilled in the art understand that technical solution provided by the embodiment of the present invention, below will service more
For device carries out the application scenarios of automation installation system, the method that is provided for the embodiments of the invention server installation system
It is described in detail.
Implementing step includes:
Step 1: entire environmental physics server hardware to be connected to and power on;
Wherein, physical environment refers to the server hardware device placing position at cloud data manipulation center.
Step 2: configuration DHCP server, tftp server in management end server;
Step 3: opening server, server B MC obtains IP address by Dynamic Host Configuration Protocol server automatically;
Wherein, Dynamic Host Configuration Protocol server can refer to the DHCP service of management end server, and tftp server hereinafter refers to management
Hold the TFTP service of server.Certainly, Dynamic Host Configuration Protocol server and tftp server also can refer to have DHCP service and TFTP clothes respectively
The separate server of business.
Step 4: such as can not normally connect if server B MC connection is normal, (such as 3 times) several times can be attempted;It is 3 times accumulative
After failure, terminate automation erection schedule;
Step 5: management end server issues IPMI order (ipmitool-I lanplus-H ipaddr-U by BMC
Username-P Password fru list) collect No. SN of Servers-all;
Step 6: management end server issues IPMI order (ipmitool-I lanplus-H ipaddr-U by BMC
Username-P Password RAW 0X30 0X21) collect first piece of network interface card of Servers-all MAC Address;
Step 7: management end server issues IPMI order (ipmitool lan according to preconsolidation stress, by BMC
), set the IP address of server B MC is reconfigured;
Step 8: management end server issues IPMI order (ipmitool-I lanplus-H ipaddr-U by BMC
Username-P Password power reset), restart server, server has completed BMC initial configuration at this time;
Step 9: management end server starting PXE installs server, and importing configuration files;
Step 10: starting server to be installed and starting it from the PXE network interface card of oneself, the DHCP service into present networks
Device asks for IP, and searches the position of guidance file;
Step 11: Dynamic Host Configuration Protocol server returns to the placement location for giving server ip and bootstrap file to be installed
(the bootstrap file is generally placed on a tftp server, that is, is distributed to different servers to be installed
The placement location of bootstrap file is the same position);
Step 12: tftp server of the server to be installed into present networks asks for bootstrap file;
Step 13: server to be installed obtains execution this document after bootstrap file;
Step 14: loading kernel by tftp server when detecting that destination server executes bootstrap file
And file system;
Step 15: into installation screen, at this time server to be installed by pre-set installation configuration file into
Enter system automation installation process;
Step 16: restarting server, system installation is completed.
Above-mentioned 16 steps are executed by the BMC of server using IPMI order, PXE implementing procedure is based on, realizes more
The configuration of a server initiation and operating system, reduce manual operation, it can be achieved that high-volume machine automatically dispose.
Embodiment three:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of server system mounting device, under
The server system mounting device of text description can correspond to each other reference with above-described server system installation method.
Shown in Figure 2, which comprises the following modules:
BMC initialization module 101, for sending the IPMI order of initialization BMC to the target BMC of destination server;
Identification information obtains module 102, obtains target BMC of the order to after initializing for sending identification information, and connect
Receive the identification information for the destination server that target BMC is returned;
File sending module 103 is guided, for identification information to be added in default guidance file, obtains goal directed text
Part, and goal directed file is sent to destination server;
System automation installs module 104, for utilizing clothes when detecting that destination server performance objective guides file
Device installation service be engaged in as destination server automation installation system.
Using device provided by the embodiment of the present invention, the IPMI order of initialization BMC is sent to the mesh of destination server
Mark BMC;It sends identification information and obtains target BMC of the order to after initializing, and receive the destination server of target BMC return
Identification information;Identification information is added in default guidance file, obtains goal directed file, and goal directed file is sent
To destination server;It is that target takes using server installation service when detecting that destination server performance objective guides file
Business device automates installation system.
Since IPMI has independently of CPU, BIOS and OS, so no matter in the state of being switched on or shutting down, as long as connecing
Energization source can realize the characteristics of monitoring to server.Realize physical unit, that is, BMC (Baseboard of IPMI order
Management Controller, embedded management microcontroller), each sensing can be monitored using IPMI order by BMC
The data of device and record the log of various events and server is simply manipulated and information collect.Thus, under can passing through
The IPMI order of hair initialization BMC can be completed to the target BMC of destination server to the first of the target MBC of destination server
Beginningization.And send identification information and obtain target BMC of the order to after initializing, the mark letter of destination server can be got
Breath.Then, identification information is added in default guidance file, can obtains and carries out automation peace for guiding target server
The goal directed file of dress.It will detect that destination server performance objective draws after guidance file is sent to destination server
It is that destination server automates installation system using server installation service when leading file.That is, passing through management end server
BMC realizes that the target BMC initialization of destination server obtains target using the target BMC after initialization using IPMI order
The identification information of server, and then goal directed file is set, it is based ultimately upon goal directed file and completes to destination server
The installation configuration work of operating system, reduce manual operation, it can be achieved that high-volume server automatically dispose, service can be improved
The efficiency and accuracy rate of device system installation.
In a kind of specific embodiment of the invention, BMC initialization module 101, comprising:
The IP automatic configuration unit of BMC is automatically configured for starting DHCP service for the target BMC of destination server
IP address;
SN acquiring unit obtains the SN of destination server for sending the IPMI order for obtaining No. SN to target BMC
Number;
The IP reconfiguration unit of BMC reconfigures target BMC's for the corresponding relationship according to pre-set SN and BMC
IP address.
In a kind of specific embodiment of the invention, SN acquiring unit is specifically used for sending ipmitool-I
Lanplus-H ipaddr-U username-P Password fru list order obtains destination server to target BMC
No. SN.
In a kind of specific embodiment of the invention, unit is reconfigured in the IP of BMC, specifically for issuing ipmitool lan
Set order is to target MBC, to reconfigure the IP address of target BMC.
In a kind of specific embodiment of the invention, identification information obtains module 102, is specifically used for sending identification information
Obtain target BMC of the order to after initializing;Receive the MAC Address of first piece of network interface card of the destination server that target BMC is returned.
In a kind of specific embodiment of the invention, system automation installs module 104, specifically for detecting mesh
When marking server performance objective guidance file, is serviced using THCP and kernel and file system are loaded onto destination server;Benefit
With kernel and file system, to server installation system.
In a kind of specific embodiment of the invention, file sending module 103 is guided, is specifically used for by goal directed
File is sent to after destination server, if destination server performance objective guidance file is not detected in set period,
Repeat the step of goal directed file is sent to destination server.
Example IV:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of server systems to install equipment, under
A kind of server system installation equipment of text description can correspond to each other ginseng with a kind of above-described server system installation method
According to.
Shown in Figure 3, which includes:
Memory D1, for storing computer program;
Processor D2, when for executing computer program the step of the transaction methods of realization above method embodiment.
Specifically, referring to FIG. 4, Fig. 4 is the specific structure that a kind of server system provided in this embodiment installs equipment
Schematic diagram, server system installation equipment can generate bigger difference because configuration or performance are different, may include one
Or more than one processor (central processing units, CPU) 322 (for example, one or more processors)
With memory 332, storage medium 330 (such as one or one of one or more storage application programs 342 or data 344
A above mass memory unit).Wherein, memory 332 and storage medium 330 can be of short duration storage or persistent storage.Storage
It may include one or more modules (diagram does not mark) in the program of storage medium 330, each module may include pair
Series of instructions operation in data processing equipment.Further, central processing unit 322 can be set to and storage medium
330 communications execute the series of instructions operation in storage medium 330 in server system installation equipment 301.
Server system, which installs equipment 301, to include one or more power supplys 326, one or more have
Line or radio network interface 350, one or more input/output interfaces 358, and/or, one or more operation systems
System 341.For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Step in server system installation method described above can be installed the structure of equipment by server system
It realizes.
Embodiment five:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are described below
A kind of readable storage medium storing program for executing can correspond to each other reference with a kind of above-described server system installation method.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor
The step of server system installation method of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic or disk
The readable storage medium storing program for executing of code.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Claims (10)
1. a kind of server system installation method characterized by comprising
The IPMI order of initialization BMC is sent to the target BMC of destination server;
It sends identification information and obtains target BMC of the order to after initializing, and receive the target clothes that the target BMC is returned
The identification information of business device;
The identification information is added in default guidance file, obtains goal directed file, and by the goal directed file
It is sent to the destination server;
It is the target using server installation service when detecting that the destination server executes the goal directed file
Server automated installation system.
2. server system installation method according to claim 1, which is characterized in that send the IPMI life of initialization BMC
It enables to the target BMC of destination server, comprising:
Start DHCP service, automatically configures IP address for the target BMC of destination server;
The IPMI order for obtaining No. SN is sent to the target BMC, obtains No. SN of the destination server;
According to the corresponding relationship of pre-set SN and BMC, the IP address of the target BMC is reconfigured.
3. server system installation method according to claim 2, which is characterized in that send the IPMI life of acquisition SN
It enables, obtains No. SN of the destination server, comprising:
Ipmitool-I lanplus-H ipaddr-U username-P Password fru list order is sent to described
Target BMC obtains No. SN of the destination server.
4. server system installation method according to claim 2, which is characterized in that described to reconfigure the target
The IP address of BMC, comprising:
Ipmitool lan set order is issued to the target MBC, to reconfigure the IP address of the target BMC.
5. server system installation method according to claim 1, which is characterized in that the transmission identification information obtains life
The target BMC to after initializing is enabled, and receives the identification information for the destination server that the target BMC is returned, comprising:
It sends identification information and obtains target BMC of the order to after initializing;
Receive the MAC Address of first piece of network interface card of the destination server that the target BMC is returned.
6. server system installation method according to any one of claims 1 to 5, which is characterized in that described detecting
It is destination server automation installation using server installation service when destination server executes the goal directed file
System, comprising:
When detecting that the destination server executes the goal directed file, serviced using THCP by kernel and file system
It is loaded onto the destination server;
Using the kernel and the file system, to the server installation system.
7. server system installation method according to claim 6, which is characterized in that sent out by the goal directed file
It send to the destination server, further includes:
If the destination server is not detected in set period executes the goal directed file, described incite somebody to action is repeated
The step of goal directed file is sent to the destination server.
8. a kind of server system mounting device characterized by comprising
BMC initialization module, for sending the IPMI order of initialization BMC to the target BMC of destination server;
Identification information obtains module, obtains target BMC of the order to after initializing for sending identification information, and receive the mesh
Mark the identification information for the destination server that BMC is returned;
File sending module is guided, for the identification information to be added in default guidance file, acquisition goal directed file,
And the goal directed file is sent to the destination server;
System automation installs module, for utilizing when detecting that the destination server executes the goal directed file
Server installation service is that the destination server automates installation system.
9. a kind of server system installs equipment characterized by comprising
Memory, for storing computer program;
Processor realizes that server system is installed as described in any one of claim 1 to 7 when for executing the computer program
The step of method.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing
It is realized when calculation machine program is executed by processor as described in any one of claim 1 to 7 the step of server system installation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811087300.2A CN109254783A (en) | 2018-09-18 | 2018-09-18 | A kind of server system installation method, device, equipment and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811087300.2A CN109254783A (en) | 2018-09-18 | 2018-09-18 | A kind of server system installation method, device, equipment and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109254783A true CN109254783A (en) | 2019-01-22 |
Family
ID=65048241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811087300.2A Pending CN109254783A (en) | 2018-09-18 | 2018-09-18 | A kind of server system installation method, device, equipment and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109254783A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271436A (en) * | 2018-09-25 | 2019-01-25 | 郑州云海信息技术有限公司 | A kind of server host name amending method, device, equipment and readable storage medium storing program for executing |
CN110941522A (en) * | 2019-11-22 | 2020-03-31 | 英业达科技有限公司 | Pressure testing method, system, medium and device of baseboard management controller |
CN111130903A (en) * | 2019-12-30 | 2020-05-08 | 山东英信计算机技术有限公司 | Server information configuration method, device and equipment |
CN111880852A (en) * | 2020-07-28 | 2020-11-03 | 平安科技(深圳)有限公司 | Operating system initialization method, system, computer device and storage medium |
CN112073555A (en) * | 2020-09-14 | 2020-12-11 | 中移(杭州)信息技术有限公司 | Method for configuring IP address, electronic device and computer readable storage medium |
CN112866017A (en) * | 2021-01-08 | 2021-05-28 | 苏州浪潮智能科技有限公司 | Method, system, medium and device for configuring BMC IP address of bare metal server |
CN113076225A (en) * | 2021-03-30 | 2021-07-06 | 山东英信计算机技术有限公司 | External storage medium detection method, device and equipment and storage medium |
WO2021139321A1 (en) * | 2020-07-20 | 2021-07-15 | 平安科技(深圳)有限公司 | Intelligent network card initialization method and apparatus, and computer device and storage medium |
CN113656082A (en) * | 2021-08-16 | 2021-11-16 | 维沃移动通信有限公司 | Network kernel loading method, management server and application server |
CN114879981A (en) * | 2022-05-27 | 2022-08-09 | 北京百度网讯科技有限公司 | Installation method and device of cloud operating system, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916849A (en) * | 2006-09-04 | 2007-02-21 | 华为技术有限公司 | Method for initializing system of multile processors, and system of multile processors |
CN101008906A (en) * | 2006-01-25 | 2007-08-01 | 英业达股份有限公司 | Detection method of switching failure |
CN104579853A (en) * | 2015-02-10 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for network testing of server cluster system |
CN104954504A (en) * | 2015-05-05 | 2015-09-30 | 浪潮电子信息产业股份有限公司 | Method for automatically carrying out BMC management IP configuration |
CN107360042A (en) * | 2017-08-22 | 2017-11-17 | 郑州云海信息技术有限公司 | A kind of server management method and device |
CN107783888A (en) * | 2017-10-31 | 2018-03-09 | 济南浪潮高新科技投资发展有限公司 | The method and device that a kind of server admin based on IPMI with data prediction function is realized |
-
2018
- 2018-09-18 CN CN201811087300.2A patent/CN109254783A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101008906A (en) * | 2006-01-25 | 2007-08-01 | 英业达股份有限公司 | Detection method of switching failure |
CN1916849A (en) * | 2006-09-04 | 2007-02-21 | 华为技术有限公司 | Method for initializing system of multile processors, and system of multile processors |
CN104579853A (en) * | 2015-02-10 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for network testing of server cluster system |
CN104954504A (en) * | 2015-05-05 | 2015-09-30 | 浪潮电子信息产业股份有限公司 | Method for automatically carrying out BMC management IP configuration |
CN107360042A (en) * | 2017-08-22 | 2017-11-17 | 郑州云海信息技术有限公司 | A kind of server management method and device |
CN107783888A (en) * | 2017-10-31 | 2018-03-09 | 济南浪潮高新科技投资发展有限公司 | The method and device that a kind of server admin based on IPMI with data prediction function is realized |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271436A (en) * | 2018-09-25 | 2019-01-25 | 郑州云海信息技术有限公司 | A kind of server host name amending method, device, equipment and readable storage medium storing program for executing |
CN110941522A (en) * | 2019-11-22 | 2020-03-31 | 英业达科技有限公司 | Pressure testing method, system, medium and device of baseboard management controller |
CN111130903A (en) * | 2019-12-30 | 2020-05-08 | 山东英信计算机技术有限公司 | Server information configuration method, device and equipment |
WO2021139321A1 (en) * | 2020-07-20 | 2021-07-15 | 平安科技(深圳)有限公司 | Intelligent network card initialization method and apparatus, and computer device and storage medium |
CN111880852A (en) * | 2020-07-28 | 2020-11-03 | 平安科技(深圳)有限公司 | Operating system initialization method, system, computer device and storage medium |
CN112073555A (en) * | 2020-09-14 | 2020-12-11 | 中移(杭州)信息技术有限公司 | Method for configuring IP address, electronic device and computer readable storage medium |
CN112866017A (en) * | 2021-01-08 | 2021-05-28 | 苏州浪潮智能科技有限公司 | Method, system, medium and device for configuring BMC IP address of bare metal server |
CN112866017B (en) * | 2021-01-08 | 2022-07-08 | 苏州浪潮智能科技有限公司 | Method, system, medium and device for configuring BMC IP address of bare metal server |
CN113076225A (en) * | 2021-03-30 | 2021-07-06 | 山东英信计算机技术有限公司 | External storage medium detection method, device and equipment and storage medium |
CN113076225B (en) * | 2021-03-30 | 2023-03-24 | 山东英信计算机技术有限公司 | External storage medium detection method, device and equipment and storage medium |
CN113656082A (en) * | 2021-08-16 | 2021-11-16 | 维沃移动通信有限公司 | Network kernel loading method, management server and application server |
CN114879981A (en) * | 2022-05-27 | 2022-08-09 | 北京百度网讯科技有限公司 | Installation method and device of cloud operating system, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109254783A (en) | A kind of server system installation method, device, equipment and readable storage medium storing program for executing | |
CN106681751B (en) | Unified firmware management system and management method and computer readable medium | |
US10866623B2 (en) | Information handling system and method to detect and recover from no power/no post failures | |
US8997090B2 (en) | Installing an operating system in a host system | |
US10031736B2 (en) | Automatic system software installation on boot | |
CN113489597B (en) | Method and system for optimal startup path for network device | |
US20170228228A1 (en) | Remote launch of deploy utility | |
CN109587005B (en) | Connection detection method and device, computer equipment and readable storage medium | |
CN110515802A (en) | A kind of monitoring method, system and the associated component of server booting failure | |
EP3319283B1 (en) | Server data port learning at data switch | |
CN106980493B (en) | Firmware management method and device | |
CN111949320B (en) | Method, system and server for providing system data | |
CN101471820B (en) | Test method for substrate management controller | |
US20150106608A1 (en) | Power-on scheduling of multiple blades requiring a preboot image from a remote disk | |
US20200401112A1 (en) | Pre-runtime fan control | |
CN108989123A (en) | A kind of server configuration method and device | |
CN117555760B (en) | Server monitoring method and device, substrate controller and embedded system | |
CN111352662B (en) | Server starting sequence control method, system, terminal and storage medium | |
WO2024119787A1 (en) | Method and apparatus for amd server system installation power-off processing, device and medium | |
CN112395084A (en) | Bare metal server deployment method | |
US20230325203A1 (en) | Provisioning dpu management operating systems using host and dpu boot coordination | |
CN115168146A (en) | Anomaly detection method and device | |
JP6051798B2 (en) | Firmware verification system, firmware verification method, and firmware verification program | |
CN114153507A (en) | Control method and device and storage medium | |
CN109254782B (en) | Operating system installation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190122 |