当前位置: 首页 > news >正文

PERCCLI命令行程序说明

Dell EMC PowerEdge RAID控制器(PERC)命令行界面(CLI)实用程序用于管理RAID卡相关的配置和信息,命令的子命令和选项如下所示:

help - lists all the commands with their usage. E.g. perccli help
<command> help - gives details about a particular command. E.g. perccli add helpList of commands:Commands   Description
-------------------------------------------------------------------
add        Adds/creates a new element to controller like VD,Spare..etc
delete     Deletes an element like VD,Spare
show       Displays information about an element
set        Set a particular value to a property
get        Get a particular value to a property
compare Compares particular value to a property
start      Start background operation
stop       Stop background operation
pause      Pause background operation
resume     Resume background operation
download   Downloads file to given device
expand     expands size of given drive
insert     inserts new drive for missing
transform  downgrades the controller
/cx        Controller specific commands
/ex        Enclosure specific commands
/sx        Slot/PD specific commands
/vx        Virtual drive specific commands
/dx        Disk group specific commands
/fall      Foreign configuration specific commands
/px        Phy specific commands
/[bbu|cv]  Battery Backup Unit, Cachevault commands

命令使用示例:

1)perccli64.exe show 列出机器当前的RAID卡信息:

Status Code = 0
Status = Success
Description = NoneNumber of Controllers = 1
Host Name = XXXXX
Operating System  = Windows Server 2008 R2System Overview :
===============---------------------------------------------------------------------------
Ctl Model        Ports PDs DGs DNOpt VDs VNOpt BBU   sPR DS EHS ASOs Hlth
---------------------------------------------------------------------------0 PERCH710Mini     8   8   1     0   2     0 NdAtn On  3  N      0 NdAtn
---------------------------------------------------------------------------Ctl=Controller Index|DGs=Drive groups|VDs=Virtual drives|Fld=Failed
PDs=Physical drives|DNOpt=DG NotOptimal|VNOpt=VD NotOptimal|Opt=Optimal
Msng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=Unknown
sPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Hot Spare
Y=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit
Hlth=Health|Safe=Safe-mode boot

2)“perccli64.exe /c0/bbu show all”显示电池的信息

Controller = 0
Status = Success
Description = NoneBBU_Info :
========-------------------------
Property      Value
-------------------------
Type          BBU
Voltage       11 mV
Current       0 mA
Temperature   51 C
Battery State Dgrd-NdAtn
-------------------------BBU_Firmware_Status :
===================-------------------------------------------------
Property                                   Value
-------------------------------------------------
Charging Status                            None
Voltage                                    Low
Temperature                                OK
Learn Cycle Requested                      Yes
Learn Cycle Active                         No
Learn Cycle Status                         OK
Learn Cycle Timeout                        No
I2C Errors Detected                        No
Battery Pack Missing                       No
Replacement required                       Yes
Remaining Capacity Low                     Yes
Periodic Learn Required                    No
Transparent Learn                          No
No space to cache offload                  No
Pack is about to fail & should be replaced No
Cache Offload premium feature required     No
Module microcode update required           No
-------------------------------------------------GasGaugeStatus :
==============-------------------------------------
Property                   Value
-------------------------------------
Fully Discharged           Yes
Fully Charged              Yes
Discharging                No
Initialized                No
Remaining Time Alarm       No
Remaining Capacity Alarm   No
Terminate Discharge Alarm  No
Over Temperature           No
Charging Terminated        No
Over Charged               No
Relative State of Charge   0%
Charger System State       Unknown
Remaining Capacity         0
Full Charge Capacity       35
Is SOH Good                No
Battery backup charge time 0 hour(s)
-------------------------------------BBU_Capacity_Info :
=================------------------------------------------------------
Property                 Value
------------------------------------------------------
Relative State of Charge 0%
Absolute State of charge 0%
Remaining Capacity       0 mAh
Full Charge Capacity     35 mAh
Run time to empty        Battery is not being charged
Average time to empty    0 min
Average Time to full     Battery is not being charged
Cycle Count              7
Max Error                0%
Remaining Capacity Alarm 0 mAh
Remining Time Alarm      0 minutes(s)
------------------------------------------------------BBU_Design_Info :
===============-----------------------------------
Property                Value
-----------------------------------
Date of Manufacture     18/07/2011
Design Capacity         90 mAh
Design Voltage          0 mV
Specification Info      0
Serial Number           0
Pack Stat Configuration 0
Manufacture Name
Device Name
Device Chemistry
Battery FRU             N/A
Transparent Learn       1
App Data                0
Module Version          0148 03
-----------------------------------BBU_Properties :
==============--------------------------------------------------------------
Property             Value
--------------------------------------------------------------
Auto Learn Period    90d (7776000 seconds)
Next Learn time      2021/05/19  01:06:41 (674701601 seconds)
Learn Delay Interval 0 hour(s)
Auto-Learn Mode      Transparent

perccli64.exe /c0/bbu start learn” 对电池进行校准
perccli64.exe /c0/bbu show learn” 查看校准信息


3)“perccli /cx download file=”升级固件,其中 x 是控制器索引编号, 固件刷新完成后,按照指导重新引导服务器。


4)其他示例:
perccli /c0 show termlog
perccli /c0/v0 show all > virtualdrivers.txt
perccli /c0 /eall /sall show all > disks.txt
perccli /c0 show eventloginfo > eventloginfo.txt


安装PERC CLI方法:
1)在Windows中解压安装包即可。
2)在Linux中,运行rpm -ivh 安装percli RPM,或要升级percli RPM,运行rpm -Uvh 。然后进入目录/opt/MegaRAID/perccli,运行./perccli或./perccli64。
3)在VMware ESXi中,将VMware_PERCCLI_xxxxx_x.x-xxx.xxxx.tar.gz解压到主机上的/vmfs/volume/datastore1,
a. 查看已安装的VIB软件包的列表:esxcli software vib list
b. 安装VIB软件包:esxcli software vib install -v /vmfs/volume/datastore1/vmware-perccli-xxx.xxxx.xxxx.xxxx.vib --no-sig-check,其中/vmfs/volume/datastore1是VIB的路径详情。
c. 删除安装的VIB:esxcli software vib remove -n=vmware-esx-perccli.vib --force
d. 运行:/opt/lsi/perccli/perccli



参考:

适用于所有PERC控制器的Windows PERCCLI实用程序

PERCCLI Utility For All PERC9 Controllers

Dell PERC H730/H730P/H830/FD33xS/FD33xD Mini/适配器 RAID 控制器固件版本 25.5.6.0009

Dell EMC PowerEdge RAID Controller CLI Reference Guide

http://www.lryc.cn/news/16670.html

相关文章:

  • 系统架构——分布式架构负载均衡系统设计实战
  • 机器学习算法: AdaBoost 详解
  • 6.824lab1总结
  • NIO蔚来 面试——IP地址你了解多少?
  • Gluten 首次开源技术沙龙成功举办,更多新能力值得期待
  • springboot+redis+lua实现限流
  • 线段树总结
  • 龙芯GS232(MIPS 32)架构cache管理笔记
  • js去重
  • 小白都能看懂的C语言入门教程
  • leetcode 21~30 学习经历
  • 让ArcMap变得更加强大,用python执行地理处理以及编写自定义脚本工具箱
  • SAP 项目实施阶段全过程
  • idea中的Maven导包失败问题解决总结
  • REDIS中的缓存穿透,缓存击穿,缓存雪崩原因以及解决方案
  • 数据库及缓存之MySQL(一)
  • 项目管理中,项目经理需要具备哪些能力?
  • itk中的一些图像处理
  • Endless lseek导致的SQL异常
  • JUC-day01
  • Mind+Python+Mediapipe项目——AI健身之跳绳
  • 数据库概述
  • 【已解决】解决IDEA的maven刷新依赖时出现Connot reconnect错误
  • 动态链接库(.so)文件的变编译和引用、执行
  • linux(centos8)文件解压命令
  • 阅读笔记6——通道混洗
  • 上海亚商投顾:沪指失守3300点 卫星导航概念全天强势
  • 疯狂的SOVA:Android银行木马“新标杆”
  • 汽车零部件企业数字工厂管理系统建设方案
  • 【线程同步工具】Semaphore源码解析