CN105119772B - IPMI function test method for C/S framework - Google Patents

IPMI function test method for C/S framework Download PDF

Info

Publication number
CN105119772B
CN105119772B CN201510437420.0A CN201510437420A CN105119772B CN 105119772 B CN105119772 B CN 105119772B CN 201510437420 A CN201510437420 A CN 201510437420A CN 105119772 B CN105119772 B CN 105119772B
Authority
CN
China
Prior art keywords
ipmi
testing
test
server
tested
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.)
Active
Application number
CN201510437420.0A
Other languages
Chinese (zh)
Other versions
CN105119772A (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 CN201510437420.0A priority Critical patent/CN105119772B/en
Publication of CN105119772A publication Critical patent/CN105119772A/en
Application granted granted Critical
Publication of CN105119772B publication Critical patent/CN105119772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Abstract

The invention provides a C/S framework IPMI function test method, which belongs to the field of server IPMI function test and has the innovation points that: the local machine of the tested server acquires the IPMI address through the command ipmitool, informs the IPMI address, the user name and the password to the testing host through the data network, automatically tests each module function of the IPMI such as login, management, setting, log and the like through the IPMI testing program after the testing host acquires the information, informs the tested server of the testing result through the data network after the testing is finished, and stores the testing result. The IPMI function testing method of the C/S framework combines the advantages of the in-band testing method and the out-of-band testing method, and considers the aspects of resource pressure of the testing server, comprehensiveness of the testing function, operation feasibility, efficiency, traceability and the like in design.

Description

IPMI function test method for C/S framework
Technical Field
The invention relates to the field of server IPMI function test, in particular to a C/S framework IPMI function test method.
Background
IPMI is an abbreviation of Intelligent Platform Management Interface (Intelligent Platform Management Interface), and is an industrial standard adopted for managing peripheral devices used in enterprise systems based on an Intel architecture, which is established by companies such as Intel, hewlett-packard, NEC, dell computer and supermo. The server system is widely used at present, and can help users to effectively manage and monitor health characteristics of the server, such as remote display, temperature, voltage, fan working state and power supply state.
IPMI provides an intelligent management approach for monitoring, controlling, and automatically replying to the operation of servers in large quantities. The standard is suitable for different server topologies, and Windows, Linux, Solaris, Mac or mixed operating systems. In addition, since IPMI can operate under different attribute values, IPMI can still operate normally even if the server itself is not operating normally or cannot provide services for any reason.
The core of IPMI is a dedicated chip/controller (called server processor or Baseboard Management Controller (BMC)), which does not depend on the processor, BIOS or operating system of the server to operate, and is very independent, and is a single agent-free management subsystem operating in the system, which can start to operate as long as there is a BMC and IPMI firmware, while the BMC is usually an independent board card installed on the server motherboard, and there is now also a server motherboard providing support for IPMI. The good autonomy of IPMI overcomes the limitations imposed on the management mode based on the operating system in the past, for example, the operating system can still perform operations such as power on/off and information extraction when the operating system does not respond or is not loaded.
During operation, all IPMI functions are completed by sending commands to the BMC, the commands use instructions specified in the IPMI specification, the BMC receives and records event messages in system event logs, and maintains sensor data records describing sensor conditions in the system. The IPMI new Serial On LAN (SOL) feature is useful when remote access to the system is required. SOL changes the local serial port transmission direction in the IPMI session process, thereby providing remote access to emergency management services, Windows dedicated management console or Linux serial console. The BMC does this by redirecting the information sent to the serial port over the LAN, providing a vendor-independent, standard way to remotely view boot, operating system loader, or emergency management console to diagnose and repair failures.
The Serial Over LAN (SOL) functionality would be very useful when remote access to the system text console is required. SOL redirects the local serial interface through an IPMI session, allowing remote access to Windows' emergency management console (EMS) special management console (SAC), or to LINUX serial console. The step of this process is that the IPMI firmware intercepts the data and then resends the information directed to the serial port over the LAN. This provides a standard way to remotely view the BOOT, OS loader, or emergency management console to diagnose and fix server-related problems, regardless of the vendor. It allows the various components to be configured during the boot phase.
While the user does not need to worry about the security of command transmission, the IPMI enhanced authentication (based on the secure Hash Algorithm 1 and based on the key Hash message authentication) and encryption (advanced encryption Standard and Arcfour) functions help to realize secure remote operation. Support for VLANs provides even more convenience for setting up a managed private network and can be configured on a channel basis.
The typical approach to testing IPMI during production and testing of servers is either through in-band testing (through the system itself) or out-of-band testing (through another server or computer), both of which have disadvantages: in-band testing can be performed efficiently, but functional testing is not comprehensive, for example, IPMI network interface testing cannot be realized.
The out-of-band test can complete the comprehensive test of the function, but has complex operation, low efficiency and can not be completed efficiently.
Disclosure of Invention
The technical task of the invention is to solve the defects of the prior art and provide a method for testing the IPMI function of the C/S framework.
Adopting the content of the in-band test part to obtain the basic information of the IPMI of the tested server, namely the IPMI IP address, the user name and the password; the comprehensive function of out-of-band testing is adopted, the server data network is used for transmitting the basic information acquired in-band to the testing server, and the testing service acquires the information and then tests various functions of the ipmi.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method for testing IPMI function of C/S architecture includes obtaining IPMI address by tested server through command ipmitool, informing IPMI address, user name and password to test host through data network, carrying out automatic test on each module function of log in, management, setting and log of IPMI through IPMI test program after information is obtained by test host, informing test result to tested server through data network after test is finished and storing test result.
Furthermore, the IPMI test program starts multithreading to simultaneously test the IPMI functions of a plurality of tested servers.
Further, the method for testing the IPMI function of the C/S architecture specifically comprises the following steps:
1) the method comprises the steps that in-band testing is carried out to obtain basic information of IPMI of a tested machine, wherein the basic information comprises a network address, a user name and a password, after the information is obtained, a tested server initiatively sends a testing request to a testing server, and the basic information is transmitted to the testing server;
2) after obtaining the test request, the test server respectively tests the network login, the machine management state, the log and the setting of the IPMI of the tested machine;
3) and after the test is finished, feeding the result back to the tested machine, and storing the test content and the result.
Compared with the prior art, the IPMI function testing method of the C/S framework has the following beneficial effects: the invention combines the advantages of the in-band test method and the out-of-band test method, and considers the aspects of resource pressure of the test server, comprehensiveness of the test function, operation feasibility, efficiency, traceability and the like in design.
Drawings
FIG. 1 is a schematic structural diagram of the present invention.
Detailed Description
The following describes the IPMI function testing method of the C/S architecture of the present invention in detail with reference to FIG. 1.
As shown in FIG. 1, the IPMI function testing method of the C/S architecture of the present invention is based on the following principle:
the local machine of the tested server acquires the IPMI address through the command ipmitool, informs the IPMI address, the user name and the password to the testing host through the data network, automatically tests each module function of the IPMI such as login, management, setting, log and the like through the IPMI testing program after the testing host acquires the information, informs the tested server of the testing result through the data network after the testing is finished, and stores the testing result.
And the IPMI test program starts multithreading to simultaneously test the IPMI functions of a plurality of tested servers.
The invention relates to a method for testing IPMI function of C/S framework, which comprises the following steps:
1) the method comprises the steps that the base information of the IPMI of a tested machine is obtained through in-band testing, the base information comprises a network address, a user name and a password, the comprehensive function of out-of-band testing is adopted, a server data network is used for sending the base information obtained in-band to a testing server, a testing request is initiatively sent, and the base information is transmitted to the testing server;
2) after obtaining the test request, the test server respectively tests the network login, the machine management state, the log and the setting of the IPMI of the tested machine;
3) and after the test is finished, feeding the result back to the tested machine, and storing the test content and the result.

