CN102447732A - Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development - Google Patents

Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development Download PDF

Info

Publication number
CN102447732A
CN102447732A CN2011103055958A CN201110305595A CN102447732A CN 102447732 A CN102447732 A CN 102447732A CN 2011103055958 A CN2011103055958 A CN 2011103055958A CN 201110305595 A CN201110305595 A CN 201110305595A CN 102447732 A CN102447732 A CN 102447732A
Authority
CN
China
Prior art keywords
software
configuration
script
file
install
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
CN2011103055958A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2011103055958A priority Critical patent/CN102447732A/en
Publication of CN102447732A publication Critical patent/CN102447732A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method for intelligent configuration of a host computer embedded environment during BMC (Baseboard Management Controller) development, wherein a new automatic embedded type environment configuration method is adopted, and the results obtained based on the method are completely the same as that of the traditional method and is different from the traditional method only in the configuration means aspect. In the method, a Linux-based software package is developed, and a program is operated under the software; the software package can be used for detecting a system and intelligently installing various software as required under a necessary condition; the installation of all the related software can be completed as long as the software package is operated; and a network environment can be set up after the required information is filled in. The method is also named as an integrated intelligent configuration method. By means of the method, the configuration of the host end network environment can be completed within several minutes, and the error probability can be greatly reduced. In addition, a script language is selected for compiling a script program so as to make intelligent installation and configuration actions.

Description

A kind of in BMC exploitation the method for intelligence configuration host embedded environment
  
