CN106908738A - A kind of automatic testing method of SmartRack reserce cells - Google Patents

A kind of automatic testing method of SmartRack reserce cells Download PDF

Info

Publication number
CN106908738A
CN106908738A CN201710240399.4A CN201710240399A CN106908738A CN 106908738 A CN106908738 A CN 106908738A CN 201710240399 A CN201710240399 A CN 201710240399A CN 106908738 A CN106908738 A CN 106908738A
Authority
CN
China
Prior art keywords
smartrack
bbu
subprogram
reserce
parameter
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
CN201710240399.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.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201710240399.4A priority Critical patent/CN106908738A/en
Publication of CN106908738A publication Critical patent/CN106908738A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention provides a kind of automatic testing method of SmartRack reserce cells, and RMC and test machine are connected with Serial Port Line and netting twine, comprises the following steps:1. testing results program;2. the IP of RMC is obtained by serial ports;3. it is the subprogram of parameter call first with the IP of RMC;4. PSU is closed;5., at interval of the first setting time, be the subprogram of parameter call second with the IP of RMC, obtain BBU discharge parameters, judge discharge parameter whether normal recordings journal file;When 6.BBU electricity is reduced to the first setting ratio, the 3rd subprogram is called, open PSU and power;7., at interval of the second setting time, be the subprogram of parameter call the 4th with the IP address of RMC, obtain BBU charge parameters, judge charge parameter whether normal recordings journal file;8.BBU electricity reaches 100%, and test program terminates;9. audit log file, judges that BBU tests whether to pass through.

Description

