CN107612775A - A kind of node two level connects the DC method of testings and system of server - Google Patents
A kind of node two level connects the DC method of testings and system of server Download PDFInfo
- Publication number
- CN107612775A CN107612775A CN201710846577.8A CN201710846577A CN107612775A CN 107612775 A CN107612775 A CN 107612775A CN 201710846577 A CN201710846577 A CN 201710846577A CN 107612775 A CN107612775 A CN 107612775A
- Authority
- CN
- China
- Prior art keywords
- node
- test
- measured
- level
- nodes
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of node two level of present invention offer, which connects the DC method of testings of server and system, methods described, to be included:Build test environment;Remove system journal and BMC daily records;Test script is copied to control node, switching on and shutting down test is performed according to fixed switching on and shutting down order to each node to be measured, circulation performs test, until reaching the testing time of setting;Check system journal and BMC daily records have it is without exception.Realize that two level connects server to switching on and shutting down order, i.e. " two-level node by using long-range BMC>First nodes>The power-up sequence of Host nodes " and " Host nodes>First nodes>The shutdown order of two-level node ", DC tests are carried out to each node to be measured, it is practical, and manpower is saved, improve testing efficiency.
Description
Technical field
The present invention relates to automatic test field, particularly a kind of node two level connects the DC method of testings of server with being
System.
Background technology
With the continuous development and growth of server, server market has included every field now, and user is for clothes
The performance requirement also more and more higher for device each side of being engaged in.To meet the diversified demand of user, the species of server is also more and more,
It is then one kind in novel server that wherein two level, which connects server,.To ensure the stability of various application environments and reliability, clothes
Business device need to carry out comprehensive stability test to be verified, so that it is guaranteed that the quality of server.
And in the stability test of server, DC tests are one of importances.With the continuous progress of server
With development, the demand that the DC method of testings of server are connected for two level is increasingly strong.
The content of the invention
It is an object of the invention to provide the DC method of testings and system that a kind of node two level connects server, it is intended to automation
Mode improves the testing efficiency that existing two level connects the DC tests of server, saves manpower, meets the multiple demand of product.
To reach above-mentioned technical purpose, the invention provides the DC method of testings that a kind of node two level connects server, including
Following steps:
S1, build test environment;
S2, remove system journal and BMC daily records;
S3, test script is copied to control node, switch is performed according to fixed switching on and shutting down order to each node to be measured
Machine is tested, and circulation performs test, until reaching the testing time of setting;
S4, check system journal and BMC daily records have it is without exception.
Preferably, the switching on and shutting down order is:" two-level node->First nodes->The power-up sequence of Host nodes " and
" Host nodes->First nodes->The shutdown order of two-level node ".
Preferably, step S1 concrete operation step is as follows:
S101, the annexation that each node to be measured and control node are set;
S102, the BMC IP that each node to be measured is set;
S103, continuity testing carried out to each node to be measured by the control node successively.
Preferably, the annexation is to connect the management interface of each node to be measured and the data-interface of control node
Onto management interchanger.
Preferably, the concrete operation step of the switching on and shutting down test is as follows:
S301, each node to be measured of configuration BMC IP;
S302, the power supply status for obtaining each node to be measured;
S303, start test;
S304, shutdown test.
Preferably, the start test content is:
When the power supply status of Host nodes is " OFF ", power-on command is sent;
When the power supply status of first nodes is " OFF ", power-on command is sent;
When the power supply status of two-level node is " OFF ", power-on command is sent;
Content is tested in the shutdown:
When the power supply status of Host nodes is " ON ", shutdown command is sent;
When the power supply status of first nodes is " ON ", shutdown command is sent;
When the power supply status of two-level node is " ON ", shutdown command is sent.
Present invention also offers the DC test systems that a kind of node two level connects server, including:
Environmental structure module, for building test environment;
Module is removed in daily record, for removing system journal and BMC daily records;
Test module, it is suitable according to fixed switching on and shutting down to each node to be measured for test script to be copied into control node
Sequence performs switching on and shutting down test, and circulation performs test, until reaching the testing time of setting;
Exception monitoring module, for check system journal and BMC daily records have it is without exception.
Preferably, the switching on and shutting down order is:" two-level node->First nodes->The power-up sequence of Host nodes " and
" Host nodes->First nodes->The shutdown order of two-level node ".
Preferably, the environmental structure module includes:
Annexation setting unit, for setting the annexation of each node to be measured and control node;
BMC IP setting units, for setting the BMC IP of each node to be measured;
Continuity testing unit, for carrying out connective survey to each node to be measured successively by the control node
Examination.
Preferably, the test module includes:
BMC IP units are configured, for configuring the BMC IP of each node to be measured;
Power supply status acquiring unit, for obtaining the power supply status of each node to be measured;
Start test cell, is tested for starting shooting;
Shut down test cell, is tested for shutting down.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned
A technical scheme in technical scheme has the following advantages that or beneficial effect:
Compared with prior art, the present invention realizes that two level connects server to switching on and shutting down order by using long-range BMC, i.e.,
" two-level node->First nodes->The power-up sequence of Host nodes " and " Host nodes->First nodes->Two-level node "
Shutdown order, DC tests are carried out to each node to be measured, it is practical, and manpower is saved, improve testing efficiency.
Brief description of the drawings
Fig. 1 connects the DC method of testing flow charts of server for a kind of node two level provided in the embodiment of the present invention;
Fig. 2 connects the DC test system entire block diagrams of server for a kind of node two level provided in the embodiment of the present invention.
Embodiment
In order to the technical characterstic of clear explanation this programme, below by embodiment, and its accompanying drawing is combined, to this
Invention is described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale
Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
A kind of node two level provided below in conjunction with the accompanying drawings the embodiment of the present invention connect the DC method of testings of server with
System is described in detail.
As shown in figure 1, the embodiment of the invention discloses the DC method of testings that a kind of node two level connects server, including it is following
Step:
S1, build test environment.
The annexation of node to be measured is set, the management interface of node to be measured and the data-interface of control node are connected
Onto management interchanger, by managing interchanger, control node may be coupled to node to be measured, and the node to be measured includes Host
Node, first nodes and two-level node.
To carrying out continuity testing between node to be measured and control node, it is ensured that control node data-interface and node to be measured
Management interface can be led to ping.Each node BMC (Baseboard Management Controller, substrate management control are set
Device processed) IP address:
Host bmc ip:192.168.0.12
One-level box bmc ip:192.168.0.2
Two level box bmc ip:192.168.0.5
Control node network interface ip is set:192.168.0.200
Continuity testing, i.e. the BMC IP of each nodes to be measured of ping are carried out to each node to be measured by control node successively.
S2, remove system journal and BMC daily records.
Test result is checked for convenience, it is necessary to be purged to the system journal before test and BMC daily records:
cat/dev/null>/var/log/messages
cat/dev/null>/var/log/mcelog
cat/dev/null>/var/log/dmesg
ipmitool sel clear
Test script is copied to control node and performs test.
S3, test script is copied to control node, switch is performed according to fixed switching on and shutting down order to each node to be measured
Machine is tested, and circulation performs test, until reaching the testing time of setting;
Test content for realize " two-level node->First nodes->The power-up sequence of Host nodes " and " Host nodes->
First nodes->The shutdown order of two-level node ", and circulate operation.
Aforesaid operations are formed into test script and are copied to control node, increase performs authority:
chmod+x dc-bmc-control-test-aaa.bash
By testing results script, DC tests are performed.
IPMI (Intelligent Platform Management Interface, intelligent platform management interface), its
Core is a special chip/controller, and processor, BIOS or operating system independent of server carry out work, are independent
That is run in system overcomes the manager based on operating system in the past without proxy management subsystem, its good autonomous characteristic
Limitation suffered by formula, such as still can carry out switching on and shutting down, information extraction etc. in the case that operating system is not responding to or do not loaded
Operation.
The BMC IP of each node to be measured are configured using ipmitool instruments.
SUT=ipmitool-H 192.168.0.12-U admin-P IEI2#1oW
#------ node host nodes bmcIP to be measured
SUT_gpu_a=ipmitool-H 192.168.0.2-U admin-P admin
#------ first nodes bmcIP to be measured
SUT_gpu_b=ipmitool-H 192.168.0.5-U admin-P admin
#------ two-level node bmcIP to be measured
Obtain the power supply status of current each node to be measured.
Boot up test:
When the power supply status of Host nodes is " OFF ", power-on command is sent.
Similarly, when the power supply status of first nodes is " OFF ", power-on command is sent;
When the power supply status of two-level node is " OFF ", power-on command is sent.
Carry out shutdown test:
When the power supply status of Host nodes is " ON ", shutdown command is sent.
Similarly, when the power supply status of first nodes is " ON ", shutdown command is sent;
When the power supply status of two-level node is " ON ", shutdown command is sent.
Circulate successively, according to the order of each node to be measured, when it is to open to detect power supply status, then carry out shutdown test;
When detecting power supply status to close, then test is booted up.Test is performed until testing time is 1000 times.
S4, check system journal and BMC daily records have it is without exception.
After the completion of test, check system journal and BMC daily records with the presence or absence of abnormal.
The embodiment of the present invention realizes that two level connects server to switching on and shutting down order by using long-range BMC, i.e., " two-level node->
First nodes->The power-up sequence of Host nodes " and " Host nodes->First nodes->The shutdown order of two-level node " is right
Each node to be measured carries out DC tests, practical, and saves manpower, improves testing efficiency.
As shown in Fig. 2 the embodiment of the invention also discloses the DC test systems that a kind of node two level connects server, including ring
Module is built in border, module, test module and exception monitoring module are removed in daily record.
The environmental structure module, for building test environment, including annexation setting unit, BMC IP setting units
With continuity testing unit.
The annexation setting unit, for setting the annexation of each node to be measured and control node.
The data-interface of the management interface of node to be measured and control node is connected on management interchanger, passes through management
Interchanger, control node may be coupled to node to be measured, and the node to be measured includes Host nodes, first nodes and two level section
Point.
The BMC IP setting units, for setting the BMC IP of each node to be measured.
The continuity testing unit, it is connective for being carried out successively to each node to be measured by the control node
Test, i.e. the BMC IP of each nodes to be measured of ping.
Module is removed in the daily record, for removing system journal and BMC daily records.
The test module, for each node to be measured to be performed into switching on and shutting down test, circulation according to fixed switching on and shutting down order
Test is performed, until reach the testing time of setting, including configuration BMC IP units, power supply status acquiring unit, start test
Unit and shutdown test cell.
The configuration BMC IP units, for configuring the BMC IP of each node to be measured;
The power supply status acquiring unit, for obtaining the power supply status of each node to be measured;
The start test cell, tested for starting shooting;
The shutdown test cell, tested for shutting down.
Realize " two-level node->First nodes->The power-up sequence of Host nodes " and " Host nodes->First nodes->
The shutdown order of two-level node ", and circulate operation.
The exception monitoring module, for check system journal and BMC daily records have it is without exception.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (10)
1. a kind of node two level connects the DC method of testings of server, it is characterised in that comprises the following steps:
S1, build test environment;
S2, remove system journal and BMC daily records;
S3, test script is copied to control node, performing switching on and shutting down according to fixed switching on and shutting down order to each node to be measured surveys
Examination, circulation perform test, until reaching the testing time of setting;
S4, check system journal and BMC daily records have it is without exception.
2. a kind of node two level according to claim 1 connects the DC method of testings of server, it is characterised in that the switch
Machine order be:" two-level node->First nodes->The power-up sequence of Host nodes " and " Host nodes->First nodes->Two
The shutdown order of level node ".
3. a kind of node two level according to claim 1 connects the DC method of testings of server, it is characterised in that step S1's
Concrete operation step is as follows:
S101, the annexation that each node to be measured and control node are set;
S102, the BMC IP that each node to be measured is set;
S103, continuity testing carried out to each node to be measured by the control node successively.
4. a kind of node two level according to claim 3 connects the DC method of testings of server, it is characterised in that the connection
Relation is that the data-interface of the management interface of each node to be measured and control node is connected on management interchanger.
5. a kind of node two level according to claim 1 connects the DC method of testings of server, it is characterised in that the switch
The concrete operation step of machine test is as follows:
S301, each node to be measured of configuration BMC IP;
S302, the power supply status for obtaining each node to be measured;
S303, start test;
S304, shutdown test.
6. a kind of node two level according to claim 5 connects the DC method of testings of server, it is characterised in that the start
Testing content is:
When the power supply status of Host nodes is " OFF ", power-on command is sent;
When the power supply status of first nodes is " OFF ", power-on command is sent;
When the power supply status of two-level node is " OFF ", power-on command is sent;
Content is tested in the shutdown:
When the power supply status of Host nodes is " ON ", shutdown command is sent;
When the power supply status of first nodes is " ON ", shutdown command is sent;
When the power supply status of two-level node is " ON ", shutdown command is sent.
7. a kind of node two level connects the DC test systems of server, it is characterised in that including:
Environmental structure module, for building test environment;
Module is removed in daily record, for removing system journal and BMC daily records;
Test module, for test script to be copied into control node, each node to be measured is held according to fixed switching on and shutting down order
Row switching on and shutting down are tested, and circulation performs test, until reaching the testing time of setting;
Exception monitoring module, for check system journal and BMC daily records have it is without exception.
8. a kind of node two level according to claim 7 connects the DC test systems of server, it is characterised in that the switch
Machine order be:" two-level node->First nodes->The power-up sequence of Host nodes " and " Host nodes->First nodes->Two
The shutdown order of level node ".
9. a kind of node two level according to claim 7 connects the DC test systems of server, it is characterised in that the environment
Building module includes:
Annexation setting unit, for setting the annexation of each node to be measured and control node;
BMC IP setting units, for setting the BMC IP of each node to be measured;
Continuity testing unit, for carrying out continuity testing to each node to be measured successively by the control node.
10. a kind of node two level according to claim 7 connects the DC test systems of server, it is characterised in that the survey
Die trial block includes:
BMC IP units are configured, for configuring the BMC IP of each node to be measured;
Power supply status acquiring unit, for obtaining the power supply status of each node to be measured;
Start test cell, is tested for starting shooting;
Shut down test cell, is tested for shutting down.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710846577.8A CN107612775A (en) | 2017-09-19 | 2017-09-19 | A kind of node two level connects the DC method of testings and system of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710846577.8A CN107612775A (en) | 2017-09-19 | 2017-09-19 | A kind of node two level connects the DC method of testings and system of server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107612775A true CN107612775A (en) | 2018-01-19 |
Family
ID=61060853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710846577.8A Pending CN107612775A (en) | 2017-09-19 | 2017-09-19 | A kind of node two level connects the DC method of testings and system of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107612775A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108334359A (en) * | 2018-02-28 | 2018-07-27 | 郑州云海信息技术有限公司 | A kind of server control method, system, equipment and computer storage media |
CN108829448A (en) * | 2018-06-20 | 2018-11-16 | 郑州云海信息技术有限公司 | Control method, system and the readable storage medium storing program for executing of N grades of PCIE extension box |
CN108920307A (en) * | 2018-07-10 | 2018-11-30 | 郑州云海信息技术有限公司 | Server Restart test method, device, equipment and computer readable storage medium |
CN108958995A (en) * | 2018-05-21 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method and system of whole machine cabinet server stability test |
CN109240850A (en) * | 2018-08-21 | 2019-01-18 | 郑州云海信息技术有限公司 | Server DC Reboot test method under a kind of linux system |
CN109284210A (en) * | 2018-10-08 | 2019-01-29 | 郑州云海信息技术有限公司 | A method of HOST-BOX class product AC reboot is tested using python |
CN109298893A (en) * | 2018-09-12 | 2019-02-01 | 郑州云海信息技术有限公司 | A kind of method for start-up and shutdown, device, equipment and medium |
CN113687867A (en) * | 2021-08-24 | 2021-11-23 | 济南浪潮数据技术有限公司 | Shutdown method, system, equipment and storage medium of cloud platform cluster |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163024A (en) * | 2006-10-12 | 2008-04-16 | 国际商业机器公司 | Method and device of performing concurrent operation to a plurality of network servers |
CN101388803A (en) * | 2007-09-14 | 2009-03-18 | 英业达股份有限公司 | Server test system repeating the same test procedure and method thereof |
CN105653408A (en) * | 2015-12-25 | 2016-06-08 | 浪潮电子信息产业股份有限公司 | Test method for POWER CYCLE startup and shutdown based on BMC IPMITOOL command single-node batch control |
US20170185495A1 (en) * | 2015-12-28 | 2017-06-29 | Quanta Computer Inc. | Manage power supply units and modularized automatic transfer switches |
-
2017
- 2017-09-19 CN CN201710846577.8A patent/CN107612775A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101163024A (en) * | 2006-10-12 | 2008-04-16 | 国际商业机器公司 | Method and device of performing concurrent operation to a plurality of network servers |
CN101388803A (en) * | 2007-09-14 | 2009-03-18 | 英业达股份有限公司 | Server test system repeating the same test procedure and method thereof |
CN105653408A (en) * | 2015-12-25 | 2016-06-08 | 浪潮电子信息产业股份有限公司 | Test method for POWER CYCLE startup and shutdown based on BMC IPMITOOL command single-node batch control |
US20170185495A1 (en) * | 2015-12-28 | 2017-06-29 | Quanta Computer Inc. | Manage power supply units and modularized automatic transfer switches |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108334359A (en) * | 2018-02-28 | 2018-07-27 | 郑州云海信息技术有限公司 | A kind of server control method, system, equipment and computer storage media |
CN108334359B (en) * | 2018-02-28 | 2021-09-17 | 郑州云海信息技术有限公司 | Server control method, system, equipment and computer storage medium |
CN108958995A (en) * | 2018-05-21 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method and system of whole machine cabinet server stability test |
CN108829448A (en) * | 2018-06-20 | 2018-11-16 | 郑州云海信息技术有限公司 | Control method, system and the readable storage medium storing program for executing of N grades of PCIE extension box |
WO2019242273A1 (en) * | 2018-06-20 | 2019-12-26 | 郑州云海信息技术有限公司 | N-level pcie expansion case control method and system, and readable storage medium |
CN108920307A (en) * | 2018-07-10 | 2018-11-30 | 郑州云海信息技术有限公司 | Server Restart test method, device, equipment and computer readable storage medium |
CN109240850A (en) * | 2018-08-21 | 2019-01-18 | 郑州云海信息技术有限公司 | Server DC Reboot test method under a kind of linux system |
CN109298893A (en) * | 2018-09-12 | 2019-02-01 | 郑州云海信息技术有限公司 | A kind of method for start-up and shutdown, device, equipment and medium |
CN109298893B (en) * | 2018-09-12 | 2021-08-10 | 郑州云海信息技术有限公司 | Startup and shutdown method, device, equipment and medium |
CN109284210A (en) * | 2018-10-08 | 2019-01-29 | 郑州云海信息技术有限公司 | A method of HOST-BOX class product AC reboot is tested using python |
CN113687867A (en) * | 2021-08-24 | 2021-11-23 | 济南浪潮数据技术有限公司 | Shutdown method, system, equipment and storage medium of cloud platform cluster |
CN113687867B (en) * | 2021-08-24 | 2023-12-29 | 济南浪潮数据技术有限公司 | Shutdown method, system, equipment and storage medium of cloud platform cluster |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107612775A (en) | A kind of node two level connects the DC method of testings and system of server | |
CN108768730B (en) | Method and device for operating intelligent network card | |
CN103973515A (en) | Network card stability testing method | |
CN110213121B (en) | Test platform, test method and test device for virtual communication product | |
CN106055438A (en) | Method and system for rapidly locating anomaly of memory banks on mainboard | |
CN109240865A (en) | A kind of AC test method, device, terminal and the storage medium of AEP memory | |
CN106776320A (en) | Android intelligent terminal automatization test system and method | |
CN107943643A (en) | One kind is based on MOC boards hardware DC test methods and system | |
CN109257249A (en) | A kind of network interface card stability test method, apparatus, terminal and storage medium | |
CN103731663B (en) | The testing method of a kind of intelligent television and device | |
US20100042852A1 (en) | Power-on protection method, module and system | |
CN111858201A (en) | BMC (baseboard management controller) comprehensive test method, system, terminal and storage medium | |
CN109660386B (en) | Software upgrading method for semiconductor memory aging test system | |
CN104780062A (en) | Method for quickly acquiring IP address of BMC management network interface | |
CN103678058A (en) | Hardware detection system and method | |
CN106603343A (en) | A method for testing stability of servers in batch | |
US8391162B2 (en) | Apparatus and method for testing SMNP cards | |
WO2018040664A1 (en) | Cross-platform drive test method, device and system | |
CN109815070A (en) | A kind of HOST-BOX server stability test method, apparatus, terminal and storage medium | |
CN107179972A (en) | For the method for calculation machine, microcontroller, test equipment and test system | |
CN107870840A (en) | The multiple test instruction automatic execution methods of server based on IPMI | |
CN109684138A (en) | A kind of visualization hard disk automatic test approach, device, terminal and storage medium | |
CN112003727A (en) | Multi-node server power supply testing method, system, terminal and storage medium | |
CN109783292A (en) | A kind of inspection method and system of server info | |
CN109710483A (en) | A kind of smashclp function test method, device, terminal and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |