CN104850473B - A kind of startup test method of server at low ambient temperatures - Google Patents

A kind of startup test method of server at low ambient temperatures Download PDF

Info

Publication number
CN104850473B
CN104850473B CN201510238030.0A CN201510238030A CN104850473B CN 104850473 B CN104850473 B CN 104850473B CN 201510238030 A CN201510238030 A CN 201510238030A CN 104850473 B CN104850473 B CN 104850473B
Authority
CN
China
Prior art keywords
server
test
equipment
test method
bios
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
CN201510238030.0A
Other languages
Chinese (zh)
Other versions
CN104850473A (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.)
Shenzhen Tong Yi Yi Information Technology Co., Ltd.
Original Assignee
Shenzhen Tong Yi Yi Information Technology 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 Shenzhen Tong Yi Yi Information Technology Co Ltd filed Critical Shenzhen Tong Yi Yi Information Technology Co Ltd
Priority to CN201510238030.0A priority Critical patent/CN104850473B/en
Publication of CN104850473A publication Critical patent/CN104850473A/en
Application granted granted Critical
Publication of CN104850473B publication Critical patent/CN104850473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention relates to server field, more particularly to the startup test method of a server at low ambient temperatures, which includes the following steps:A. BIOS is changed;B. change Linuxg Grub settings;C. by the external test main frame of serial ports, state when monitoring BIOS starts;D. system configuration file is changed:Modification system to realize automatic shutdown after booting, and records the available machine time;E. chamber and AC Source are set, ensures that server starts in the case of completely cold;F. test log is collected, test terminates.By script make equipment after powering can normal shutdown, exclude influence of the abnormal shutdown factor to equipment;By the setting to AC Source and script, starting to prevent the influence in the case where equipment also has residual temperature to test result after making equipment and component every time cold;Reached to test result by the cooperation of each test equipment(Hardware, bios, operating system)Comprehensive record and playback to failure conditions.

Description

