CN104932977A - Automatic restart testing method for Solaris system - Google Patents

Automatic restart testing method for Solaris system Download PDF

Info

Publication number
CN104932977A
CN104932977A CN201510322985.4A CN201510322985A CN104932977A CN 104932977 A CN104932977 A CN 104932977A CN 201510322985 A CN201510322985 A CN 201510322985A CN 104932977 A CN104932977 A CN 104932977A
Authority
CN
China
Prior art keywords
reboot
file
solaris
catalogue
desktop
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
CN201510322985.4A
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 CN201510322985.4A priority Critical patent/CN104932977A/en
Publication of CN104932977A publication Critical patent/CN104932977A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides an automatic restart testing method of a Solaris system, which relates to the technical field of server detection, and comprises the steps of establishing a restart script file after finding a startup starting directory of the Solaris system, establishing a reboot.sh file under a Desktop directory, and operating the reboot.sh file; the system checks the number of restarts when restarting. The method can effectively find various hidden dangers in the computer starting link in the server design, can effectively improve the working efficiency of testers, saves the labor cost and improves the accuracy and reliability of the work.

Description

A kind of solaris system autoboot method of testing
Technical field
The present invention relates to server detection technique field, particularly relate to a kind of solaris system autoboot method of testing.
Background technology
Along with the high speed development of server industries, the core application of the server operation that increasing client adopts computing power stronger in every field oneself.INSPUR tide as largest domestic server provider, in order to meet the client of highly-parallel and high performance demands, while raising performance server, the quality of general emphasis product and and reliability and stability.
According to experience in the past and theoretical analysis, server unloading phase be the most easily problem occurs.After server powers up, connection all devices in systems in which can be scanned, can Resourse Distribute be carried out to all devices and attempt carrying out initialization action and self-checking behavior to all devices simultaneously.Problem greatly in product design can come out in this stage, and after startup of server completes and enters stable operation stage, the problem in a lot of design is not easy reproduction on the contrary.Therefore, as long as frequently carry out restarting test, allow system constantly scan all devices, Resourse Distribute, initialization and self-checking behavior, just can expose the quality problems in product design with comparalive ease.
Summary of the invention
Now comparing in testing and focused on restarting test to server, in order to solve above technical matters, the present invention proposes a kind of solaris system autoboot method of testing.
Technical scheme of the present invention is:
A kind of solaris system autoboot method of testing,
Testing process:
1) solaris system starting up catalogue/etc/rc2.d/ is found
2) under the catalogue of/etc/rc2.d/, a script file of restarting is set up
#!/bin/bash
sh /Desktop/reboot.sh &
3) under/Desktop catalogue, reboot.sh file is set up
#!/bin/bash
echo reboot >> /Desktop/times.txt
sleep 45
reboot
4) reboot.sh file is run
5) use wc – l times.txt order to check during system reboot and restart number of times.
Under the catalogue of/etc/rc2.d/, preferably set up the script file of a S99reboot.
The invention has the beneficial effects as follows.
Utilize the method can carry out robotization to the server installing solaris system simply and easily and restart test, in the various hidden danger of computer starting link in effective discovery server design, effectively improve the work efficiency of tester, save human cost, improve accuracy and the reliability of work.
Embodiment
More detailed elaboration is carried out to content of the present invention below:
Testing process:
1) solaris system starting up catalogue/etc/rc2.d/ is found
2) under the catalogue of/etc/rc2.d/, set up the script file of a S99reboot
#!/bin/bash
sh /Desktop/reboot.sh &
3) under/Desktop catalogue, reboot.sh file is set up
#!/bin/bash
echo reboot >> /Desktop/times.txt
sleep 45
reboot
4) reboot.sh file is run
5) use wc – l times.txt order to check during system reboot and restart number of times.

Claims (3)

1. a solaris system autoboot method of testing, is characterized in that,
Comprise five steps:
1) solaris system starting up catalogue/etc/rc2.d/ is found
2) under the catalogue of/etc/rc2.d/, a script file of restarting is set up
#!/bin/bash
sh /Desktop/reboot.sh &
3) under/Desktop catalogue, reboot.sh file is set up
#!/bin/bash
echo reboot >> /Desktop/times.txt
sleep 45
reboot
4) reboot.sh file is run
5) check during system reboot and restart number of times.
2. autoboot method of testing according to claim 1, is characterized in that,
The script file of a S99reboot is set up under the catalogue of/etc/rc2.d/.
3. autoboot method of testing according to claim 1, is characterized in that,
Use wc – l times.txt order to check during system reboot and restart number of times.
CN201510322985.4A 2015-06-12 2015-06-12 Automatic restart testing method for Solaris system Pending CN104932977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510322985.4A CN104932977A (en) 2015-06-12 2015-06-12 Automatic restart testing method for Solaris system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510322985.4A CN104932977A (en) 2015-06-12 2015-06-12 Automatic restart testing method for Solaris system