Claims (2)

1. A C/S framework IPMI function test method is characterized in that a tested server local machine obtains an IPMI address through an order ipmitool, the IPMI address, a user name and a password are notified to a test host through a data network, after the test host obtains information, login, management, setting and logging of IPMI are automatically tested through an IPMI test program, after the test is completed, a test result is notified to the tested server through the data network, and the test result is stored;
the method specifically comprises the following steps:
1) the method comprises the steps that the base information of the IPMI of a tested machine is obtained through in-band testing, the base information comprises a network address, a user name and a password, the comprehensive function of out-of-band testing is adopted, a server data network is used for sending the base information obtained in-band to a testing server, a testing request is initiatively sent, and the base information is transmitted to the testing server;
2) after obtaining the test request, the test server respectively tests the network login, the machine management state, the log and the setting of the IPMI of the tested machine;
3) and after the test is finished, feeding the result back to the tested machine, and storing the test content and the result.
2. The method of claim 1, wherein the IPMI test program starts multithreading to perform IPMI function test on a plurality of tested servers simultaneously.
CN201510437420.0A 2015-07-23 2015-07-23 IPMI function test method for C/S framework Active CN105119772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510437420.0A CN105119772B (en) 2015-07-23 2015-07-23 IPMI function test method for C/S framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510437420.0A CN105119772B (en) 2015-07-23 2015-07-23 IPMI function test method for C/S framework

Publications (2)

Publication Number Publication Date
CN105119772A CN105119772A (en) 2015-12-02
CN105119772B true CN105119772B (en) 2020-03-06

Family

ID=54667670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510437420.0A Active CN105119772B (en) 2015-07-23 2015-07-23 IPMI function test method for C/S framework

Country Status (1)