Technical field
The present invention relates to the BMC development field of server, be specifically related to a kind of in BMC exploitation the method for intelligence configuration host embedded environment.
Background technology
The security performance of server is the important indicator of server.The monitoring management module of server is independent of BIOS and operating system; As long as system powers on; At any time comprise the time period of failing to get into BIOS and operating system; Can both accomplish the monitoring function of server, obtain the value of each transducer and the error situation that possibly occur is carried out record, when being necessary system recovered.Monitoring function itself just has independence, under the situation that BIOS and operating system all break down, still can also accomplish monitoring function.
The core of server monitoring management is BMC (baseboard management controller), and it is based on the watch-dog of ARM9 processor.We are referred to as firmware the pairing working procedure of BMC, are that hardware interface is managed the firmware program of following the IPMI standard.
In the exploitation of server firmware; Need set up the debug environment between main frame and the BMC (Target Board); Just the BMC embedded-development environment is configured; BMC can start through the mode of NFS like this, can communicate through serial ports (Serial) and network interface (LAN) between exploitation main frame and the development board.The framework of embedded environment is a debug program for ease, after compiling generates the Image file, directly makes BMC come to start from main frame through serial communication, and need be with the programming of rom file in flash.So just reduced the time of exploitation.The file system that just can get into embedded Linux through serial port terminal (hyper terminal or minicom) in host side.
The step of the embedded environment configuration of tradition in main frame is such: when the linux OS of (1) Redhat5.1 or close version installs, in the install software bag, select tftp, dhcp installs, for the configuration of network environment is got ready; (2) close fire compartment wall and iptable, ipchain; (3) start related software, comprise dhcpd, nfs, tftp; (4) editor tftp configuration file/etc/xinetd.d/tftp mainly is to set share directory and configuration file (5) configuration dhcp server.Mainly be the content of setting the dhcpd.conf file, to the ip of main frame, subnet mask etc. are provided with, and also need set the dhcpd.lease file.(6) set the set up serial ports port and the baud rate (8) of communication equipment of main frame ip address (7) and restart each item network settings.Like this main frame connect network interface and serial ports can and target machine between communicate.Restart development board (ast2050), just can be at the main-machine communication terminal following the order, make development board to start through the NFS file system.
Use traditional method; No doubt can dispose respective services through step-by-step program step by step; Accomplish setting up of final embedded environment; But also there is very big defective in this method: on to the configuration of embedded-development environment, spend more time and efforts, if configuration makes mistakes, inquire about and revise to such an extent that the time maybe be more.Be mainly reflected in following some: (1) relates to the installation of a plurality of software kits, in case will be customized when Linux installs.To download again and the install software bag in case omit also.No matter be from CD, to install again, still download from the Internet in the rpm bag and install, all more loaded down with trivial details consuming time.The installation kit of particularly downloading from the Internet, not necessarily with the system matches of current version, searching has so again increased time cost.The editor of the configuration file of each corresponding software is more loaded down with trivial details.(2) because be need more file be configured, the particularly elementary developer of software developer has the omission point easily.To intactly dispose and to consult file in many ways, time-consuming and energy.Error rate is high.Dispose after each file,, all do not have mistake or correct prompting no matter to mistake.In case be provided with wrongly, the difficulty of debugging is bigger.
Summary of the invention
The purpose of this invention is to provide a kind of in BMC exploitation the method for intelligence configuration host embedded environment.
The objective of the invention is to realize, develop one, the software installation kit of integrated a plurality of different editions in this software kit based on the software kit under the Linux by following mode; Which shell script can detect needs to install, thereby suitable software is installed, during installation; Software kit can detection system, and intelligence is installed various required softwares and configuration file automatically under situation about being necessary, only needs this software kit of operation; The embedded-development environment of main frame will set up, and this software kit comprises: software installed module, software arrangements module; Software restarting dynamic model piece, wherein:
The software installed module: the basis that disposes and restart function after being, be responsible for installing as required the software of fit version; Adopt script to control the installation of a plurality of softwares, nfs, Mincom, dhcp; Tftp installs file and is placed in the specific directory, and during installation, at first shell script is understood certain software installation information in the read apparatus; If install, then skip the mount message that reads next software, if also do not install; Then do a record, after reading configuration information and finishing, again to needing installed software to install in the record; In the process of installing, script is the version information of the current Linux of monitoring automatically, thereby finds the software of the version that matches to install;
Software arrangements module: be the core of collocation method, take the mode of file replacement and the mode of script control to write configuration information; Being configured in the script of file realizes that these files comprise the nfs configuration, dhcp configuration, tftp configuration, mincom configuration; Wherein nfs configuration; The dhcp configuration, the mode of file replacement is adopted in the tftp configuration, and existing configuration file is replaced original configuration file; The configuration of minicom then uses script to carry out the modification of baud rate and device option; In addition, in script, realize closing fire compartment wall iptable, ipchain;
Software restarting module: adopt the mode of script control to make each software use revised configuration, after configuration, need restart just now and come into force to each software; Adopt the automatic script language that institute's installed software is comprised nfs here; Dhcp, tftp restarts, and makes our the needed configuration that is configured to of each software; It is the same using restarting of script completion to do with the effect of in the terminal, accomplishing, and this moment, the embedded-development environment of host side configured.
Which the software installation kit of integrated a plurality of different editions in this software kit, shell script can detect needs to install, thereby suitable software is installed, and need not developer's spended time seeks the software of coupling and installs one by one, installs thereby accomplish intelligence.
The file of needs configuration is replaced with predefined configuration file, and close firewall functionality automatically and set up serial ports link information.
The invention has the beneficial effects as follows: we adopt a kind of collocation method of automatic embedded environment newly, and result and conventional method that this method produces are duplicate, and are just different aspect the means of configuration.This method is a kind of based on the software kit under the Linux through developing, under this software in the operation program.This software kit is understood detection system and the various required softwares of intelligence installation under situation about being necessary.Only need this software kit of operation, just can accomplish the installation of all related softwares; After filling in needed information, just can network environment be set up.We are referred to as integrated intelligence collocation method this method.Use this method should in minutes accomplish the configuration of host side network environment, and can reduce the probability of makeing mistakes greatly.Here we person of choosing uses script to come the compile script program to make the action that intelligence is installed and disposed.
Description of drawings
Fig. 1 is the Organization Chart of intelligent configuration software bag.
Embodiment
Explanation at length below with reference to Figure of description method of the present invention being done.
Of the present invention a kind of in BMC exploitation the method for intelligence configuration host embedded environment, performing step is following:
The install software bag
Here adopt script to control the installation of a plurality of softwares.Nfs, Mincom, dhcp, tftp installs file (we select the rpm installation kit) here and is placed on specific directory.Because the installation of these files under Linux all in particular category, so at first shell script is understood certain software installation information in the read apparatus, if install, then skipped the mount message that reads next software.If also do not install, then do a record.After reading configuration information and finishing, again to needing installed software to install in the record.
In the process of installing, script is the version information of the current Linux of monitoring automatically, thereby finds the software of the version that matches to install.See the process 1,2 among Fig. 1.
File configuration
The configuration of file realizes in script equally.These files comprise the nfs configuration, dhcp configuration, tftp configuration, mincom configuration.Wherein nfs configuration, the dhcp configuration, the mode of file replacement is adopted in the tftp configuration, and existing configuration file is replaced original configuration file.The configuration of minicom then uses script to carry out the modification of baud rate and device option.In addition, in script, realize closing fire compartment wall iptable, ipchain.See the process 3,4 among Fig. 1.
Restart
After configuration, need restart just now and come into force each software.Adopt the automatic script language that institute's installed software is comprised nfs here, dhcp, tftp restarts, and makes our the needed configuration that is configured to of each software.It is the same using restarting of script completion to do with the effect of in the terminal, accomplishing.This moment, the embedded-development environment of host side configured
Except that the described technical characterictic of specification, be the known technology of those skilled in the art.

Claims (1)

1. the method for an intelligence configuration host embedded environment in the BMC exploitation is characterized in that, develops one based on the software kit under the Linux; Which the software installation kit of integrated a plurality of different editions in this software kit, shell script can detect needs to install, thereby suitable software is installed; During installation, software kit meeting detection system, and intelligence is installed various required softwares and automatic configuration file under situation about being necessary; Only need this software kit of operation, the embedded-development environment of main frame will set up, and this software kit comprises: the software installed module; The software arrangements module, software restarting dynamic model piece, wherein:
The software installed module: the basis that disposes and restart function after being, be responsible for installing as required the software of fit version; Adopt script to control the installation of a plurality of softwares, nfs, Mincom, dhcp; Tftp installs file and is placed in the specific directory, and during installation, at first shell script is understood certain software installation information in the read apparatus; If install, then skip the mount message that reads next software, if also do not install; Then do a record, after reading configuration information and finishing, again to needing installed software to install in the record; In the process of installing, script is the version information of the current Linux of monitoring automatically, thereby finds the software of the version that matches to install;
Software arrangements module: be the core of collocation method, take the mode of file replacement and the mode of script control to write configuration information; Being configured in the script of file realizes that these files comprise the nfs configuration, dhcp configuration, tftp configuration, mincom configuration; Wherein nfs configuration; The dhcp configuration, the mode of file replacement is adopted in the tftp configuration, and existing configuration file is replaced original configuration file; The configuration of minicom then uses script to carry out the modification of baud rate and device option; In addition, in script, realize closing fire compartment wall iptable, ipchain;
Software restarting module: adopt the mode of script control to make each software use revised configuration, after configuration, need restart just now and come into force to each software; Adopt the automatic script language that institute's installed software is comprised nfs here; Dhcp, tftp restarts, and makes our the needed configuration that is configured to of each software; It is the same using restarting of script completion to do with the effect of in the terminal, accomplishing, and this moment, the embedded-development environment of host side configured.
CN2011103055958A 2011-10-11 2011-10-11 Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development Pending CN102447732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103055958A CN102447732A (en) 2011-10-11 2011-10-11 Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103055958A CN102447732A (en) 2011-10-11 2011-10-11 Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development

Publications (1)

Publication Number Publication Date
CN102447732A true CN102447732A (en) 2012-05-09

Family

ID=46009817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103055958A Pending CN102447732A (en) 2011-10-11 2011-10-11 Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development

Country Status (1)

