CN110134447A - The system and method for BMC immediate updating hard disk information based on operating system - Google Patents
The system and method for BMC immediate updating hard disk information based on operating system Download PDFInfo
- Publication number
- CN110134447A CN110134447A CN201910334353.8A CN201910334353A CN110134447A CN 110134447 A CN110134447 A CN 110134447A CN 201910334353 A CN201910334353 A CN 201910334353A CN 110134447 A CN110134447 A CN 110134447A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- information
- bmc
- equipment
- place
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
-
- 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/4411—Configuring for operating with peripheral devices; Loading of device drivers
- G06F9/4413—Plug-and-play [PnP]
- G06F9/4415—Self describing peripheral devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of system and method for BMC immediate updating hard disk information based on operating system, belongs to computer application technology.Present system includes equipment creation configuration module: for creating IPMI equipment, SATA controller equipment, port device, and configuring device address, power supply, resource information;Hard disk detects information collection module: for detecting hard disk plug state, collecting the detailed data information of hard disk;Information transfer module: for handling data information, configuration order, and by data information transfer to BMC;Hard disk information Display processing module: the hard disk information instant playback for that will be inserted into removes the hard disk information of extraction in BMC administration interface from BMC administration interface immediately.The invention has the benefit that Plug Action of the immediately monitoring user in sata port to hard disk, BMC displays the details of hard disk information and immediate updating.
Description
Technical field
The present invention relates to a kind of Computer Applied Technology more particularly to a kind of BMC immediate updating based on operating system are hard
The system and method for disk information.
Background technique
On server master board, BMC(baseboard management controller) it is responsible for management work to entire mainboard.It is logical by network
Telecommunication function, can with viewing hardware facility information, such as processor information, including dominant frequency, model etc., memory information, including capacity,
Frequency, model etc..Also the various operation logs of system be can recorde, hardware, BIOS(Basic Input Output are passed through
System, basic input output system are mainly used for the initialization and detection of various hardware devices during computer booting) or
Other external softwares of person carry out registration record, describe operational circumstances of system, such as booting, shutdown log etc., also there is abnormal event
Hinder log.By the remote operation management function of BMC, user does not need board local operation, can be achieved with to entire mainboard
System hardware facility information, log information carry out comprehensive management.BMC(Baseboard Management Controller, base
Board management controller) generally it is built on mainboard, support the IPMI of professional standard to standardize.The function that BMC is provided includes: local
With remote diagnosis, console support, configuration management, hardware management and troubleshooting.
BMC remote management capability provides the convenience of system administration and monitoring for user, but to SATA hard disc information
Processing is but and its difficult.In SATA hard disc interface traffic channel, signal pins in place are not present, to pass through complicated hardware circuit
Design converts signal message in place for power supply signal information in SATA hard disc interface and notifies BMC, whether in place specifies hard disk.
BMC chip cannot directly acquire the details of hard disk, and in start process, BIOS initializes hard disk, by information from
It is read out in hard disk, after arrangement, then passes to BMC, BMC carries out dissection process to data.If carrying out heat under system to insert
Hard disk is pulled out, needs to restart main board system, the detailed letter of hard disk could be updated to BMC, BMC by allowing BIOS to transmit hard disk information again
Breath.Processing to SATA hard disc information, current design need hardware, BIOS and BMC cooperation to complete, and research and development complexity is high, firmly
Part is at high cost, is unable to immediate updating hard disk information under system when hot plug SATA hard disc.
Summary of the invention
To solve to be unable to immediate updating under complicated difficult, the at high cost, system of BMC acquisition SATA hard disc information in the prior art
The problem of hard disk information, the present invention provide a kind of system and method for BMC immediate updating hard disk information based on operating system.
Present system includes:
Equipment create configuration module: for creating IPMI equipment, SATA controller equipment, port device, and configure device address,
Power supply, resource information;
Hard disk detects information collection module: for detecting hard disk plug state, collecting the detailed data information of hard disk;
Information transfer module: for handling data information, configuration order, and by data information transfer to BMC;
Hard disk information Display processing module: the hard disk information instant playback for that will be inserted into is in BMC administration interface, by the hard of extraction
Disk information is removed from BMC administration interface immediately.
The present invention is further improved, and the IPMI equipment is used for operating system and BMC two-way communication, the IPMI equipment
It is additionally provided with the data buffer zone with BMC two-way communication.
The present invention is further improved, the SATA controller equipment pci bus of system bus is set in the following,
The port device that controller is created in SATA controller equipment, for being connected with external hard disc apparatus, the port device
Quantity is 1 or more, according to the port device quantity that SATA controller equipment is supported, creates port device, different port one by one
It is distinguished between equipment according to port access address.
The method for updating hard disk information based on the system that the present invention also provides a kind of, includes the following steps:
S1: initialization, equipment create configuration module and create IPMI equipment, SATA controller equipment, port device;
S2: whether hard disk detecting information collection module detecting port device has hard disk plug, if there is hard disk is inserted into, then notifies
BMC equipment information in place then handles SATA controller connection state information if there is hard disk is extracted, and notice BMC equipment is not in place
Information;
S3: hard disk information Display processing module judges whether that receive information in place/not in place connects if receiving information in place
Hard disk information data are received and handled, and hard disk information is shown in BMC administration interface, hard disk is registered and is inserted into log, if received
To information not in place, hard disk information is removed from BMC administration interface, registration hard disk extracts log.
The present invention is further improved, and in 5. step S2, when there is hard disk insertion, the hard disk detects information collection module
Treatment process are as follows:
A1: physical layer initialization, SATA controller and SATA hard disc begin setting up physical connection;
A2: statement IPMI equipment availability of communications;
A3: the port device connection status of SATA controller is handled;
A4: notice BMC equipment information in place;
A5: it is sent to hard disk and obtains data command;
A6: port numbers, capacity, type information are stored in data buffer zone by processing hard disk return information;
A7: data are transmitted to BMC.
The present invention is further improved, and step S3 further includes that unlatching/closing hard disk indicator light step in place is used to indicate
Whether hard disk is in place.
Compared with prior art, the beneficial effects of the present invention are: executing program by configuring operating system, operating system is allowed
SATA hard disc information in place is obtained according to register and notifies BMC, saves hardware design part, saves cost, and design is simple.Allow behaviour
Make system and obtain SATA hard disc information notice BMC, BMC shows hard disk details, convenience of the raising user to hard disk management.
Under system, when carrying out hot plug to SATA hard disc, operating system notifies the information and details in place of BMC hard disk immediately, allows
BMC real-time update hard disk information and plug log, facilitate user to consult maintenance, data safety is secure.
Detailed description of the invention
Fig. 1 is present system structural schematic diagram;
Fig. 2 is that equipment creates configuration module processing method flow chart;
Fig. 3 is that hard disk detects information collection module processing method flow chart;
Fig. 4 is hard disk information Display processing module processing method flow chart.
Specific embodiment
The present invention is described in further details with reference to the accompanying drawings and examples.
As shown in Figure 1, including that equipment creation is matched the present invention is based on the system of the BMC immediate updating hard disk information of operating system
Set module, hard disk detecting information collection module, information transfer module and hard disk information Display processing module.
Wherein, equipment creation configuration module creates IPMI(Intelligent Platform
ManagementInterface, Intelligent Platform Management Interface are a kind of hardware management interface specifications of open standard, are defined embedding
Enter the ad hoc approach that formula management subsystem is communicated) equipment, creation SATA(Serial Advanced Technology
Attachment, serial ATA interface specification) controller equiment, creation port device, and configure device address, power supply, resource etc.
Information;Hard disk detects the responsible detecting to hard disk plug state of information collection module, and when extracting hard disk, mark is extracted in setting, slotting
Setting insertion mark, then collects hard disk detailed data information when entering hard disk;Information transfer module is by data according to pre-defined
Format is handled, configuration order, by data information transfer to BMC;Hard disk information Display processing module is responsible for be inserted into hard
The information instant playback of disk is removed from BMC administration interface immediately in BMC administration interface, by the information of the hard disk of extraction.
As shown in Fig. 2, the equipment creation configuration module is used to configure the necessary communication equipment that operating system executes program
Information and data, detailed processing method are as follows:
Firstly, creation IPMI equipment, configuration of IP MI device hardware ID define communication interface type, then state command operation region,
Including communications network functionality number, initial order number that defining operation region name, type of data communication, preparatory and BMC are defined, life
Enable length.This example needs to define two orders, one for transmitting disk end number and in information in place, another is for passing
Pass SATA hard disc details.Then the two-way communication data buffer zone communicated with BMC, institute between operating system and BMC are defined
There are data communications all to complete by data buffer zone.
SATA controller equipment is created below the pci bus of system bus, it is ensured that bus catalogue where equipment is correct,
Then the device PCI address for configuring SATA controller configures power resources information, and statement pci configuration space is accessible, then sound
Bright IPMI address space is accessible.Under SATA controller facility inventory, controller end jaws equipment is created, is connected with hard disk,
External SATA hard disc equipment is represented, the information such as the access address of port device are configured, is supported according to SATA controller equipment
Port device quantity creates port device one by one, is distinguished between distinct device according to port access address.
When all creating and configuring completion, equipment creates configuration module end of run.
As shown in figure 3, operating system detects information collection module by hard disk and starts to monitor after entering operating system
Whether the control port of SATA controller has port device insertion to extract, and extracts, does not do any if accessed without hard disc apparatus
Other operational motions.
If there is SATA hard disc is inserted into port, SATA controller sends COMRESET signal to hard disk, waits hard disk passback
After COMINIT signal, SATA controller and SATA hard disc begin setting up physical connection.
After hardware signal is ready to complete, statement IPMI address space can be made of using for operating system and BMC communication first
Prepare.Operating system execution state information processing routine reads the configuration space registers of SATA control, obtains SATA controller
Port connection state information checks present port connection status, and state position is 1 when equipment connects, and equipment is in place, by control terminal
Slogan and equipment information in place, are stored in IPMI two-way communication data buffer zone, use the communication network of preparatory and BMC agreement
Function number and command number send to BMC and order, and transmit buffer data information.Then it is sent to hard disk and obtains hard disk information life
It enables, details are returned to the parameter buffer that system carries by hard disk, by the capacity of hard disk, type information in parameter buffer
It extracts and according to the format analysis processing made an appointment with BMC, later data will be handled well is stored in IPMI two-way communication data and delay
Area is rushed, using the communications network functionality number and command number of preparatory and BMC agreement, sends and orders to BMC, transfer data buffer number
It is believed that breath.
If there is equipment is extracted from director port, operating system execution state information processing routine reads SATA control
Configuration space registers, obtain SATA controller port connection state information, check present port connection status, equipment connection
When mode bit be 0, equipment is not in place, by control terminal slogan and status information not in place, is stored in IPMI two-way communication data and delays
It rushes in area, using the communications network functionality number and command number of preparatory and BMC agreement, sends and order to BMC, transmit buffer data
Information.
As shown in figure 4, beginning through hard disk information Display processing module after BMC initialization is completed and monitoring whether to receive
The order of hard disk information in place does not do any operation if do not received.If receiving hard disk message command in place, root
According to hard disk serial number data, hard disk indicator light in place is opened, waits the hard disk detailed data information of operating system transmitting to be received, then
Hard disc data information is subjected to dissection process according to the format made an appointment, hard disk serial number, hard disk model, hard-disk capacity are believed
Breath is shown in BMC administration interface, checks for user.Here it illustrates, it, can be by hard if necessary to show more information
Disk detecting information collection module collects processing and then passes over reprocessing display.Finally by the operation information of hard disk insertion mainboard
Log system is recorded.
If receiving hard disk order not in place, according to hard disk serial number data, hard disk indicator light in place is closed, is removed
The hard disk information of BMC administration interface, while log system is recorded in the operation information that hard disk extracts mainboard.Believed by log
Breath, user can facilitate the hard disk plug operation information for consulting SATA controller port according to time shaft.
The present invention can Plug Action of the immediately monitoring user in sata port to hard disk, BMC display the details of hard disk information
And immediate updating executes program by configuring operating system, allows operating system to obtain SATA hard disc according to register and believes in place
Breath notice BMC, saves hardware design part, saves cost, and design is simple.Under system, when carrying out hot plug to SATA hard disc, behaviour
Make information and details in place that system notifies BMC hard disk immediately, allow BMC real-time update hard disk information and plug log, side
Just user consults maintenance, and data safety is secure.
The specific embodiment of the above is better embodiment of the invention, is not limited with this of the invention specific
Practical range, the scope of the present invention includes being not limited to present embodiment, all equal according to equivalence changes made by the present invention
Within the scope of the present invention.
Claims (6)
1. the system of the BMC immediate updating hard disk information based on operating system characterized by comprising
Equipment create configuration module: for creating IPMI equipment, SATA controller equipment, port device, and configure device address,
Power supply, resource information;
Hard disk detects information collection module: for detecting hard disk plug state, collecting the detailed data information of hard disk;
Information transfer module: for handling data information, configuration order, and by data information transfer to BMC;
Hard disk information Display processing module: the hard disk information instant playback for that will be inserted into is in BMC administration interface, by the hard of extraction
Disk information is removed from BMC administration interface immediately.
2. the system of the BMC immediate updating hard disk information according to claim 1 based on operating system, it is characterised in that:
The IPMI equipment is used for operating system and BMC two-way communication, and the IPMI equipment is additionally provided with slow with the data of BMC two-way communication
Rush area.
3. the system of the BMC immediate updating hard disk information according to claim 1 based on operating system, it is characterised in that:
The pci bus of system bus is arranged in the following, creating controller in SATA controller equipment in the SATA controller equipment
Port device, for being connected with external hard disc apparatus, the quantity of the port device is 1 or more, according to SATA controller
The port device quantity that equipment is supported, creates port device one by one, according to port access address come area between different port equipment
Not.
4. the side of the system based on the described in any item BMC immediate updating hard disk informations based on operating system of claim 1-3
Method, which comprises the steps of:
S1: initialization, equipment create configuration module and create IPMI equipment, SATA controller equipment, port device;
S2: whether hard disk detecting information collection module detecting port device has hard disk plug, if there is hard disk is inserted into, then notifies
BMC equipment information in place then handles SATA controller connection state information if there is hard disk is extracted, and notice BMC equipment is not in place
Information;
S3: hard disk information Display processing module judges whether that receive information in place/not in place connects if receiving information in place
Hard disk information data are received and handled, and hard disk information is shown in BMC administration interface, hard disk is registered and is inserted into log, if received
To information not in place, hard disk information is removed from BMC administration interface, registration hard disk extracts log.
5. the system of the BMC immediate updating hard disk information according to claim 4 based on operating system, it is characterised in that:
In step S2, when there is hard disk insertion, the treatment process of the hard disk detecting information collection module are as follows:
A1: physical layer initialization, SATA controller and SATA hard disc begin setting up physical connection;
A2: statement IPMI equipment availability of communications;
A3: the port device connection status of SATA controller is handled;
A4: notice BMC equipment information in place;
A5: it is sent to hard disk and obtains data command;
A6: port numbers, capacity, type information are stored in data buffer zone by processing hard disk return information;
A7: data are transmitted to BMC.
6. twin voltage Pfc converter according to claim 4, it is characterised in that: step S3 further includes that unlatching/closing is hard
Whether in place disk indicator light step in place, be used to indicate hard disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910334353.8A CN110134447A (en) | 2019-04-24 | 2019-04-24 | The system and method for BMC immediate updating hard disk information based on operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910334353.8A CN110134447A (en) | 2019-04-24 | 2019-04-24 | The system and method for BMC immediate updating hard disk information based on operating system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110134447A true CN110134447A (en) | 2019-08-16 |
Family
ID=67571004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910334353.8A Withdrawn CN110134447A (en) | 2019-04-24 | 2019-04-24 | The system and method for BMC immediate updating hard disk information based on operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110134447A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176967A (en) * | 2019-12-28 | 2020-05-19 | 北京浪潮数据技术有限公司 | Query method and device for remote out-of-band SSD log information and BMC |
CN111290802A (en) * | 2020-02-13 | 2020-06-16 | 苏州浪潮智能科技有限公司 | Information analysis method and device for BMC internal device and readable storage medium |
CN112988247A (en) * | 2021-03-08 | 2021-06-18 | 曙光信息产业股份有限公司 | Log processing method and device, electronic equipment and readable storage medium |
CN114064541A (en) * | 2022-01-18 | 2022-02-18 | 苏州浪潮智能科技有限公司 | Method, device, equipment and storage medium for simulating plugging and unplugging of hard disk |
CN114064133A (en) * | 2021-11-02 | 2022-02-18 | 联想(北京)有限公司 | Hardware information processing method and device and storage system |
-
2019
- 2019-04-24 CN CN201910334353.8A patent/CN110134447A/en not_active Withdrawn
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176967A (en) * | 2019-12-28 | 2020-05-19 | 北京浪潮数据技术有限公司 | Query method and device for remote out-of-band SSD log information and BMC |
CN111290802A (en) * | 2020-02-13 | 2020-06-16 | 苏州浪潮智能科技有限公司 | Information analysis method and device for BMC internal device and readable storage medium |
CN111290802B (en) * | 2020-02-13 | 2022-07-08 | 苏州浪潮智能科技有限公司 | Information analysis method and device for BMC internal device and readable storage medium |
CN112988247A (en) * | 2021-03-08 | 2021-06-18 | 曙光信息产业股份有限公司 | Log processing method and device, electronic equipment and readable storage medium |
CN114064133A (en) * | 2021-11-02 | 2022-02-18 | 联想(北京)有限公司 | Hardware information processing method and device and storage system |
CN114064541A (en) * | 2022-01-18 | 2022-02-18 | 苏州浪潮智能科技有限公司 | Method, device, equipment and storage medium for simulating plugging and unplugging of hard disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110134447A (en) | The system and method for BMC immediate updating hard disk information based on operating system | |
US10997092B2 (en) | Enabling out-of-band hardware management via an in-band communications channel | |
CN110032462A (en) | The method that far end system restores | |
CN105868149B (en) | Serial port information transmission method and device | |
WO2019109518A1 (en) | Data list uploading method and terminal thereof | |
CN109240966A (en) | A kind of accelerator card based on CPLD, collecting method and device | |
CN103198007A (en) | Multi-process log output method and system | |
CN110932887A (en) | BMC debugging method, system and device | |
CN109254922A (en) | A kind of automated testing method and device of server B MC Redfish function | |
CN106100939A (en) | The network equipment starts time test method and test console | |
CN108959029A (en) | Collect the method and system with report server abnormal log | |
WO2021190659A1 (en) | System data acquisition method and apparatus, and medium and electronic device | |
CN110119345A (en) | A kind of method of instant recording USB port operation log | |
CN111459632A (en) | Serial port agent for calling terminal application program and implementation method | |
CN103186487A (en) | Method for real-time recognition of USB device hot plugging | |
CN104622448A (en) | Electronic sphygmomanometer data acquisition and management system and method | |
CN105868132B (en) | A kind of Digital Oscillograph Module functions expanding method and system based on usb communication | |
US7814370B2 (en) | Wake on LAN (WOL) test system and method thereof | |
CN101771720A (en) | Scanning discovery method for active management technical terminal | |
CN110995538B (en) | Network data acquisition method, device, system, equipment and storage medium | |
CN108984216A (en) | A kind of method and apparatus automatically into configuration BIOS | |
CN109189652A (en) | A kind of acquisition method and system of close network terminal behavior data | |
CN104598202A (en) | Command line management device and method | |
WO2014056350A1 (en) | Base station and maintenance method therefor | |
CN101232405B (en) | IPMI message monitoring system and method under ATCA platform |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190816 |