CN105404567A - Method for automatically controlling server aging time in Linux system - Google Patents

Method for automatically controlling server aging time in Linux system Download PDF

Info

Publication number
CN105404567A
CN105404567A CN201510725772.6A CN201510725772A CN105404567A CN 105404567 A CN105404567 A CN 105404567A CN 201510725772 A CN201510725772 A CN 201510725772A CN 105404567 A CN105404567 A CN 105404567A
Authority
CN
China
Prior art keywords
pressure test
time
server
test
sequence number
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
CN201510725772.6A
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 CN201510725772.6A priority Critical patent/CN105404567A/en
Publication of CN105404567A publication Critical patent/CN105404567A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method for automatically controlling the server aging time in a Linux system, and belongs to the technical field of server production automation test. The method comprises the following steps of installing a Linux operating system on a server, and setting up environment required by software running; starting the server to enter the Linux operating system; automatically running a pressure test program; enabling the pressure test program to firstly set the variables of the default pressure test time, wherein the variables include the CPU (Central Processing Unit) and memory pressure test time and hard disk pressure test time variables; then, obtaining the machine serial number; searching the corresponding order number through the serial number; searching whether a corresponding order has the corresponding pressure test time requirements or not; next, searching whether the pressure test time of the specified serial number exists or not; finally, performing pressure test according to the searching result; and automatically uploading the test result after the test completion. The aging pressure test time is set through a webpage. Simplicity, convenience and high speed are realized.

Description

A kind of method of automatic Control Server digestion time under linux system
Technical field
The present invention relates to server production automation measuring technology, a kind of method of automatic Control Server digestion time under particularly relating to linux system.Use a kind of test macro and program, by peripheral webpage setup times, carry out the pressure test time test of different product, different order, different sequence number.
Background technology
In server production run, need to carry out the pressure test of analog subscriber environment for use to server, reliably requirement stable when client uses with Deterministic service device.
Under existing linux system, the method for Control Server digestion time is: the set pressure test duration in program, needs to change during different digestion times, use different pressure test programs.The method is for the server stress test needing multiple different digestion time, and complex operation, needs to remember each pressure test program and corresponding time, not easy to operate, and easily occurs mistake.
Summary of the invention
Technical assignment of the present invention be to provide a kind of easy-operating, can according to order, sequence number setting different pressures test time, the method for automatic Control Server digestion time under a kind of linux system of raising efficiency.
This method designs a kind of automatic program identification, controls user according to order number or the method for sequence number set pressure test duration.The priority level of procedure identification is followed successively by from high to low: sequence number, order number, general-purpose machinery.If pressure test program tests end at the appointed time, then automatic cycle carries out reaching the test stipulated time.Program is collected in all pressure testing results upload server databases and is preserved.
Technical scheme of the present invention is
Under linux system, a method for automatic Control Server digestion time, comprises the steps:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), the acquiescence pressure test time is set, comprises CPU, memory pressure test duration and hard disk pressure test time
(4), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(5), search by order number the setting whether this order exists the particular pressure test duration;
(6), search by sequence number the setting whether this sequence number exists the particular pressure test duration;
(7), according to the result that finds carry out pressure test, its pressure test time requirement order is: sequence number requires to be the first priority, is secondly order requirements, as without particular/special requirement, carries out pressure time test according to default value;
(8), after pressure test terminates, in the database uploaded onto the server after test data can being calculated, record is carried out.
Wherein step (2), pressure test program is automatic operation, does not need human intervention, is a kind of automated testing method.
About step (5), (6), (7), the method is one kind of multiple control modes and deposits, and can carry out the method for different pressures time test according to real needs.
About (8), test terminates automatically to upload test result afterwards.
The invention has the beneficial effects as follows:
(1), the digestion time of different order, sequence number can be set by a program, do not need again by amendment, select burn-in test program, greatly reduce the complexity of operation;
(2), can as required by webpage setting different machines the aging pressure test time, time setting customizes more, and applicability is stronger;
(3), by webpage the aging pressure test time is set, simple and easy, convenient.
Accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention;
Fig. 2 arranges digestion time webpage schematic diagram by order;
Fig. 3 arranges digestion time webpage schematic diagram by sequence number.
Embodiment
With reference to Figure of description and specific embodiment, Control Server digestion time method automatic under of the present invention kind of linux system is described in detail below.
Embodiment 1:
Order is certain key customer's order, and carry out special aging pressure test time management by order, set pressure test duration total duration is 20 hours, wherein CPU, memory pressure test duration 18 hours, hard disk pressure test time 2 h.
Step is as follows:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(4), search by order number the setting whether this order exists the particular pressure test duration;
(5), the special digestion time of this order requirements is inquired about, setting program digestion time variable;
(6), by sequence number search the setting whether this sequence number exists the particular pressure test duration, checking sequence number does not have special digestion time requirement;
(7), circulating pressure test is carried out according to the order requirements time;
(8) aging pressure testing results, is uploaded in server database.
Embodiment 2:
Certain sequence number machine has fault, repeatedly after maintenance, and failture evacuation.For after the shipment of guarantee machine, fault no longer reappears, the pressure test time is increased to this machine, tests total duration 48 hours, wherein CPU, memory pressure test duration 40 hours, 8 hours hard disk pressure test time.
Step is as follows:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(4), search by order number the setting whether this order exists the particular pressure test duration;
(5), search by sequence number the setting whether this sequence number exists the particular pressure test duration;
(6), this sequence number requires special digestion time, arranges digestion time variable;
(7), circulating pressure test is carried out according to the order requirements time;
(8) aging pressure testing results, is uploaded in server database.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to 2 kinds of above-mentioned embodiments.On the basis of disclosed embodiment, described those skilled in the art can the different technical characteristic of combination in any, thus realizes different technical schemes.

