CN102289388A - Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server - Google Patents

Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server Download PDF

Info

Publication number
CN102289388A
CN102289388A CN2011102597865A CN201110259786A CN102289388A CN 102289388 A CN102289388 A CN 102289388A CN 2011102597865 A CN2011102597865 A CN 2011102597865A CN 201110259786 A CN201110259786 A CN 201110259786A CN 102289388 A CN102289388 A CN 102289388A
Authority
CN
China
Prior art keywords
json
user
bmc
function
information
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
Application number
CN2011102597865A
Other languages
Chinese (zh)
Other versions
CN102289388B (en
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 CN 201110259786 priority Critical patent/CN102289388B/en
Publication of CN102289388A publication Critical patent/CN102289388A/en
Application granted granted Critical
Publication of CN102289388B publication Critical patent/CN102289388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides an extension method for managing an IPMI (Intelligent Platform Management Interface) interface protocol by a server. In the method, server health information, video signals, storage information and resolution information are all stored in a Flashmemory in a BMC and then access can be carried out on the data through calling embedded base library functions which are compiled via C language. The method comprises the steps of: 1) establishing an extension interface protocol support environment through equipment such as an ICMB access switch, a storage board card and the like to ensure that the health information of the switch and storage equipment can be monitored and remote ON/OFF operations can be carried out on the equipment; 2) realizing an RPC (Remote Position Control) calling method, realizing bidirectional transmission of WebServer data by a user through a calling command, replacing XML (Extensive Makeup Language) by a JSON (Javascript Serialized Object Notation) structure for data storage, and respectively reading and writing JSON structure data at a client side and a server side by the user through JavaScript and embedded C language so as to realize command sending and state reading and writing; and 3) storing storage volume management information in the Flashmemory of the BMC via a form specified in IPMI standard, and carrying out access on the storage volume management information through an IPMI interface so as to carry out RAID (Redundant Array Of Independent Disks) and LVM (Logical Volume Manager) operations.

Description