A kind of startup test method of server at low ambient temperatures
Technical field
The present invention relates to server field, more particularly to the startup test method of a kind of server at low ambient temperatures.
Background technology
One word of big data is mentioned more and more, and people describe with it and define the magnanimity of information explosion epoch generation Data, and associated technology is named to develop and innovate.Data expand and become larger rapidly, it decides the future of enterprise Development, although enterprise may not recognize that data explosion increases the hidden danger for bringing problem now, with the time Passage, people will more and more recognize importance of the data to enterprise.Data controling power of the big data epoch to the mankind New challenge is proposed, also for people's acquisition is more deep, comprehensively seeing clearly ability provides unprecedented space and potentiality. In the application to big data, the most fast demand of intelligent development is the most prominent, smart mobile phone, smart home, intelligent wearable device, All smart machines all need big data to support!Wherein, pocket smart machine develops the swiftest and the most violent, smart mobile phone intelligence Energy wearing is especially prominent, lives and brings great convenience to us, but this also gives the equipment-of our offer big data Server brings the challenge of bigger, and the portable place for meaning someone will have intelligence, and have intelligentized place that will have The big data for supporting him has the place of big data to must have server!
So the operating environment requirements of server are also increasingly harsher, the clothes that traditional intelligence works in computer room The needs of business device cannot meet us.It is also extremely harsh to the use environment of server meanwhile at military aspect, therefore, We must improve the testing standard to server, develop better reliability, be suitable for the server of various adverse circumstances!
Generally it is the machine for exposing problem come acceleration equipment by low temperature environment in the low-temperature test of existing server System.Its process is usually:Equipment is placed in low temperature environment and connects AC Source;Adjustment equipment makes equipment be powered with regard to starting, and sets The power on/off program of good AC Source is such as powered four minutes, powers off one minute;It is powered, is switched on, power off, shutdown ceaselessly follows Ring, AC source set cycle-index;After the completion of test, check whether equipment restarts the due number of theoretical value.
Conventional to start test, we are to go test server to have by power-off energization to start, but take after shutting down Business device do not have it is cold such as components such as CPU in start process temperature be raised come if pull up a horse again start up, Er Qieguan Also abnormal shutdown when machine, so just cannot exclude abnormal shutdown to the factor damaged caused by equipment, in test process In failure conditions also be difficult to obtain detailed log.
Invention content
The present invention provides a kind of startup test method of server at low ambient temperatures, and system automatic shutdown mode solves Abnormal shutdown is to caused by equipment the technical issues of damage effect test result in the prior art.This method is using too low simultaneously The mode of warm then heating ensures that the temperature of server during the test is 0 DEG C, avoids since server work generates heat Amount has an impact server test.
The startup test method of this server that the present invention designs to solve above-mentioned technical problem at low ambient temperatures Include the following steps:
A. BIOS is changed, sets server to energization Auto Power On;
B. change Linuxg Grub settings can smoothly enter into system after ensureing server booting;
C. by the external test main frame of serial ports, state when monitoring BIOS starts;
D. system configuration file is changed:Modification system to realize automatic shutdown after booting, and records the available machine time;
E. chamber and AC Source are set, ensures that server starts in the case of completely cold;
E1. server is cold at -5 DEG C to set 2 hours;
E2. the chamber is warming up to 0 DEG C, the AC Source start to power to server;
E3. server automatic shutdown under system control;
E4. chamber temperature is reduced to -5 DEG C from 0 DEG C after device powers down, 5 minutes is stood at -5 DEG C;
E5. the E2 to E4 that repeats the above steps is tested to server to be completed;
F. test log is collected, test terminates.
Scheme designed by the present invention has the following advantages that, under low temperature environment, can increase the various implication problems of exposure Solution potential threat is researched and developed in probability, help;Can test equipment and all components work normally at low ambient temperatures, Suo Youyuan Can device normally starting after absolute cooling, can not only test the stability of machine and bad low temperature properties, moreover it is possible to test The bad low temperature properties of component;The stability and system of system can be tested for the Linux system of the non-release of independent development Compatibility;Test the stability of bios guiding systems;Can test power module stability and equipment in different AC environment Under stability;By script make equipment after powering can normal shutdown, exclude influence of the abnormal shutdown factor to equipment;It is logical The setting to AC Source and script is crossed, is being started to prevent from also having in equipment after making equipment and component every time cold To the influence of test result in the case of residual temperature;Reached to test result (hardware, bios, behaviour by the cooperation of each test equipment Make system) comprehensive record and the playback to failure conditions.;For the brand name computer for there are fixed configurations to combine, can test not With the hardware compatibility and stability of configuration (CPU/ memories/hard disk, the combination of different capabilities different vendor);Environmental structure is simple, Test is full-automatic, and test result analysis is easy
Description of the drawings
Fig. 1 is the state change schematic diagram of chamber and AC Source in the embodiment of the present invention.
Specific implementation mode
Explanation of nouns:
AC Source:Programmable AC power supply.
Grub:GNU GRUB (GRand Unified Bootloader are referred to as " GRUB ") are one from GNU projects Multiple operating system startup program.GRUB is the realization for starting specification more, and it is more that it allows user that can simultaneously possess in computer A operating system, and the operating system run is wished in selection in computer starting.GRUB can be used for selection operation system partitioning On different kernels, it can also be used to these kernels transmit start-up parameter.
The following detailed description of specific embodiments of the present invention.
Present embodiment by taking Ubuntu 14.04LTS (GNU/Linux 3.13.0-24-generic x86_64) as an example into Row test, testing tool:Server one, AC Source, test main frame one, DV mono-, temperature test chamber one.
1. changing BIOS:Set server to energization Auto Power On.
2. changing Linuxg Grub settings:When unexpected shutdown, it is easy to cause system to rest on grub guiding interface, need Carriage return could enter system, at this moment change system configuration file, and vim/boot/grub/grub.cfg finds following one section, will Timeout=-1 makes timeout=2 (being more than zero arbitrary number, unit is the second) into.
fi
terminal_output gfxterm
If [" $ { recordfail } "=1];then
This journey -1 (is changed to 2) by set timeout=-1
else
If [x $ feature_timeout_style=xy];then
Set timeout_style=menu
3. by the external test main frame of serial ports, OCTOPUS softwares are run, state when monitoring BIOS starts (also may be used herein Equipment to meet other monitoring bios, such as the more advanced equipment of Intel ITP), the display of Connection Service device, side are recorded with DV The case where being reappeared at that time according to the time of log records when just pinpointing the problems.
4. changing system configuration file:Modification system to realize automatic shutdown after booting, and records the available machine time,
Cp/etc/rc.local/etc/rcbackup/ backup rc.local original documents/
The file that newly-built one of touch/root/log/ is used to store log/
Vim/etc/rc.loacl/ changes rc.local, and following code (two kinds of different schemes) is added inside file:
(1) how many times (number for being successfully entered system) need to be successfully started up by script design server:
(2) being powered by AC Source setting servers, (i.e. server is powered not necessarily enters system to startup how many times Number):
date>>The available machine time of log/every time is recorded in inside log files/
Sleep 10/waiting ten seconds/
Poweroff/shutdown/
After the completion of the number of AC Source settings to be done, booting enters single user mode, executes cat/etc/ rcbackup>/etc/rc.local
5. chamber and AC Source settings.
In order to make server completely it is cold, we set server energization 5 minutes, then power off it is cold set 15 minutes, need Chamber and AC Source synchronous matchings are completed.It is first that server is cold at -5 DEG C to set 2 hours, the temperature after equipment is completely cold Degree rises to 0 DEG C, and server is powered, and (maximum time of the equipment from energization booting to automatic shutdown of shutdown in ten seconds is waited for after energization It is 5 minutes, is more than to calculate fail).In order to ensure server can be cold, temperature is reduced to -5 DEG C from 0 DEG C after device powers down, It is stood at -5 DEG C and restores 0 DEG C, then the booting that is powered after five minutes, shutdown ceaselessly recycles, and after the completion of test, server need to be in room temperature It is lower to stand two hours.
This process is as shown in Figure 1.
If equipment needs are sold in worldwide, AC Source can also be set, will be owned in the world Each test 50 times of mainstream voltage type, i.e., the amplitude and frequency of that the five minutes voltages that is powered every time need to include the class of following table Type, each type test 50 times such as following table:
6. collecting test log:A. the log ,/root/log of available machine time record, order:Wc-l/root/log can be looked into See the number being entirely switched on, concrete analysis can be calculated by excel and is switched on twice interval time, if the time must more than 25 minutes So there is the case where boot failure.When b.bios monitors log boot failures, corresponding bios leader records c.linux can be checked / var/log/syslog, by being switched on, log and bios log can only have found whether booting is normal, checks that syslog can be seen Whether shutdown has exception, bios normal boots system but system, and there is no the log normally started.D.DV can help to reappear booting Specific situation when abnormal or shutdown is abnormal.
Patent of the present invention discloses a kind of a kind of test method of test server cold-starting, by AC Source And the setting of script, after making equipment and component every time cold start it is right in the case where equipment also has residual temperature to prevent The influence of test result.This test not only starts booting to equipment and is tested, and has still carried out corresponding test to shutdown, and And it eliminates abnormal shutdown and is influenced caused by test.This test not only has hardware and component comprehensive test, Stability test also is carried out to the Linux system of non-release of some enterprise self-determinings exploitation and the bios of independent development.This Test also achieves the test to AC power supplies module and voltage compatibility.This test provides very detailed log, for finding Reproduction problem is gone to provide a great help after problem.This test can not only be tested under Linux system, Also same test can be carried out under windows systems, can only lack the syslog under the exclusive var files of a linux.This survey Examination can not only be run at linux, can also be run at windows, but it is exclusive to lack a linux syslog.There is the server that fixed Combination configures for CPU, Memor, HDD, the above survey can be done respectively with different configurations Hardware compatibility test is completed in examination.The parameter setting of this test can be changed according to user's concrete condition, such as conduction time, cold It sets the time, also chamber temperature etc..This test has carried out server comprehensive detection test from component to system, with As much as possible expose various problems.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the present invention's Protection domain.

