CN104932977A - Automatic reboot test method of Solaris system - Google Patents

Automatic reboot test method of 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
catalogue
file
test method
solaris
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

Abstract

The invention provides an automatic reboot test method of a Solaris system, and relates to the technical field of server detection. The automatic reboot test method comprises the following steps: after a boot startup catalogue of the Solaris system is found, establishing a reboot script file, establishing a rebot.sh file under a /Desktop catalogue, running the rebot.sh file; and checking reboot frequencies when a system is rebooted. The method can effectively find various hidden dangers of a computer boot link in server design, can effectively improve the working efficiency of test personnel, saves manpower cost and improves work accuracy and reliability.

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 reboot test method of 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 reboot test method of Solaris system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510322985.4A CN104932977A (en) 2015-06-12 2015-06-12 Automatic reboot test method of 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 reboot test method of 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 SLES12 system auto reboot method
CN105700997A (en) * 2016-01-05 2016-06-22 浪潮电子信息产业股份有限公司 Method for testing reboot of server under DOS and recording number of reboot times
CN106354599A (en) * 2016-08-25 2017-01-25 浪潮电子信息产业股份有限公司 Automatic restart testing method used for server of Solaris 11 series
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 reboot of server under DOS and recording number of reboot times
CN105528266A (en) * 2016-01-13 2016-04-27 浪潮电子信息产业股份有限公司 Convenient SLES12 system auto reboot method
CN106354599A (en) * 2016-08-25 2017-01-25 浪潮电子信息产业股份有限公司 Automatic restart testing method used for server of Solaris 11 series
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 reboot test method of Solaris system
CN104536875A (en) Automatic server restart testing method based on IPMI
CN103973515A (en) Network card stability testing method
CN104375910A (en) Automated startup and shutdown testing method
CN102222042B (en) Automatic software testing method based on cloud computing
CN105867975A (en) Method for batch refreshing of BMC based on LINUX platform
CN105068900A (en) Test method for remote control server cold reboot
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN102710788A (en) Rapid and unattended operation system
US20190294796A1 (en) Resolving anomalies for network applications using code injection
CN104679651A (en) Automatic testing method and executing node
CN104615519A (en) Method for detecting loss of memory capacity of server under LINUX system
CN109698772A (en) A kind of method and system for verifying network interface card PXE functional stabilization
CN105302611A (en) Method and system for starting computer system under Linux
CN106095680A (en) A kind of out of order automated testing method of checking disk being applied to Linux
CN105068899A (en) Automatic reboot stability test method for Vmware system
CN106354599A (en) Automatic restart testing method used for server of Solaris 11 series
US20160112285A1 (en) Apparatus and method for detecting abnormal connection
CN103793302A (en) Debugging device
CN101562532A (en) System for automatically acquiring computer hardware information based on network environment and method thereof
CN109446101A (en) The automated testing method and device of BMC are restarted based on ipmi instruction
CN105426304A (en) Control method and device of restart test
CN104407887A (en) Method and device for dynamically loading programs of kernel module of embedded type system
CN103823730A (en) Drive detecting method based on domestic disc array

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

WD01 Invention patent application deemed withdrawn after publication