尊重作者的勞動,轉載請註明作者及原文地址 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