DELL硬件监控(omconfig)
DELL硬件监控(omconfig)
工具
- omsa
- srvadmin-storageservices 存储相关的服务
- srvadmin-base omsa的基础服务
为什么使用omsa?ipmitool和MegaCli为什么不适合?
ipmitool在做信息收集的时候是收集的传感器的信息。也就是说收集的是硬件在不在线的信息。
而dell会检测内存的位错误情况等等。这种情况是内存是在线的,但是内存中有为错误的问题,当操作系统使用内存的时候使用到了这个错位的内存的话就会发成宕机的情况。ipmitool是没有办法获取内存错位的情况的。srvadmin-base这个服务能拿到dell检测的内存状态。
omsa安装
yum install srvadmin-storageservices srvadmin-base -y
启动后台收集服务
- 方式1(centos6 )
/etc/init.d/dataeng status /etc/init.d/dataeng start
- 方式2
systemctl status dataeng.service systemctl start dataeng.service systemctl enable dataeng.service
omsa的使用
omhelp
- omhelp: 是获取帮助omconfig和omreport的帮助命令
- 使用方式
./omhelp omconfig
omconfig Configures component properties.
The available command(s) are:
Command Description
about Product and version properties.
preferences Set system preferences.
system Set system properties.
chassis Set chassis component properties.
storage Set storage component properties.
Usage: omconfig <command...> [name=value...] ... [option...]
omconfig
- omconfig: 配置omsa的组件属性
使用方式
产品和版本属性
-
显示omsa的简单信息
omconfig about
-
显示omsa的详细信息
omconfig about details=true
设置系统偏好设置
-
自定义界定格式符
omconfig preferences cdvformat delimiter=<exclamation|semicolon|at|hash|dollar|caret|asterisk|tilde|question|comma|pipe>
-
设置用户访问权限
omconfig preferences useraccess enable=xxx
enable=user Enable user, power user, administrator access.
enable=poweruser Enable power user, administrator access.
enable=admin Enable administrator access only.
- 网络服务器配置相关
omconfig preferences webserver
webserver Set the webserver preferences.
Valid parameters are:
attribute=<sslencryption> setting=<autonegotiate|128bitorhigher>
attribute=<seturl> host=<string> port=<value>
attribute=<signalgorithm> setting=<MD5|SHA1|SHA256|SHA512>
attribute=<setjre> jreversion=<bundled|value>
attribute=<exportcsr>
attribute=<gennewcert> cn=<common name> org=<organization name> ou=<organization unit name> location=<location name> state=<state name> country=<country name> validity=<validity> keysize=<512|1024|2048> algorithm=<MD5|SHA1|SHA256|SHA512> webserverrestart=<true|false>
attribute=<uploadcert> certfile=<certificate file path> type=<pkcs12> password=<password> webserverrestart=<true|false>
attribute=<ciphers> setting=<Valid ciphers text Value>
attribute=<sslprotocol> setting=<Valid sslprotocol Value(s) are "TLSv1"|"TLSv1.1"|"TLSv1.2"| "TLSv1,TLSv1.1" | "TLSv1.1,TLSv1.2" |"TLSv1,TLSv1.1,TLSv1.2">
attribute=<port> setting=<Valid port Value>
attribute=<ipaddress> setting=<Valid Binding IPAddress Value>
attribute=<sessiontimeout> setting=<Valid Session Timeout Value between 1-30>
-
设置时间消息格式
omconfig preferences messages attribute=<format> setting=<traditional|enhanced>
-
设置日志记录选项
omconfig preferences logging xxxxx
logging Sets the logging preferences.
Valid parameters are:
attribute=<oslogfilter> logcrit=<true|false> logwarn=<true|false> loginfo=<true|false>
attribute=<archiveesmlog> setting=<Enable|Disable>
系统属性设置
- ./omhelp omconfig system alertaction
alertaction Configure alert actions.
Valid parameters are one of:
event=powersupply Set power supply failure action(s).
event=powersupplywarn Set power supply warning action(s).
event=tempwarn Set temperature warning action(s).
event=tempfail Set temperature failure action(s).
event=fanwarn Set fan speed warning action(s).
event=fanfail Set fan speed failure action(s).
event=voltwarn Set voltage warning action(s).
event=voltfail Set voltage failure action(s).
event=intrusion Set chassis intrusion action(s).
event=redundegrad Set redundancy degraded action(s).
event=redunlost Set redundancy lost action(s).
event=memprefail Set memory pre-failure action(s).
event=memfail Set memory failure action(s).
event=hardwarelogwarn Set hardware log warning action(s).
event=hardwarelogfull Set hardware log full action(s).
event=processorwarn Set processor warning action(s).
event=processorfail Set processor failure action(s).
event=watchdogasr Set watchdog asr action(s).
event=batterywarn Set battery warning action(s).
event=batteryfail Set battery failure action(s).
event=systempowerwarn Set system power warning action(s).
event=systempowerfail Set system power failure action(s).
event=systempeakpower Set system peak power action(s).
event=removableflashmediapresent Set removable flash media present action(s).
event=removableflashmediaremoved Set removable flash media removed action(s).
event=removableflashmediafail Set removable flash media failure action(s).
Following events are applicable if Storage Management is installed
event=storagesyswarn Set Storage System warning action(s).
event=storagesysfail Set Storage System failure action(s).
event=storagectrlwarn Set Storage Controller warning action(s).
event=storagectrlfail Set Storage Controller failure action(s).
event=pdiskwarn Set Physical Disk warning action(s).
event=pdiskfail Set Physical Disk failure action(s).
event=vdiskwarn Set Virtual Disk warning action(s).
event=vdiskfail Set Virtual Disk failure action(s).
event=enclosurewarn Set Enclosure warning action(s).
event=enclosurefail Set Enclosure failure action(s).
event=storagectrlbatterywarn Set Storage Controller Battery warning action(s).
event=storagectrlbatteryfail Set Storage Controller Battery failure action(s).
For one event, either specify clearall or other action(s):
alert=<true|false> Enable / disable console alert.
broadcast=<true|false> Enable / disable broadcast message.
clearall=<true> Clear all actions for this event.
execappath=<string> Set absolute path for executable application.
execapp=<false> Disable executable application.
- 清除报警日志
./omhelp omconfig system alertlog
alertlog Clear alert log.
Valid parameters are:
action=clear Clear the contents of the Alert log.
- 设置资产信息
./omhelp omconfig system assetinfo
assetinfo Set asset information.
For one info value, specify one or more optional parameter(s):
info=acquisition purchasecost=<num> waybill=<num> installdate=<mmddyyyy or mmddyy>
purchasedate=<mmddyyyy or mmddyy> ponum=<num> signauth=<text>
expensed=<yes|no> costcenter=<text>
info=depreciation method=<text> duration=<num> percent=<percent>
unit=<months|years>
info=warranty duration=<num> unit=<days|months> enddate=<mmddyyyy or mmddyy>
cost=<num>
info=extwarranty startdate=<mmddyyyy or mmddyy> enddate=<mmddyyyy or mmddyy> cost=<num>
provider=<text>
info=lease multischedule=<true|false> buyout=<num> enddate=<mmddyyyy or mmddyy>
ratefactor=<num> value=<num> lessor=<text>
info=maintenance startdate=<mmddyyyy or mmddyy> enddate=<mmddyyyy or mmddyy> provider=<text>
restrictions=<text>
info=outsource problemcomponent=<text> servicefee=<text>
signauth=<text> providerfee=<text> levels=<text>
info=support outsourced=<true|false> type=<network|storage>
helpdesk=<text> automaticfix=<text>
info=service renewed=<true|false> type=<text> vendor=<text>
info=system location=<text> primaryuser=<text> primaryphone=<text>
info=owner type=<owned|leased|rented|offlease|transfer>
ownername=<text> insuranceco=<text>
- 清除命令日志
./omhelp omconfig system cmdlog
cmdlog Clear command log.
Valid parameters are:
action=clear Clear the contents of the command log.
- 清除嵌入式管理系统日志
./omhelp omconfig system esmlog
esmlog Clear Embedded System Management (ESM) log.
Valid parameters are:
action=clear Clear the contents of the ESM log.
- 事件启用或者禁用
./omhelp omconfig system events
events Events enable or disable.
Valid parameters are:
type=<all> Events for all types.
index=<number> Single event index (requires specific event type).
type=<powersupplies> Events for power supplies.
type=<redundancy> Events for components with redundancy.
type=<temps> Events for temperature probes.
type=<fans> Events for fan probes.
type=<volts> Events for voltage probes.
type=<systempower> Events for system power probes.
type=<log> Events for logs.
type=<memory> Events for memory.
type=<intrusion> Events for chassis intrusion.
type=<battery> Events for battery.
type=<systempeakpower> Events for system peak power.
Note: systempeakpower does not support the warning and critical severity.
type=<removableflashmedia> Events for removable flash media.
severity=<info> Enable informational, warning and critical events.
severity=<warning> Enable warning and critical events.
severity=<critical> Enable critical events.
severity=<none> Enable no events.
source=<snmptraps> Event source is SNMP traps.
- 配置平台事件
./omhelp omconfig system platformevents
platformevents Configure platform events.
Valid parameters are:
alertsenable=<true|false> Set platform event filter alerts enable.
For one event, specify an action and or an alert value:
event=fanfail Set fan failure action(s).
event=voltfail Set analog voltage probe failure action(s).
event=discretevolt Set discrete voltage probe failure action(s).
event=tempwarn Set temperature probe warning action(s).
event=tempfail Set temperature probe failure action(s).
event=intrusion Set chassis intrusion action(s).
event=redundegrad Set redundancy degraded action(s).
event=redunlost Set redundancy lost action(s).
event=processorwarn Set processor warning actions(s).
event=processorfail Set processor failure actions(s).
event=powerwarn Set power device warning action(s)
event=powerfail Set power device failure action(s)
event=hardwarelogfail Set hardware log failure action(s).
event=watchdogasr Set automatic system recovery alert enable/disable.
event=batterywarn Set battery warning action(s).
event=batteryfail Set battery failure action(s).
event=processorabsent Set processor absent action(s).
event=powerabsent Set power supply absent action(s).
event=systempowerwarn Set system power probe warning action(s).
event=systempowerfail Set system power probe failure action(s).
event=removableflashmediafail Set removable flash media failure action(s).
event=removableflashmediapresentSet removable flash media present action(s).
event=removableflashmediawarn Set removable flash media warning action(s).
event=intdualsdcardcritical Set internal dual SD module card critical action(s).
event=intdualsdcardwarn Set internal dual SD module card warning action(s).
event=intdualsdcardabsent Set internal dual SD module card absent critical action(s).
event=intdualsdcardredunlost Set internal dual SD module card redundancy lost action(s).
action=reboot Force server reboot.
action=poweroff Force server poweroff.
action=powercycle Force server powercycle.
action=powerreduction Force server power reduction.
action=none No shutdown action.
alert=enable Enable platform event SNMP alert.
alert=disable Disable platform event SNMP alert.
- 配置平台事件目标
./omhelp omconfig system pedestinations
pedestinations Configure platform event destinations.
Valid parameters are either:
index=<number> Destination index
destenable=<true|false> Enable alert destination
ipaddress=<ipv4|ipv6 address|fqdn> Destination IP Address.
or:
communitystr=<text> Community string.
- 配置系统恢复操作
./omhelp omconfig system recovery
recovery Configure system recovery actions.
Valid parameters are:
action=none No recovery action.
action=reboot On recovery, reboot the server.
action=poweroff On recovery, poweroff the server.
action=powercycle On recovery, power cycle the server.
timer=<number> Set system reset timer (from 60 to 720 seconds).
- 操作服务器系统
./omhelp omconfig system shutdown
shutdown Shutdown server.
Valid parameters are:
action=reboot Shutdown, reboot the server.
action=poweroff Shutdown, poweroff the server.
action=powercycle Shutdown and power cycle the server.
osfirst=<true|false> On shutdown, shutdown the OS first. Default is true. On 13G and later systems, the parameter "osfirst=false" is deprecated. Even if you set "osfirst=false", the OS shuts down before the "action" is performed.
- 设置热关机严重级别
./omhelp omconfig system thrmshutdown
thrmshutdown Set thermal shutdown severity level.
Valid parameters are:
severity=<disabled|warning|failure>
- bios配置
./omhelp omconfig chassis biossetup
chassis Set chassis component properties.
The available command(s) are:
Command Description
pwrmonitoring Set power consumption probe threshold(s) and reset reading(s).
pwrmanagement Set power management budget and profiles.
biossetup Configure BIOS setup.
bmc Configure Remote Access Information.
SUBCOMMAND DEPRECATION WARNING:
This subcommand is deprecated and will be discontinued in
a subsequent release.
Use the subcommand "remoteaccess" instead.
fans Set fan probe threshold(s).
info Set chassis information.
leds LED configuration.
memorymode Set memory redundancy mode.
frontpanel Enable or disable front panel buttons.
temps Set temperature probe threshold(s).
volts Set voltage probe threshold(s).
remoteaccess Configure Remote Access Information.
Usage: omconfig <command...> [name=value...] ... [option...]
Valid command line options are:
-? Print available command(s) or command help.
-fmt <lst|xml> Format for output results, default is lst.
Where: lst List format.
xml Raw XML format.
-outc <file> Redirect output to file, delete old if exists.
OR
-outa <file> Redirect output to file, append to old if exists.
OR
Output may also be redirected using Operating System facilities (e.g. |more).
[root@node28.blistack.ops.beta.bj1.wormpex.com /opt/dell/srvadmin/bin]$ ./omhelp omconfig chassis biossetup
Memory Settings
-----------------------------------
attribute=MemTest setting=<Enabled><Disabled>
attribute=MemOpMode setting=<OptimizerMode><SpareMode><MirrorMode><AdvEccMode><SpareWithAdvEccMode><FaultResilientMode><NUMAFaultResilientMode>
attribute=NodeInterleave setting=<Enabled><Disabled>
attribute=SnoopMode setting=<EarlySnoop><HomeSnoop><ClusterOnDie><OpportunisticSnoopBroadcast>
attribute=CorrEccSmi setting=<Enabled><Disabled>
Processor Settings
-----------------------------------
attribute=LogicalProc setting=<Enabled><Disabled>
attribute=QpiSpeed setting=<MaxDataRate><8GTps><6GTps>
attribute=CpuInterconnectBusLinkPower setting=<Enabled><Disabled>
attribute=RtidSetting setting=<Enabled><Disabled>
attribute=ProcVirtualization setting=<Enabled><Disabled>
attribute=ProcAts setting=<Enabled><Disabled>
attribute=ProcAdjCacheLine setting=<Enabled><Disabled>
attribute=ProcHwPrefetcher setting=<Enabled><Disabled>
attribute=DcuStreamerPrefetcher setting=<Enabled><Disabled>
attribute=DcuIpPrefetcher setting=<Enabled><Disabled>
attribute=ProcExecuteDisable setting=<Enabled><Disabled>
attribute=DynamicCoreAllocation setting=<Enabled><Disabled>
attribute=ProcConfigTdp setting=<Nominal><Level1>
attribute=ProcX2Apic setting=<Enabled><Disabled>
attribute=ControlledTurbo setting=<Enabled><Disabled><ControlledTurboLimitMinus1><ControlledTurboLimitMinus2><ControlledTurboLimitMinus3>
attribute=ProcCores setting=<All><1><2><4><6><8>
SATA Settings
-----------------------------------
attribute=EmbSata setting=<AtaMode><AhciMode><RaidMode><Off>
attribute=SecurityFreezeLock setting=<Enabled><Disabled>
attribute=WriteCache setting=<Enabled><Disabled>
Boot Settings
-----------------------------------
attribute=BootMode setting=<Bios><Uefi>
attribute=BootSeqRetry setting=<Enabled><Disabled>
attribute=HddFailover setting=<Enabled><Disabled>
BIOS Boot Settings
-----------------------------------
attribute=BootSeq sequence=<NIC.Slot.5-1-1><HardDisk.List.1-1><NIC.Slot.5-2-1>
attribute=HddSeq sequence=<RAID.Integrated.1-1>
One-Time Boot
-----------------------------------
attribute=OneTimeBootMode setting=<Disabled><OneTimeBootSeq><OneTimeHddSeq>
Integrated Devices
-----------------------------------
attribute=Usb3Setting setting=<Disabled><Enabled>
attribute=UsbPorts setting=<AllOn><OnlyBackPortsOn><AllOff>
attribute=InternalUsb setting=<On><Off>
attribute=IntegratedRaid setting=<Enabled><Disabled>
attribute=IntegratedNetwork1 setting=<Enabled><DisabledOs>
attribute=IntNic1Port1BootProto setting=<Unknown><None><Pxe><Iscsi>
attribute=IntNic1Port2BootProto setting=<Unknown><None><Pxe><Iscsi>
attribute=IntNic1Port3BootProto setting=<Unknown><None><Pxe><Iscsi>
attribute=IntNic1Port4BootProto setting=<Unknown><None><Pxe><Iscsi>
attribute=IoatEngine setting=<Enabled><Disabled>
attribute=IoNonPostedPrefetch setting=<Enabled><Disabled>
attribute=SnoopHldOff setting=<Roll256Cycles><Roll512Cycles><Roll1KCycles><Roll2KCycles>
attribute=EmbVideo setting=<Enabled><Disabled>
attribute=SriovGlobalEnable setting=<Enabled><Disabled>
attribute=OsWatchdogTimer setting=<Enabled><Disabled>
attribute=MmioAbove4Gb setting=<Enabled><Disabled>
attribute=LowerMmio setting=<Enabled><Disabled>
Slot Disablement
-----------------------------------
attribute=GlobalSlotDriverDisable setting=<Enabled><Disabled>
attribute=Slot1 setting=<Enabled><Disabled><BootDriverDisabled>
attribute=Slot2 setting=<Enabled><Disabled><BootDriverDisabled>
attribute=Slot3 setting=<Enabled><Disabled><BootDriverDisabled>
attribute=Slot4 setting=<Enabled><Disabled><BootDriverDisabled>
attribute=Slot5 setting=<Enabled><Disabled><BootDriverDisabled>
attribute=Slot6 setting=<Enabled><Disabled><BootDriverDisabled>
attribute=Slot7 setting=<Enabled><Disabled><BootDriverDisabled>
Slot Bifurcation
-----------------------------------
attribute=Slot1Bif setting=<DefaultBifurcation><x4x4>
attribute=Slot2Bif setting=<DefaultBifurcation><x4x4>
attribute=Slot3Bif setting=<DefaultBifurcation><x4x4>
attribute=Slot4Bif setting=<DefaultBifurcation><x4x4x4x4><x8x8>
attribute=Slot5Bif setting=<DefaultBifurcation><x4x4>
attribute=Slot6Bif setting=<DefaultBifurcation><x4x4>
attribute=Slot7Bif setting=<DefaultBifurcation><x4x4>
Serial Communication
-----------------------------------
attribute=SerialComm setting=<OnNoConRedir><OnConRedirAuto><OnConRedirCom1><OnConRedirCom2><Off>
attribute=SerialPortAddress setting=<Serial1Com1Serial2Com2><Serial1Com2Serial2Com1>
attribute=ExtSerialConnector setting=<Serial1><Serial2><RemoteAccDevice>
attribute=FailSafeBaud setting=<115200><57600><19200><9600>
attribute=ConTermType setting=<Vt100Vt220><Ansi>
attribute=RedirAfterBoot setting=<Enabled><Disabled>
System Profile Settings
-----------------------------------
attribute=SysProfile setting=<PerfPerWattOptimizedDapc><PerfPerWattOptimizedOs><PerfOptimized><DenseCfgOptimized><Custom>
attribute=WorkloadProfile setting=<NotAvailable><HpcProfile><LowLatencyOptimizedProfile>
attribute=PowerSaver setting=<Enabled><Disabled>
System Security
-----------------------------------
attribute=SysPassword setting=<string value>
attribute=SetupPassword setting=<string value>
attribute=PasswordStatus setting=<Unlocked><Locked>
attribute=AcPwrRcvry setting=<Last><On><Off>
attribute=AcPwrRcvryDelay setting=<Immediate><Random><User>
attribute=UefiVariableAccess setting=<Standard><Controlled>
Miscellaneous Settings
-----------------------------------
attribute=AssetTag setting=<string value>
attribute=NumLock setting=<On><Off>
attribute=ErrPrompt setting=<Enabled><Disabled>
attribute=ForceInt10 setting=<Enabled><Disabled>
attribute=InSystemCharacterization setting=<Enabled><Disabled><FastBoot>
-----------------------------------
passwd=<string> This parameter allows to provide the setup password.
NOTE:To lock a System Password, after you set a System Password, reboot the system and then set Locked state for Password Status attribute.
- 远程配置信息
./omhelp omconfig chassis bmc
SUBCOMMAND DEPRECATION WARNING:
This subcommand is deprecated and will be discontinued in a subsequent release.
Use the subcommand "remoteaccess" instead.
Valid parameters are:
config=settodefault
config=nic
enable=<true|false>
enableipmi=<true|false>
enablenic=<true|false>
nicselection=<shared|sharedfailover|sharedwithfailoveronall|dedicated>
ipaddress=<IP>
subnet=<Subnet>
gateway=<Gateway>
ipsource=<static|dhcp|systemsoftware>
vlanenable=<true|false>
vlanid=<number>
vlanpriority=<number>
privilegelevel=<administrator|operator|user>
encryptkey=<text>
config=serial
mode=<directbasic|directterminal|directbasicterminal|modembasic|modemterminal|modembasicterminal>
baudrate=<9600|19200|38400|57600|115200>
flowcontrol=<none|rtscts>
privilegelevel=<administrator|operator|user>
config=terminalmode
lineediting=<enabled|disabled>
deletecontrol=<outputdel|outputbkspspbksp>
echocontrol=<enabled|disabled>
handshakingcontrol=<enabled|disabled>
newlinesequence=<none|crlf|null|cr|lfcr|lf>
inputlinesequence=<cr|null>
config=serialoverlan
enable=<true|false>
baudrate=<9600|19200|38400|57600|115200>
privilegelevel=<administrator|operator|user>
config=advsol
characcuminterval=<number>
charsendthreshold=<number>
config=user
id=<number> enable=<true|false>
id=<number> name=<text>
id=<number> newpw=<text> confirmnewpw=<text>
id=<number> lanaccesslevel=<administrator|operator|user|none>
id=<number> serialaccesslevel=<administrator|operator|user|none>
id=<number> enableserialoverlan=<true|false>
id=<number> dracusergroup=<admin|poweruser|guest|none>
id=<number> dracusergroup=custom <permission list>
where "permission list" is one or more of the following:
<logindrac|loginidrac>, <configuredrac|configureidrac>,
configureusers, clearlogs, executeservercommands,
accessconsoleredir, accessvirtualmedia, testalerts,
executediagcommands.
All are true/false values (e.g. "logindrac=true").
Any permissions not listed will default to "false".
- 设置风扇的报警阈值(配置这里的值可以)
./omhelp omconfig chassis fans
fans Set fan probe threshold(s).
Valid parameters are:
index=<number> Probe index (must be specified).
minwarnthresh=<number> Minimum warning threshold.
maxwarnthresh=<number> Maximum warning threshold.
warnthresh=default Set minimum and maximum warning thresholds to default.
- 设置基础信息
./omhelp omconfig chassis info
info Set chassis information.
Valid parameters are:
index=<number> Chassis index (defaults to 0, main system chassis).
tag=<text> Asset tag value (up to 10 chars, alphanumeric text only).
name=<text> Set chassis name.
passwd=<string> This parameter allows to provide the setup password.
Note: This parameter is not supported on 13G and later systems. For setting the asset tag, use omconfig chassis biossetup attribute=assettag setting=<value>
- 故障闪烁灯相关配置
./omhelp omconfig chassis leds
leds LED configuration.
Valid parameters are:
index=<number> Chassis index (defaults to 0, main system chassis).
led=fault severity=<warning|critical> Flash on failure level.
led=hdfault action=clear Clear hard disk fault LED.
led=identify flash=<off|on> Flash chassis identify LED.
timeout=<number> Flash timeout value ( >0 seconds).
- 配置内存的冗余模式
./omhelp omconfig chassis memorymode
memorymode Set memory redundancy mode.
Valid parameters are:
index=<number> Chassis index (defaults to 0).
redundancy=<spare|mirror|raid5|disabled> Memory redundancy mode.
opmode=<spare|mirror|optimizer|advecc> Memory operating mode.
- 启用或者禁用前面板的按钮
./omhelp omconfig chassis frontpanel
frontpanel Set front panel options.
Valid parameters are:
powerbutton=<enable|disable> Enable/disable power button.
nmibutton=<enable|disable> Enable/disable NMI button.
access=<disable|view|modify> Configure Frontpanel Security access
lcdindex=<index> Specifies the LCD line number to set.
config=<sysname|assettag|syspower|
servicetag|ambienttemp|
remoteaccessipv4|remoteaccessipv6|
remoteaccessmac|ipv4idrac|
ipv6idrac|macidrac|none|
default|custom|> Sets the LCD text to specified config.
Deprecated options: ipv4idrac, ipv6idrac, macidrac
text=<custom text> If config=custom, sets the LCD custom text. remoteindication=<true|false> Configures Remote Indication.
- 配置温度探测器阈值
./omhelp omconfig chassis temps
temps Set temperature probe threshold(s).
Valid parameters are:
index=<number> Probe index (must be specified).
minwarnthresh=<number> Minimum warning threshold (1 decimal place).
maxwarnthresh=<number> Maximum warning threshold (1 decimal place).
warnthresh=default Set minimum and maximum warning thresholds to default.
- 配置电压探测指针阈值
./omhelp omconfig chassis volts
volts Set voltage probe threshold(s).
Valid parameters are:
index=<number> Probe index (must be specified).
minwarnthresh=<number> Minimum warning threshold (3 decimal places).
maxwarnthresh=<number> Maximum warning threshold (3 decimal places).
warnthresh=default Set minimum and maximum warning thresholds to default.
- 配置远程访问信息
./omhelp omconfig chassis remoteaccess
remoteaccess Configure Remote Access Information.
Valid parameters are:
config=settodefault
config=nic
enable=<true|false>
enableipmi=<true|false>
enablenic=<true|false>
nicselection=<shared|sharedfailover|sharedwithfailoveronall|dedicated>
primarynw=<dedicated|lom1|lom2|lom3|lom4>
failovernw=<none|lom1|lom2|lom3|lom4|all>
ipaddress=<IP>
subnet=<Subnet>
gateway=<Gateway>
ipsource=<static|dhcp|systemsoftware>
ipaddressv6=<IP> prefixlength=<length>
gatewayv6=<Gateway>
ipsourcev6=<static|auto>
dnssourcev6=<static|auto>
pridnsv6=<IP>
altdnsv6=<IP>
vlanenable=<true|false>
vlanid=<number>
vlanpriority=<number>
privilegelevel=<administrator|operator|user>
encryptkey=<text>
config=serial
mode=<directbasic|directterminal|directbasicterminal|modembasic|modemterminal|modembasicterminal>
baudrate=<9600|19200|38400|57600|115200>
flowcontrol=<none|rtscts>
privilegelevel=<administrator|operator|user>
config=terminalmode
lineediting=<enabled|disabled>
deletecontrol=<outputdel|outputbkspspbksp>
echocontrol=<enabled|disabled>
handshakingcontrol=<enabled|disabled>
newlinesequence=<none|crlf|null|cr|lfcr|lf>
inputlinesequence=<cr|null>
config=serialoverlan
enable=<true|false>
baudrate=<9600|19200|38400|57600|115200>
privilegelevel=<administrator|operator|user>
config=advsol
characcuminterval=<number>
charsendthreshold=<number>
config=additional
ipv4=<enabled|disabled>
ipv6=<enabled|disabled>
config=user
id=<number> enable=<true|false>
id=<number> name=<text>
id=<number> newpw=<text> confirmnewpw=<text>
id=<number> lanaccesslevel=<administrator|operator|user|none>
id=<number> serialaccesslevel=<administrator|operator|user|none>
id=<number> enableserialoverlan=<true|false>
id=<number> dracusergroup=<admin|poweruser|guest|none>
id=<number> extipmiusergroup=<admin|poweruser (or) operator|guest (or) readonly|none>
id=<number> dracusergroup=custom <permission list>
id=<number> extipmiusergroup=custom <permission list>
where "permission list" is one or more of the following:
<logindrac|loginidrac>, <configuredrac|configureidrac>,
configureusers, clearlogs, executeservercommands,
accessconsoleredir, accessvirtualmedia, testalerts,
executediagcommands.
All are true/false values (e.g. "logindrac=true").
Any permissions not listed will default to "false".
- 物理磁盘配置命令
./omhelp omconfig storage pdisk
pdisk Supports physical disk configuration commands.
action=blink
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
blinks the given physical disk
action=unblink
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
unblinks the given physical disk
action=remove
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
prepares the physical disk for removal
action=instantsecureerase
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
erases the given SED. Non-NVMe PCIe SSDs also use the same command for Full Initialization.
action=cryptographicerase
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
erases the given NVMe device. This option is available only for NVMe devices.
action=initialize
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
initializes the given physical disk
action=offline
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
offlines the given physical disk
action=online
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
onlines the given physical disk
action=assignglobalhotspare
Required parameters are:
controller=id
pdisk=<PDISKID>
assign=<yes | no>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
assigns/unassigns the given physical disk as global hot spare.
Note : The input physical disk can only protect virtual disks of same bus protocol, media type, sector size, T10 Protection Information capability, and encryption capability.
action=rebuild
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
rebuilds the given physical disk
action=cancelrebuild
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
cancels rebuild on the given physical disk
action=cancelreplacemember
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
cancels replace member operation on the given physical disk
action=removedeadsegments
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
removes the disk space occupied by a dead disk segment
action=clear
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
clears the given physical disk
action=cancelclear
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
cancels clear operation on the given physical disk
action=convertraidtononraid
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
converts RAID to Non-RAID on the given physical disk
action=convertnonraidtoraid
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
converts Non-RAID to RAID on the given physical disk
action=enabledevicewritecache
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
enables Write Cache on the given physical disk for the PCIe SSD controllers
action=disabledevicewritecache
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
disables Write Cache on the given physical disk for the PCIe SSD controllers
action=exportlog
Required parameters are:
controller=id
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
exports the PCIe SSD or NVMe device log to windows folder on Windows and /var/log on Linux. Depending on the PCIe SSD or NVMe device, the log file name will be PCIeSSD_<device name>_<timestamp>.log or NVME_<device name>_<timestamp>.log where <device name> is the name of the device and timestamp is month, day, hour, minute and second during which the command is executed.
- 配置虚拟磁(常见的重建raid,配置raid缓存策略就是在这里进行配置)
./omhelp omconfig storage vdisk
vdisk Supports virtual disk configuration commands.
action=checkconsistency
Required parameters are:
controller=id
vdisk=id
initiates check consistency operation on given virtual disk
action=cancelcheckconsistency
Required parameters are:
controller=id
vdisk=id
cancels check consistency operation on given virtual disk
action=pausecheckconsistency
Required parameters are:
controller=id
vdisk=id
pauses check consistency operation on given virtual disk
action=resumecheckconsistency
Required parameters are:
controller=id
vdisk=id
resumes check consistency operation on given virtual disk
action=blink
Required parameters are:
controller=id
vdisk=id
blinks the given virtual Disk
action=unblink
Required parameters are:
controller=id
vdisk=id
unblinks the given virtual Disk
action=initialize
Required parameters are:
controller=id
vdisk=id
initializes the given virtual Disk
action=fastinit
Required parameters are:
controller=id
vdisk=id
Optional parameters are:
force=yes
performs a fast initialization on the given virtual Disk
action=slowinit
Required parameters are:
controller=id
vdisk=id
Optional parameters are:
force=yes
performs a slow initialization on the given virtual Disk
action=cancelinitialize
Required parameters are:
controller=id
vdisk=id
cancels initialization on the given virtual Disk
action=cancelbginitialize
Required parameters are:
controller=id
vdisk=id
cancels background initialization on the given virtual Disk
action=restoresegments
Required parameters are:
controller=id
vdisk=id
recovers disk space occupied by a dead disk segment
action=splitmirror
Required parameters are:
controller=id
vdisk=id
converts a mirror set into two concatenated or RAID 0 sets without erasing
any redundant data
action=unmirror
Required parameters are:
controller=id
vdisk=id
converts a mirror set into 1 concatenated set or RAID 0 set without erasing
any redundent data and restores the other half of the mirror set to free space.
action=assigndedicatedhotspare
Required parameters are:
controller=id
vdisk=id
assign=<yes | no>
pdisk=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
assigns/unassigns a physical disk to the given virtual disk
action=deletevdisk
Required parameters are:
controller=id
vdisk=id
Optional parameters are:
force=yes
deletes the given virtual disk
action=format
Required parameters are:
controller=id
vdisk=id
formats the given virtual disk
action=reconfigure
Required parameters are:
controller=id
vdisk=id
raid=<c | r0 | r1 | r1c | r5 | r6 | r10>
pdisk=<PDISKID,PDISKID,.....>
Optional parameters are:
size=<size>
vdcapacityexpansion=yes
sizeinpercent=<1 to 100>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
changes RAID level of a virtual disk or expand the virtual disk either by adding new physical disks or resizing the virtual disk.
Note : If 'vdcapacityexpansion' parameter is not selected, 'size' should be provided.
Note : If 'vdcapacityexpansion' parameter is selected, instead of 'size', 'sizeinpercent' should be provided.
Note : The additional physical disk for reconfigure must be of supported bus protocol, media type, sector size, T10 Protection Information capability, and encryption capability.
action=securevd
Required parameters are:
controller=id
vdisk=id
encrypt the given virtual disk
action=clearvdbadblocks
Required parameters are:
controller=id
vdisk=id
clears bad block for the given virtual disk
action=changepolicy
Required parameters are:
controller=id
vdisk=id
Optional parameters are:
readpolicy=<ra | nra | ara | rc | nrc>
writepolicy=<wb | wt | wc | nwc | fwb>
cachepolicy=<d | c>
diskcachepolicy=<unchanged | disabled | enabled>
Note : unchanged is applicable only for PERC 9 or later family of hardware controllers.
lets user modify read, write and/or cache policy of the given virtual disk
action=replacememberdisk
Required parameters are:
controller=id
vdisk=id
source=<PDISKID>
destination=<PDISKID>
where PDISKID=<connector:enclosureID:portID | connector:targetID>
replaces the member of given virtual disk with given destination disk
action=rename
Required parameters are:
controller=id
vdisk=id
name=<string>
renames the given virtual disk
action=enablefluidcache
Required parameters are:
controller=id
vdisk=id
devicename=<string>
cachepolicy=<wb( for specifying writeback) or wt( for specifying writethrough)>
enables Fluid Cache for the specified virtual disk.A new Fluid Cache Disk /dev/fldc_x_ shall be created as a result of enabling Fluid Cache. You MUST use the new Fluid Cache Disk /dev/fldc_x_ for all data access moving forward. Any additional data access to the corresponding Virtual Disk /dev/sd_x_ or its partitions being cached may lead to data corruption.
action=disablefluidcache
Required parameters are:
controller=id
vdisk=id
devicename=<string>
disables the fluid cache capability for the specified virtual disk
action=reactivate
Required parameters are:
controller=id
vdisk=id
devicename=<string>
reactivates the fluid cache for the specified virtual disk