CN105068900A - Testing method for remote control server cold reboot - Google Patents

Testing method for remote control server cold reboot Download PDF

Info

Publication number
CN105068900A
CN105068900A CN201510445472.2A CN201510445472A CN105068900A CN 105068900 A CN105068900 A CN 105068900A CN 201510445472 A CN201510445472 A CN 201510445472A CN 105068900 A CN105068900 A CN 105068900A
Authority
CN
China
Prior art keywords
controlled terminal
coldreboot
control end
test
remote control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510445472.2A
Other languages
Chinese (zh)
Inventor
杨国保
赵广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510445472.2A priority Critical patent/CN105068900A/en
Publication of CN105068900A publication Critical patent/CN105068900A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a testing method of a remote control server coloreboot, which relates to a server restart testing technology.A linux operating system is installed on a control end, a linux or windows operating system is installed on a controlled end, and all servers are communicated with each other through a switch; the control end sends a shutdown instruction to the controlled end through the BMC, sends a startup instruction to the controlled end again after the controlled end is shut down, circularly performs the coldreboot test of the controlled end for many times, and simultaneously records the coldreboot test result of the controlled end. The invention realizes simultaneous mass server coloreboot test by remote control, the test result is visual and easy to analyze, the manpower and time required by the test can be greatly saved, the test quality and efficiency are improved, and the invention has good popularization and popularization.

Description