The extended method of server admin IPMI interface protocol
Technical field
The present invention relates to a kind of server admin technical field, specifically a kind of extended method of server admin IPMI interface protocol.
Background technology
The general server way to manage is only monitored the separate unit server, and is also higher to institute's watch-dog degree of dependence, just can't continue server is managed when server outage or system crash.After the IPMI interface specification is put into effect, most of producers utilize this standard to realize being independent of the server supervision of operating system and power supply status, can read remote server health and fitness information, access system daily record, send function such as alarm, then seldom relate in the integration to the expansion (storage integrated circuit board, switch) of its monitoring range and other functions (redirected) as storage management system, video.
At present, the blade server range of application is more and more wider, and market share is also more and more higher.Because equipment such as multiple servers and switch, storage integrated circuit board are arranged in the blade server rack, switch and storage integrated circuit board provide network and data storage service, if these equipment go wrong, and the service that the system that can have a strong impact on provides.Therefore, also need other equipment such as switch, storage integrated circuit board are monitored.In addition, except equipment health is monitored, also have video to be redirected and mode such as network store system manages server.The keeper can be redirected by video the server vision signal is switched to this locality, checks remote server ruuning situation; By network store system, user data can be set roll up the storage server that makes on user's shared network, disk array (RAID) is set guarantees safety of data, for each user provides high-performance, reliable stores service.These several modes often each architectonical, mutually disjoint, the user need open a cover system if will check the server health status, if will carry out network memory management, then needs to open an other cover system.
Though the IPMI interface protocol has improved the monitoring capacity to hardware and BIOS to a certain extent, can't satisfy current demand to server admin: watch-dog is limited in scope, and can't realize the centralized management to distinct device in the server system; Can't compatible other way to manages, management function is comparatively single, only can realize that health and fitness information detects and remote on-off, can't realize that video is redirected and the network memory management function.Therefore, need expand, not only will realize unified centralized management, also will integrate other way to manages, make it to possess greater functionality plurality of devices to the IPMI interface protocol.
Summary of the invention
The purpose of this invention is to provide a kind of expansion IPMI interface protocol that passes through, make it have the method for stronger monitoring capacity.
The objective of the invention is to realize in the following manner, comprise following content:
1) by ICMB access switch, memory board card apparatus, set up expansion interface agreement back-up environment, make BMC can read information on the new equipment monitoring chip, the health and fitness information of monitoring switch, memory device also can carry out remote on-off to the said equipment;
2) realize the RPC call method, the user is by the transmitted in both directions of call instruction realization with Web Server data, data storage adopts the JSON structure to replace XML, the user respectively by JavaScript and embedded type C language reading and writing JSON structured data, realizes that order sends and the state reading and writing at the client and server end;
3) call by RPC, the method for user instruction and bottom server end data double-way transmission is provided.By JavaScript and embedded type C language it is visited respectively at the client and server end, it is more convenient that data are transmitted, the form of storage volume management information with defined in the IPMI standard left among the Flash memory of BMC, by the IPMI interface it is visited, carry out RAID and LVM operation;
4) vision signal after BMC compression is handled with the IPMI protocol encapsulation, storage management system information is write among the Flash memory among the BMC, call by RPC, obtain network store system IP address information, formation enters the hyperlink of network store system, realizes that video is redirected, and the video resolution instruction is write the JSON structure, by transmission JSON, realize the video resolution adjustment.
The extended method of server admin IPMI interface protocol of the present invention, beneficial effect is:
1) by ICMB access switch, storage integrated circuit board, set up expansion IPMI interface protocol back-up environment, make BMC can read information on the new equipment monitoring chip.
2) use the JSON structure to replace traditional XML, compare with XML, JSON does not need special analytical tool, can not expend too much server resource, effectively reduces the space of shared embedded Web Server.
3) call by RPC, the method for user instruction and bottom server end data double-way transmission is provided.By JavaScript and embedded type C language it is visited respectively at the client and server end, it is more convenient that data are transmitted.
4) use the JSON data more convenient than traditional XML, the JSON data are JavaScript object tags of a kind C language, do not need special analytical tool that it is resolved, and have reduced the bottom code amount, and bottom C language library function also can be directly to its operation.Both improved the response speed of server end, saved the storage space of embedded Web Server again, for the function expansion provides condition.
5) expand the IPMI interface protocol, made its health and fitness information that can obtain switch, memory board, realized video snapshot and resolution adjustment function, integrated the network memory management system, user-friendly.
Description of drawings
Fig. 1 is the system architecture synoptic diagram.
Embodiment
With reference to explaining below the extended method work of Figure of description to server admin IPMI interface protocol of the present invention.
The extended method of server admin IPMI interface protocol of the present invention, be that server health and fitness information, vision signal, canned data and resolution information are all left among the Flash memory among the BMC, can conduct interviews to these data by the embedded bottom built-in function that calls with the C language compilation.Comprise following content:
1) by equipment such as ICMB access switch, storage integrated circuit boards, sets up expansion interface agreement back-up environment, make its health and fitness information that can monitor switch, memory device and can carry out remote on-off the said equipment;
2) realize the RPC call method, the user is by the transmitted in both directions of call instruction realization with Web Server data, data storage adopts the JSON structure to replace XML, the user respectively by JavaScript and embedded type C language reading and writing JSON structured data, realizes that order sends and the state reading and writing at the client and server end;
3) form of storage volume management information with defined in the IPMI standard left among the Flash memory of BMC, it is visited, carry out RAID and LVM operation by the IPMI interface;
4) vision signal with the IPMI protocol encapsulation, is called by RPC after the BMC compression is handled, and realizes that video is redirected, and the video resolution instruction is write the JSON structure, by transmission JSON, realizes the video resolution adjustment.
Embodiment
Operation steps is as follows:
1, to the monitoring of switch, memory board health and fitness information, by the ICMB(Intelligent Chassis Management Bus in the IPMI interface specification) and the docking of the realization of RS485 transceiver and switch, memory board, BMC can be communicated with monitoring chip on these equipment, thus obtain its health and fitness information and to its carry out the open and close machine, operation such as reset.Realization is to server, switch, the unified centralized management of memory board.
Read the exchanger information process:
(1) at first generate a JSON structure, the storage user will check the ID of switch:
WEBVAR_JSONVAR_SWITCH=?{?'ID'?:?1?}
Wherein ' the ID' key of JSON structure for this reason, " 1 " is the value of JSON structure for this reason, and indication equipment ID is 1 switch.
(2) producing RPC by getSensor () calls, the JSON data are passed to Web Server, and calling the bottom built-in function according to the bottom built-in function network interface that getSensor () provides, this interface comprises three partial informations: the storehouse at function place, function name, parameter.
(3) the bottom built-in function reads the information that is stored among the BMC, changes into the JSON data and returns to User Page by bottom built-in function network interface.
Open and close machine control procedure:
(1), generate corresponding JSON data according to user's operational order:
WEBVAR_JSONVAR_POWER=?{?'ID'?:?1,'POWER_CMD'?:0?}
Above data representation is 1 switch execution power-off operation to device number.
(2) produce RPC by setPower () and call, the bottom built-in function network interface that provides according to setPower () calls the bottom built-in function.
(3) the bottom built-in function is passed to BMC with instruction, and BMC finishes the power operation instruction.
2, video is redirected and the resolution adjustment
Flash memory storage current video signal and resolution configuration information among the BMC.Vision signal with the IPMI protocol encapsulation, is called by RPC after the BMC compression is handled, and transmits through IP network, realizes that video is redirected.The video resolution instruction writes the JSON structure, by transmission JSON, realizes the video resolution adjustment.
The resolution adjustment process is as follows:
(1) if the user chooses a certain resolution (as " 800 * 600 "), at first generate a JSON structure:
WEBVAR_JSONVAR_SETSCREEN=?{?'SCREENMODE'?:?1?}
Wherein ' the SCREENMODE' key of JSON structure for this reason, " 1 " is the value of JSON structure for this reason, the instruction of expression " 800 * 600 ".
(2) produce RPC by sendScreen () and call, and the JSON data are sent to Web Server.The bottom built-in function network interface that provides by sendScreen () calls the bottom built-in function.
(3) the bottom built-in function is passed to BMC with user instruction, and BMC carries out user instruction, and resolution is switched to the set resolution of user.
(4) if the user wants to check the situation that is provided with of current resolution, use getScreen () to produce RPC and call, read current resolution information by the bottom built-in function, and write among the JSON, turn back to User Page by bottom built-in function network interface.
3, the access of network store system
After embodiment 1 expansion back-up environment is set up, set up and the docking of network store system by following steps:
(1) the Web page calls to check whether the storage integrated circuit board starts shooting by RPC automatically, if start powers up it by monitoring chip, and network store system information is write among the Flash memory among the BMC.
(2) user at first calls by RPC before entering network store system, and the IP address of network store system is returned in request.
(3) the bottom built-in function reads the IP address of storage management system and submits to SERVER with the form of JSON, after the hyperlink of formation network store system, turns back to user interface.
(4) user enters network store system by hyperlink and carries out the network memory management operation.
Except that the described technical characterictic of instructions, be the known technology of those skilled in the art.

Claims (1)

1. the extended method of server admin IPMI interface protocol is characterized in that comprising following content:
1) by ICMB access switch, memory board card apparatus, set up expansion interface agreement back-up environment, make BMC can read information on the new equipment monitoring chip, the health and fitness information of monitoring switch, memory device also can carry out remote on-off to the said equipment;
2) realize the RPC call method, the user is by the transmitted in both directions of call instruction realization with Web Server data, data storage adopts the JSON structure to replace XML, the user respectively by JavaScript and embedded type C language reading and writing JSON structured data, realizes that order sends and the state reading and writing at the client and server end;
3) call by RPC, the method of user instruction and bottom server end data double-way transmission is provided, by JavaScript and embedded type C language it is visited respectively at the client and server end, it is more convenient that data are transmitted, the form of storage volume management information with defined in the IPMI standard left among the Flash memory of BMC, by the IPMI interface it is visited, carry out RAID and LVM operation;
4) vision signal after BMC compression is handled with the IPMI protocol encapsulation, storage management system information is write among the Flash memory among the BMC, call by RPC, obtain network store system IP address information, formation enters the hyperlink of network store system, realizes that video is redirected, and the video resolution instruction is write the JSON structure, by transmission JSON, realize the video resolution adjustment;
Operation steps is as follows:
1) to the monitoring of switch, memory board health and fitness information, by docking of the ICMB in the IPMI interface specification and the realization of RS485 transceiver and switch, memory board, BMC can be communicated with monitoring chip on these equipment, thereby obtain its health and fitness information and it is carried out open and close machine, reset operation, realize server, switch, the unified centralized management of memory board;
Read the exchanger information process:
(1) at first generate a JSON structure, the storage user will check the ID of switch:
WEBVAR_JSONVAR_SWITCH=?{?'ID'?:?1?}
Wherein ' the ID' key of JSON structure for this reason, " 1 " is the value of JSON structure for this reason, and indication equipment ID is 1 switch;
(2) producing RPC by getSensor () calls, the JSON data are passed to Web Server, and calling the bottom built-in function according to the bottom built-in function network interface that getSensor () provides, this interface comprises three partial informations: the storehouse at function place, function name, parameter;
(3) the bottom built-in function reads the information that is stored among the BMC, changes into the JSON data and returns to User Page by bottom built-in function network interface;
Open and close machine control procedure:
(1), generate corresponding JSON data according to user's operational order:
WEBVAR_JSONVAR_POWER=?{?'ID'?:?1,'POWER_CMD'?:0?}
Above data representation is 1 switch execution power-off operation to device number;
(2) produce RPC by setPower () and call, the bottom built-in function network interface that provides according to setPower () calls the bottom built-in function;
(3) the bottom built-in function is passed to BMC with instruction, and BMC finishes the power operation instruction;
2) video is redirected and the resolution adjustment
Flash memory storage current video signal and resolution configuration information among the BMC, vision signal after BMC compression is handled with the IPMI protocol encapsulation, call by RPC, transmit through IP network, the realization video is redirected, and the video resolution instruction writes the JSON structure, by transmission JSON, the realization video resolution is adjusted
The resolution adjustment process is as follows:
(1) if the user chooses a certain resolution, at first generate a JSON structure:
WEBVAR_JSONVAR_SETSCREEN=?{?'SCREENMODE'?:?1?}
Wherein ' the SCREENMODE' key of JSON structure for this reason, " 1 " is the value of JSON structure for this reason, the instruction of expression " 800 * 600 ";
(2) produce RPC by sendScreen () and call, and the JSON data are sent to Web Server, the bottom built-in function network interface that provides by sendScreen () calls the bottom built-in function;
(3) the bottom built-in function is passed to BMC with user instruction, and BMC carries out user instruction, and resolution is switched to the set resolution of user;
(4) if the user wants to check the situation that is provided with of current resolution, use getScreen () to produce RPC and call, read current resolution information by the bottom built-in function, and write among the JSON, turn back to User Page by bottom built-in function network interface;
3) access of network store system
After embodiment 1 expansion back-up environment is set up, set up and the docking of network store system by following steps:
(1) the Web page calls to check whether the storage integrated circuit board starts shooting by RPC automatically, if start powers up it by monitoring chip, and network store system information is write among the Flash memory among the BMC;
(2) user at first calls by RPC before entering network store system, and the IP address of network store system is returned in request;
(3) the bottom built-in function reads the IP address of storage management system and submits to SERVER with the form of JSON, after the hyperlink of formation network store system, turns back to user interface;
(4) user enters network store system by hyperlink and carries out the network memory management operation.
CN 201110259786 2011-09-05 2011-09-05 Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server Active CN102289388B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110259786 CN102289388B (en) 2011-09-05 2011-09-05 Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110259786 CN102289388B (en) 2011-09-05 2011-09-05 Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server

