[转载]DELL iDRAC Express使用简要
- 一、iDRAC的配置
- 1、本地配置:
a)
b)
c)
d)
e)
注:如果这里不进行密码配置,那么该root帐户的密码是calvin
f)
- 2、通过OpenManage远程配置iDRAC
a)配置IP地址:
在操作系统下安装Openmanage,然后WEB界面登陆进去,按照图示进行操作就行了:
SSH2连接一下:
- 3.
更改iDRAC配置:
a)
注:这种方法可以在不安装Openmanage,且事先配置好iDRAC,在不关机的状态下对iDRAC的配置进行更改。
IP配置:
用户配置:
b)
SSH连接进去之后,输入如下命令配置IP地址:
/admin1-> racadm config -g cfgLanNetworking -o cfgNicIpAddress 1.1.1.111
/admin1-> racadm config -g cfgLanNetworking -o cfgNicNetmask 255.255.255.0
/admin1-> racadm config -g cfgLanNetworking -o cfgNicGateway 1.1.1.110
/admin1-> racadm config -g cfgLanNetworking -o cfgDNSServer1 1.1.1.110
或者
/admin1-> racadm setniccfg -s 1.1.1.111 255.255.255.0 1.1.1.110
Static IP configuration enabled and modified successfully
/admin1->
输入如下命令查看一个用户名是否被占用:
格式:racadm getconfig -u <username>,举例,查看是否有“111”用户:
/admin1-> racadm getconfig -u 111
# cfgUserAdminIndex=2
cfgUserAdminUserName=111
# cfgUserAdminPassword=******** (Write-Only)
cfgUserAdminEnable=1
cfgUserAdminPrivilege=0x000001ff
cfgUserAdminIpmiLanPrivi
cfgUserAdminIpmiSerialPr
cfgUserAdminSolEnable=1
或者,iDRAC能够储存16个用户信息,使用如下命令逐一查询:
格式:racadm getconfig -g cfgUserAdmin -i <index>,举例查看第二条用户记录是什么:
/admin1-> racadm getconfig -g cfgUserAdmin -i 2
# cfgUserAdminIndex=2
cfgUserAdminUserName=111
# cfgUserAdminPassword=******** (Write-Only)
cfgUserAdminEnable=1
cfgUserAdminPrivilege=0x000001ff
cfgUserAdminIpmiLanPrivi
cfgUserAdminIpmiSerialPr
cfgUserAdminSolEnable=1
下面举例创建一个叫john,密码为123456的管理员帐户到第三个(index号)iDRAC用户记录:
/admin1-> racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 3 john
Object value modified successfully
/admin1-> racadm config -g cfgUserAdmin -o cfgUserAdminPassword -i 3 123456
Object value modified successfully
/admin1-> racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminPrivilege 0x000001ff
Object value modified successfully
/admin1-> racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminIpmiLanPrivi
Object value modified successfully
/admin1-> racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminIpmiSerialPr
Object value modified successfully
/admin1-> racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminSolEnable 1
Object value modified successfully
/admin1-> racadm config -g cfgUserAdmin -i 3 -o cfgUserAdminEnable 1
Object value modified successfully
/admin1->
删用户的命令格式:
racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i <index> ""
举例删除上面创建的john用户:
/admin1-> racadm config -g cfgUserAdmin -o cfgUserAdminUserName -i 3 ""
Object value modified successfully
/admin1->
-
二、 iDRAC Express 使用简要 - 1.
WEB管理方式:
a)
c)
d)
1)
2)
3)
4)
5)
6)
e)
注:只要服务器连接有交流电,不管它是不是开机状态,都可以通过iDRAC查看硬件日志。
f)
输入我的邮箱地址:XXX@xxx.cn,从Foxmail上看到,邮箱的SMTP服务器为:mail.xxx.cn,在CMD中PING一下,解析为:x.x.x.x,填进去,点页面右下角的“应用”:
g)
h)
i)
j)
k)
l)
m)
n)
o)
p)
q)
-
2. 简单命令管理方式
a)
/admin1->
b)
/admin1-> help
[Usage]
/admin1->
c)
d)
e)
f)
g)
“
/admin1/system1 started at Wed Mar 30 16:34:57 2011”
h)
- 3.
RACADM命令使用初步:
a)
/admin1-> racadm
===============================================================================
RACADM version 1.54 (Build 15)
Copyright (c) 2003-2010 Dell, Inc.
All Rights Reserved
===============================================================================
RACADM usage syntax:
Examples:
Display a list of available subcommands for the RAC:
Display more detailed help for a specific subcommand:
-------------------------------------------------------------------------------
/admin1->
b)
/admin1-> racadm ifconfig---------查看网络配置
bond0
eth1
eth2
lo
/admin1-> racadm getractime----显示时间
Fri Apr
/admin1-> racadm ping 1.1.1.101----PING命令
PING 1.1.1.101 (1.1.1.101): 56 data bytes
64 bytes from 1.1.1.101: seq=0 ttl=64 time=1.169 ms
--- 1.1.1.101 ping statistics ---
1 packets transmitted, 1 packets received, 0 percent packet loss
round-trip min/avg/max = 1.169/1.169/1.169 ms
c)
racadm serveraction <action>
这里的<action>可以是powerup, powerdown, powercycle, hardreset, or powerstatus.
/admin1-> racadm serveraction powerstatus
Server power status: ON
/admin1-> racadm serveraction powercycle----强行关机再开机
Server power operation successful
d)
/admin1-> racadm getsysinfo
RAC Information:
RAC Date/Time
Firmware Version
Firmware Build
Last Firmware Update
Hardware Version
MAC Address
Common settings:
Register DNS RAC Name
DNS RAC Name
Current DNS Domain
Domain Name from DHCP
IPv4 settings:
Enabled
Current IP Address
Current IP Gateway
Current IP Netmask
DHCP Enabled
Current DNS Server 1
Current DNS Server 2
DNS Servers from DHCP
IPv6 settings:
Enabled
Current IP Address 1
Current IP Gateway
Autoconfig
Link Local IP Address
Current IP Address 2
Current IP Address 3
Current IP Address 4
Current IP Address 5
Current IP Address 6
Current IP Address 7
Current IP Address 8
Current IP Address 9
Current IP Address 10
Current IP Address 11
Current IP Address 12
Current IP Address 13
Current IP Address 14
Current IP Address 15
DNS Servers from DHCPv6 = 0
Current DNS Server 1
Current DNS Server 2
System Information:
System Model
System Revision
System BIOS Version
Service Tag
Host Name
OS Name
Power Status
Embedded NIC MAC Addresses:
NIC1 Ethernet
NIC2 Ethernet
NIC3 Ethernet
NIC4 Ethernet
Watchdog Information:
Recovery Action
Present countdown value = 15 seconds
Initial countdown value = 15 seconds
e)
/admin1-> racadm getsvctag
5R2G23X
f)
/admin1-> racadm clrraclog
The RAC log was cleared successfully
/admin1-> racadm clrsel
The SEL was cleared successfully
g)
注:iDRAC Express 是DELL新机器的标配(免费赠送),但是早期产品如9代机:1950和2950,在采购机器的时候,如果没有额外购买,是没有远程管理功能的,虽然你在BIOS的Ctrl+E里面能配置iDRAC的IP地址。