A kind of automatic testing method of SmartRack reserce cells
Technical field
The invention belongs to SmartRack reserce cell detection fields, and in particular to a kind of SmartRack reserce cells from Dynamic detection method.
Background technology
BBU is the abbreviation of Battery BackUp, refers to reserce cell.Rack products are applied to, when rack is powered off Temporary power, enables the business of rack normally to run.
PSU is the acronym of Power Supply Unit, refers to supply unit component, after switching on power for Powered to server.
Smart Rack network intelligence frames, i.e. whole machine cabinet server.
The working condition of reserce cell is most important for whole machine cabinet server, and reserce cell is for whole machine cabinet service Whether whether the length of the time that device is powered and the voltage/current of power supply are stablized and are all affected in range of normal value whole The service operation of equipment cabinet server, the enterprise high for service operation requirement Stability and veracity can even more cause big damage Lose.Self-checking for reserce cell is just particularly important, and the self-checking of reserce cell was by pulling out by hand in the past PSU power lines make reserce cell power, and the IP address for obtaining RMC is connected by serial ports, then use network connection RMC, input life Make checking the discharge parameter of current backup battery, checked once every some seconds, when electricity is less than 70%, insert by hand Enter PSU power lines recovery PSU to power, input a command for checking the charge parameter of current backup battery, the charging of reserce cell Journey is slow, and manpower intervention has that the time interval for checking is inaccurate, hand inspection ginseng in the process for up to several hours The problems such as number error rate is high.
This is the deficiencies in the prior art, therefore, for drawbacks described above of the prior art, there is provided a kind of SmartRack is standby The automatic testing method of part battery, is necessary.
The content of the invention
It is an object of the present invention to the reserce cell test for being directed to above-mentioned SmartRack needs the defect of manpower intervention, there is provided A kind of automatic testing method of SmartRack reserce cells, to solve above-mentioned technical problem.
To achieve the above object, the present invention provides following technical scheme:
A kind of automatic testing method of SmartRack reserce cells, centralized management unit R MC and survey are connected with Serial Port Line and netting twine Test-run a machine, comprises the following steps:
Step 1. testing results program;
Step 2. test program obtains the IP address of centralized management unit R MC by serial ports;
Step 3. test program is the subprogram of parameter call first to manage the IP address of unit R MC concentratedly;
The subprogram of step 4. first closes the power ps U of SmartRack, and reserve battery BBU powers to SmartRack;
At interval of the first setting time, test program is parameter call second to manage the IP address of unit R MC concentratedly to step 5. Whether subprogram, obtains the discharge parameter of reserve battery BBU, judges discharge parameter in normal range (NR), and test program will be each Test information record is in journal file;
When the electricity of reserce cell is reduced to the first setting ratio, test program calls the 3rd subprogram, the 3rd son to step 6. Program is opened PSU and is powered;
At interval of the second setting time, test program is parameter call the 4th to manage the IP address of unit R MC concentratedly to step 7. Whether subprogram, obtains the charge parameter of reserve battery BBU, judges charge parameter in normal range (NR), and test program will be each Test information record is in journal file;
When the electricity of reserce cell BBU reaches 100%, test program terminates step 8. automatically;
Step 9. checks the journal file of test program output, judges that reserce cell BBU tests whether to pass through.
Preferably, the PSU numbers are several, and the reserve battery BBU numbers are several, PSU numbers and BBU numbers Mesh is equal.
Preferably, the discharge parameter of reserve battery BBU includes discharge voltage, discharge current, charge value, step 5 in step 5 Also include judging whether electricity is being reduced compared with the electricity that last time tests;The charge parameter of reserve battery BBU includes in step 7 Charging voltage, charging current, charge value, step 7 also include judging whether electricity is increasing compared with the electricity that last time tests.
Preferably, first setting time is 30s.
Preferably, second setting time is 30s.
Preferably, first setting ratio is 70%.
Preferably, first subprogram uses shell scripts;Second subprogram uses shell scripts;3rd subprogram Using shell scripts;4th subprogram uses shell scripts.
Preferably, test shows PASS by journal file every time, and test does not show FAIL by journal file.
The beneficial effects of the present invention are:The present invention is using Serial Port Line and netting twine connecting test machine and centralized management unit RMC, operation program is obtained the IP address of RMC by program, open/PSU power supplys are closed, judge whether electricity reaches 70%, sentence Whether the parameters of disconnected reserve battery BBU which reduce reserve battery BBU in self-checking process in range of normal value In artificial intervention, simplify testing process, reduce the workload of test operator, improve testing efficiency.
Additionally, design principle reliability of the present invention, simple structure, with application prospect widely.
As can be seen here, compared with prior art, with prominent substantive distinguishing features and significant progress, it is implemented the present invention Beneficial effect be also obvious.
Brief description of the drawings
Fig. 1 is the method flow diagram of the embodiment of the present invention.
Specific embodiment:
To enable that the purpose of the present invention, feature, advantage are more obvious and understandable, it is embodied below in conjunction with the present invention Accompanying drawing in example, is clearly and completely described to the technical scheme in the present invention.
As shown in figure 1, the present invention provides a kind of automatic testing method of SmartRack reserce cells, with Serial Port Line and net Line connection centralized management unit R MC and test machine, comprise the following steps:
Step 1. testing results program;
Step 2. test program obtains the IP address of centralized management unit R MC by serial ports;
Step 3. test program is parameter call shell scripts to manage the IP address of unit R MC concentratedly;
Step 4. Shell scripts close the power ps U of SmartRack, and reserve battery BBU powers to SmartRack;PSU numbers Can be several, reserve battery BBU numbers can be several, and PSU numbers and BBU numbers are equal;
Step 5. is parameter call shell scripts to manage the IP address of unit R MC concentratedly at interval of 30s, test program, is obtained Discharge voltage, discharge current, the charge value of reserve battery BBU are taken, judges that whether discharge parameter in normal range (NR), judges electricity With last time test electricity compared to whether in reduction, test program will every time test information record in journal file;
When the electricity of reserce cell is reduced to 70%, test program calls shell scripts, shell scripts to open PSU to step 6. Power supply;
Step 7. is parameter call shell scripts to manage the IP address of unit R MC concentratedly at interval of 30s, test program, is obtained The charge parameter of reserve battery BBU is taken, whether charging voltage, charging current, charge value judge charge parameter in normal range (NR) It is interior, judge whether electricity is increasing compared with the electricity that last time tests, test program will every time test information record to daily record text In part;
When the electricity of reserce cell BBU reaches 100%, test program terminates step 8. automatically;
Step 9. checks the journal file of test program output, judges that reserce cell BBU tests whether to pass through, and test is logical every time Journal file display PASS is crossed, test does not show FAIL by journal file.
RMC (Rack Management Controller) manages unit concentratedly, and SmartRack breaches traditional services The operation management architectural schemes of device, using whole machine cabinet as holistic management solution, by RMC (Rack Management Controller) centralized management unit realizes the implementing monitoring of whole system resource, RMC be SmartRack information inquiry and The platform of condition monitoring, with node assets positioning, power consumption monitoring, radiating three big basic functions of regulation and control.Using centralized management SmartRack can be by RMC to each module of whole cabinet unified monitoring and management, node, power supply, the mesh of configuration information one So, batch switching on and shutting down, temperature can also be carried out, is restarted, power consumption control, the regulation of rotation speed of the fan automatic/hand, the healthy shape of fan Condition, function.The visualized management software of SmartRack designs is aimed in collocation, summary intelligent management just can be easily realized.
Embodiments of the invention are illustrative and not restrictive, and above-described embodiment is only to aid in understanding the present invention, because This is every by those skilled in the art's technology according to the present invention the invention is not restricted to the embodiment described in specific embodiment Other specific embodiments that scheme draws, also belong to the scope of protection of the invention.

Claims (8)

1. a kind of automatic testing method of SmartRack reserce cells, with Serial Port Line and netting twine connect centralized management unit R MC and Test machine, it is characterised in that comprise the following steps:
Step 1. testing results program;
Step 2. test program obtains the IP address of centralized management unit R MC by serial ports;
Step 3. test program is the subprogram of parameter call first to manage the IP address of unit R MC concentratedly;
The subprogram of step 4. first closes the power ps U of SmartRack, and reserve battery BBU powers to SmartRack;
At interval of the first setting time, test program is parameter call second to manage the IP address of unit R MC concentratedly to step 5. Whether subprogram, obtains the discharge parameter of reserve battery BBU, judges discharge parameter in normal range (NR), and test program will be each Test information record is in journal file;
When the electricity of reserce cell is reduced to the first setting ratio, test program calls the 3rd subprogram, the 3rd son to step 6. Program is opened PSU and is powered;
At interval of the second setting time, test program is parameter call the 4th to manage the IP address of unit R MC concentratedly to step 7. Whether subprogram, obtains the charge parameter of reserve battery BBU, judges charge parameter in normal range (NR), and test program will be each Test information record is in journal file;
When the electricity of reserce cell BBU reaches 100%, test program terminates step 8. automatically;
Step 9. checks the journal file of test program output, judges that reserce cell BBU tests whether to pass through.
2. a kind of automatic testing method of SmartRack reserce cells as claimed in claim 1, it is characterised in that the PSU Number is several, and the reserve battery BBU numbers are several, and PSU numbers and BBU numbers are equal.
3. a kind of automatic testing method of SmartRack reserce cells as claimed in claim 1, it is characterised in that, in step 5 The discharge parameter of reserve battery BBU includes discharge voltage, discharge current, charge value, and step 5 also includes judging that electricity was surveyed with last time Whether the electricity of examination is compared in reduction;The charge parameter of reserve battery BBU includes charging voltage, charging current, electricity in step 7 Value, step 7 also includes judging whether electricity is increasing compared with the electricity that last time tests.
4. a kind of automatic testing method of SmartRack reserce cells as claimed in claim 1, it is characterised in that described the One setting time is 30s.
5. a kind of automatic testing method of SmartRack reserce cells as claimed in claim 1, it is characterised in that described the Two setting times are 30s.
6. a kind of automatic testing method of SmartRack reserce cells as claimed in claim 1, it is characterised in that described the One setting ratio is 70%.
7. a kind of automatic testing method of SmartRack reserce cells as claimed in claim 1, it is characterised in that described the One subprogram uses shell scripts;Second subprogram uses shell scripts;3rd subprogram uses shell scripts;4th son Program uses shell scripts.
8. a kind of automatic testing method of SmartRack reserce cells as claimed in claim 1, it is characterised in that survey every time Journal file display PASS was pinged, test does not show FAIL by journal file.
CN201710240399.4A 2017-04-13 2017-04-13 A kind of automatic testing method of SmartRack reserce cells Pending CN106908738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710240399.4A CN106908738A (en) 2017-04-13 2017-04-13 A kind of automatic testing method of SmartRack reserce cells

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710240399.4A CN106908738A (en) 2017-04-13 2017-04-13 A kind of automatic testing method of SmartRack reserce cells

Publications (1)

Publication Number Publication Date
CN106908738A true CN106908738A (en) 2017-06-30

Family

