CN104182288A - Method for automatically testing power consumption of server cluster system - Google Patents

Method for automatically testing power consumption of server cluster system Download PDF

Info

Publication number
CN104182288A
CN104182288A CN201410405849.7A CN201410405849A CN104182288A CN 104182288 A CN104182288 A CN 104182288A CN 201410405849 A CN201410405849 A CN 201410405849A CN 104182288 A CN104182288 A CN 104182288A
Authority
CN
China
Prior art keywords
power consumption
server cluster
cluster system
automatic test
system power
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
CN201410405849.7A
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 CN201410405849.7A priority Critical patent/CN104182288A/en
Publication of CN104182288A publication Critical patent/CN104182288A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method for automatically testing power consumption of a server cluster system and belongs to the field of testing of computer systems. The method includes steps of (1) setting up an environment, to be specifically, installing an operating system, configuring a network and SSH, and finally preparing for testing; (2) deploying pressure, to be specifically, selecting system pressure; (3) capturing power consumption data at fixed time; (4) analyzing data; (5) collecting results. The method meets design requirements for periodically acquiring operation conditions of servers and capturing power consumption data and the like. In the method, calling relations among modules are clear to be understood and debugged conveniently. Meanwhile, testing time is greatly saved, and testing efficiency is improved.

Description

A kind of method of server cluster system power consumption automatic test
 
Technical field
The present invention relates to a kind of method of server cluster system power consumption test, belong to computer system detection field, specifically a kind of method of server cluster system power consumption automatic test.
Background technology
Server cluster just refers to a lot of server centered got up to carry out together same service, in client just as if only have a server.Thereby cluster can utilize a plurality of computing machines to carry out parallel computation and obtain very high computing velocity, also can backup with a plurality of computing machines, thereby make any one machine break whole system, still can normally move.Once install and moved Cluster Service on server, this server can add troops.Clustered operation can reduce Single Point of Faliure quantity, and has realized the high availability of clustered resource.Following each joint has briefly introduced the nodes ' behavior of trooping and creating and trooping in operation.In cluster of servers product, contain for installing on server and troop software and create the installation utility of trooping of newly trooping.Create while newly trooping, first on the computing machine of selecting as first member who troops, move this utility.The first step is to determine to troop title and to create cluster database and initial making cluster member list defines newly and troops.Windows server 2003 troops and has increased a function that cluster management arranges guide and uses cluster.exe Command Line Interface establishment (comprising from long-range establishment) to troop newly.The second step that establishment is trooped is that interpolation can be for the shared data memory device of all making cluster members.Like this, newly trooping with a node, the local data storage device of oneself and the common source of trooping of establishment---normally disk or data storage and connecting media resource.The final step that establishment is trooped is that utility is installed in operation on each computing machine that will become in addition making cluster member.Whenever new node is added to, troop when middle, new node all can obtain the copy of existing cluster database automatically from the original member who troops.When node adds or forms while trooping, Cluster Service can upgrade the privately owned configuration database copy of this node.
Server cluster is exactly one group of separate server by sharing storage space, relying on network to intercom mutually in brief, for client provides a kind of technology of high-performance and high-reliability service.When group system debugging, burn-in test, conventionally face the abnormal work environment such as high temperature, and in long pressure test, need regularly to understand ruuning situation, the crawl power consumption data of server, guarantee the operation that server can be stable.In the group system that multiple servers forms, when each node wherein and complete machine cabinet are done to power consumption test, in order to alleviate test job amount, to improve test mass, wish to realize to a certain extent the robotization to group system test.Method of testing mentioned in this article can be carried out regularly power consumption crawl and the data analysis of collecting is out processed all nodes.
The present invention is mainly that the test procedure by linux bash language compilation adds and calls some linux services and instrument is realized.Whole test procedure is divided into environmental structure, power consumption data, data analysis processing, 5 part compositions of collection are disposed, regularly captured to pressure.
Summary of the invention
The present invention is directed to deficiency and problem that prior art exists, a kind of method of server cluster system power consumption automatic test is provided, the concrete scheme of proposition is:
A method for server cluster system power consumption automatic test, is characterized in that concrete steps are:
1. environmental structure: installing operating system first, configuration network then, the then configuration of SSH, preliminary work before last test;
2. pressure is disposed: system pressure is selected;
3. regularly capture power consumption data;
4. data analysis is processed;
5. collection.
1. described step selects PXE fill operations system, and OS is linux.
Described step 1. configuration network is: IP mode can select dhcp or static, as long as be the same network segment, ping intercommunication between node.
The log that described step is prepared before test in 1. to comprise the IPMI service of opening, clear BMC record in script pretest.sh, read hard disk SN and temperature.
The described step 2. middle linpack or SPECpower or PTU of using is carried out pressure selection.
Described step is divided into regularly fill order function in 3. and power consumption captures function two parts; The cron instrument under fill order funcall Linux regularly, without manual intervention operation task task periodically; Power consumption captures funcall dmidecode and reads system and bios information, cpu, internal memory, hard disk information is crawled out simultaneously.
Excel form is processed and converted to the data that described step utilizes script analyse.sh to capture out getinfo.sh in 4..
The 5. middle collection BMC daily record of described step, moves to the .csv file in result in unified file and packs out.
Usefulness of the present invention is: power consumption automated testing method of the present invention is through multiple authentication on cluster server, and result shows that the method is feasible, and has well completed test assignment; The service that the method carries by invoke script and linux and instrument, in long pressure test, realized regular understanding server ruuning situation, capture the designing requirements such as power consumption data; In the method, between each module, call relation is clear, is convenient to understand and debugging, has greatly saved the test duration simultaneously, has improved testing efficiency.
Embodiment
In conjunction with concrete operations, can brief overview be that environmental structure, pressure are disposed, regularly captured power consumption data, data analysis processing, 5 parts of collection, concrete steps are as follows:
A method for server cluster system power consumption automatic test, is characterized in that concrete steps are:
1. environmental structure: installing operating system first, then configuration network, then the configuration of SSH, preliminary work before last test, selects PXE fill operations system, and OS is linux, IP mode can select dhcp or static, as long as for the same network segment, ping intercommunication between node, prepares to comprise in script pretest.sh log that the IPMI service of opening, clear BMC record, reads hard disk SN and temperature before test.
2. pressure is disposed: system pressure is selected, used linpack or SPECpower or PTU to carry out pressure selection;
3. regularly capture power consumption data, be divided into regularly fill order function and power consumption and capture function two parts; The cron instrument under fill order funcall Linux regularly, without manual intervention operation task task periodically; Power consumption captures funcall dmidecode and reads system and bios information, cpu, internal memory, hard disk information is crawled out simultaneously;
4. data analysis is processed, and excel form is processed and converted to the data of utilizing script analyse.sh to capture out getinfo.sh;
5. collection.The 5. middle collection BMC daily record of described step, moves to the .csv file in result in unified file and packs out.

Claims (8)

1. a method for server cluster system power consumption automatic test, is characterized in that concrete steps are:
1. environmental structure: installing operating system first, configuration network then, the then configuration of SSH, preliminary work before last test;
2. pressure is disposed: system pressure is selected;
3. regularly capture power consumption data;
4. data analysis is processed;
5. collection.
2. the method for a kind of server cluster system power consumption automatic test according to claim 1, is characterized in that 1. step select PXE fill operations system, and OS is linux.
3. the method for a kind of server cluster system power consumption automatic test according to claim 2, it is characterized in that step 1. configuration network be: IP mode can select dhcp or static, as long as be the same network segment, ping intercommunication between node.
4. the method for a kind of server cluster system power consumption automatic test according to claim 3, the log that it is characterized in that preparing before test during step 1. comprising the IPMI service of opening, clear BMC record in script pretest.sh, reads hard disk SN and temperature.
5. according to the method for a kind of server cluster system power consumption automatic test described in claim 1-4 any one, it is characterized in that using linpack or SPECpower or PTU to carry out pressure selection during step 2..
6. the method for a kind of server cluster system power consumption automatic test according to claim 5, is characterized in that being divided into regularly fill order function and power consumption crawl function two parts during step 3.; The cron instrument under fill order funcall Linux regularly, without manual intervention operation task task periodically; Power consumption captures funcall dmidecode and reads system and bios information, cpu, internal memory, hard disk information is crawled out simultaneously.
7. the method for a kind of server cluster system power consumption automatic test according to claim 6, is characterized in that the data of utilizing script analyse.sh to capture out getinfo.sh during step 4. process and convert to excel form.
8. the method for a kind of server cluster system power consumption automatic test according to claim 6, is characterized in that collecting BMC daily record during step 5., and the .csv file in result is moved in unified file and packed out.
CN201410405849.7A 2014-08-18 2014-08-18 Method for automatically testing power consumption of server cluster system Pending CN104182288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410405849.7A CN104182288A (en) 2014-08-18 2014-08-18 Method for automatically testing power consumption of server cluster system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410405849.7A CN104182288A (en) 2014-08-18 2014-08-18 Method for automatically testing power consumption of server cluster system

Publications (1)

Publication Number Publication Date
CN104182288A true CN104182288A (en) 2014-12-03

Family

ID=51963362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410405849.7A Pending CN104182288A (en) 2014-08-18 2014-08-18 Method for automatically testing power consumption of server cluster system

Country Status (1)

Country Link
CN (1) CN104182288A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system
CN104580217A (en) * 2015-01-09 2015-04-29 浪潮电子信息产业股份有限公司 Method for achieving ssh password-less batch access of nodes of Rack cabinet
CN104572379A (en) * 2015-01-29 2015-04-29 浪潮电子信息产业股份有限公司 RACK cabinet RMC login testing method
CN104598273A (en) * 2015-01-08 2015-05-06 浪潮电子信息产业股份有限公司 Method for optimizing and testing complete machine by specpower
CN104618190A (en) * 2015-02-04 2015-05-13 浪潮电子信息产业股份有限公司 Shell-based network bandwidth testing method under cluster environment
CN104639402A (en) * 2015-03-05 2015-05-20 浪潮电子信息产业股份有限公司 Method for server cluster system network test
CN104954189A (en) * 2015-07-07 2015-09-30 上海斐讯数据通信技术有限公司 Automatic server cluster detecting method and system
CN105404573A (en) * 2015-12-11 2016-03-16 浪潮电子信息产业股份有限公司 SmartRack multi-node deployment system pressure testing method
CN105471675A (en) * 2015-11-20 2016-04-06 浪潮电子信息产业股份有限公司 Method and system of testing nodes in batches
CN105553783A (en) * 2016-01-25 2016-05-04 北京同有飞骥科技股份有限公司 Automated testing method for switching of configuration two-computer resources
CN105550090A (en) * 2015-12-10 2016-05-04 浪潮电子信息产业股份有限公司 LINUX platform-based BMC pressure automatic testing method
CN105740152A (en) * 2016-02-04 2016-07-06 浪潮电子信息产业股份有限公司 Pressure testing method for multi-node batch deployment system
CN106201812A (en) * 2016-07-15 2016-12-07 浪潮电子信息产业股份有限公司 BMCSensor pressure monitoring and testing method based on IPMI service
CN106445761A (en) * 2016-11-09 2017-02-22 上海斐讯数据通信技术有限公司 Test method and system for regularly recording CPU and memory based on SSH (Secure Shell) protocol
CN106484639A (en) * 2016-10-10 2017-03-08 郑州云海信息技术有限公司 A kind of method that CPU register information is obtained by ipmi agreement
CN106598796A (en) * 2016-12-16 2017-04-26 郑州云海信息技术有限公司 Method for testing hardware information stability in reboot
WO2017084505A1 (en) * 2015-11-16 2017-05-26 阿里巴巴集团控股有限公司 Method and device for obtaining capacity of application cluster
CN106850352A (en) * 2017-02-10 2017-06-13 郑州云海信息技术有限公司 One kind configuration vdbench cluster method of testings
CN107453923A (en) * 2017-09-14 2017-12-08 郑州云海信息技术有限公司 A kind of method of SmartRack types multinode batch operation reboot tests
CN107562593A (en) * 2017-08-25 2018-01-09 郑州云海信息技术有限公司 A kind of automated testing method and system for verifying internal memory ECC functions
CN107632911A (en) * 2017-09-22 2018-01-26 郑州云海信息技术有限公司 A kind of Cabinet-type server power consumption test method and test system
CN108121626A (en) * 2017-12-12 2018-06-05 郑州云海信息技术有限公司 A kind of server high/low temperature reliability automatization test system and method
CN108306996A (en) * 2018-01-17 2018-07-20 郑州云海信息技术有限公司 A kind of automatic modification server B MC fixation IP design schemes
CN108897675A (en) * 2018-07-26 2018-11-27 郑州云海信息技术有限公司 A kind of server test method and device
CN109586994A (en) * 2018-11-01 2019-04-05 郑州云海信息技术有限公司 A kind of whole machine cabinet server burn-in test monitoring method and system
CN109936567A (en) * 2019-02-01 2019-06-25 国美网安科技有限公司 Detection method, device, electronic equipment and the storage medium of log-on message
CN110399259A (en) * 2019-07-30 2019-11-01 浪潮商用机器有限公司 A kind of test method of server energy consumption, device, equipment and medium
CN114138578A (en) * 2021-11-29 2022-03-04 苏州浪潮智能科技有限公司 Server testing method and device
TWI763650B (en) * 2017-01-20 2022-05-11 香港商阿里巴巴集團服務有限公司 A method and apparatus for obtaining application cluster capacity
CN117194155A (en) * 2023-09-05 2023-12-08 北京安锐卓越信息技术股份有限公司 Automatic performance pressure measurement method, device and medium

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598273A (en) * 2015-01-08 2015-05-06 浪潮电子信息产业股份有限公司 Method for optimizing and testing complete machine by specpower
CN104580217A (en) * 2015-01-09 2015-04-29 浪潮电子信息产业股份有限公司 Method for achieving ssh password-less batch access of nodes of Rack cabinet
CN104572379A (en) * 2015-01-29 2015-04-29 浪潮电子信息产业股份有限公司 RACK cabinet RMC login testing method
CN104618190A (en) * 2015-02-04 2015-05-13 浪潮电子信息产业股份有限公司 Shell-based network bandwidth testing method under cluster environment
CN104579853A (en) * 2015-02-10 2015-04-29 浪潮电子信息产业股份有限公司 Method for network testing of server cluster system
CN104639402A (en) * 2015-03-05 2015-05-20 浪潮电子信息产业股份有限公司 Method for server cluster system network test
CN104954189A (en) * 2015-07-07 2015-09-30 上海斐讯数据通信技术有限公司 Automatic server cluster detecting method and system
WO2017084505A1 (en) * 2015-11-16 2017-05-26 阿里巴巴集团控股有限公司 Method and device for obtaining capacity of application cluster
US11231947B2 (en) 2015-11-16 2022-01-25 Alibaba Group Holding Limited Method and apparatus for determining the capacity of an application cluster
CN105471675A (en) * 2015-11-20 2016-04-06 浪潮电子信息产业股份有限公司 Method and system of testing nodes in batches
CN105550090A (en) * 2015-12-10 2016-05-04 浪潮电子信息产业股份有限公司 LINUX platform-based BMC pressure automatic testing method
CN105404573A (en) * 2015-12-11 2016-03-16 浪潮电子信息产业股份有限公司 SmartRack multi-node deployment system pressure testing method
CN105553783A (en) * 2016-01-25 2016-05-04 北京同有飞骥科技股份有限公司 Automated testing method for switching of configuration two-computer resources
CN105740152A (en) * 2016-02-04 2016-07-06 浪潮电子信息产业股份有限公司 Pressure testing method for multi-node batch deployment system
CN106201812A (en) * 2016-07-15 2016-12-07 浪潮电子信息产业股份有限公司 BMCSensor pressure monitoring and testing method based on IPMI service
CN106484639A (en) * 2016-10-10 2017-03-08 郑州云海信息技术有限公司 A kind of method that CPU register information is obtained by ipmi agreement
CN106445761A (en) * 2016-11-09 2017-02-22 上海斐讯数据通信技术有限公司 Test method and system for regularly recording CPU and memory based on SSH (Secure Shell) protocol
CN106598796A (en) * 2016-12-16 2017-04-26 郑州云海信息技术有限公司 Method for testing hardware information stability in reboot
TWI763650B (en) * 2017-01-20 2022-05-11 香港商阿里巴巴集團服務有限公司 A method and apparatus for obtaining application cluster capacity
CN106850352A (en) * 2017-02-10 2017-06-13 郑州云海信息技术有限公司 One kind configuration vdbench cluster method of testings
CN107562593A (en) * 2017-08-25 2018-01-09 郑州云海信息技术有限公司 A kind of automated testing method and system for verifying internal memory ECC functions
CN107453923A (en) * 2017-09-14 2017-12-08 郑州云海信息技术有限公司 A kind of method of SmartRack types multinode batch operation reboot tests
CN107632911A (en) * 2017-09-22 2018-01-26 郑州云海信息技术有限公司 A kind of Cabinet-type server power consumption test method and test system
CN108121626A (en) * 2017-12-12 2018-06-05 郑州云海信息技术有限公司 A kind of server high/low temperature reliability automatization test system and method
CN108306996A (en) * 2018-01-17 2018-07-20 郑州云海信息技术有限公司 A kind of automatic modification server B MC fixation IP design schemes
CN108897675A (en) * 2018-07-26 2018-11-27 郑州云海信息技术有限公司 A kind of server test method and device
CN109586994A (en) * 2018-11-01 2019-04-05 郑州云海信息技术有限公司 A kind of whole machine cabinet server burn-in test monitoring method and system
CN109936567A (en) * 2019-02-01 2019-06-25 国美网安科技有限公司 Detection method, device, electronic equipment and the storage medium of log-on message
CN110399259A (en) * 2019-07-30 2019-11-01 浪潮商用机器有限公司 A kind of test method of server energy consumption, device, equipment and medium
CN114138578A (en) * 2021-11-29 2022-03-04 苏州浪潮智能科技有限公司 Server testing method and device
CN114138578B (en) * 2021-11-29 2024-01-12 苏州浪潮智能科技有限公司 Server testing method and device
CN117194155A (en) * 2023-09-05 2023-12-08 北京安锐卓越信息技术股份有限公司 Automatic performance pressure measurement method, device and medium

