CN109901871A - The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux - Google Patents

The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux Download PDF

Info

Publication number
CN109901871A
CN109901871A CN201910152627.1A CN201910152627A CN109901871A CN 109901871 A CN109901871 A CN 109901871A CN 201910152627 A CN201910152627 A CN 201910152627A CN 109901871 A CN109901871 A CN 109901871A
Authority
CN
China
Prior art keywords
burn
test
linux
environment configurations
installation
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.)
Withdrawn
Application number
CN201910152627.1A
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910152627.1A priority Critical patent/CN109901871A/en
Publication of CN109901871A publication Critical patent/CN109901871A/en
Withdrawn legal-status Critical Current

Links

Abstract

The present invention provides and realizes the environment configurations of burn-in test and the method for operation automatically under a kind of Linux, comprising the following steps: each node carries out the installation of OS, and downloads automation installation script to local;Operation automation installation script;Run cluster burn-in test.The present invention enormously simplifies the operating process of burn-in test, especially for blade server, easily realizes the environment configurations and burn-in test to great deal of nodes.This method is truly realized automation, the facilitation of burn-in test in the application of producing line.In addition, this method will also have practical and deep meaning for the deployment of large construction cluster environment.

Description

The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux
Technical field
The present invention relates to realize the environment configurations of burn-in test and the method for operation automatically under a kind of Linux.
Background technique
With the continuous development of IT field technology, Informatization Service is higher and higher to the stability and reliability of server. As server product provider, it is essential that a server carries out complete and comprehensive product testing before formal shipment 's.And being continuously increased with server shipment amount, except the stability and reliability for guaranteeing product, the process of product testing Change, automate, high efficiency also becomes essential.Detection automation, can be purchase of equipment, be also possible to write automation survey Trial work tool, reduces as far as possible or is not required to man-machine interactively process to reach, and is directly realized by the purpose of pipelining detection.
Summary of the invention
The present invention is proposed to realize the environment configurations of burn-in test and the method for operation automatically under a kind of Linux, be greatly simplified The operating process of burn-in test is easily realized especially for blade server to the environment configurations of great deal of nodes and old Change test, realizes automation, the facilitation of burn-in test.
The present invention provides and realizes the environment configurations of burn-in test and the method for operation automatically under a kind of Linux, including following Step:
Each node carries out the installation of OS, and downloads automation installation script to local;
Operation automation installation script;
Run cluster burn-in test.
Further, each node carries out the installation of OS, and downloads automation installation script to local, specifically includes: PXE server is set up, the installation of each node OS is completed, and downloads automation installation script to node local.
Further, the operation automation installation script specifically includes: clustered software operation institute is completed on each node Need the configuration of environment;Carry out the automation installation of clustered software.
Further, the clustered software is linpack clustered software, the environment configurations that installation linpack needs to carry out It is as follows:
Configuration/etc/hosts;
Configuration/etc/mpd.conf ,/etc/hosts.equiv ,/root/.rhosts ,/root/.mpd.conf are generated Ssh secret key pair, and establish the Trusted channel between each node;
Configuration network file: procedure judges node location is network configuration network interface card information needed for clustered software, to protect Demonstrate,prove normal foundation, the operation of cluster.
Further, the automation installation for carrying out clustered software is based on the expect tool in linux.
Further, the clustered software is linpack clustered software, and program will judge automatically reading output information, and Specified input is provided, the process of man-machine interactively needed for software installation is completed;When software is completed to install, program will be judged And enter the installation of next software, the intervention without people.
Further, the operation cluster burn-in test, specifically includes:
Automatically each nodal information is collected, and saves as document for checking;
If nodal information is errorless, bring into operation cluster burn-in test, all nodal parallel work.
Further, the nodal information includes CPU, MEM of node, operational network state and bandwidth information.
The present invention enormously simplifies the operating process of burn-in test, especially for blade server, easily realizes pair The environment configurations and burn-in test of great deal of nodes.This method is truly realized the automation, just of burn-in test in the application of producing line Victoryization.In addition, this method will also have practical and deep meaning for the deployment of large construction cluster environment.
Detailed description of the invention
Fig. 1 is flow chart of the invention;
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
As shown in Figure 1, the present invention provides realize the environment configurations of burn-in test and the side of operation automatically under a kind of Linux Method, comprising the following steps:
Each node carries out the installation of OS, and downloads automation installation script to local;
Operation automation installation script;
Run cluster burn-in test.
Preferably, each node carries out the installation of OS, and downloads automation installation script to local, specifically includes: frame If PXE server, the installation of each node OS is completed, and downloads automation installation script to node local.
Preferably, the operation automation installation script specifically includes: is completed needed for clustered software operation on each node The configuration of environment;Carry out the automation installation of clustered software.
Preferably, clustered software is by taking linpack clustered software as an example, and the environment configurations that installation linpack needs to carry out are such as Under:
Configuration/etc/hosts;Hosts file is the text of the responsible address ip and domain name fast resolving on linux system Part, be stored in ascii format/etc/ catalogue under.Hosts file contains the mapping between the address ip and host name, also wraps Include the alias of host.In the case where no domain name resolution server, the all-network program in system all passes through inquiry this article Part parses the address ip corresponding to some host name.
Configuration/etc/mpd.conf ,/etc/hosts.equiv ,/root/.rhosts ,/root/.mpd.conf are generated Ssh secret key pair, and establish the Trusted channel between each node;By establishing Trusted channel, can be achieved between each node Freely exchange visits, without input log in confirmation message.
Configuration network file: procedure judges node location is network configuration network interface card information needed for clustered software, to protect Demonstrate,prove normal foundation, the operation of cluster.
Preferably, the automation installation for carrying out clustered software is based on the expect tool in linux.
Expect is a free programming tool language, for realizing that automatic and interactive task is communicated, and nothing Need the intervention of people.Script can be created using it to be used to realize to order or program offer input, and these orders and program are It is expected that being inputted from terminal (terminal), in general these inputs require to manually enter progress.Expect then may be used Realize that interactive program executes to be supplied to the input of program needs according to the input of the prompt mock standard of program.
Expect script is by a series of expect-send to forming: the middle specific character of output to be output such as expect leads to It is often a prompt, then sends specific response.
Preferably, clustered software is column with linpack clustered software, and program will judge automatically reading output information, and give Input is specified out, completes the process of man-machine interactively needed for software installation;When software is completed to install, program will be judged simultaneously Intervention into the installation of next software, without people.
Preferably, the operation cluster burn-in test, specifically includes:
Automatically each nodal information is collected, and saves as document for checking;
If nodal information is errorless, bring into operation cluster burn-in test, all nodal parallel work.
Software installation and environment deployment are completed, can bring into operation cluster burn-in test, and in this process, program will Automatically the information such as CPU, MEM, operational network state and the bandwidth of each node are collected, and saves as document and is checked for result.If with Upper information confirms errorless, and bring into operation cluster burn-in test, all nodal parallels work.
The method of automation cluster test environment configurations and operation of this method based on expect tool a kind of under Linux, Feature is automation installation test software on the machine that can install linux system at more by internet and is automatically performed Environment configurations are tested in other various network environments configurations of more machines, cluster, and can automatic running burn-in test according to demand, Without carrying out man-machine interactively.This method will be particularly useful for blade server (because its high density, node are more), eliminate completely The artificial software installation for carrying out great deal of nodes, cluster environment configuration and automatic operating.By this method, machine need to only be put to Burn-in chamber connects server, can be automatically performed burn-in test.