Publications (2)

Publication Number Publication Date
CN102289388A true CN102289388A (en) 2011-12-21
CN102289388B CN102289388B (en) 2013-06-05

Family

ID=45335837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110259786 Active CN102289388B (en) 2011-09-05 2011-09-05 Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server

Country Status (1)

Country Link
CN (1) CN102289388B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013185664A1 (en) * 2012-07-17 2013-12-19 中兴通讯股份有限公司 Operating method and device
CN103473166A (en) * 2013-08-27 2013-12-25 中国航天科工集团第二研究院七〇六所 Small embedded-type system board card monitoring system
CN104102539A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Method and device for acquiring underlying library called by mobile terminal application program
CN105528213A (en) * 2015-12-04 2016-04-27 上海斐讯数据通信技术有限公司 Method for preventing same parameters from being written in Flash configuration area
CN106126357A (en) * 2016-06-29 2016-11-16 浪潮集团有限公司 Method for implementing server management system
CN108023839A (en) * 2017-12-13 2018-05-11 天津光电通信技术有限公司 One kind is applied to Tb/s grades of optical network signal switching equipment and its control system
CN108197309A (en) * 2018-01-31 2018-06-22 郑州云海信息技术有限公司 A kind of method, system and the readable storage medium storing program for executing of the storage of server assets information
CN111147592A (en) * 2019-12-27 2020-05-12 深圳市丰润达科技有限公司 Method and device for realizing management of switch through JSON and storage medium
CN114363141A (en) * 2021-12-30 2022-04-15 联想(北京)信息技术有限公司 Remote debugging method, device and system for switch in blade server chassis
CN117082017A (en) * 2023-10-17 2023-11-17 之江实验室 Method and device for managing expansion card of white box switch

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184360A1 (en) * 1999-07-09 2002-12-05 Lsi Logic Corporation Methods and apparatus for managing devices without network attachments
CN1490729A (en) * 2003-07-04 2004-04-21 中国科学院计算技术研究所 Custom-made network storage apparatus operating systems
CN1851662A (en) * 2006-06-01 2006-10-25 中山大学 Data back-up system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184360A1 (en) * 1999-07-09 2002-12-05 Lsi Logic Corporation Methods and apparatus for managing devices without network attachments
CN1490729A (en) * 2003-07-04 2004-04-21 中国科学院计算技术研究所 Custom-made network storage apparatus operating systems
CN1851662A (en) * 2006-06-01 2006-10-25 中山大学 Data back-up system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013185664A1 (en) * 2012-07-17 2013-12-19 中兴通讯股份有限公司 Operating method and device
CN103544051B (en) * 2012-07-17 2019-03-15 中兴通讯股份有限公司 A kind of operating method and device
CN103544051A (en) * 2012-07-17 2014-01-29 中兴通讯股份有限公司 Operation method and device
CN104102539A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Method and device for acquiring underlying library called by mobile terminal application program
CN103473166B (en) * 2013-08-27 2015-11-25 中国航天科工集团第二研究院七〇六所 A kind of small embedded-type system board card supervisory system
CN103473166A (en) * 2013-08-27 2013-12-25 中国航天科工集团第二研究院七〇六所 Small embedded-type system board card monitoring system
CN105528213A (en) * 2015-12-04 2016-04-27 上海斐讯数据通信技术有限公司 Method for preventing same parameters from being written in Flash configuration area
CN106126357A (en) * 2016-06-29 2016-11-16 浪潮集团有限公司 Method for implementing server management system
CN108023839A (en) * 2017-12-13 2018-05-11 天津光电通信技术有限公司 One kind is applied to Tb/s grades of optical network signal switching equipment and its control system
CN108023839B (en) * 2017-12-13 2023-12-08 天津光电通信技术有限公司 Signal switching equipment applied to Tb/s-level optical network and control system thereof
CN108197309A (en) * 2018-01-31 2018-06-22 郑州云海信息技术有限公司 A kind of method, system and the readable storage medium storing program for executing of the storage of server assets information
CN111147592A (en) * 2019-12-27 2020-05-12 深圳市丰润达科技有限公司 Method and device for realizing management of switch through JSON and storage medium
CN114363141A (en) * 2021-12-30 2022-04-15 联想(北京)信息技术有限公司 Remote debugging method, device and system for switch in blade server chassis
CN117082017A (en) * 2023-10-17 2023-11-17 之江实验室 Method and device for managing expansion card of white box switch
CN117082017B (en) * 2023-10-17 2024-01-09 之江实验室 Method and device for managing expansion card of white box switch

