DELL M100E CMC命令行
- 格式:doc
- 大小:30.50 KB
- 文档页数:5
1.CMC IP 地址的察看:
ifconfig \\用于察看 CMC 的 IP 地址,例如:
2.CMC IP 地址的修改:
$racadm
racadm
racadm getsysinfo
racadm getmodinfo
$racadm setniccfg \\用于察看CMC的IP地址,例如:
$ racadm setniccfg -s 192.168.128.120 255.255.255.0 192.168.128.1
Static IP address modified successfully
等候大约15秒才能生效
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1A:A0:FF:F7:04
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1A:A0:FF:F7:04
inet addr:192.168.128.120 Bcast:192.168.128.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
3.察看 CMC 系统信息:
racadm getsysinfo \\用于察看CMC系统信息,例如:
$ racadm getsysinfo
CMC Information:
CMC Date/Time = Fri, 31 Oct 2008 05:13:16 AM
Primary CMC Version = 1.20
Standby CMC Version = N/A
Last Firmware Update = Thu Sep 25 01:36:04 2008
Hardware Version = X28
Current IP Address = 192.168.0.120
Current IP Gateway = 192.168.0.1
Current IP Netmask = 255.255.255.0 DHCP Enabled = 0
MAC Address = 00:1A:A0:FF:F7:04
Current DNS Server 1 = 0.0.0.0
Current DNS Server 2 = 0.0.0.0
DNS Servers from DHCP = 0
Register DNS CMC Name = 0
DNS CMC Name = cmc-6T9N72X
Current DNS Domain =
Chassis Information:
System Model = PowerEdgeM1000e
System AssetTag = 00000
Service Tag = 6T9N72X
Chassis Name = Dell Rack System
Chassis Location = [UNDEFINED]
Power Status = ON
4.、察看 CMC 机箱内部的模块和模块名称:
racadm getmodinfo \\用于察看机箱内部的模块清单,例如:
$ racadm getmodinfo
Chassis Present ON Not OK 6T9N72X
Fan-1 Present ON OK
Fan-2 Present ON OK
Fan-3 Present ON OK
Fan-4 Present ON OK
Fan-5 Present ON OK
Fan-6 Present ON OK
Fan-7 Present ON OK
Fan-8 Present ON OK
Fan-9 Present ON OK
PS-1 Present Online OK
PS-2 Present Failed(No AC) Not OK
PS-3 Present Online OK
PS-4 Not Present N/A N/A N/A
PS-5 Not Present N/A N/A N/A
PS-6 Not Present N/A N/A N/A
CMC-1 Present Primary Not OK N/A
CMC-2 Not Present N/A N/A N/A
Switch-1 Present ON OK 4ZXW7F1
Switch-2 Present ON OK 3P9HSB1
Switch-3 Not Present N/A N/A N/A Switch-4 Not Present N/A N/A N/A
Switch-5 Not Present N/A N/A N/A
Switch-6 Not Present N/A N/A N/A
Server-1 Not Present N/A N/A N/A
Server-2 Not Present N/A N/A N/A
Server-3 Not Present N/A N/A N/A
Server-4 Present OFF OK 188Q72X
Server-5 Not Present N/A N/A N/A
Server-6 Not Present N/A N/A N/A
Server-7 Not Present N/A N/A N/A
Server-8 Not Present N/A N/A N/A
Server-9 Not Present N/A N/A N/A
Server-10 Not Present N/A N/A N/A
Server-11 Not Present N/A N/A N/A
Server-12 Not Present N/A N/A N/A
5.连接到其他设备的配置界面:
connect 命令用于连接到其他模块的命令行界面,例如:
要配置网络交换机1,便输入 $connect switch-1
$ connect switch-1
connect: acquiring remote port.
Connected to remote port.
Escape character is '^\'. (由交换机界面退回CMC界面输入 ctrl+\ )
console>
6.重启动 CMC
$ racadm racreset
7.恢复 CMC 到出厂值(CMC 反初始化)
$ racadm racresetcfg
8.其他常用 racadm 子命令
$racadm ?
arp -- display the networking arp table
chassisaction -- execute chassis or switch power-up/down/cycle or KVM powercycle
clrraclog -- clear the CMC log
clrsel -- clear the System Event Log (SEL) cmcchangeover -- Changes the redundant state of the CMC from active to standby and
vice versa
config -- modify CMC configuration properties
deploy -- deploy blade by specifying required properties
feature -- display features active on the chassis/ feature deactivation
featurecard -- Feature card status and list the available features
fwupdate -- update the firmware on a CMC, server, IOM inf, or KVM
getassettag -- display asset tag
getchassisname -- get the chassisname
getconfig -- display CMC configuration properties
getdcinfo -- display general I/O module and DC misconfiguration information
getflexaddr -- display the MAC addresses per slot/status of Flexa all slots and
fabrics
getioinfo -- display general IO information
getkvminfo -- display the KVM module information
getled -- display the LED settings on a module
getmacaddress -- get MAC/WWN addresses
getmodinfo -- get module configuration and status information
getniccfg -- display network settings for modules
getpbinfo -- get power budget status information
getpminfo -- get power management status information
getraclog -- display the CMC log
getractime -- display the current CMC time
getredundancymode -- gets the redundancy mode of the CMC
getsensorinfo -- display system sensors
getslotname -- gets the name of the slot in the chassis
getssninfo -- display session information
getsvctag -- display service tag information
getsysinfo -- display general CMC and system information
gettracelog -- display the CMC diagnostic trace log
ifconfig -- display network interface information
netstat -- display routing table and network statistics
ping -- send ICMP echo packets on the network
racdump -- display CMC diagnostic information
racreset -- perform a CMC reset operation
racresetcfg -- restore the CMC configuration to factory defaults
serveraction -- perform system power management operations
setassettag -- set the asset tag for the specified module
setchassisname -- sets the name of the chassis
setflexaddr -- enable/disable the Flexaddress feature on a per fabric, per slot basis
setled -- set state of the LEDs on a module