ID=59209550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710240399.4A Pending CN106908738A (en) 2017-04-13 2017-04-13 A kind of automatic testing method of SmartRack reserce cells

Country Status (1)

Country Link
CN (1) CN106908738A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369474A (en) * 2017-07-31 2017-11-21 郑州云海信息技术有限公司 A kind of method and system for detecting storage batteries
CN107422208A (en) * 2017-07-28 2017-12-01 郑州云海信息技术有限公司 A kind of method of testing of BBU circulations electric discharge
CN107436414A (en) * 2017-08-03 2017-12-05 郑州云海信息技术有限公司 BBU validity test method and apparatus in a kind of storage system
CN107449984A (en) * 2017-08-10 2017-12-08 郑州云海信息技术有限公司 A kind of method and device of BBU discharge and recharges interactive testing
CN107450032A (en) * 2017-08-10 2017-12-08 郑州云海信息技术有限公司 A kind of method of testing and system of BBU automatic chargings
CN107515376A (en) * 2017-08-30 2017-12-26 郑州云海信息技术有限公司 A kind of method of testing and device of battery back unit
CN107632922A (en) * 2017-09-29 2018-01-26 郑州云海信息技术有限公司 A kind of method and device of on-line monitoring BBU capacity
CN107907762A (en) * 2017-11-09 2018-04-13 郑州云海信息技术有限公司 Test methods and system of a kind of inspection BBU to whole machine cabinet stability influence
CN109542201A (en) * 2018-11-01 2019-03-29 郑州云海信息技术有限公司 A kind of method and system promoting dual input PSU stability

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411125A (en) * 2010-09-21 2012-04-11 宝山钢铁股份有限公司 Automatic detection device and detection method of storage battery
CN102902340A (en) * 2011-07-28 2013-01-30 广达电脑股份有限公司 Server cabinet system and control method thereof
CN102902341A (en) * 2011-07-28 2013-01-30 广达电脑股份有限公司 Server cabinet system and operation method thereof
US20150067379A1 (en) * 2013-09-05 2015-03-05 Fujitsu Limited Battery control device and battery charge capacity diagnosis method
CN104809041A (en) * 2015-05-07 2015-07-29 浪潮电子信息产业股份有限公司 Batch test method of whole cabinet server power supply
CN105183598A (en) * 2015-08-27 2015-12-23 浪潮电子信息产业股份有限公司 Reliability test method of server complete machine in cloud computing ecosystem
CN105811487A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Battery set, automatic capacity calibration learning method for battery set and automatic capacity calibration learning system
CN105867575A (en) * 2016-05-05 2016-08-17 浪潮电子信息产业股份有限公司 Charging and discharging chip architecture applied to server backup battery
CN106325459A (en) * 2016-08-29 2017-01-11 浪潮电子信息产业股份有限公司 Server power supply system and method
CN106338690A (en) * 2016-08-25 2017-01-18 浪潮电子信息产业股份有限公司 Standby battery detection method, device and system and power supply method
CN106445055A (en) * 2016-09-09 2017-02-22 郑州云海信息技术有限公司 Power supply protection mechanism of Rack server
US20170074946A1 (en) * 2015-09-14 2017-03-16 Facebook, Inc. Energy based battery backup unit testing

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411125A (en) * 2010-09-21 2012-04-11 宝山钢铁股份有限公司 Automatic detection device and detection method of storage battery
CN102902340A (en) * 2011-07-28 2013-01-30 广达电脑股份有限公司 Server cabinet system and control method thereof
CN102902341A (en) * 2011-07-28 2013-01-30 广达电脑股份有限公司 Server cabinet system and operation method thereof
US20150067379A1 (en) * 2013-09-05 2015-03-05 Fujitsu Limited Battery control device and battery charge capacity diagnosis method
CN105811487A (en) * 2014-12-31 2016-07-27 中兴通讯股份有限公司 Battery set, automatic capacity calibration learning method for battery set and automatic capacity calibration learning system
CN104809041A (en) * 2015-05-07 2015-07-29 浪潮电子信息产业股份有限公司 Batch test method of whole cabinet server power supply
CN105183598A (en) * 2015-08-27 2015-12-23 浪潮电子信息产业股份有限公司 Reliability test method of server complete machine in cloud computing ecosystem
US20170074946A1 (en) * 2015-09-14 2017-03-16 Facebook, Inc. Energy based battery backup unit testing
CN105867575A (en) * 2016-05-05 2016-08-17 浪潮电子信息产业股份有限公司 Charging and discharging chip architecture applied to server backup battery
CN106338690A (en) * 2016-08-25 2017-01-18 浪潮电子信息产业股份有限公司 Standby battery detection method, device and system and power supply method
CN106325459A (en) * 2016-08-29 2017-01-11 浪潮电子信息产业股份有限公司 Server power supply system and method
CN106445055A (en) * 2016-09-09 2017-02-22 郑州云海信息技术有限公司 Power supply protection mechanism of Rack server

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107422208A (en) * 2017-07-28 2017-12-01 郑州云海信息技术有限公司 A kind of method of testing of BBU circulations electric discharge
CN107369474A (en) * 2017-07-31 2017-11-21 郑州云海信息技术有限公司 A kind of method and system for detecting storage batteries
CN107369474B (en) * 2017-07-31 2020-07-24 苏州浪潮智能科技有限公司 Method and system for detecting electricity storage battery
CN107436414A (en) * 2017-08-03 2017-12-05 郑州云海信息技术有限公司 BBU validity test method and apparatus in a kind of storage system
CN107436414B (en) * 2017-08-03 2020-06-16 苏州浪潮智能科技有限公司 Method and device for testing effectiveness of BBU in memory system
CN107449984A (en) * 2017-08-10 2017-12-08 郑州云海信息技术有限公司 A kind of method and device of BBU discharge and recharges interactive testing
CN107450032A (en) * 2017-08-10 2017-12-08 郑州云海信息技术有限公司 A kind of method of testing and system of BBU automatic chargings
CN107515376A (en) * 2017-08-30 2017-12-26 郑州云海信息技术有限公司 A kind of method of testing and device of battery back unit
CN107632922A (en) * 2017-09-29 2018-01-26 郑州云海信息技术有限公司 A kind of method and device of on-line monitoring BBU capacity
CN107907762A (en) * 2017-11-09 2018-04-13 郑州云海信息技术有限公司 Test methods and system of a kind of inspection BBU to whole machine cabinet stability influence
CN109542201A (en) * 2018-11-01 2019-03-29 郑州云海信息技术有限公司 A kind of method and system promoting dual input PSU stability

