[go: up one dir, main page]

CN105573886A - Automatic implementation method for real-time monitoring of voltage value under linux system - Google Patents

Automatic implementation method for real-time monitoring of voltage value under linux system Download PDF

Info

Publication number
CN105573886A
CN105573886A CN201510922956.1A CN201510922956A CN105573886A CN 105573886 A CN105573886 A CN 105573886A CN 201510922956 A CN201510922956 A CN 201510922956A CN 105573886 A CN105573886 A CN 105573886A
Authority
CN
China
Prior art keywords
real
time monitoring
linux system
voltage values
time
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
CN201510922956.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.)
IEIT Systems 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 CN201510922956.1A priority Critical patent/CN105573886A/en
Publication of CN105573886A publication Critical patent/CN105573886A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The invention provides an automatic realization method for real-time monitoring of voltage values in a linux system, which is based on an IPMI command of a BMC (baseboard management controller) and a circulating real-time monitoring method to realize local and remote real-time monitoring; the method comprises the following implementation steps: 1) running a script, 2) selecting a mode, wherein the IP is not needed locally, and the IP address of the client is needed to be input remotely. The invention realizes local and remote real-time monitoring and improves the working efficiency. The method helps a hardware department to provide real-time key voltage values, and is convenient to match a BMC log to check the condition of the voltage values at that time.

Description

一种linux系统下实时监控电压值自动化实现方法An automatic realization method of real-time monitoring voltage value under linux system

技术领域 technical field

本发明涉及服务器电压值监控领域,具体涉及一种linux系统下实时监控电压值自动化实现方法。 The invention relates to the field of server voltage value monitoring, in particular to an automatic realization method for real-time monitoring of voltage values under a Linux system.

背景技术 Background technique

在浪潮的BMC的测试过程中,我们经常需要了解实时关键电压值,如关键电压值为PVTT,PVCC,P12V,P3V3,P5V。 During the testing of Inspur's BMC, we often need to know the real-time key voltage values, such as PVTT, PVCC, P12V, P3V3, and P5V.

同时,在BMC的测试过程中,我们也经常会遇到帮助硬件部门提供实时关键电压值方便配合BMC日志查看当时电压值的情况。 At the same time, during the BMC testing process, we often encounter situations where we help the hardware department to provide real-time key voltage values to facilitate checking the current voltage values with the BMC log.

就节点电压的监控问题来说,从全景过程化的量测数据中挖掘节点电压与其调控量之间的解析规律,从中发现节点电压一致性变化的规律,从而掌控关键节点的调控方式,对于简化节点电压的在线监视、预测、调控具有重要意义。 As far as the monitoring of node voltage is concerned, the analytical law between the node voltage and its regulation value is excavated from the measurement data of the panoramic process, and the law of the consistency change of the node voltage is found, so as to control the regulation method of key nodes. On-line monitoring, prediction and regulation of node voltage are of great significance.

发明内容 Contents of the invention

本发明的技术任务是针对现有技术的不足,提供一种linux系统下实时监控电压值自动化实现方法。本发明基于BMC的IPMI命令,和循环实时监控的方法。该方法可以实现本地和远程的实时监控,提高工作效率。 The technical task of the present invention is to provide an automatic implementation method for real-time monitoring of voltage values under the Linux system in view of the deficiencies in the prior art. The present invention is based on the IPMI command of the BMC and the method of cyclic real-time monitoring. The method can realize local and remote real-time monitoring and improve work efficiency.

本发明解决其技术问题所采用的技术方案是: The technical solution adopted by the present invention to solve its technical problems is:

一种linux系统下实时监控电压值自动化实现方法,该方法基于BMC的IPMI命令,和循环实时监控的方法,实现本地和远程的实时监控;该方法的实施步骤为:1)、运行脚本,2)、选择模式,本地不需要IP,远程需要输入客户端IP地址。 A method for automatically realizing real-time monitoring of voltage values under a linux system, the method is based on the IPMI command of BMC, and the method of cyclic real-time monitoring to realize local and remote real-time monitoring; the implementation steps of the method are: 1), run the script, 2 ), select the mode, the local does not need an IP, and the remote needs to enter the client IP address.

本发明的一种linux系统下实时监控电压值自动化实现方法与现有技术相比,所产生的有益效果是,本发明基于BMC的IPMI命令,和循环实时监控的方法;本方法使用IPMI内部命令,够很方便的进行实时监控关键电压值,可复用性强,可以拓展到其他测试;该方法可以实现本地和远程的实时监控,提高工作效率。 Compared with the prior art, the automatic realization method of real-time monitoring voltage value under a kind of linux system of the present invention has the beneficial effect that the present invention is based on the IPMI command of BMC, and the method for cyclic real-time monitoring; the method uses the internal command of IPMI , it is very convenient for real-time monitoring of key voltage values, and has strong reusability, and can be extended to other tests; this method can realize local and remote real-time monitoring and improve work efficiency.

具体实施方式 detailed description

下面对本发明的一种linux系统下实时监控电压值自动化实现方法作以下详细地说明。 A method for automatically realizing real-time monitoring of voltage values under the linux system of the present invention will be described in detail below.

一种linux系统下实时监控电压值自动化实现方法,该方法基于BMC的IPMI命令,和循环实时监控的方法,实现本地和远程的实时监控;该方法的实施步骤为:1)、运行脚本,2)、选择模式,本地不需要IP,远程需要输入客户端IP地址。 A method for automatically realizing real-time monitoring of voltage values under a linux system, the method is based on the IPMI command of BMC, and the method of cyclic real-time monitoring to realize local and remote real-time monitoring; the implementation steps of the method are: 1), run the script, 2 ), select the mode, the local does not need an IP, and the remote needs to enter the client IP address.

#!/bin/sh #!/bin/sh

#printcopyrightbyinspur. #printcopyrightbyinspur.

echo"Pleasechooseremoteorlocal,0/1:" echo "Please choose remote or local,0/1:"

readtype readtype

case$typein case $typein

0)remote;; 0) remote;;

1)local;; 1) local;;

Remote() Remote()

{ {

echo"PleaseinputtheBMCIPaddress:" echo "Please input theBMCIPaddress:"

readIP readIP

whiletrue;do while true; do

echo"running" echo "running"

ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep"PVTT">>pvtt.log ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep "PVTT">>pvtt.log

ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep"PVCC">>pvcc.log ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep "PVC">>pvcc.log

ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep"P12V">>P12V.log ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep "P12V">>P12V.log

ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep"P3V3">>P3V3.log ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep "P3V3">>P3V3.log

ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep"P5V">>P5v.log ipmitool-Ilanplus–H$IP–Uadmin–Padminsdr|grep "P5V">>P5v.log

sleep1 sleep1

done done

} }

Local() Local()

{whiletrue;do {while true; do

  echo"running" echo "running"

  ipmitool-Ilanplussdr|grep"PVTT">>pvtt.log ipmitool-Ilanplussdr|grep "PVTT">>pvtt.log

ipmitool-Ilanplussdr|grep"PVCC">>pvcc.log ipmitool-Ilanplussdr|grep "PVCC">>pvcc.log

ipmitool-Ilanplussdr|grep"P12V">>P12V.log ipmitool-Ilanplussdr|grep "P12V">>P12V.log

ipmitool-Ilanplussdr|grep"P3V3">>P3V3.log ipmitool-Ilanplussdr|grep "P3V3">>P3V3.log

  ipmitool-Ilanplussdr|grep"P5V">>P5v.log ipmitool-Ilanplussdr|grep "P5V">>P5v.log

sleep1 sleep1

done done

} }

本方法使用IPMI内部命令,够很方便的进行实时监控关键电压值,可复用性强,可以拓展到其他测试。 This method uses IPMI internal commands, which is convenient enough to monitor key voltage values in real time, has strong reusability, and can be extended to other tests.

Claims (1)

1. a real-time monitoring voltage value robotization implementation method under Linux system, is characterized in that the IPMI order of the method based on BMC, and the method for circulation monitoring in real time, realizes local and remote real-time monitoring; 1), Run Script the implementation step of the method is:, 2), preference pattern, this locality does not need IP, and long-range needs inputs client ip address.
CN201510922956.1A 2015-12-14 2015-12-14 Automatic implementation method for real-time monitoring of voltage value under linux system Pending CN105573886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510922956.1A CN105573886A (en) 2015-12-14 2015-12-14 Automatic implementation method for real-time monitoring of voltage value under linux system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510922956.1A CN105573886A (en) 2015-12-14 2015-12-14 Automatic implementation method for real-time monitoring of voltage value under linux system

