尊重作者的劳动,转载请注明作者及原文地址 http://www.cnblogs.com/txwsqk/p/6522854.html
可以直接在浏览器输入管理卡的地址-用户名-密码页面操作
也可以通过命令行
下面说明下使用linux命令行的方法
安装
下载 https://www.dell.com/support/home/cn/zh/cndhs1/drivers/driversdetails?driverid=49t1m
yum -y install openssl-devel
解压后进入 linux/rac/RHEL7/x86_64
rpm -ivh *.rpm
基本使用
主要就是 racadm命令
-
查看机器基本信息
racadm -r
10.11
.
1.30
-uroot -p password getsysinfo
-
修改远程管理卡的默认密码 (root/calvin)
racadm -r
10.11
.
1.30
-uroot -p calvin config -g cfgUserAdmin -o cfgUserAdminPassword -i
2
NEW_PASSWORD
更多用法参考
-
设置pxe启动
racadm config -g cfgServerInfo -o cfgServerBootOnce
1
racadm config -g cfgServerInfo -o cfgServerFirstBootDevice PXE
racadm serveraction powercycle
-
设置硬盘non-raid
dell的服务器默认硬盘是raid模式, 系统识别不出来,要在bios中转换成non-raid先获取服务器的硬盘fqdn
racadm raid get pdisks # 显示所有硬盘列表
racadm raid get pdisks -o # 这个命令是详细显示每块硬盘的信息
# 最后一条命令jobqueue是让上面的操作实时生效的,所以不需要重启系统
for
i in
10.11
.
1.48
10.11
.
1.101
;
do
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
0
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
1
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
2
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
3
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
4
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
5
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
6
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
7
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
8
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
9
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
10
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password raid converttononraid:Disk.Bay.
11
:Enclosure.Internal.
0
-
1
:RAID.Integrated.
1
-
1
racadm -r $i -uroot -p password jobqueue create RAID.Integrated.
1
-
1
-s TIME_NOW --realtime
done
参考:
http://docplayer.net/21786861-Raid-and-storage-configuration-using-racadm-commands-in-idrac7.html