CN103902327A - BMC starting system and method - Google Patents

BMC starting system and method Download PDF

Info

Publication number
CN103902327A
CN103902327A CN201210589474.5A CN201210589474A CN103902327A CN 103902327 A CN103902327 A CN 103902327A CN 201210589474 A CN201210589474 A CN 201210589474A CN 103902327 A CN103902327 A CN 103902327A
Authority
CN
China
Prior art keywords
bmc
module
network
service end
kernel
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
Application number
CN201210589474.5A
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201210589474.5A priority Critical patent/CN103902327A/en
Priority to TW102101469A priority patent/TW201430561A/en
Publication of CN103902327A publication Critical patent/CN103902327A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a BMC starting method. The method comprises the step of setting, wherein the starting mode of a BMC is set by setting an order of an original equipment manufacturer; the step of allocating, wherein when the BMC enters a network starting mode, a dynamic host configuration protocol (DHCP) module of a server end allocates an IP address to the BMC, and network communication between the server end and the BMC is established; the step of downloading, wherein the BMC downloads the Kernel needed by BMC starting through a trivial file transfer protocol (TFTP) module of the server end; the step of running, wherein the Kernel runs in a root file system (Rootfs) of a network file system (NFS) module according to the starting parameters of the Kernel and the service provided by the NFS module of the server end, the file needed by BMC starting is loaded, the service of the Rootfs is loaded to a memory of the BMC to run through a guide loading program Bootloader of the BMC, and BMC starting is finished. The invention further provides a BMC starting system.

Description

BMC starts system and method
Technical field
The present invention relates to a kind of baseboard management controller (Baseboard Management Controller, BMC) and start system and method.
Background technology
Server be applied in the more and more extensive of society application, its health status is carried out monitoring management BMC application also further extensively.Can check server state by BMC, obtain some data on some motherboards, very powerful of function.BMC chip has flash memory (the Serial Peripheral Interface Flash of a Serial Peripheral Interface, SPI Flash) store the firmware of BMC, slip-stick artist by the firmware burning of making in the middle of Flash, BMC chip reads the firmware information in Flash in the middle of storer, just can carry out work as required, but each BMC firmware burning spended time is longer, very inconvenience when slip-stick artist debugs.
Summary of the invention
In view of above content, be necessary to provide a kind of BMC to start system and method, it can be network startup pattern by the start-up mode of configuration BMC, thereby saves server cost and increase work efficiency.
A kind of BMC starts system, this system comprises: module is set, the start-up mode that BMC is set by original equipment manufacturer (Original Equipment Manufacturer, OEM) order is set, described start-up mode comprises traditional start-up mode and network startup pattern; Distribution module, when start-up mode after BMC is restarted is network startup pattern, DynamicHost in service end arranges agreement (Dynamic Host Configuration Protocol, DHCP) module to BMC distributing IP address, the network service of setting up service end and BMC; Download module, BMC downloads BMC by TFTP (Trivial File Transfer Protocol, the TFTP) module of service end and starts required kernel (Kernel); Operation module, according to the network file system(NFS) of the start-up parameter of Kernel and service end (Network File System, NFS) service that module provides, run in the root file system Rootfs of NFS module, load BMC and start required file, the bootstrap loader Bootloader of BMC is loaded into the service in Rootfs in the internal memory of BMC and moves, and completes the startup of BMC.
A kind of BMC starting method, run on server, this server connects a service end by network, and the method comprises: setting steps, the start-up mode of BMC is set by OEM order is set, and described start-up mode comprises traditional start-up mode and network startup pattern; Allocation step, when the start-up mode after BMC is restarted is network startup pattern, the DHCP module of service end is to BMC distributing IP address, the network service of setting up service end and BMC; Download step, BMC downloads BMC by the TFTP module of service end and starts required kernel Kernel; Operating procedure, the service providing according to the NFS module of the start-up parameter of Kernel and service end, run in the root file system Rootfs of NFS module, load BMC and start required file, the Bootloader of BMC is loaded into the service in Rootfs in the internal memory of BMC and moves, and completes the startup of BMC.
Compared to prior art, described BMC starts system and method, use the start-up mode that starts BMC from network-side, Bootloader and the described start-up parameter that in the Flash of BMC, only need to store BMC, start required Kernel and Rootfs and leave in network.Save like this server cost, and saved redaction update time and the slip-stick artist's debug time of BMC.
Accompanying drawing explanation
Fig. 1 is the applied environment schematic diagram that BMC of the present invention starts system.
Fig. 2 is the functional block diagram that BMC of the present invention starts system.
Fig. 3 is the process flow diagram of BMC starting method of the present invention preferred embodiment.
Main element symbol description
Server 1
BMC 10
Storer 101
Processor 102
RAM 1010
Flash 1011
Service end 2
Network 3
TFTP module 20
DHCP module 21
NFS module 22
BMC starts system 100
Module is set 1000
Judge module 1001
Distribution module 1002
Download module 1003
Operation module 1004
Embodiment
As shown in Figure 1, be the applied environment schematic diagram that BMC of the present invention starts system.In the present embodiment, this BMC startup system 100 runs on the startup of controlling BMC10 in a server 1.The application that BMC starts system 100 need to realize by means of the functional module of service end 2, and described server 1 is connected with service end 2 communications by network 3.Described BMC10 also comprises storer 101 and processor 102.Storer 101 comprises the RAM1010 on Flash1011 and the BMC10 on BMC10.Described network 3 can be Internet or intranet etc.
Described service end 2 comprises TFTP module 20, DHCP module 21 and NFS module 22.This service end 2 can be provided on server 1, also can be independent of server 1.
In the present embodiment, described DHCP module 21 is managed all IP network setting datas concentratedly, is responsible for the DHCP request of treatments B MC10, gives BMC10 automatic IP address allocation.BMC10 uses the IP address of distributing from DHCP module 21 to carry out communication with service end 2 to be connected.
Described TFTP module 20 is the modules of carrying out simple files transmission between BMC10 and service end 2.In the present embodiment, the network path of the Kernel of BMC10 is configured to described TFTP module 20, described Kernel is the core of BMC10 operating system, is in charge of process, internal memory, device driver, file and the network system of BMC10.The network service that utilizes BMC10 and service end 2 to set up, downloads described Kernel from the TFTP module 20 of service end 2.
Described NFS module 22 allow a system on network with other people share directory and file.By using NFS module 22 and network 3, BMC10 can be as accessing local file the file in access services end 2 systems.In the present embodiment, the network path that BMC10 is started to required Root^ configures to described NFS module 22.Described Rootfs is a kind of file system, is described Kernel required first file system while starting, and the code file of described Kernel is kept in Rootfs.The bootstrap loader Bootloader of BMC10 can be after described Rootfs carry be loaded into some initializtion scripts in described Rootfs and service in the internal memory of BMC10 and removes to move described Rootfs.
In the present embodiment, described BMC starts system 100 can be divided into one or more modules, described one or more module is stored in described storer 101 and is configured to and carried out by one or more processors (as the processor 102 in Fig. 1), to complete the present invention.For example, consult shown in Fig. 2, described BMC starts system 100 and is divided into module 1000, judge module 1001, distribution module 1002, download module 1003, operation module 1004 are set.The alleged module of the present invention has been the program segment of a specific function, is more suitable for, in describing the implementation of software in processor 102, in the process flow diagram of Fig. 3, specifically describing about the function of each module than program.
As shown in Figure 3, be the process flow diagram of the preferred embodiment of BMC starting method of the present invention.
Step S10, BMC10 electrifying startup, module 1000 is set by (the Original Equipment Manufscturer of original equipment manufacturer is set on the BMC10 at server 1, OEM) order arranges the start-up mode of BMC10, it is 0 representative tradition start-up mode that mode value is for example set, mode value is set is 1 and represent network startup pattern, and above-mentioned mode value is stored on the EEPROM being connected with BMC10.
Step S11, after setting completed, arranges module 1000 and calls Reboot order in BMC10 and control the BMC10 operation Bootloader that resets automatically.
Step S12, judge module 1001 judges BMC10 start-up mode value, if 0, be traditional start-up mode, execution step S16; If 1, be network startup pattern, execution step S13.
Step S13, distribution module 1002 is in the time that Bootloader enters network startup pattern, and the DHCP module 21 in service end 2 receives the request of BMC10, is an IP address of BMC10 distribution by network 3.BMC10 sets up network service by this IP address and service end 2, and described IP address information is stored on the Flash1011 of BMC10.
Step S14, download module 1003 calls the built-in TFTP order of Bootloader, utilize BMC10 to pass through network service and TFTP module 20 file transfer protocol (FTP) that IP address and service end 2 are set up, TFTP module 20 service end 2 is downloaded on the RAM1010 of described Kernel to BMC10, and described Bootloader transmits start-up parameter to described Kernel.At the present embodiment, described start-up parameter is network path, the network path of described Rootfs etc. of the IP address information of BMC, described Kernel.
Step S15, the service that operation module 1004 provides according to the NFS module 22 of the described start-up parameter of described Kernel and service end 2, run in the Rootfs of NFS module 22, load described Kernel and start required file system, Bootloader can be after described Rootfs carry be loaded into some initializtion scripts in described Rootfs and service in the internal memory of BMC10 and goes to move, and completes the network startup pattern of BMC10.
By above-mentioned steps S10 to S15, BMC10 just can realize the process that starts operation from network-side.Use the start-up mode that starts BMC10 from network-side, Bootloader and the described start-up parameter that in the Flash1011 of BMC10, only need to store BMC10, start required Kernel and Rootfs and leave in network.Described Bootloader only has KB more than 100, has saved server cost, and has saved redaction update time and the slip-stick artist's debug time of BMC10.
Step S16, BMC10 directly starts from traditional mode.
Finally it should be noted that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.

Claims (10)

1. BMC starts a system, is applied on server, and this server connects a service end by network, it is characterized in that, this system comprises:
Module is set, the start-up mode of BMC is set by original equipment manufacturer's OEM order is set, described start-up mode comprises traditional start-up mode and network startup pattern;
Distribution module, when the start-up mode after BMC is restarted is network startup pattern, the DynamicHost of service end arranges protocol DHCP module to BMC distributing IP address, the network service of setting up service end and BMC;
Download module, BMC downloads BMC by the TFTP TFTP module of service end and starts required kernel Kernel;
Operation module, the service providing according to the network file system(NFS) NFS module of the start-up parameter of Kernel and service end, run in the root file system Rootfs of NFS module, load BMC and start required file, the bootstrap loader Bootloader of BMC is loaded into the service in Rootfs in the internal memory of BMC and moves, and completes the startup of BMC.
2. BMC as claimed in claim 1 starts system, it is characterized in that, the network path of described Kernel configures the TFTP module to service end.
3. BMC as claimed in claim 1 starts system, it is characterized in that, the network path of described Rootfs configures the NFS module to service end.
4. BMC as claimed in claim 1 starts system, it is characterized in that, described start-up parameter comprises the network path of the IP address information of BMC, described Kernel and the network path of described Rootfs.
5. BMC as claimed in claim 1 starts system, it is characterized in that, described service end is provided on server or is independent of server.
6. a BMC starting method, runs on server, and this server connects a service end by network, it is characterized in that, the method comprises:
Setting steps, arranges the start-up mode of BMC by original equipment manufacturer's OEM order is set, described start-up mode comprises traditional start-up mode and network startup pattern;
Allocation step, when the start-up mode after BMC is restarted is network startup pattern, the DynamicHost of service end arranges protocol DHCP module to BMC distributing IP address, the network service of setting up service end and BMC;
Download step, BMC downloads BMC by the TFTP TFTP module of service end and starts required kernel Kernel;
Operating procedure, the service providing according to the network file system(NFS) NFS module of the start-up parameter of Kernel and service end, run in the root file system Rootfs of NFS module, load BMC and start required file, the bootstrap loader Bootloader of BMC is loaded into the service in Rootfs in the internal memory of BMC and moves, and completes the startup of BMC.
7. BMC starting method as claimed in claim 6, is characterized in that, the network path of described Kernel configures the TFTP module to service end.
8. BMC starting method as claimed in claim 6, is characterized in that, the network path of described Rootfs configures the NFS module to service end.
9. BMC starting method as claimed in claim 6, is characterized in that, described start-up parameter comprises the IP address information of BMC, the network path of described Kernel, the network path of described Rootfs.
10. BMC starting method as claimed in claim 6, is characterized in that, described service end is provided on server or is independent of server.
CN201210589474.5A 2012-12-29 2012-12-29 BMC starting system and method Pending CN103902327A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210589474.5A CN103902327A (en) 2012-12-29 2012-12-29 BMC starting system and method
TW102101469A TW201430561A (en) 2012-12-29 2013-01-15 System and method of starting baseboard management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210589474.5A CN103902327A (en) 2012-12-29 2012-12-29 BMC starting system and method

Publications (1)

Publication Number Publication Date
CN103902327A true CN103902327A (en) 2014-07-02

Family

ID=50993668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210589474.5A Pending CN103902327A (en) 2012-12-29 2012-12-29 BMC starting system and method

Country Status (2)

Country Link
CN (1) CN103902327A (en)
TW (1) TW201430561A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750492A (en) * 2015-03-31 2015-07-01 广东欧珀移动通信有限公司 Startup control method and device for mobile device on basis of embedded operating system
CN106657444A (en) * 2017-02-24 2017-05-10 郑州云海信息技术有限公司 Method and device for configuring IP address of BMC
CN107209671A (en) * 2015-01-21 2017-09-26 思科技术公司 The dynamic auto monitoring and control of start-up operation in computer
CN109828774A (en) * 2018-12-29 2019-05-31 苏州中晟宏芯信息科技有限公司 A kind of server system and its starting method
CN109976833A (en) * 2019-03-29 2019-07-05 联想(北京)有限公司 Firmware loading method, electronic equipment and the server for storing firmware configuration data
CN111124749A (en) * 2019-09-06 2020-05-08 无锡江南计算技术研究所 Method and system for automatically repairing BMC (baseboard management controller) system of tightly-coupled high-performance computer system
CN111488163A (en) * 2020-04-08 2020-08-04 苏州浪潮智能科技有限公司 Firmware updating method and device, electronic equipment and storage medium
CN111953803A (en) * 2020-07-07 2020-11-17 锐捷网络股份有限公司 BMC starting method, equipment, system and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9853938B2 (en) * 2014-09-08 2017-12-26 Quanta Computer Inc. Automatic generation of server network topology
US10298435B2 (en) * 2015-06-08 2019-05-21 Quanta Computer Inc. Server link state detection and notification
US10749858B2 (en) 2015-09-04 2020-08-18 Hewlett Packard Enterprise Development Lp Secure login information

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107209671A (en) * 2015-01-21 2017-09-26 思科技术公司 The dynamic auto monitoring and control of start-up operation in computer
CN107209671B (en) * 2015-01-21 2020-10-09 思科技术公司 Dynamic automatic monitoring and control of boot operations in a computer
CN104750492A (en) * 2015-03-31 2015-07-01 广东欧珀移动通信有限公司 Startup control method and device for mobile device on basis of embedded operating system
CN104750492B (en) * 2015-03-31 2018-01-19 广东欧珀移动通信有限公司 The start-up control method and device of mobile device based on embedded OS
CN106657444A (en) * 2017-02-24 2017-05-10 郑州云海信息技术有限公司 Method and device for configuring IP address of BMC
CN106657444B (en) * 2017-02-24 2019-09-24 郑州云海信息技术有限公司 A kind of method and device for the IP address configuring BMC
CN109828774A (en) * 2018-12-29 2019-05-31 苏州中晟宏芯信息科技有限公司 A kind of server system and its starting method
CN109976833A (en) * 2019-03-29 2019-07-05 联想(北京)有限公司 Firmware loading method, electronic equipment and the server for storing firmware configuration data
CN111124749A (en) * 2019-09-06 2020-05-08 无锡江南计算技术研究所 Method and system for automatically repairing BMC (baseboard management controller) system of tightly-coupled high-performance computer system
CN111488163A (en) * 2020-04-08 2020-08-04 苏州浪潮智能科技有限公司 Firmware updating method and device, electronic equipment and storage medium
CN111953803A (en) * 2020-07-07 2020-11-17 锐捷网络股份有限公司 BMC starting method, equipment, system and storage medium

Also Published As

Publication number Publication date
TW201430561A (en) 2014-08-01

Similar Documents

Publication Publication Date Title
CN103902327A (en) BMC starting system and method
CN103336688A (en) Software integrating method and system oriented to cloud computing software research and development process
CN110879712B (en) Cloud data center physical host installation method and related device
US10713091B2 (en) Streaming program execution method of intelligent terminal
CN103984575A (en) Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN104572372A (en) System and method for building server performance testing environment
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
CN103200271B (en) The method of ARM server and automation installation system thereof
CN106126273A (en) A kind of method of upgrading BIOS
CN112732273A (en) Application deployment method, device and system
CN103777981A (en) Multi-operation-system remote loading implementation method suitable for X86 framework
CN107391193A (en) A kind of client, the system and method for configuration server
EP4092524B1 (en) Ota differential upgrade method and system of master-slave architecture
CN103440172A (en) Resource management method and terminal device
CN104113430A (en) Cloud computing data center automatic deployment software framework design
CN105824678A (en) Method and device for installing operating system
CN108737499A (en) server configuration method and device
CN105119732A (en) Device and method for distributing hosts in cluster environment
CN109710297B (en) Method for upgrading and backing equipment wholly or in modules
CN112948008B (en) Method for managing physical bare machine based on Ironic
CN102929662A (en) Network-based method for partitioning in batch
CN103442041A (en) Method, device and system for upgrading firmware of embedded device
CN106445599B (en) Application program upgrading method and device and terminal
CN101917458A (en) Method and device for sending network bootstrap program to client
CN114327671A (en) Parameter configuration method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140702