Claims (8)

1. the environment configurations of burn-in test and the method for operation are realized under a kind of Linux automatically, which is characterized in that including following step It is rapid:
Each node carries out the installation of OS, and downloads automation installation script to local;
Operation automation installation script;
Run cluster burn-in test.
2. the environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux as described in claim 1, it is special Sign is that each node carries out the installation of OS, and downloads automation installation script to local, specifically includes: setting up PXE service Device, completes the installation of each node OS, and downloads automation installation script to node local.
3. the environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux as described in claim 1, it is special Sign is that the operation automation installation script specifically includes: matching for environment needed for clustered software is run is completed on each node It sets;Carry out the automation installation of clustered software.
4. the environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux as claimed in claim 3, it is special Sign is that the clustered software is linpack clustered software, and the environment configurations that installation linpack needs to carry out are as follows:
Configuration/etc/hosts;
Configuration/etc/mpd.conf ,/etc/hosts.equiv ,/root/.rhosts ,/root/.mpd.conf generate ssh Secret key pair, and establish the Trusted channel between each node;
Configuration network file: procedure judges node location is network configuration network interface card information needed for clustered software, to guarantee to collect Normal foundation, the operation of group.
5. the environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux as claimed in claim 3, it is special Sign is that the automation installation for carrying out clustered software is based on the expect tool in linux.
6. the environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux as claimed in claim 5, it is special Sign is, the clustered software is linpack clustered software, and program will judge automatically reading output information, and provide specify it is defeated Enter, completes the process of man-machine interactively needed for software installation;When software is completed to install, program will judge and enter next The installation of software, the intervention without people.
7. the environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux as described in claim 1, it is special Sign is that the operation cluster burn-in test specifically includes:
Automatically each nodal information is collected, and saves as document for checking;
If nodal information is errorless, bring into operation cluster burn-in test, all nodal parallel work.
8. the environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux as claimed in claim 7, it is special Sign is that the nodal information includes CPU, MEM of node, operational network state and bandwidth information.
CN201910152627.1A 2019-02-28 2019-02-28 The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux Withdrawn CN109901871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910152627.1A CN109901871A (en) 2019-02-28 2019-02-28 The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910152627.1A CN109901871A (en) 2019-02-28 2019-02-28 The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux

Publications (1)

Publication Number Publication Date
CN109901871A true CN109901871A (en) 2019-06-18

Family

ID=66945818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910152627.1A Withdrawn CN109901871A (en) 2019-02-28 2019-02-28 The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux

Country Status (1)

Country Link
CN (1) CN109901871A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131195A (en) * 2020-08-18 2020-12-25 深圳市风云实业有限公司 Aging test cluster type management method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131195A (en) * 2020-08-18 2020-12-25 深圳市风云实业有限公司 Aging test cluster type management method
CN112131195B (en) * 2020-08-18 2024-04-16 深圳市风云实业有限公司 Cluster type management method for aging test

Similar Documents

Publication Publication Date Title
CN103970655A (en) Server automatic cluster testing method based on expect
KR102158754B1 (en) Method and apparatus for operating on smart network interface card
CN111683066B (en) Heterogeneous system integration method, heterogeneous system integration device, computer equipment and storage medium
CN105260299A (en) Method, device, and system for software test
JP6201917B2 (en) System and method for configuring field devices
CN104199725A (en) Service interface data simulation method and system
CN106936633B (en) Application installation package manufacturing method and server
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN102594914A (en) Remote debugging method based on cloud platform
CN110858172A (en) Automatic test code generation method and device
CN111211934B (en) Cluster remote communication test method and system
CN113014445B (en) Operation and maintenance method, device and platform for server and electronic equipment
CN112540924A (en) Interface automation test method, device, equipment and storage medium
CN105487859A (en) Template based WEB deployment method for big data components
CN111651347A (en) Jump verification method, device, equipment and storage medium of test system
CN110765090B (en) Log data management method and device, storage medium and electronic equipment
CN111200523A (en) Middle station system configuration method, device, equipment and storage medium
TW201303615A (en) System and method for configuring a client device
CN109901871A (en) The environment configurations of burn-in test and the method for operation are realized automatically under a kind of Linux
CN102841843B (en) Compatible determination methods and device
CN103095698B (en) The restorative procedure of client software, device and communication system
CN103152215A (en) Testing system and testing method of data center
US9479396B2 (en) XML based generic UNIX discovery framework
CN111552663A (en) File consistency verification method and device, computer equipment and storage medium
CN111526039A (en) Electronic equipment opening method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190618