Claims (3)

1. the method for automatic Control Server digestion time under linux system, is characterized in that comprising the steps:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), the acquiescence pressure test time is set;
(4), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(5), search by order number the setting whether this order exists the particular pressure test duration;
(6), search by sequence number the setting whether this sequence number exists the particular pressure test duration;
(7), according to the result that finds carry out pressure test, its pressure test time requirement order is: sequence number requires to be the first priority, is secondly order requirements, as without particular/special requirement, carries out pressure time test according to default value;
(8), after pressure test terminates, in the database uploaded onto the server after test data is calculated, record is carried out.
2. the method for automatic Control Server digestion time under a kind of linux system according to claim 1, is characterized in that, arranges the acquiescence pressure test time, comprises CPU, memory pressure test duration and hard disk pressure test time.
3. the method for automatic Control Server digestion time under a kind of linux system according to claim 1, is characterized in that, test terminates automatically to upload test result afterwards.
CN201510725772.6A 2015-10-30 2015-10-30 Method for automatically controlling server aging time in Linux system Pending CN105404567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510725772.6A CN105404567A (en) 2015-10-30 2015-10-30 Method for automatically controlling server aging time in Linux system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510725772.6A CN105404567A (en) 2015-10-30 2015-10-30 Method for automatically controlling server aging time in Linux system

Publications (1)

Publication Number Publication Date
CN105404567A true CN105404567A (en) 2016-03-16

Family

ID=55470065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510725772.6A Pending CN105404567A (en) 2015-10-30 2015-10-30 Method for automatically controlling server aging time in Linux system

Country Status (1)

Country Link
CN (1) CN105404567A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055444A (en) * 2016-06-07 2016-10-26 浪潮电子信息产业股份有限公司 Memory test method in aging test
CN107103426A (en) * 2017-04-26 2017-08-29 郑州云海信息技术有限公司 Batch deletes the method and device of sequence number and multiple order number binding relationships
CN108280003A (en) * 2018-01-19 2018-07-13 郑州云海信息技术有限公司 A kind of method and system of automatic Boot Server batch testing
CN113075487A (en) * 2021-03-31 2021-07-06 读书郎教育科技有限公司 Method for controlling aging test duration in factory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063354A (en) * 2009-11-18 2011-05-18 英业达股份有限公司 Pressure test method of server
CN102497293A (en) * 2011-12-08 2012-06-13 曙光信息产业(北京)有限公司 Hardware test analysis method of large-scale server
US20130083572A1 (en) * 2011-09-29 2013-04-04 Power Integrations, Inc. Protection for inadvertent missing feedback voltage signal
CN104850495A (en) * 2015-05-14 2015-08-19 曙光信息产业(北京)有限公司 Automatic detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063354A (en) * 2009-11-18 2011-05-18 英业达股份有限公司 Pressure test method of server
US20130083572A1 (en) * 2011-09-29 2013-04-04 Power Integrations, Inc. Protection for inadvertent missing feedback voltage signal
CN102497293A (en) * 2011-12-08 2012-06-13 曙光信息产业(北京)有限公司 Hardware test analysis method of large-scale server
CN104850495A (en) * 2015-05-14 2015-08-19 曙光信息产业(北京)有限公司 Automatic detection method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055444A (en) * 2016-06-07 2016-10-26 浪潮电子信息产业股份有限公司 Memory test method in aging test
CN107103426A (en) * 2017-04-26 2017-08-29 郑州云海信息技术有限公司 Batch deletes the method and device of sequence number and multiple order number binding relationships
CN108280003A (en) * 2018-01-19 2018-07-13 郑州云海信息技术有限公司 A kind of method and system of automatic Boot Server batch testing
CN113075487A (en) * 2021-03-31 2021-07-06 读书郎教育科技有限公司 Method for controlling aging test duration in factory

Similar Documents

Publication Publication Date Title
CN107480066B (en) Code coverage rate statistical method, device, storage medium, processor and terminal
CN105404567A (en) Method for automatically controlling server aging time in Linux system
KR102016812B1 (en) Method of Deriving and Visualizing the Causes of Process Malfunctions Through Machine Learning Model In Data Imbalance Environment
CN108681801B (en) Method and system for monitoring operation index in production process
CN110058998B (en) Software testing method and device
CN107102949B (en) Application program offline testing method and tool
CN102497293A (en) Hardware test analysis method of large-scale server
JP2022002126A (en) Method and device for defining stage for multivariate batch control analysis, and manufactured article
CN104007348A (en) Automated testing system and method thereof
CN104614656A (en) Semiconductor chip retest system and retest method thereof
CN103714501A (en) Method and system for medical equipment information acquisition, integration, configuration and detection maintenance
CN105357081A (en) Server test system, method, control system and method
CN104123397A (en) Automatic test device and method for Web page
CN108093275B (en) Data processing method and device
CN104182334A (en) Memory testing method and system for NUMA (non-uniform memory access) system
CN112446389A (en) Fault judgment method and device
CN110297749B (en) Method and terminal for testing new function
EP3336349B1 (en) Method and system for configuring wind turbines
US11567489B2 (en) Method and device for efficient fault analysis through simulated faults in a digital twin
CN113569762A (en) Method and apparatus for production line bottleneck analysis using vibration data
WO2016025229A1 (en) System and method for advanced process control
US9274515B2 (en) Systems and methods for recording data associated with the operation of foundation fieldbus devices
CN116359658A (en) Power equipment abnormality judgment method and device, electronic equipment and storage medium
CN112559313A (en) Test case setting method and device, storage medium and electronic equipment
CN110688296A (en) Automatic testing method for computerized rule configuration

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

Application publication date: 20160316

WD01 Invention patent application deemed withdrawn after publication