The method of testing of a kind of remote control service device cold reboot
Technical field
The present invention relates to Server Restart measuring technology, specifically the method for testing of a kind of remote control service device coldreboot.
Background technology
Along with the development of IT field technology, conventional informationization service and increasingly powerful cloud computing service are more and more higher to the safe and reliable requirement of server.As server product provider, a server all needs to carry out stability test to product in development or production phase; And the stability of server not only will show on single parts, more to show on whole server system.And can server keep long-time reboot operation repeatedly in extreme circumstances, can become Client application the prerequisite of stable operation.
At present, in most cases carrying out Server Restart reboot stability test is all that single node is carried out, and when restarting test to a large amount of server node, need server node one by one to carry out one by one, layoutprocedure exhausts the plenty of time; And mainly through manual operation, for a large amount of server node, configuration is carried out restarting test one by one, and workload is huge, operates heavy, at substantial human resources.
Summary of the invention
The present invention is directed to the weak point of current needs and prior art development, the method for testing of a kind of remote control service device coldreboot is provided.
The method of testing of a kind of remote control service device coldreboot of the present invention, the technical scheme solving the problems of the technologies described above employing is as follows: the method for testing of described remote control service device coldreboot, by above installing linux operating system at control end (server), in the upper installation of controlled terminal (server) linux or windows operating system, and make mutual UNICOM between Servers-all by a switch; Control end sends shutdown command by BMC to controlled terminal, and again sends start-up command to controlled terminal after controlled terminal shutdown, and repeatedly controlled terminal coldreboot test is carried out in circulation, simultaneously control end record controlled terminal coldreboot test result.
Preferably, by described switch, the network interface card of Servers-all and BMC network interface are connected in a LAN (Local Area Network).
Preferably, at described control end, corresponding scripts is installed, at control end Run Script when test starts, and circulation start number of times is set.
Preferably, whether described control end detects controlled terminal and starts shooting, if controlled terminal start, detects and whether enters operating system; If controlled terminal enters operating system, then control end sends shutdown command to controlled terminal.
The method of testing of a kind of remote control service device coldreboot of the present invention, the beneficial effect compared with prior art had is: the whole test of the present invention has control end and controlled terminal two cover system, to guarantee in test that the BMC of master control controlled server and the IP of network interface card is in same LAN (Local Area Network), can be communicated with mutually, control end script is guarded without the need to people after performing, can remote batch control operation, avoid and need the limitation that people stands in server side operation; Realize carrying out server coldreboot in enormous quantities by Long-distance Control to test simultaneously, and be organized on control end by unified for acquired results, facilitate tester to analyze, avoid the single test of multiple server and check the troublesome operation that test result is brought one by one;
Be applicable to the various generic server with BMC Long-distance Control, coldreboot test operation is simple, and test result is intuitively easily analyzed, and can save the required manpower of test and time in a large number, improve test mass and efficiency, have good penetration and promotion.
Accompanying drawing explanation
Accompanying drawing 1 is the process flow diagram of the method for testing of described remote control service device coldreboot.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, the method for testing of a kind of remote control service device coldreboot of the present invention is further described.
By server repeatedly coldreboot, whether can the restarting of continuation, and then meet the startup of server operation under client's extreme condition if detecting mainboard software and hardware; Analyze mainboard software and hardware bug whereby simultaneously and solve in time.Mainboard software comprises BIOS, BMC, ME, CPLD etc., and motherboard hardware mainly refers to mainboard machine element.In view of above-mentioned purpose, the present invention proposes the method for testing of a kind of remote control service device coldreboot, coldreboot can be carried out by the multiple server of long-range control in enormous quantities, compare conventional test methodologies, greatly reduce cost of human resources, improve testing efficiency.
Embodiment: the method for testing of a kind of remote control service device coldreboot described in the present embodiment, by above installing linux operating system at control end (server), in the upper installation of controlled terminal (server) linux or windows operating system, and adopt a switch that the network interface card of Servers-all and BMC network interface are connected to a LAN (Local Area Network), make mutual UNICOM between Servers-all; Control end sends shutdown command by BMC to controlled terminal, and again sends start-up command to controlled terminal after controlled terminal shutdown, and repeatedly controlled terminal coldreboot test is carried out in circulation, simultaneously control end record controlled terminal coldreboot test result.
Described control end is before beginning coldreboot test, and whether first can detect controlled terminal and start shooting, whether the hardware environment after start and controlled terminal enter operating system, if three conditions meet simultaneously, then control end will send shutdown command by BMC to controlled terminal; When after controlled terminal shutdown, if control end detects that controlled terminal shuts down, can again send start-up command to controlled terminal, make controlled terminal carry out coldreboot.Meanwhile, the process control end of controlled terminal cold restart all can be recorded in daily record successively each time.
Adopt the method for testing of remote control service device coldreboot described in the present embodiment, it is as follows that it specifically builds implementation process:
1, multiple server with BMC remote controllers is installed linux operating system or windows operating system respectively, and therefrom select a server installing linux operating system as control end, be used for controlling all the other server switching on and shutting down operation; The BMCIP of these servers is set to the static IP in the same network segment, is connected by the BMC network interface of a switch by Servers-all, guarantee to communicate with one another between each server;
2, detect the software and hardware of each server, guarantee that BIOS, CPLD etc. are for latest edition;
3, Run Script is put on control end server;
4, at control end Run Script, and circulation start number of times is set;
5, after having tested, check script gained test result, destination file records the beginning end time of each circulation, the software and hardware information detected in start process, the abnormal occurrencies such as machine, blue screen or power-off of not delaying in whole process.
In addition, by amendment Run Script, change control end to the time delay of controlled terminal transmit button machine instruction, make controlled terminal more stably carry out coldreboot test.
Accompanying drawing 1 is the process flow diagram of the method for testing of described remote control service device coldreboot, and as shown in Figure 1, described in the present embodiment, method of testing mainly comprises the steps:
Step one, select a server as control end, and install linux operating system, all the other servers as controlled terminal, and install linux or windows operating system;
Step 2, each server configures BMCIP and network interface card IP, and these server B MCIP are set to the static IP in the same network segment;
Step 3, at control end Run Script, arranges controlled terminal switching on and shutting down cycle index;
Step 4, whether control end detects controlled terminal and starts shooting, if start continues to detect controlled terminal whether enter operating system;
Step 5, if controlled terminal enters operating system, then control end sends shutdown command to controlled terminal;
Step 6, whether control end detects controlled terminal and shuts down, if controlled terminal shuts down, then control end sends shutdown command to controlled terminal again;
Step 7, repeats with cocycle, carries out coldreboot test by control end to controlled terminal;
Step 8, after having tested, checks system journal and script gained test result by control end.
Adopting the method for testing of this remote control service device coldreboot, by checking that script gained test result can see coldreboot cycle index, if cycle index is with to arrange number of times identical, there is no the phenomenon of lost devices; And the abnormal occurrencies such as machine, blue screen, power-off of not delaying in test process, controlled terminal tested after end-state time open state, then show that whole test process has been stablized.
Method of testing of the present invention is applicable to variously have remote control management end service platform, can carry out coldreboot reliability testing effectively rapidly, and obtains by instrument the parts that corresponding daily record quick position goes wrong, and then carries out debugging and fix a breakdown.Before testing results, note upgrading each server B IOS, BMC, CPLDFW to latest edition, after installing operating system, the device drives such as necessary chip are installed, the path of generation daily record is set under instrument.The robotization coldreboot that the present invention can realize server in enormous quantities tests, and significantly shorten the test duration, reduces human cost.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (4)

1. a method of testing of remote control service device coldreboot, is characterized in that, control end is installed linux operating system, and controlled terminal is installed linux or windows operating system, makes mutual UNICOM between Servers-all by a switch; Control end sends shutdown command by BMC to controlled terminal, and again sends start-up command to controlled terminal after controlled terminal shutdown, and repeatedly controlled terminal coldreboot test is carried out in circulation, simultaneously control end record controlled terminal coldreboot test result.
2. the method for testing of a kind of remote control service device coldreboot according to claim 1, be is characterized in that, the network interface card of Servers-all and BMC network interface are connected in a LAN (Local Area Network) by described switch.
3. the method for testing of a kind of remote control service device coldreboot according to claim 2, is characterized in that, installs corresponding scripts at described control end, at control end Run Script when test starts, and arranges circulation start number of times.
4. the method for testing of a kind of remote control service device coldreboot according to claim 3, is characterized in that, whether described control end detects controlled terminal and start shooting, if controlled terminal start, detects and whether enters operating system; If controlled terminal enters operating system, then control end sends shutdown command to controlled terminal.
CN201510445472.2A 2015-07-27 2015-07-27 Testing method for remote control server cold reboot Pending CN105068900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510445472.2A CN105068900A (en) 2015-07-27 2015-07-27 Testing method for remote control server cold reboot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510445472.2A CN105068900A (en) 2015-07-27 2015-07-27 Testing method for remote control server cold reboot

Publications (1)

Publication Number Publication Date
CN105068900A true CN105068900A (en) 2015-11-18

Family

ID=54498277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510445472.2A Pending CN105068900A (en) 2015-07-27 2015-07-27 Testing method for remote control server cold reboot

Country Status (1)

Country Link
CN (1) CN105068900A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404569A (en) * 2015-12-09 2016-03-16 浪潮电子信息产业股份有限公司 Method for testing remote Power Reset of server
CN107070747A (en) * 2017-04-10 2017-08-18 广东浪潮大数据研究有限公司 A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN107643964A (en) * 2017-08-17 2018-01-30 郑州云海信息技术有限公司 A kind of method of automatic batch test whole machine cabinet server performance
CN107943636A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 It is a kind of that the method tested is performed based on more machine batches under Linux
CN108205485A (en) * 2018-01-31 2018-06-26 环旭电子股份有限公司 The method and system of the automatic test switching on and shutting down in distal end
CN108763008A (en) * 2018-05-31 2018-11-06 郑州云海信息技术有限公司 A kind of server storage hard disk performance batch testing system, server and method
CN108845901A (en) * 2018-06-12 2018-11-20 郑州云海信息技术有限公司 A kind of method and device realizing system reboot test mode and remotely monitoring
CN109510742A (en) * 2019-01-25 2019-03-22 郑州云海信息技术有限公司 A kind of server network interface card remote test method, device, terminal and storage medium
CN110134546A (en) * 2019-04-11 2019-08-16 平安科技(深圳)有限公司 Batch restarts windows systems approach, electronic device and storage medium
CN111752773A (en) * 2020-05-20 2020-10-09 苏州浪潮智能科技有限公司 Method and device for realizing power-on self-check verification of clustered system
CN113094276A (en) * 2021-04-15 2021-07-09 深圳忆联信息系统有限公司 Batch testing method and device based on Linux system and computer equipment
CN115695265A (en) * 2022-10-20 2023-02-03 深圳市智微智能科技股份有限公司 Automatic circulation power-on and power-off test method and equipment for switch and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040268111A1 (en) * 2003-06-25 2004-12-30 International Business Machines Corporation Remote power control in a multi-node, partitioned data processing system via network interface cards
CN201378313Y (en) * 2009-04-16 2010-01-06 浪潮电子信息产业股份有限公司 Device for on/off fatigue tests used for microcomputer and server
CN101727368A (en) * 2008-10-23 2010-06-09 英业达股份有限公司 On/off test method and on/off test system
CN103970630A (en) * 2014-05-23 2014-08-06 浪潮电子信息产业股份有限公司 Method for testing overall stability of server
CN104268045A (en) * 2014-09-29 2015-01-07 浪潮电子信息产业股份有限公司 Testing method for startup and shutdown in remote control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040268111A1 (en) * 2003-06-25 2004-12-30 International Business Machines Corporation Remote power control in a multi-node, partitioned data processing system via network interface cards
CN101727368A (en) * 2008-10-23 2010-06-09 英业达股份有限公司 On/off test method and on/off test system
CN201378313Y (en) * 2009-04-16 2010-01-06 浪潮电子信息产业股份有限公司 Device for on/off fatigue tests used for microcomputer and server
CN103970630A (en) * 2014-05-23 2014-08-06 浪潮电子信息产业股份有限公司 Method for testing overall stability of server
CN104268045A (en) * 2014-09-29 2015-01-07 浪潮电子信息产业股份有限公司 Testing method for startup and shutdown in remote control system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105404569A (en) * 2015-12-09 2016-03-16 浪潮电子信息产业股份有限公司 Method for testing remote Power Reset of server
CN107070747B (en) * 2017-04-10 2020-05-19 苏州浪潮智能科技有限公司 Device, system and method for automatically testing network card network connection stability in network card binding mode
CN107070747A (en) * 2017-04-10 2017-08-18 广东浪潮大数据研究有限公司 A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN107643964A (en) * 2017-08-17 2018-01-30 郑州云海信息技术有限公司 A kind of method of automatic batch test whole machine cabinet server performance
CN107943636A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 It is a kind of that the method tested is performed based on more machine batches under Linux
CN108205485A (en) * 2018-01-31 2018-06-26 环旭电子股份有限公司 The method and system of the automatic test switching on and shutting down in distal end
CN108763008A (en) * 2018-05-31 2018-11-06 郑州云海信息技术有限公司 A kind of server storage hard disk performance batch testing system, server and method
CN108845901B (en) * 2018-06-12 2021-10-08 郑州云海信息技术有限公司 Method and device for realizing remote monitoring of system rebot test state
CN108845901A (en) * 2018-06-12 2018-11-20 郑州云海信息技术有限公司 A kind of method and device realizing system reboot test mode and remotely monitoring
CN109510742A (en) * 2019-01-25 2019-03-22 郑州云海信息技术有限公司 A kind of server network interface card remote test method, device, terminal and storage medium
CN109510742B (en) * 2019-01-25 2022-02-18 郑州云海信息技术有限公司 Server network card remote test method, device, terminal and storage medium
CN110134546A (en) * 2019-04-11 2019-08-16 平安科技(深圳)有限公司 Batch restarts windows systems approach, electronic device and storage medium
CN110134546B (en) * 2019-04-11 2023-10-20 平安科技(深圳)有限公司 Batch restarting windows system method, electronic device and storage medium
CN111752773A (en) * 2020-05-20 2020-10-09 苏州浪潮智能科技有限公司 Method and device for realizing power-on self-check verification of clustered system
CN111752773B (en) * 2020-05-20 2023-01-06 苏州浪潮智能科技有限公司 Method and device for realizing power-on self-check verification of clustered system
CN113094276A (en) * 2021-04-15 2021-07-09 深圳忆联信息系统有限公司 Batch testing method and device based on Linux system and computer equipment
CN115695265A (en) * 2022-10-20 2023-02-03 深圳市智微智能科技股份有限公司 Automatic circulation power-on and power-off test method and equipment for switch and storage medium

Similar Documents

Publication Publication Date Title
CN105068900A (en) Testing method for remote control server cold reboot
CN109510742B (en) Server network card remote test method, device, terminal and storage medium
CN104375910A (en) Automatic power-on and power-off test method
CN102571498B (en) Fault injection control method and device
CN104360922A (en) Method for automatically monitoring BMC working state based on ipmitool
US9378122B2 (en) Adopting an existing automation script to a new framework
CN106407054B (en) BMC automatic test system and method
CN103051490A (en) Method for carrying out startup and shutdown testing on blade server
CN103973858B (en) The Auto-Test System of mobile terminal
CN102244591A (en) Client server and method for full process monitoring on function text of client server
TW201500935A (en) System and method of controlling shutdown and booting of servers
CN107102949B (en) Application program offline testing method and tool
WO2018006702A1 (en) Abnormality processing method, apparatus and system in automation test
CN103559126A (en) Method, device and computer terminal for testing software versions
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
CN103731663A (en) Method and device for testing smart television
CN104391780A (en) Method for automatically checking stability of power supply redundancy function of server
CN105743707A (en) Method for testing BMC log analysis function based on Redhat system
CN104268041A (en) Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN110932886A (en) Method and system for automatically testing network performance of server and SOL testing device
CN113849228A (en) Operating system batch deployment method, system, terminal and storage medium
CN105404569A (en) Method for testing remote Power Reset of server
CN111858201A (en) BMC (baseboard management controller) comprehensive test method, system, terminal and storage medium
CN107870840B (en) IPMI-based server multi-test instruction automatic execution method
CN105653408A (en) Test method for POWER CYCLE startup and shutdown based on BMC IPMITOOL command single-node batch control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151118