Publications (1)

Publication Number Publication Date
CN104932977A true CN104932977A (en) 2015-09-23

Family

ID=54120149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510322985.4A Pending CN104932977A (en) 2015-06-12 2015-06-12 Automatic restart testing method for Solaris system

Country Status (1)

Country Link
CN (1) CN104932977A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528266A (en) * 2016-01-13 2016-04-27 浪潮电子信息产业股份有限公司 Convenient automatic restarting method for SLES12 system
CN105700997A (en) * 2016-01-05 2016-06-22 浪潮电子信息产业股份有限公司 Method for testing restart server and recording restart times under DOS
CN106354599A (en) * 2016-08-25 2017-01-25 浪潮电子信息产业股份有限公司 Automatic restart testing method for Solaris11 series servers
CN107153611A (en) * 2017-05-09 2017-09-12 郑州云海信息技术有限公司 A kind of method of RHEL7&CentOS7 systems Reboot tests
CN108897694A (en) * 2018-07-26 2018-11-27 郑州云海信息技术有限公司 A kind of method and device of NAS engine automatic test
CN111879299A (en) * 2020-08-17 2020-11-03 中国科学院上海天文台 Full-automatic satellite pointing method for ground-based telescope

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681389B1 (en) * 2000-02-28 2004-01-20 Lucent Technologies Inc. Method for providing scaleable restart and backout of software upgrades for clustered computing
CN103744764A (en) * 2013-12-26 2014-04-23 浪潮电子信息产业股份有限公司 Crontab based whole computer memory stability test method
CN103970660A (en) * 2014-05-19 2014-08-06 浪潮电子信息产业股份有限公司 Total system stability automatic test method based on crontab

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681389B1 (en) * 2000-02-28 2004-01-20 Lucent Technologies Inc. Method for providing scaleable restart and backout of software upgrades for clustered computing
CN103744764A (en) * 2013-12-26 2014-04-23 浪潮电子信息产业股份有限公司 Crontab based whole computer memory stability test method
CN103970660A (en) * 2014-05-19 2014-08-06 浪潮电子信息产业股份有限公司 Total system stability automatic test method based on crontab

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LINUX: "实现linux在关机或重启时自动执行某个任务", 《HTTP://WWW.LINUXIDC.COM/LINUX/2007-06/4892.HTM》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700997A (en) * 2016-01-05 2016-06-22 浪潮电子信息产业股份有限公司 Method for testing restart server and recording restart times under DOS
CN105528266A (en) * 2016-01-13 2016-04-27 浪潮电子信息产业股份有限公司 Convenient automatic restarting method for SLES12 system
CN106354599A (en) * 2016-08-25 2017-01-25 浪潮电子信息产业股份有限公司 Automatic restart testing method for Solaris11 series servers
CN107153611A (en) * 2017-05-09 2017-09-12 郑州云海信息技术有限公司 A kind of method of RHEL7&CentOS7 systems Reboot tests
CN108897694A (en) * 2018-07-26 2018-11-27 郑州云海信息技术有限公司 A kind of method and device of NAS engine automatic test
CN111879299A (en) * 2020-08-17 2020-11-03 中国科学院上海天文台 Full-automatic satellite pointing method for ground-based telescope
CN111879299B (en) * 2020-08-17 2022-04-15 中国科学院上海天文台 Full-automatic satellite pointing method for ground-based telescope

Similar Documents

Publication Publication Date Title
CN104932977A (en) Automatic restart testing method for Solaris system
CN104536875A (en) IPMI-based method for carrying out automatic restart test on server
CN104375910A (en) Automatic power-on and power-off test method
CN103973515A (en) Network card stability testing method
CN105975856A (en) Method and system for dynamic virus detection of mobile terminal
CN106201799A (en) Test method for DC restart of server based on ipmi service
CN105335265A (en) LINUX platform-based BMC upgrading and downgrading automatic testing method
CN105068900A (en) Testing method for remote control server cold reboot
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
CN104679651A (en) Automatic testing method and executing node
CN102710788A (en) Rapid and unattended operation system
CN103218276A (en) Method and system for multi-node incremental backup
CN105260275A (en) Startup and shutdown testing method suitable for automatic configuration partition of high-end host
CN104615519A (en) Method for detecting whether memory capacity of server is lost or not under LINUX system
CN105302611A (en) Method and system for starting computer system under Linux
CN106354599A (en) Automatic restart testing method for Solaris11 series servers
CN105068899A (en) Automatic restart stability test method under Vmware system
CN103793302A (en) Debugging device
CN105426304A (en) Control method and device of restart test
CN106055445A (en) Automatic CPU pressure testing method
CN106547583B (en) Operating system installation method and device
CN110806967A (en) Unit testing method and device
CN202679420U (en) Fast unattended operation system
CN103559134A (en) Configuration method and device for benchmark test component

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: 20150923