Similar Documents

Publication Publication Date Title
CN104182288A (en) Method for automatically testing power consumption of server cluster system
CN100451989C (en) Software testing system and testing method
CN112667362B (en) Method and system for deploying Kubernetes virtual machine cluster on Kubernetes
CN112817791B (en) Mobile terminal monitoring method for working face cluster mining state
US20120047492A1 (en) Deployment of a tool for testing migrated applications
CN106919485B (en) System based on hardware testing tool configured on server
CN108009258B (en) Data acquisition and analysis platform capable of being configured online
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN104954189A (en) Automatic server cluster detecting method and system
CN102624919A (en) Distributed service integrated system for service-oriented architecture and application method thereof
CN112989330B (en) Container intrusion detection method, device, electronic equipment and storage medium
CN104518917A (en) Automatic server inspection method
CN105592122A (en) Cloud platform monitoring method and cloud platform monitoring system
CN107181626B (en) Method and system for monitoring network bandwidth of distributed storage cluster system
CN105260286A (en) Method for monitoring CPU working state in real time
CN104298601A (en) Software system testing method based on Hadoop platform
CN113946559A (en) Data processing method, target database system and data processing system
CN104965741A (en) Method and apparatus for installing real-time application clusters
CN111177239B (en) Unified log processing method and system based on HDP big data cluster
JP2013171542A (en) Performance analysis device, method for analyzing performance, and performance analysis program
CN110162312B (en) BeeGFS configuration method and device based on IML
CN105511952B (en) Resource self-migration method and system based on cloud computing platform
CN102970375A (en) Cluster configuration method and device
CN111708677B (en) Cloud hard disk usage amount acquisition method in cloud computing environment
CN113031969B (en) Equipment deployment inspection method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141203