尊重做者的勞動,轉載請註明做者及原文地址 http://www.cnblogs.com/txwsqk/p/6522854.html html
能夠直接在瀏覽器輸入管理卡的地址-用戶名-密碼頁面操做java
也能夠經過命令行linux
下面說明下使用linux命令行的方法ios
下載 https://www.dell.com/support/home/cn/zh/cndhs1/drivers/driversdetails?driverid=49t1mgit
yum -y install openssl-devel
解壓後進入 linux/rac/RHEL7/x86_64
rpm -ivh *.rpmgithub
主要就是 racadm命令瀏覽器
查看機器基本信息服務器
racadm -r
10.11
.
1.30
-uroot -p password getsysinfo
|
修改遠程管理卡的默認密碼 (root/calvin)ui
racadm -r
10.11
.
1.30
-uroot -p calvin config -g cfgUserAdmin -o cfgUserAdminPassword -i
2
NEW_PASSWORD
|
更多用法參考spa
設置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