Also Published As

Publication number Publication date
CN102289388B (en) 2013-06-05

Similar Documents

Publication Publication Date Title
CN102289388B (en) Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server
CN102185707A (en) Method for expanding IPMI (Intelligent Platform Management Interface) protocol of server management
US8868965B2 (en) SVC cluster configuration node failover
CN105474125A (en) Techniques for tracing wakelock usage
JP4591185B2 (en) Server device
US7269534B2 (en) Method to reduce IPMB traffic and improve performance for accessing sensor data
EP3035187B1 (en) Hard disk and management method
CN102289402A (en) Monitoring and managing method based on physical multi-partition computer architecture
CN104471523A (en) Computer system and control method thereof
CN102495742A (en) BIOS (Basic Input Output System) refreshing method and device as well as computer
US7774514B2 (en) Method of transmitting data between storage virtualization controllers and storage virtualization controller designed to implement the method
US20140115112A1 (en) Server system and message processing method thereof
WO2023178975A1 (en) Chassis management system and chassis management method
CN114546283B (en) Storage link port management method and device of storage device and storage medium
US20210083931A1 (en) Intention-based device component tracking system
CN209821817U (en) Electronic equipment and cluster server system
CN101741600A (en) Server system, recording equipment and management method thereof
CN112527192B (en) Data acquisition method and device and service equipment
JP2005134940A (en) Storage controller and maintenance system for storage controller
CN103064697B (en) The collocation method of management engine and computing machine
CN114580595B (en) Method, device, system and storage medium for acquiring article information
WO2023093210A1 (en) Method for providing backup power for cache and related device
CN202711233U (en) Storage system for digitization transformer substation network communication recording unit
CN115114083A (en) Storage disaster tolerance method, device, equipment and medium based on video monitoring platform
US20130111022A1 (en) Monitoring control device, server device and monitoring control method

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