Country Link
CN (1) CN105119772B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743707A (en) * 2016-04-01 2016-07-06 浪潮电子信息产业股份有限公司 Method for testing BMC log analyzing function based on Redhat system
CN108365987B (en) * 2018-02-08 2021-07-30 北京首都在线科技股份有限公司 Management system and management method of multiple servers
CN111367739B (en) * 2020-02-29 2023-01-10 苏州浪潮智能科技有限公司 USB port testing method and system based on server cluster

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929409A (en) * 2005-09-09 2007-03-14 环达电脑(上海)有限公司 Remote based intellectual platform management interface testing system and method
CN101201779A (en) * 2006-12-14 2008-06-18 英业达股份有限公司 On-line test system and method by establishing mainboard managerial control using local loop
CN101521607A (en) * 2009-04-13 2009-09-02 重庆重邮东电通信技术有限公司 Method and device for testing Ethernet network performance
CN102314388A (en) * 2010-07-07 2012-01-11 英业达股份有限公司 Method for testing server supporting intelligent platform management interface
CN102364444A (en) * 2011-09-19 2012-02-29 浪潮电子信息产业股份有限公司 System guiding method based on interaction of in-band system and out-of-band system
CN102411526A (en) * 2011-12-31 2012-04-11 曙光信息产业股份有限公司 Test method of mainboard of blade server
CN102799504A (en) * 2011-05-23 2012-11-28 鸿富锦精密工业(深圳)有限公司 Power supply testing system and method
CN102797693A (en) * 2012-06-29 2012-11-28 浪潮电子信息产业股份有限公司 Method for testing speed-adjusting function of system fan
CN102810076A (en) * 2011-05-31 2012-12-05 鸿富锦精密工业(深圳)有限公司 Storage medium switching control system and method
CN103200050A (en) * 2013-04-12 2013-07-10 北京百度网讯科技有限公司 Server hardware state monitoring method and server hardware state monitoring system
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100205600A1 (en) * 2009-02-06 2010-08-12 Inventec Corporation Simulation method for realizing large batches and different kinds of baseboard management controllers using a single server
CN102244591B (en) * 2010-05-10 2015-04-15 淮南东正电子科技有限公司 Client server and method for full process monitoring on function text of client server

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929409A (en) * 2005-09-09 2007-03-14 环达电脑(上海)有限公司 Remote based intellectual platform management interface testing system and method
CN101201779A (en) * 2006-12-14 2008-06-18 英业达股份有限公司 On-line test system and method by establishing mainboard managerial control using local loop
CN101521607A (en) * 2009-04-13 2009-09-02 重庆重邮东电通信技术有限公司 Method and device for testing Ethernet network performance
CN102314388A (en) * 2010-07-07 2012-01-11 英业达股份有限公司 Method for testing server supporting intelligent platform management interface
CN102799504A (en) * 2011-05-23 2012-11-28 鸿富锦精密工业(深圳)有限公司 Power supply testing system and method
CN102810076A (en) * 2011-05-31 2012-12-05 鸿富锦精密工业(深圳)有限公司 Storage medium switching control system and method
CN102364444A (en) * 2011-09-19 2012-02-29 浪潮电子信息产业股份有限公司 System guiding method based on interaction of in-band system and out-of-band system
CN102411526A (en) * 2011-12-31 2012-04-11 曙光信息产业股份有限公司 Test method of mainboard of blade server
CN102797693A (en) * 2012-06-29 2012-11-28 浪潮电子信息产业股份有限公司 Method for testing speed-adjusting function of system fan
CN103200050A (en) * 2013-04-12 2013-07-10 北京百度网讯科技有限公司 Server hardware state monitoring method and server hardware state monitoring system
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system

Also Published As

Publication number Publication date
CN105119772A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
US11336522B2 (en) Information handling system physical component inventory to aid operational management through near field communication device interaction
US9686138B2 (en) Information handling system operational management through near field communication device interaction
US8650277B2 (en) Method, system, and computer readable medium for gathering usage statistics
US9198060B2 (en) Information handling system physical component maintenance through near field communication device interaction
WO2016082417A1 (en) Device configuration method, configuration apparatus and management device
US20160188307A1 (en) Persistent mobile device enrollment
US8677459B2 (en) Secure zero-touch provisioning of remote management controller
US20180131751A1 (en) Distributed network diagnostics of enterprise devices utilizing device management
WO2020000758A1 (en) Server acceptance method and apparatus, computer device, and storage medium
US9716623B2 (en) Automatic and secure activation of a universal plug and play device management device
US20210392045A1 (en) Device Configuration Method, System, and Apparatus
CN110943860A (en) BMC (baseboard management controller) firmware updating method and system, electronic equipment and storage medium
US20160100325A1 (en) Wireless network monitoring device
CN106716926B (en) Automated stand-alone boot circuit for hardware inventory
CN105119772B (en) IPMI function test method for C/S framework
CN107769952B (en) Remote management system and method thereof
CN107181606B (en) Method and apparatus for controlling network nodes
WO2019062634A1 (en) Communication method and apparatus
US8250413B2 (en) Connection broker assignment status reporting
CN115658221A (en) State detection method, service virtual machine, equipment and medium
US20150142960A1 (en) Information processing apparatus, information processing method and information processing system
US9684630B1 (en) Provisioning of cryptographic modules
NL2027692B1 (en) Pre-provisioning server hardware for deployment on an edge network
JP7234725B2 (en) Communication connection setting device, communication connection setting system, communication connection setting method, and communication connection setting program
US20230113510A1 (en) Multi-cluster access

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant