Dell racadm

# ubuntu 18.04
cat > /etc/apt/sources.list.d/linux.dell.com.sources.list <<'EOF'
deb http://linux.dell.com/repo/community/openmanage/920/bionic bionic main
EOF
sudo gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
sudo gpg -a --export 1285491434D8786F | sudo apt-key add -
sudo apt update
sudo apt install srvadmin-idracadm8 / srvadmin-idracadm7
ln -s /opt/dell/srvadmin/bin/idracadm7 /usr/bin/racadm
apt install libargtable2-dev
# centos 7
wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
yum install srvadmin-idracadm8 / srvadmin-idracadm7

racadm语法:

racadm -r <racIpAddr> -u <username> -p <password> <subcommand> 
racadm -r <racIpAddr> -u <username> -p <password> get <devicename>.<groupname>.[<index>].[<objectname>]
racadm -r <racIpAddr> -u <username> -p <password> set <devicename>.<groupname>.[<index>].<objectname> <value>
-r <racIpAddr>[  : <port number> ]	指定IDRAC  IP,端口号默认是443
-u  <username>     	IDRAC用户名
-p  <password>     	IDRAC密码
-S      	安全认证无效时停止命令执行(所有正常执行命令基本都包含无效认证安全警告,非需求时不要配置此选项)
-i      	交互式登陆,手动输入账号密码;和-u、-p选项不能同时使用。
--nocertwarn      	忽略认证相关警告信息

范例:

racadm -r 192.168.0.0 -u root -p xxxx getsysinfo
racadm -r 192.168.0.0 -u root -p xxxx set idrac.ssh.port 22
racadm -r 192.168.0.0 -u root -p xxxx --nocertwarn get idrac.ssh.port

  • hardware/dell/racadm.txt
  • 最后更改: 2019/08/14 07:57
  • 由 mrco