Publications (1)

Publication Number Publication Date
CN105573886A true CN105573886A (en) 2016-05-11

Family

ID=55884052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510922956.1A Pending CN105573886A (en) 2015-12-14 2015-12-14 Automatic implementation method for real-time monitoring of voltage value under linux system

Country Status (1)

Country Link
CN (1) CN105573886A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932187A (en) * 2018-06-29 2018-12-04 郑州云海信息技术有限公司 A kind of hard disk positioning lamp lighting method and relevant apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140282045A1 (en) * 2013-03-15 2014-09-18 American Megatrends, Inc. Method and apparatus of remote management of computer system using voice and gesture based input
CN104360922A (en) * 2014-10-20 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically monitoring BMC working state based on ipmitool
CN104954504A (en) * 2015-05-05 2015-09-30 浪潮电子信息产业股份有限公司 Method for automatically carrying out BMC management IP configuration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140282045A1 (en) * 2013-03-15 2014-09-18 American Megatrends, Inc. Method and apparatus of remote management of computer system using voice and gesture based input
CN104360922A (en) * 2014-10-20 2015-02-18 浪潮电子信息产业股份有限公司 Method for automatically monitoring BMC working state based on ipmitool
CN104954504A (en) * 2015-05-05 2015-09-30 浪潮电子信息产业股份有限公司 Method for automatically carrying out BMC management IP configuration

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
百度文库: "Linux下IPMI的应用", 《HTTPS://WENKU.BAIDU.COM/VIEW/640F26C48BD63186BCEBBCCE.HTML?RE=VIEW&REC_FLAG=DEFAULT&SXTS=1552374155354》 *
百度文库: "使用ipmitool实现Linux系统下对服务器的ipmi管理", 《HTTPS://WENKU.BAIDU.COM/VIEW/64C5BA7F5ACFA1C7AA00CC89.HTML?SXTS=1552374386240》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932187A (en) * 2018-06-29 2018-12-04 郑州云海信息技术有限公司 A kind of hard disk positioning lamp lighting method and relevant apparatus

Similar Documents

Publication Publication Date Title
US10705948B2 (en) Robotic process automation simulation of environment access for application migration
CN108768730B (en) Method and device for operating intelligent network card
CN104537046B (en) Supplementing Data method and apparatus
US11327880B2 (en) Generic serverless performance testing framework
CN108121215B (en) Process control loops method of evaluating performance and device based on full loop reconstruct emulation
US9241007B1 (en) System, method, and computer program for providing a vulnerability assessment of a network of industrial automation devices
CN110645153A (en) Wind generating set fault diagnosis method and device and electronic equipment
CN105045693A (en) CPU and memory pressure change testing method based on PTU tool
WO2018014502A1 (en) Elevator pre-diagnosis method and device
CN108488969A (en) Control method and control device for handpiece Water Chilling Units
CN107527397A (en) Portable computer room automatic tour inspection system and method
TW201506613A (en) System and method of detecting firmware
CN107741910A (en) Application program installation performance testing method, device, computing device and storage medium
CN105573886A (en) Automatic implementation method for real-time monitoring of voltage value under linux system
CN105404569A (en) Method for testing remote Power Reset of server
CN110008122B (en) Model establishing method considering test workload and change point
CN106789142A (en) The method and apparatus of resource distribution
CN105573905A (en) Software compatibility testing method and system
CN118677815B (en) Network path detection method, device, electronic equipment and storage medium
CN106547695A (en) A kind of test system and method for scale software
WO2020026010A3 (en) Task execution control method, device, equipment/terminal/server and storage medium
CN103793765B (en) A kind of satellite telemetering data Forecasting Methodology based on Kalman filter
CN103118121B (en) Application method of high availability cluster in virtualization technology
CN104579842A (en) Processing method for acquiring cluster monitoring computing node state based on socket communication
US8620621B2 (en) Maintenance of intelligent assets

Legal Events

Date Code Title Description
C06 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160511