Similar Documents

Publication Publication Date Title
CN106908738A (en) A kind of automatic testing method of SmartRack reserce cells
CN107302466B (en) Big data analysis platform and method for dynamic loop monitoring system
WO2015106605A1 (en) Method for testing station level of intelligent substation
CN104135070B (en) A kind of analog channel method for diagnosing faults of electrical power distribution automatization system
CN201654202U (en) Battery on-line patrol inspection system
CN103139012B (en) A kind of Ethernet interface method of testing and the network equipment
CN103281208B (en) A kind of data backup & disaster recovery and comprehensive monitoring system
CN104317714A (en) Method for automatically testing stability of rack based on expect
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
CN109240865A (en) A kind of AC test method, device, terminal and the storage medium of AEP memory
CN103049282A (en) Method for collecting system serial port information through business-manager-consumer (BMC) based on Intel Boxboro-EX platform
CN102842962A (en) Power energy information management system
CN115643316A (en) Data processing method and device for Internet of things gateway, gateway equipment and storage medium
CN105302680A (en) Automated testing method of RACK AC (Alternating Current) stability
CN110362180A (en) A kind of server power supply service life equalising control device and method
CN116913350A (en) Test method and test platform based on modern standby of solid state disk
CN107482767A (en) A kind of distributed measure line loss and the apparatus and method for for monitoring power network
Fan et al. Research on remote meter reading scheme and IoT smart energy meter based on NB-IoT technology
CN104601107A (en) Cloud photovoltaic fault diagnosis system
CN107907762B (en) Test method and system for detecting influence of BBU on stability of whole cabinet
CN202798162U (en) Electrical energy information management system
CN107528698A (en) Optical network device service board, optical network device and its method for controlling power supply
CN112688363A (en) Multi-machine parallel connection method of electric energy quality control equipment based on ad hoc network scheduling
CN109116141B (en) Method for testing power supply reliability of POE switch restart
CN110532147A (en) The method and system of remote real-time monitoring testing service device BMC stability

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170630

RJ01 Rejection of invention patent application after publication