创建raid5,分配300G做系统: racadm storage createvd:RAID.Integrated.1-1 -rl r5 -size 300g -pdkey:Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1
创建raid5: racadm storage createvd:RAID.Integrated.1-1 -rl r5 -pdkey:Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1,Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1
用户相关:
查看用户信息:racadm get idrac.users.2
添加用户:racadm set idrac.users.15.username chenss
设置密码:racadm set idrac.users.15.password wuyancs
设置为idrac管理员:racadm set idrac.users.15.Privilege 0x1ff
启用用户:racadm set idrac.users.15.enable enabled
注:数字2、15为用户ID。
IP相关:
获取idrac ip info: racadm get iDRAC.IPv4[ Address | Static | Gateway ]
修改 IP: racadm setniccfg -s 192.168.1.2 255.255.255.0 192.168.1.1
或者像这样分开设置:
racadm config -g cfgLanNetworking -o cfgNicEnable 1
racadm config -g cfgLanNetworking -o cfgNicIpAddress 192.168.1.2
racadm config -g cfgLanNetworking -o cfgNicNetmask 255.255.255.0
racadm config -g cfgLanNetworking -o cfgNicGateway 192.168.1.1
racadm config -g cfgLanNetworking -o cfgNicUseDhcp 0
或者先获取关于 RAC 的所有信息: racadm getconfig -f rac.cfg
日志相关:
获取前置面板LCD显示信息:racadm get System.LCD.CurrentDisplay
系统相关:
racadm serveraction <action>
而您将<action>替换为以下之一:
开机: racadm serveraction powerup
关机: racadm serveraction powerdown
重启(在受管系统上发出电源循环操作): racadm serveraction powercycle
显示服务器的当前电源状态 (“ON”, or “OFF”): racadm serveraction powerstatus
在受管系统上执行重置(重新引导)操作: racadm serveraction hardreset
获取idrac snap info:racadm get iDRAC.SNMP
如果您的Drac因任何原因崩溃,您可能需要重置它:
racadm racreset
备注:提交作业时,perc8的卡(H710)是不支持realtime参数的;realtime参数是从perc9(H730)才开始支持。
Linux公社的RSS地址:https://www.linuxidc.com/rssFeed.aspx