Country Link
CN (1) CN102447732A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317617A (en) * 2014-10-23 2015-01-28 浪潮电子信息产业股份有限公司 Method for refreshing BMC Firmware in batch
CN104765618A (en) * 2015-05-06 2015-07-08 山东中孚信息产业股份有限公司 Manufacturing method and decompression installation method of Linux system self-decompression installation packet
CN106506598A (en) * 2016-10-10 2017-03-15 郑州云海信息技术有限公司 A kind of access BIOS setup interfaces and the method for OS
CN106648848A (en) * 2016-10-14 2017-05-10 乐视控股(北京)有限公司 Validity processing method and device of application program
WO2017124799A1 (en) * 2016-01-18 2017-07-27 中兴通讯股份有限公司 Firmware management method and device
CN107704334A (en) * 2017-10-13 2018-02-16 维沃移动通信有限公司 A kind of SDK processing method and mobile terminal
CN107783767A (en) * 2016-08-26 2018-03-09 神讯电脑(昆山)有限公司 Notebook computer detects program automatic setting system and method
CN108920158A (en) * 2018-06-12 2018-11-30 郑州云海信息技术有限公司 A kind of automatically dispose device and method under linux environment
CN109889582A (en) * 2019-01-29 2019-06-14 郑州云海信息技术有限公司 A kind of network installation method and system based on unattended operating system
CN109976768A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 General installation kit determines method, apparatus and common software packet installation method
CN111367811A (en) * 2020-03-12 2020-07-03 山东超越数控电子股份有限公司 Method and system for improving debugging efficiency of management webpage of BMC

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040244008A1 (en) * 2003-05-29 2004-12-02 Myung-Jae Lee Method of implementing Linux-based embedded system for mobile communication
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
CN101622594A (en) * 2006-12-06 2010-01-06 弗森多系统公司(dba弗森-艾奥) Apparatus, system, and method for managing data in a storagedevice with an empty data token directive

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040244008A1 (en) * 2003-05-29 2004-12-02 Myung-Jae Lee Method of implementing Linux-based embedded system for mobile communication
CN101622594A (en) * 2006-12-06 2010-01-06 弗森多系统公司(dba弗森-艾奥) Apparatus, system, and method for managing data in a storagedevice with an empty data token directive
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JON MASTERS ET.AL: "《Linux高级程序设计》", 1 July 2008, 人民邮电出版社 *
张权胜: "PEX+DHCP+TFTP+NFS网络自动无人安装多版本LINUX系统", 《HTTP://BLOG.SINA.COM.CN/ZQS198644》 *
顾治华: "嵌入式系统开发环境的建立", 《软件导刊》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317617A (en) * 2014-10-23 2015-01-28 浪潮电子信息产业股份有限公司 Method for refreshing BMC Firmware in batch
CN104765618A (en) * 2015-05-06 2015-07-08 山东中孚信息产业股份有限公司 Manufacturing method and decompression installation method of Linux system self-decompression installation packet
CN104765618B (en) * 2015-05-06 2017-12-08 中孚信息股份有限公司 A kind of making of linux system self-extracting installation kit and decompression installation method
WO2017124799A1 (en) * 2016-01-18 2017-07-27 中兴通讯股份有限公司 Firmware management method and device
CN107783767A (en) * 2016-08-26 2018-03-09 神讯电脑(昆山)有限公司 Notebook computer detects program automatic setting system and method
CN106506598A (en) * 2016-10-10 2017-03-15 郑州云海信息技术有限公司 A kind of access BIOS setup interfaces and the method for OS
CN106648848A (en) * 2016-10-14 2017-05-10 乐视控股(北京)有限公司 Validity processing method and device of application program
CN107704334A (en) * 2017-10-13 2018-02-16 维沃移动通信有限公司 A kind of SDK processing method and mobile terminal
CN109976768A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 General installation kit determines method, apparatus and common software packet installation method
CN108920158A (en) * 2018-06-12 2018-11-30 郑州云海信息技术有限公司 A kind of automatically dispose device and method under linux environment
CN109889582A (en) * 2019-01-29 2019-06-14 郑州云海信息技术有限公司 A kind of network installation method and system based on unattended operating system
CN111367811A (en) * 2020-03-12 2020-07-03 山东超越数控电子股份有限公司 Method and system for improving debugging efficiency of management webpage of BMC
CN111367811B (en) * 2020-03-12 2023-08-08 超越科技股份有限公司 Method and system for improving BMC management webpage debugging efficiency

Similar Documents

Publication Publication Date Title
CN102447732A (en) Method for intelligent configuration of host computer embedded environment during BMC (Baseboard Management Controller) development
US10929117B2 (en) Container image building using shared resources
US10002054B2 (en) Method and system for performing automatic system recovery
US9563442B2 (en) Baseboard management controller and method of loading firmware
CN102375764B (en) Method and system for managing deployment failure in software deployment
US20120198438A1 (en) Systems, methods, and apparatus to deploy software
CN111382048B (en) Management method and device for mobile equipment on true machine test platform
CN106325953A (en) Weblogic cluster one-key automatic deployment method
US7827548B1 (en) Environment-neutral application build
CN106648762B (en) Method and device for building development environment
CN111475172B (en) Bare metal deployment method and device
CN104113430A (en) Cloud computing data center automatic deployment software framework design
CN106502713A (en) A kind of method for upgrading software and system
CN107632901A (en) A kind of self-repair method and device of application program operation exception
CN104125504A (en) Deployment method, device and system based on continuous integration
CN108008962A (en) The collocation method and system of PXE server under a kind of linux system
WO2020041452A1 (en) Systems and methods for on-demand container-based development environments
US20060129788A1 (en) System and method for initially configuring and booting a device using a device identifier
WO2016082450A1 (en) Method for upgrading user terminal, and user terminal
US8949588B1 (en) Mobile telephone as bootstrap device
CN108733398B (en) Software upgrading processing method and device
CN112948008B (en) Method for managing physical bare machine based on Ironic
CN113900693A (en) Firmware upgrading method, device and system, electronic equipment and storage medium
WO2017020460A1 (en) Method and apparatus for integrating plugin
WO2018166322A1 (en) Repairing method and device for system partition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120509