CN102902526A - Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay - Google Patents
Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay Download PDFInfo
- Publication number
- CN102902526A CN102902526A CN2012103162282A CN201210316228A CN102902526A CN 102902526 A CN102902526 A CN 102902526A CN 2012103162282 A CN2012103162282 A CN 2012103162282A CN 201210316228 A CN201210316228 A CN 201210316228A CN 102902526 A CN102902526 A CN 102902526A
- Authority
- CN
- China
- Prior art keywords
- setting
- information
- module
- bmc
- ipmi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides an automatic setting method for realizing a BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay. The design can realize the automation of the setting of the BMC and the setting of the IP information through a pre-programmed procedure. The method comprises the following steps that: a tested machine enters a DOC system; a main program IPMI.bat (Intelligent Platform Management Interface.bat) is operated; a system calls a BMC setting module; the system calls an IP information setting module; the system calls a time delay module; the BMC and an IP message result are set; and a process is finished, wherein the IP information setting module is used for setting a default value of an IPMI, closing a DHCP (Dynamic Host Configuration Protocol), setting a static IP, setting Netmask and setting Gateway IP, the main program respectively calls all the modules, and a time delay module program realizes the time delay of different time periods. Compared with the prior art, the design can realize the automation of the setting of the BMC and the setting of the IP information, so that the setting work is easy to operate and artificial errors are avoided; and the working efficiency is greatly improved and the work time of a production line is effectively saved.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of robotization method to set up that realizes BMC and IP information by time-delay.
Background technology
In the current server product, the realization of reading with function of a lot of information all will rely on BMC(Baseboard Management Controller) realize that BMC has become requisite functional module.And in order to realize the unitized and customization demand of IP information, generally can carry out unified setting to the IP information of product.Therefore, BMC setting and IP information are set to requisite part work in the server product production run.
The setting of the setting of BMC and IP information all is divided into a plurality of stages, and each stage can be arranged after complete different system's start-up times, if just system be not activated and just carried out new order and can cause information to report an error.The setting of the setting of BMC in the past and IP information all is manually to carry out stage by stage, orders one by one to realize the work that arranges of being correlated with by manual input.When producing line and on a large scale work is set, manually arrange and to have a strong impact on work efficiency and easily make mistakes.
Summary of the invention
The present invention is directed to and manually carry out stage by stage at present the problem that BMC setting and IP information arrange existence, a kind of robotization method to set up that realizes BMC and IP information by time-delay is provided.
Design of the present invention realizes the robotization that arranges of the setting of BMC and IP information by program, its design content that solve the technical problem employing comprises: tested machine enters that DOC system, operation master routine IPMI.bat, system call BMC arrange that module, system call IP information arrange module, system call time delay module, BMC arranges and IP information result and process finish, and wherein IP information arranges module and comprises default value that IPMI is set, closes DHCP, static IP is set, Netmask is set and Gateway IP is set.
Use this design, at first write master routine IPMI.bat and delay procedure WAIT.COM, call respectively the time-delay that modules and delay procedure are realized different time sections by master routine, realize the robotization that arranges of the setting of BMC and IP information.The specific implementation step is as follows:
A) write delay procedure WAIT.COM, this program is moved the time-delay that can realize different time sections with the compilation language compilation under DOS;
B) write master routine IPMI.bat.Arrange module, time delay module and IP information that this master routine can call respectively BMC arrange module.System by call time delay module reserve BMC module is set and IP information arranges module at the required fixedly reboot time of stages, can avoid the problem of reporting an error.Under DOS, finish the setting of IPMI, the setting of IP information by lpc bus, thereby realize automatically performing of whole process;
C) tested machine enters the DOS system;
D) operation master routine IPMI.bat, the Automatically invoked BMC of system arranges module, this stage finish after system Automatically invoked time delay module reserve reboot time, then system's Automatically invoked IP information arranges module, system set gradually IPMI default value, close DHCP, static IP is set, Netmask is set and Gateway IP be set, wherein all need to call time delay module and reserve system's reboot time before stages, so a series of programs of system's Automatically invoked are finished the work of setting;
E) demonstration arranges the result, as: IP=192.168.1.100 Gateway=192.168.1.1 Subnet Mask=255.255.255.0;
F) the automatic BMC setting of system and IP information arrange end.
Master routine arranges as follows:
@echo off
yafukcs.exe -full 204.ima
wait 100
IPMICFG -fd
wait 100
IPMICFG -dhcp off
wait 10
IPMICFG -m 192.168.1.100
wait 10
IPMICFG -g 192.168.1.1
wait 10
IPMICFG -k 255.255.255.0
IPMICFG –m
IPMICFG –g
IPMICFG –k
@echo ipmi configure successful
:exit
Wherein yafukcs.exe-full 204.ima is the FW module that BMC is set; Wait is time delay module; IPMICFG is that IP information arranges module.
The beneficial effect that method of the present invention compared with prior art has is: this design realizes the robotization that arranges of the setting of BMC and IP information by program, make the work of setting easy to operate, avoided artificial mistake, the extensive line that produces of convenient realization arranges work, improved greatly work efficiency, effectively saved the product lineman and done the time.
Description of drawings
Fig. 1 is the execution result sectional drawing of IP information;
Fig. 2 is the IP information sectional drawing in the BIOS.
Fig. 3 is system flowchart.
Embodiment
Below in conjunction with accompanying drawing method of the present invention is described further.
The present invention adopt master routine respectively the mode of calling module realize the robotization of whole system, content comprises: tested machine enters that DOC system, operation master routine IPMI.bat, system call BMC arrange that module, system call IP information arrange module, system call time delay module, BMC arranges and IP information result and process finish, and wherein IP information arranges module and comprises default value that IPMI is set, closes DHCP, static IP is set, Netmask is set and Gateway IP is set.
The specific implementation step is as follows:
A) write delay procedure WAIT.COM, this program is moved the time-delay that can realize different time sections with the compilation language compilation under DOS;
B) write master routine IPMI.bat.Arrange module, time delay module and IP information that this master routine can call respectively BMC arrange module.System by call time delay module reserve BMC module is set and IP information arranges module at the required fixedly reboot time of stages, can avoid the problem of reporting an error.Under DOS, realize the setting of IPMI, the setting of IP information by lpc bus, thereby realized automatically performing of whole process;
C) tested machine enters the DOS system;
D) operation master routine IPMI.bat, the Automatically invoked BMC of system arranges module, this stage finish after system Automatically invoked time delay module reserve reboot time, then system's Automatically invoked IP information arranges module, system set gradually IPMI default value, close DHCP, static IP is set, Netmask is set and Gateway IP be set, wherein all need to call time delay module and reserve system's reboot time before stages, so a series of programs of system's Automatically invoked are finished the work of setting;
E) demonstration arranges the result, as: IP=192.168.1.100 Gateway=192.168.1.1 Subnet Mask=255.255.255.0;
F) the automatic BMC setting of system and IP information arrange end.
Call respectively the time-delay that modules and delay procedure are realized different time sections by master routine, realize the robotization that arranges of the setting of BMC and IP information, its master routine is as follows:
@echo off
yafukcs.exe -full 204.ima
wait 100
IPMICFG –fd
wait 100
IPMICFG -dhcp off
wait 10
IPMICFG -m 192.168.1.100
wait 10
IPMICFG -g 192.168.1.1
wait 10
IPMICFG -k 255.255.255.0
IPMICFG –m
IPMICFG –g
IPMICFG –k
@echo ipmi configure successful
:exit
Wherein yafukcs.exe-full 204.ima is the FW module that BMC is set; Wait is time delay module; IPMICFG is that IP information arranges module.
Except the described technical characterictic of instructions, be the known technology of those skilled in the art.
Claims (1)
1. one kind is passed through the robotization method to set up that time-delay realizes BMC and IP information, it is characterized in that at first writing master routine IPMI.bat and delay procedure WAIT.COM, call respectively the time-delay of modules and delay procedure realization different time sections by master routine, realize the setting of BMC and the robotization setting of IP information, content comprises: tested machine enters the DOC system, operation master routine IPMI.bat, system call BMC arranges module, system call IP information arranges module, the system call time delay module, BMC arranges and IP information result and process end, wherein IP information arranges module and comprises the default value that IPMI is set, close DHCP, static IP is set, Netmask is set and Gateway IP is set, the specific implementation step is as follows:
A) write delay procedure WAIT.COM, this program is moved the time-delay that realizes different time sections with the compilation language compilation under DOS;
B) write master routine IPMI.bat, arrange module, time delay module and IP information that this master routine calls respectively BMC arrange module, system by call time delay module reserve BMC module is set and IP information arranges module at the required fixedly reboot time of stages, under DOS, automatically perform the setting of IPMI and the setting of IP information by lpc bus;
C) tested machine enters the DOS system;
D) operation master routine IPMI.bat, the Automatically invoked BMC of system arranges module, this stage finish after system Automatically invoked time delay module reserve reboot time, then system's Automatically invoked IP information arranges module, system set gradually IPMI default value, close DHCP, static IP is set, Netmask is set and Gateway IP be set, wherein all need to call time delay module and reserve system's reboot time before stages, so a series of programs of system's Automatically invoked are finished the work of setting;
E) demonstration arranges the result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210316228.2A CN102902526B (en) | 2012-08-31 | 2012-08-31 | A kind of automation method to set up that realizes BMC and IP information by time delay |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210316228.2A CN102902526B (en) | 2012-08-31 | 2012-08-31 | A kind of automation method to set up that realizes BMC and IP information by time delay |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102902526A true CN102902526A (en) | 2013-01-30 |
CN102902526B CN102902526B (en) | 2016-06-15 |
Family
ID=47574773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210316228.2A Active CN102902526B (en) | 2012-08-31 | 2012-08-31 | A kind of automation method to set up that realizes BMC and IP information by time delay |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102902526B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683136A (en) * | 2013-11-29 | 2015-06-03 | 杭州迪普科技有限公司 | DHCP (dynamic host configuration protocol) time delay event processing method and device |
CN104954504A (en) * | 2015-05-05 | 2015-09-30 | 浪潮电子信息产业股份有限公司 | Method for automatically configuring BMC (baseboard management controller) management IP (internet protocol) |
CN106533817A (en) * | 2017-01-23 | 2017-03-22 | 郑州云海信息技术有限公司 | Method and device for setting attribute information of BMC |
CN108134684A (en) * | 2016-12-01 | 2018-06-08 | 鸿富锦精密电子(天津)有限公司 | BMCIP address management system, management terminal and management method |
CN109257186A (en) * | 2018-08-23 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of method and system making server automatically from PXE network startup |
US10749858B2 (en) | 2015-09-04 | 2020-08-18 | Hewlett Packard Enterprise Development Lp | Secure login information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933419A (en) * | 2005-09-15 | 2007-03-21 | 英业达股份有限公司 | IP address updating system and method |
US20090249319A1 (en) * | 2008-03-27 | 2009-10-01 | Inventec Corporation | Testing method of baseboard management controller |
CN101902491A (en) * | 2009-05-26 | 2010-12-01 | 深圳市汉普电子技术开发有限公司 | Remote management system and control device |
CN102469168A (en) * | 2010-11-01 | 2012-05-23 | 英业达股份有限公司 | Method for setting network address |
-
2012
- 2012-08-31 CN CN201210316228.2A patent/CN102902526B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933419A (en) * | 2005-09-15 | 2007-03-21 | 英业达股份有限公司 | IP address updating system and method |
US20090249319A1 (en) * | 2008-03-27 | 2009-10-01 | Inventec Corporation | Testing method of baseboard management controller |
CN101902491A (en) * | 2009-05-26 | 2010-12-01 | 深圳市汉普电子技术开发有限公司 | Remote management system and control device |
CN102469168A (en) * | 2010-11-01 | 2012-05-23 | 英业达股份有限公司 | Method for setting network address |
Non-Patent Citations (1)
Title |
---|
李娜: "基于IPMI技术的服务器管理系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, 31 March 2010 (2010-03-31), pages 138 - 305 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683136A (en) * | 2013-11-29 | 2015-06-03 | 杭州迪普科技有限公司 | DHCP (dynamic host configuration protocol) time delay event processing method and device |
CN104683136B (en) * | 2013-11-29 | 2018-02-09 | 杭州迪普科技股份有限公司 | DHCP delay event-handling methods and device |
CN104954504A (en) * | 2015-05-05 | 2015-09-30 | 浪潮电子信息产业股份有限公司 | Method for automatically configuring BMC (baseboard management controller) management IP (internet protocol) |
US10749858B2 (en) | 2015-09-04 | 2020-08-18 | Hewlett Packard Enterprise Development Lp | Secure login information |
CN108134684A (en) * | 2016-12-01 | 2018-06-08 | 鸿富锦精密电子(天津)有限公司 | BMCIP address management system, management terminal and management method |
CN108134684B (en) * | 2016-12-01 | 2021-02-26 | 鸿富锦精密电子(天津)有限公司 | BMCIP address management system, management terminal and management method |
CN106533817A (en) * | 2017-01-23 | 2017-03-22 | 郑州云海信息技术有限公司 | Method and device for setting attribute information of BMC |
CN109257186A (en) * | 2018-08-23 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of method and system making server automatically from PXE network startup |
Also Published As
Publication number | Publication date |
---|---|
CN102902526B (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102902526A (en) | Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay | |
CN105373407A (en) | DSP and FPGA online upgrading method for embedded system | |
CN104778124A (en) | Automatic testing method for software application | |
CN204759403U (en) | System based on data pass realization equipment internal module thoroughly and upgrade | |
CN103927256A (en) | Method for controlling multiple Android devices | |
EP2508954A1 (en) | System and method for the configuration of a clustered simulation network | |
CN104461854A (en) | General simulation testing platform for software of ship equipment and construction method of general simulation testing platform | |
CN103617061A (en) | Method for multi-node on-line software updating on basis of ARM | |
CN111130924A (en) | Test method, test device and test equipment for Ethernet port of equipment | |
CN111859832A (en) | Chip simulation verification method and device and related equipment | |
CN111769979A (en) | Cloud resource arranging method, system, terminal and storage medium | |
WO2017113835A1 (en) | Installation tool for large database system | |
CN108234246B (en) | Method and system for multi-directionally testing network performance of server | |
CN109683470A (en) | A kind of software and hardware self-adaptive matching method, device and driving device | |
CN102819474B (en) | Test method and device for system operation | |
CN110868330B (en) | Evaluation method, device and evaluation system for CPU resources which can be divided by cloud platform | |
CN106020857A (en) | Automatic disposition method used for Oracle Real Application Cluster database cluster | |
CN101582038A (en) | Installation method of operating system for test | |
CN115599438A (en) | Method, device, equipment and medium for constructing application program publishing package | |
CN102306109A (en) | Method for realizing logic programming in communication management machine | |
CN104899122A (en) | Mobile terminal testing system and method | |
CN102063083B (en) | Multi-ECU (Electronic Control Unit) time-shared downloading method | |
CN114968219A (en) | Construction method based on visual dragging type logic analysis script | |
CN110213377B (en) | Method for generating webpack configuration on line | |
CN207397264U (en) | A kind of generic server AC pressure test platforms |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |