CN104410554A - Method or testing WOL (Wake On Lan) function of server - Google Patents

Method or testing WOL (Wake On Lan) function of server Download PDF

Info

Publication number
CN104410554A
CN104410554A CN201410849353.9A CN201410849353A CN104410554A CN 104410554 A CN104410554 A CN 104410554A CN 201410849353 A CN201410849353 A CN 201410849353A CN 104410554 A CN104410554 A CN 104410554A
Authority
CN
China
Prior art keywords
wol
test machine
testing
server
control end
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
CN201410849353.9A
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 CN201410849353.9A priority Critical patent/CN104410554A/en
Publication of CN104410554A publication Critical patent/CN104410554A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method for testing a WOL (Wake On Lan) function of a server. According to the method, the WOL function of the server is tested based on a Windows control terminal (a client); the control terminal is directly connected to a tester to simulate an actual local area network under a windows or linux tester (test platform) by use of attribute setting to BIOS and a network card, and a WOL tool, and then whether the WOL function of the server is normal or not is verified after the server is shut down normally by executing a shutdown instruction or forced to be shut down by pressing a power button. The method for testing the WOL function of the server is simple to operate, applicable to both windows system and linux system test platforms, and capable of effectively verifying whether the WOL function of the server is normal or not to guarantee the usability and the safety of the server.

Description

A kind of method of testing of testing server WOL function
Technical field
The present invention relates to server WOL to test, specifically a kind of method of testing of testing server WOL function.
Background technology
Along with the development of IT field technology, large data and cloud computing are close to the life more and more of people, due to the growth of the huge of data and business, each enterprise and government unit etc., increasing to the demand of server, IDC machine room is upgraded to tens by a few station server, Shang Baitai, even several thousand station servers.For server maintenance personnel, workload is quite large.The most basic function that WOL (WOL, Wake on LAN) function is supported as server, makes staff can enter IDC machine room, starts shooting, make server enter service condition fast long-range just can realization to server.
In WOL function, the important point can make staff need not enter on-the-spot just can realization long-rangely to start shooting to server exactly, and numerous server, network interface card manufacturer all provides support to this function, and this function is widely used in practice.The IDC machine room of each enterprise and unit of government bodies is data and computer center, comparatively strict to security control, Long-distance Control seems particularly important, and for the unit having a large amount of server, this function can make server be easier to management and use.
WOL function is a kind of management function of computer or server hardware, sends magic packet broadcast frame, wake start up to far-end computer or server by client.Magic Packet is broadcast frame (frame), be in all computers in same local area network (LAN) or server all can receive this frame, Magic Packet comprises the mac address of network interface card, often the throw the net mac address of card is unique, the network interface card only having mac address in Magic Packet just can respond Magic Packet, and realizes computer or Server remote start.
The realization of WOL function depends on the support of mainboard, BIOS, system and network interface card, only has hardware and software support to realize smoothly.Resolve Magic Packet broadcast frame by network interface card, send instruction by network interface card to BIOS after successfully resolved, server could be started shooting.In Magic Packet, all first can send continuous 6 " FF " information at every turn, be converted into binary system and be 11111111, the MAC Address occurring server network interface card is then started afterwards at continuous 6 " FF ", carry the information such as password, network interface card carries out understanding and judging after receiving Magic Packet bag simultaneously, if the mac address of judged result and server self and password coincide, network interface card will wake up server and start shooting.
Due to hardware designs reason, WOL is divided into two kinds of situations:
1. server system performs shutdown command, and normal shutdown, by WOL function, normally can realize the remote opening to server;
2. server system is not by system closedown instruction normal shutdown, by forcing to carry out abnormal shutdown by power knob 4S, by WOL function, server can not realize remote opening, long is the normal behaviour of PCH by not waking up under power knob 4S, after this design can avoid server artificially to force power-off, the start that surprisingly powers on causes damage.
Summary of the invention
The bright technical problem existed for prior art of we, provides a kind of method of testing of testing server WOL function.
The method of testing of a kind of testing server WOL function of the present invention, the technical scheme solving the problems of the technologies described above employing is as follows: carry out testing server WOL function based on Windows control end (client), utilize BIOS, network interface card setup of attribute, and WOL(Wake on LAN) instrument, under windows or linux test machine (test platform), by control end and test machine is direct-connected imitates actual local area network (LAN), verify that whether server WOL function is normal at server execution shutdown command normal shutdown and after pressing power knob forced shutdown.
The idiographic flow of the method for testing of testing server WOL function of the present invention is as follows:
1) Windows system or Linux system test machine is got out, and Windows control end;
2) arranging test machine BIOS WOL function is enable;
3) test machine network interface card attribute is set and supports WOL function;
4) test machine network interface card IP address is set, and records IP address and mac address information;
5) test machine network interface card relevant information in editor control end WOL instrument;
6) RJ45 netting twine connection control end and test machine is used;
7) perform ping order guarantee control end to be normally communicated with test machine, and can proper communication;
8) shutdown command normal shutdown is performed to test machine;
9) control end WOL instrument is used to carry out remote power-off to test machine;
10) power knob 4S forced shutdown is pressed to test machine;
11) control end WOL instrument is used to carry out remote opening to test machine.
The beneficial effect that the method for testing of a kind of testing server WOL function of the present invention compared with prior art has is: the method for testing of this testing server WOL function is simple to operate, all can use windows system and Linux system test platform, can effectively whether authentication server WOL function be normal, with the ease for use of Deterministic service device and fail safe; Be applicable to the server product of all support WOL functions.
Accompanying drawing explanation
Accompanying drawing 1 is the flow chart of the method for testing of described testing server WOL function.
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 testing server WOL function of the present invention is further described.
The method of testing of a kind of testing server WOL function of the present invention, testing server WOL function is carried out based on Windows control end (client), Remote Wake Up server in local area network (LAN) can be simulated in practical application, by to BIOS, network interface card setup of attribute, and WOL(Wake on LAN) instrument, whether normally realize remote opening function in authentication server local area network (LAN).The method of testing of this testing server WOL function is simple to operate, and practicality is comparatively strong, can effective authentication server WOL function.
Embodiment 1:
A kind of method of testing of testing server WOL function described in the present embodiment, mainly utilize WOL instrument, under windows or linux test machine (test platform), by control end and test machine is direct-connected imitates actual local area network (LAN), verify at server execution shutdown command normal shutdown, and after pressing power knob forced shutdown, whether server WOL function is normal.
The method of testing of testing server WOL function described in the present embodiment, its idiographic flow as shown in Figure 1:
1) Windows system or Linux system test machine is got out, and Windows control end;
2) arranging test machine BIOS WOL function is enable;
3) test machine network interface card attribute is set and supports WOL function;
4) test machine network interface card IP address is set, and records IP address and mac address information;
5) test machine network interface card relevant information in editor control end WOL instrument;
6) RJ45 netting twine connection control end and test machine is used;
7) perform ping order guarantee control end to be normally communicated with test machine, and can proper communication;
8) shutdown command normal shutdown is performed to test machine;
9) control end WOL instrument is used to carry out remote power-off to test machine;
10) power knob 4S forced shutdown is pressed to test machine;
11) control end WOL instrument is used to carry out remote opening to test machine.
By the method for testing of testing server WOL function described in the present embodiment, use the detailed process of WOL instrument testing server WOL function as follows:
1, Windows operating system or linux operating system are installed to test machine; Get out Windows control end .Netframework3.5 and .Netframework4.0 is installed to control end, and WOL instrument is installed;
2, enter test machine BIOS Setup interface, find WOL option and be set to enable, after preservation, entering operating system;
If 3 test machines are Windows operating system, enter network and Sharing Center in control panel, select to be used for the network interface card attribute of WOL function, check network interface card mac address, configuring static ip address information record;
4, click configuration button, network interface card Advanced Options is configured, select WOL function setting to be enable, select Magic Packet bag arousal function to be enable;
If 5 test machines are Linux system, then perform ethtool ethx at command Window, check network interface card attribute, if Wake-on is d, represents forbidding WOL, need to enable it, perform ethtool-s ethx wol g; Perform ifconfig ethx, check network interface card mac address, ifcfg-ethx information under editor/etc/sysconfig/network-script catalogue, configure ip address information and record;
(note: " x " is for waking test platform network interface used up by WOL function herein)
6, open WOL instrument at control end, click the new main frame of new host(, refer to test machine), editor's test machine relevant information, the network interface card mac address of correct input test machine;
7, use RJ45 interface netting twine connection control end and test machine, perform ping order at control end to test machine, guarantee control end is communicated with test machine;
8, the test machine that now control end WOL instrument page display connects is in " ON LINE " state, performs shutdown command, to test machine normal shutdown at test machine;
9, the control end WOL instrument page is entered, page display test machine is in " OFF LINE " state, click the test machine needing remote opening by right key, perform wake up, check test machine, test machine normal boot-strap, the test machine that the display of the control end WOL instrument page connects is in " ON LINE " state;
10, after test machine normally enters operating system, force to press power knob 4S, execute exception forced shutdown;
11, enter the control end WOL instrument page, page display test machine is in " OFF LINE " state again; Click the test machine needing remote opening by right key, perform wake up, check test machine, test machine does not respond WOL function, can not remote opening;
12, platform WOL functional test completes, and WOL supports multiple stage test machine WOL functional verification, can edit multiple stage test machine network interface card information, WOL functional verification while of simultaneously carrying out multiple servers.
The method of testing of testing server WOL function of the present invention is simple to operate, and practicality is stronger.All can use windows system and Linux system test platform (test machine), effectively authentication server product WOL function whether normally, ease for use and the reliability of server can be guaranteed.
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 (7)

1. the method for testing of a testing server WOL function, it is characterized in that, testing server WOL function is carried out based on Windows control end, utilize BIOS, network interface card setup of attribute, by WOL instrument, under windows or linux test machine, by control end and test machine is direct-connected imitates actual local area network (LAN), verify that whether server WOL function is normal at server execution shutdown command normal shutdown and after pressing power knob forced shutdown.
2. the method for testing of a kind of testing server WOL function according to claim 1, it is characterized in that, the idiographic flow of this method of testing is:
Get out Windows system or Linux system test machine, and Windows control end;
Arranging test machine BIOS WOL function is enable;
Test machine network interface card attribute is set and supports WOL function;
Test machine network interface card IP address is set, and records IP address and mac address information;
Test machine network interface card relevant information in editor control end WOL instrument;
Use RJ45 netting twine connection control end and test machine;
Perform ping order guarantee control end to be normally communicated with test machine, and can proper communication;
Shutdown command normal shutdown is performed to test machine;
Control end WOL instrument is used to carry out remote power-off to test machine;
Power knob 4S forced shutdown is pressed to test machine;
Control end WOL instrument is used to carry out remote opening to test machine.
3. the method for testing of a kind of testing server WOL function according to claim 2, is characterized in that, installs Windows operating system or linux operating system to test machine; .Netframework3.5 and .Netframework4.0 is installed to control end, and WOL instrument is installed.
4. the method for testing of a kind of testing server WOL function according to claim 3, is characterized in that, enter test machine BIOS Setup interface, find WOL option and be set to enable, entering operating system after preservation.
5. the method for testing of a kind of testing server WOL function according to claim 4, it is characterized in that, if test machine is Windows operating system, enter network and Sharing Center in control panel, select the network interface card attribute being used for WOL function, check network interface card mac address, configuring static ip address information record; Click configuration button, network interface card Advanced Options is configured, select WOL function setting to be enable, select Magic Packet bag arousal function to be enable.
6. the method for testing of a kind of testing server WOL function according to claim 5, is characterized in that, open WOL instrument at control end, clicks new host, editor's test machine relevant information, the network interface card mac address of correct input test machine.
7. the method for testing of a kind of testing server WOL function according to claim 2, it is characterized in that, this method of testing supports multiple stage test machine WOL functional verification, can edit multiple stage test machine network interface card information, WOL functional verification while of simultaneously carrying out multiple servers.
CN201410849353.9A 2014-12-31 2014-12-31 Method or testing WOL (Wake On Lan) function of server Pending CN104410554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849353.9A CN104410554A (en) 2014-12-31 2014-12-31 Method or testing WOL (Wake On Lan) function of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849353.9A CN104410554A (en) 2014-12-31 2014-12-31 Method or testing WOL (Wake On Lan) function of server

Publications (1)

Publication Number Publication Date
CN104410554A true CN104410554A (en) 2015-03-11

Family

ID=52648152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849353.9A Pending CN104410554A (en) 2014-12-31 2014-12-31 Method or testing WOL (Wake On Lan) function of server

Country Status (1)

Country Link
CN (1) CN104410554A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071982A (en) * 2015-07-16 2015-11-18 浪潮电子信息产业股份有限公司 Method for rapidly measuring network card performance under Linux
CN105450477A (en) * 2015-12-09 2016-03-30 浪潮电子信息产业股份有限公司 Method for detecting network card performance
CN105515918A (en) * 2016-01-13 2016-04-20 浪潮电子信息产业股份有限公司 Network awakening test method under SUSE Linux system
CN106933710A (en) * 2017-02-19 2017-07-07 郑州云海信息技术有限公司 The method of testing that DC is restarted is carried out to server based on WOL functions
CN109117330A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of test method, test macro and the relevant apparatus of SSD power-on and power-off
CN109639525A (en) * 2018-12-14 2019-04-16 北京计算机技术及应用研究所 Network interface detection method based on production domesticization operating system
CN110213395A (en) * 2019-05-21 2019-09-06 苏州浪潮智能科技有限公司 The method and system of local area network online equipment is searched under WINDOWS system
CN110443029A (en) * 2019-08-15 2019-11-12 深圳忆联信息系统有限公司 The method and device thereof that password is arranged under a kind of automatic test b IOS
CN110958079A (en) * 2019-11-25 2020-04-03 新华三技术有限公司 Test method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010650A1 (en) * 2003-07-11 2005-01-13 Ying-Chuan Tsai Network-based computer platform external access method and system
CN102510346A (en) * 2011-11-18 2012-06-20 百度在线网络技术(北京)有限公司 Method, system and device for testing network equipment
CN103106128A (en) * 2011-11-14 2013-05-15 英业达科技有限公司 Cold startup switch machine test method and cold starting switch machine test system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010650A1 (en) * 2003-07-11 2005-01-13 Ying-Chuan Tsai Network-based computer platform external access method and system
CN103106128A (en) * 2011-11-14 2013-05-15 英业达科技有限公司 Cold startup switch machine test method and cold starting switch machine test system
CN102510346A (en) * 2011-11-18 2012-06-20 百度在线网络技术(北京)有限公司 Method, system and device for testing network equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071982A (en) * 2015-07-16 2015-11-18 浪潮电子信息产业股份有限公司 Method for rapidly measuring network card performance under Linux
CN105450477A (en) * 2015-12-09 2016-03-30 浪潮电子信息产业股份有限公司 Method for detecting network card performance
CN105515918A (en) * 2016-01-13 2016-04-20 浪潮电子信息产业股份有限公司 Network awakening test method under SUSE Linux system
CN106933710A (en) * 2017-02-19 2017-07-07 郑州云海信息技术有限公司 The method of testing that DC is restarted is carried out to server based on WOL functions
CN109117330A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of test method, test macro and the relevant apparatus of SSD power-on and power-off
CN109639525A (en) * 2018-12-14 2019-04-16 北京计算机技术及应用研究所 Network interface detection method based on production domesticization operating system
CN109639525B (en) * 2018-12-14 2022-05-17 北京计算机技术及应用研究所 Network interface detection method based on homemade operating system
CN110213395A (en) * 2019-05-21 2019-09-06 苏州浪潮智能科技有限公司 The method and system of local area network online equipment is searched under WINDOWS system
CN110443029A (en) * 2019-08-15 2019-11-12 深圳忆联信息系统有限公司 The method and device thereof that password is arranged under a kind of automatic test b IOS
CN110958079A (en) * 2019-11-25 2020-04-03 新华三技术有限公司 Test method, device and system
CN110958079B (en) * 2019-11-25 2022-07-01 新华三技术有限公司 Test method, device and system

Similar Documents

Publication Publication Date Title
CN104410554A (en) Method or testing WOL (Wake On Lan) function of server
CN111200535B (en) Simulation system and method for equipment
CN104144172A (en) Cloud platform system and method based on desktop virtualization technology
CN103905253A (en) Server monitoring and management method based on Nagios and BMC
CN102799504A (en) Power supply testing system and method
CN104144173A (en) Campus cloud platform system and method based on distributed virtual service technology
CN106055440B (en) A kind of test method and system for realizing server exception power-off by BMC
CN104317714A (en) Method for automatically testing stability of rack based on expect
CN109254783A (en) A kind of server system installation method, device, equipment and readable storage medium storing program for executing
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
CN103970655A (en) Expect-based automatic server cluster testing method
CN104572253A (en) Elastic online experiment teaching system based on virtualization
CN109783390A (en) PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium
CN111245806A (en) Network security test method, device and platform, storage medium and electronic device
CN102970376A (en) Cluster configuration method and device
CN109446009A (en) A kind of server set is at test fixture, system and method
CN104135483A (en) Automatic configuration management system for network security
CN115604256A (en) Mobile phone APP evidence obtaining method and system based on source data simulation and storage medium
CN107894935A (en) OPS computer module detection process method, apparatus and electronic equipment
CN113961465A (en) Method, device and program product for processing reproduction of program crash scene
CN104270359A (en) Credibility certification system and method for network transaction
CN103345444A (en) Method and device for testing operating system function of power secondary system
CN111245800B (en) Network security test method and device, storage medium and electronic device
CN113609051A (en) Hot plug method, system, device and computer storage medium for expansion board
CN104598202A (en) Command line management device and 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150311