RACADM 适合centos7及以上
Dell也为我们提供了RACADM工具,包含在Dell EMC iDRAC Tools(RACADM + IPMITool)中。
Linux版下载地址:wget http://downloads.dell.com/FOLDER00651500M/1/OM-SrvAdmin-Dell-Web-LX-7.1.0-5304.RHEL6.x86_64_A00.tar.gz
下载tar.gz文件并上传至目标目录,操作系统必须是直接安装在裸金属服务器的。
yum install -y net-snmp net-snmp-devel net-snmp-utils wget perl OpenIPMI
tar -zxvf OM-SrvAdmin-Dell-Web-LX-7.1.0-5304.RHEL6.x86_64_A00.tar.gz
cd iDRACTools/racadm/RHEL7/x86_64/
yum -y install srvadmin-*
cd /opt/dell/srvadmin/sbin/
./racadm getconfig -u root ###查看idrac root索引号,索引号为2
#cfgUserAdminIndex=2
cfgUserAdminUserName=root
!!cfgUserAdminPassword=******** (Write-Only)
cfgUserAdminEnable=Enabled
cfgUserAdminPrivilege=0x1ff
cfgUserAdminIpmiLanPrivilege=4
cfgUserAdminIpmiSerialPrivilege=4
cfgUserAdminSolEnable=Enabled
racadm set iDRAC.Users.2.Password calvin ##重置icrac root密码注意密码策略calvin不符合,先修改一个复杂密码
用已设置的密码登陆idrac后台,配置密码策略为0,就是无策略(不建议)
本地用户-root-编辑-就可以改为calvin默认密码了
OMSA srvadmin 方式更改(适合老版本服务器比如centos6)
默认安装方式:
wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
yum -y install srvadmin-all
cp /opt/dell/srvadmin/sbin/omreport /usr/bin /opt/dell/srvadmin/sbin/srvadmin-services.sh start
一般旧的型号,如R630,R410等,在centos7上安装后, 会出现别不到阵列卡 no controllers found等问题,可尝试使用OMSA7.1。安装方法如下:
1.卸载yum安装的omsa,下载OMSA7.1,准备环境
rpm -e $(rpm -qa | grep srvadmin)
wget http://downloads.dell.com/FOLDER00651500M/1/OM-SrvAdmin-Dell-Web-LX-7.1.0-5304.RHEL6.x86_64_A00.tar.gz
yum install libcmpiCppImpl0 openwsman-server openwsman-client sblim-sfcb pciutils libgcrypt-devel libxslt
2.解压:
tar zxvf OM-SrvAdmin-Dell-Web-LX-7.1.0-5304.RHEL6.x86_64_A00.tar.gz
3.修改redhat-release文件:
mv /etc/redhat-release /etc/redhat-release.bak; echo "Santiago Centos release 6.3 (Final)" >> /etc/redhat-release
4.运行setup.sh开始安装:
./setup.sh
#选择如下几项即可 (7选择全部,然后按i选择安装启动)
Installed Components: [x] Server Instrumentation
[x] Server Administrator Web Server
[x] Storage Management
[x] Remote Access Core Component
[x] Remote Access SA Plugin Component
5.还原redhat-release文件:
rm -f /etc/redhat-release; mv /etc/redhat-release.bak /etc/redhat-release
6.开机启动:(可以不进行配置)
echo '/opt/dell/srvadmin/sbin/srvadmin-services.sh start' >> /etc/rc.local
至此就安装完成了,查看下阵列卡信息:
[opt]# /opt/dell/srvadmin/bin/omreport storage controller
Controller PERC H700 Integrated (Embedded)
Controllers
ID : 0
Status : Ok
Name : PERC H700 Integrated
Slot ID : Embedded
State : Ready
Firmware Version : 12.10.4-0001
Minimum Required Firmware Version : Not Applicable
Driver Version : 07.701.17.00-rh1
Minimum Required Driver Version : Not Applicable
Storport Driver Version : Not Applicable
Minimum Required Storport Driver Version : Not Applicable
Number of Connectors : 2
Rebuild Rate : 30%
BGI Rate : 30%
Check Consistency Rate : 30%
Reconstruct Rate : 30%
Alarm State : Not Applicable
Cluster Mode : Not Applicable
SCSI Initiator ID : Not Applicable
Cache Memory Size : 1024 MB
Patrol Read Mode : Auto
Patrol Read State : Stopped
Patrol Read Rate : 30%
Patrol Read Iterations : 370
Abort Check Consistency on Error : Disabled
Allow Revertible Hot Spare and Replace Member : Enabled
Load Balance : Not Applicable
Auto Replace Member on Predictive Failure : Disabled
Redundant Path view : Not Applicable
CacheCade Capable : Yes
Persistent Hot Spare : Disabled
Encryption Capable : Yes
Encryption Key Present : No
Encryption Mode : None
Preserved Cache : No
Spin Down Unconfigured Drives : Disabled
Spin Down Hot Spares : Disabled
Spin Down Configured Drives : Not Applicable
Automatic Disk Power Saving (Idle C) : Not Applicable
6、访问omsa 管理页面
https://host:1311 用 操作系统的root账号密码登录
系统-》主系统机箱-》远程访问-》用户-》点击用户id进行修改,勾选启用用户,更改密码即可,登录idrac远控