DELL RACADM 批量升级戴尔IDRAC固件
需求:通过服务器远程管理IP批量升级戴尔IDRAC固件
工具:racadm、ipmitool、Remote Access Configuration Tool
下载:
第一步,将要更新BMC IP写入 ip.conf
192.168.100.80
192.168.100.81
192.168.100.82
192.168.100.83
第二步,验证当前BMC帐号 userlist.sh
#!/bin/bash
true > userlist.txt
while read line;
do
ip=`echo $line|awk '{print $1}'`
ipmitool -H $ip -I lanplus -U userid -P password user list >/dev/null
ret=$?
if [ $ret -eq ]
then printf "$ip OK\n">>userlist.txt
else printf "$ip ERR\n">>userlist.txt
fi
done < ./ip.conf
第三步,编辑批量ping脚本 server_ping.sh
#!/bin/bash
true > out.txt
while read line;
do
ip=`echo $line|awk '{print $1}'`
ping -w -c $ip>/dev/null
ret=$?
if [ $ret -eq ]
then printf "$ip OK\n">>out.txt
else printf "$ip ERR\n">>out.txt
fi
done < ./ip.conf
第四步,通过Remote Access Configuration Tool 查看当前戴尔设备的RDRAC版本
下载地址:http://www.dell.com/support/home/cn/zh/cndhs1/Drivers/DriversDetails?driverId=5T1PD
第五步,下载IDRAC固件版本和搭建FTP服务器
固件下载:http://www.dell.com/support/home/cn/zh/cndhs1/Drivers/DriversDetails?driverId=2091K&fileId=3576056388&osCode=W12R2&productCode=poweredge-r630&languageCode=cs&categoryId=LC
安装ftp服务
yum install ftp
第六步,编写批量升级IDRAC脚本 update_idrac_2.40.40.sh
#!/bin/bash
user=user
password=password while read ip; do
racadm -r $ip -u $user -p $password fwupdate -f $ip anonymous -d /pub/firmimg.d7
done < ip.conf
第七步,批量升级IDRAC固件
[root@host]# sh update_idrac_2.40.40.sh
/sbin/racadm: line : printf: 0xError: invalid hex number
Security Alert: Certificate is invalid - self signed certificate
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
FTP firmware update has been initiated. This update process
may take several minutes to complete. Please check the update status
using fwupdate -s command.
DELL RACADM 批量升级戴尔IDRAC固件的更多相关文章
- 戴尔iDRAC服务器远程控制设置
对于远程的服务器,我们不能经常性的去机房维护,所以远程控制对于服务器来说就显得至关重要.那么你是用什么方式对服务器进行远程控制呢?远程桌面?还是KVM切换器?NO,你OUT了!如果你用的是戴尔的服务器 ...
- 戴尔iDRAC+Ubuntu 18.04系统安装
Ubuntu镜像下载链接:http://mirrors.aliyun.com/ubuntu-releases/18.04/ 1.登录戴尔管理口 2.点击虚拟控制台 3.选择镜像 4.挂载镜像 5.选择 ...
- 批量升级BMC固件asu64、ipmitool
需求:通过服务器远程管理IP批量升级IMM.UEFI固件 工具:asu64.ipmitool.iflash64.cdc_interface.sh 下载:http://pan.baidu.com/s/1 ...
- LENOVO服务器批量升级BMC固件
需求:通过服务器远程管理IP批量升级IMM.UEFI固件 工具:asu64.ipmitool.iflash64.cdc_interface.sh 下载:http://pan.baidu.com/s/1 ...
- 戴尔dell服务器硬件故障SMTP邮件报警idrac配置
上次公司有台戴尔的服务器硬盘故障了却没有及时发现,后面就研究了一下看到戴尔的idrac有硬件SMTP报警功能 然后自己折腾了一下,一开始配置不成功,后面问了一下戴尔官方的最好自己再摸索了一下解决了,做 ...
- 戴尔PowerEdge RAID控制卡使用示例(PERC H710P为例)
Dell PERC使用示例列表(H710p) 特别说明,本文相关RAID的操作,仅供网友在测试环境里学习和理解戴尔PowerEdge服务器RAID控制卡的功能和使用方法.切勿直接在生产服务器上做相关实 ...
- 戴尔PowerEdge服务器RAID控制卡的配置
示例演示环境:PowerEdge R620 + H710p Raid控制卡 + 9 x 300G 10k SAS 硬盘 H310.H710.H810的配置方法与H710P大致相同,在此不再累述. 特 ...
- 戴尔OMSA 使用指南
戴尔的OMSA我们已经安装完成,但是没有web页面.因此我们目前想要看到服务器的相关硬件信息就需要使用命令行的方式获取了.那么,这里就介绍如何使用命令获取服务器硬件信息. 下面是我监控一些硬件信息的命 ...
- 戴尔CEO:我们将专注于企业 而非手机业务
9月13日消息,据国外媒体报道,戴尔公司董事长兼首席执行官迈克尔·戴尔(Michael Dell)周五接受了CNBC采访,谈了他对戴尔未来的打算.此前一天,迈克尔·戴尔提出的以250亿美元将戴尔私有化 ...
随机推荐
- SGU 147.Black-white king
时间限制:0.25s 空间限制:4M 题意: 在一个N*N(N <= 106)的棋盘上,有三个棋子:黑王.白王.黑白王,它们的行走方式一致,每秒向8个方向中的任意一个行走一步. 现在黑王和白王想 ...
- 激活office 2013
1.下载office 2013激活工具:microsoft toolkit 2.解压文件,运行Microsoft Toolkit.exe,选择office,即箭头标识处
- Day1 初识Python
(1)变量与赋值 name = "wanghuafeng" age = 29 print(name, age) a和b交换值 a = 3 b = 5 tmp = a a = b b ...
- Netty笔记--ByteBuf释放
参考资料:http://www.maljob.com/pages/newsDetail.html?id=394 参考资料:http://www.blogjava.net/liuguly/archive ...
- Spark Executor Driver资源调度小结【转】
一.引子 在Worker Actor中,每次LaunchExecutor会创建一个CoarseGrainedExecutorBackend进程,Executor和CoarseGrainedExecut ...
- Android Service 启动和停止服务
activity_main.xml 定义两个Button控件,start_service和stop_service. <LinearLayout xmlns:android="http ...
- MFC枚举USB设备碰到的一个疑难,还没解决
代码如下: 打开USB Hub设备之后,返回句柄hHubDevice,然后使用EnumerateHubPorts来枚举Hub的端 口.疑问在代码的中文注释中. bool CUsbEnumHub::En ...
- nutch fetcher.server.delay
1 配置因素 <property> <name>fetcher.server.delay</name> <value>0.0</value&g ...
- Linux定时运行与开机运行任务
http://os.51cto.com/art/200805/75144.htm at命令与crontab命令 http://os.51cto.com/art/201007/211874.htm ht ...
- GitHub上最火的开源项目SlidingMenu导入出错的终极解决方案
SlidingMenu 开源项目下载地址 : https://github.com/jfeinstein10/slidingmenu Actionbarsherlock 开源项目下载地址 :http: ...