Claims (4)

1. the startup test method of a server at low ambient temperatures, it is characterised in that:The test method includes the following steps: A. BIOS is changed, sets server to energization Auto Power On;B. change Linuxg Grub settings, after ensureing server booting It can smoothly enter into system;C. by the external test main frame of serial ports, state when monitoring BIOS starts;D. modification system configuration text Part:Modification system to realize automatic shutdown after booting, and records the available machine time;E. chamber and AC Source are set, wherein AC Source indicate programmable AC power supply, ensure that server starts in the case of completely cold;F. it collects Log is tested, test terminates.
2. startup test method according to claim 1, it is characterised in that:The step E ensures server completely cold Thoroughly in the case of start further include it is following step by step:E1. server is cold at -5 DEG C to set 2 hours;E2. by the chamber It is warming up to 0 DEG C, the AC Source start to power to server.
3. startup test method according to claim 2, it is characterised in that:The step E ensures server completely cold Thoroughly in the case of start further include it is following step by step:E3. server automatic shutdown under system control;E4. equipment is disconnected Chamber temperature is reduced to -5 DEG C from 0 DEG C after electricity, 5 minutes are stood at -5 DEG C;E5. repeat the above steps E2 to E4 to service Device test is completed.
4. startup test method according to claim 3, it is characterised in that:The step E ensures server completely cold Thoroughly in the case of start further include it is following step by step:E6. after the completion of testing, server stands two hours at normal temperatures.
CN201510238030.0A 2015-05-11 2015-05-11 A kind of startup test method of server at low ambient temperatures Active CN104850473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510238030.0A CN104850473B (en) 2015-05-11 2015-05-11 A kind of startup test method of server at low ambient temperatures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510238030.0A CN104850473B (en) 2015-05-11 2015-05-11 A kind of startup test method of server at low ambient temperatures

Publications (2)

Publication Number Publication Date
CN104850473A CN104850473A (en) 2015-08-19
CN104850473B true CN104850473B (en) 2018-10-12

Family

ID=53850128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510238030.0A Active CN104850473B (en) 2015-05-11 2015-05-11 A kind of startup test method of server at low ambient temperatures

Country Status (1)

Country Link
CN (1) CN104850473B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262430A (en) * 2010-05-28 2011-11-30 微软公司 Automatically starting servers at low temperatures
CN102262607A (en) * 2011-05-04 2011-11-30 山东超越数控电子有限公司 Method for acquiring temperature information in personal computer (PC) by using I<2>C bus
CN102520370A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Server switching power supply testing method and server switching power supply testing device
CN104375910A (en) * 2014-11-24 2015-02-25 浪潮电子信息产业股份有限公司 Automated startup and shutdown testing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7869905B2 (en) * 2008-02-07 2011-01-11 Oracle America, Inc. Method and apparatus for using a heater to control the temperature of a power supply in a computer system
US8176308B2 (en) * 2008-09-18 2012-05-08 Getac Technology Corporation Method for activating a computer system in a low temperature environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262430A (en) * 2010-05-28 2011-11-30 微软公司 Automatically starting servers at low temperatures
CN102262607A (en) * 2011-05-04 2011-11-30 山东超越数控电子有限公司 Method for acquiring temperature information in personal computer (PC) by using I<2>C bus
CN102520370A (en) * 2011-12-31 2012-06-27 曙光信息产业股份有限公司 Server switching power supply testing method and server switching power supply testing device
CN104375910A (en) * 2014-11-24 2015-02-25 浪潮电子信息产业股份有限公司 Automated startup and shutdown testing method

Also Published As

Publication number Publication date
CN104850473A (en) 2015-08-19

Similar Documents

Publication Publication Date Title
TWI303383B (en) Method and apparatus for remote modification of system configuration
JP6530774B2 (en) Hardware failure recovery system
TWI530790B (en) System boot code recovery method, computing system, and controller for use in a system
US7203865B2 (en) Application level and BIOS level disaster recovery
TWI291652B (en) Debugging device using a LPC interface capable of recovering functions of BIOS, and debugging method therefor
US20150154092A1 (en) Bios maintenance method
CN102541704B (en) Testing method for RAID (redundant array of independent disk) cards
CN102546224A (en) Remote management system and method for server
JP2013156993A (en) Methods of configuring bios in computer system and computer program products
CN102541711B (en) Method for testing X86 architecture server mainboards
CN103257922B (en) A kind of method of quick test BIOS and OS interface code reliability
CN109240865A (en) A kind of AC test method, device, terminal and the storage medium of AEP memory
CN101441589A (en) Detection method of substrate management controller and server thereof
CN102567171A (en) Method for testing blade server mainboard
CN102880527A (en) Data recovery method of baseboard management controller
JP6711933B2 (en) Power supply fan recovery process
CN104850473B (en) A kind of startup test method of server at low ambient temperatures
CN111475353B (en) Method and system for detecting NVDIMM memory of production line
CN112925685A (en) Handheld server field operation and maintenance tool
CN103109265B (en) The method and system of system maintenance is performed in calculating equipment
CN105630523A (en) Computer BIOS data recovery system and method
CN110886716A (en) Test method and system for monitoring running state of server fan
US11194684B2 (en) Information handling system and methods to detect power rail failures and test other components of a system motherboard
CN106940582A (en) A kind of control method and electronic equipment
US10599412B2 (en) Operating system installation on a computing device with multiple redundant drives

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170512

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets Park seven Shenzhen Digital Technology Park B1 building 3 floor C District

Applicant after: Shenzhen Tong Yi Yi Information Technology Co., Ltd.

Address before: 518000 Guangdong province Shenzhen city Nanshan District high tech park, seven Shenzhen City Digital Technology Park B1 building 3 floor C District

Applicant before: Shenzhen Guo Xinheng space Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant