- 论坛徽章:
- 0
|
ILOM的初级使用
可以以三种方式连接到ILOM,在知道ILOM的IP地址时,可以通过以太网管理端口以Web或者命令行方式进行登录,另外也可以通过串口连接 到ILOM上。
下面是一些基本的命令行使用:
1.检查SP ILOM firmware版本
SUNSP0003BAD884D4 login: root
Password: changeme
Sun(TM) Integrated Lights Out Manager
Version 1.0
->
-> version /SP
SP firmware version: 1.0
SP firmware build number: 6060
SP firmware date: Fri Aug 12 11:07:18 PDT 2005
SP filesystem version: 0.1.12
->
2. 检查SP ILOM关于HTTP/HTTPS的服务
-> show /SP/services/http
/SP/services/http
Targets:
Properties:
port = 80
secureredirect = enabled
servicestate = disabled
...
-> show /SP/services/https
/SP/services/https
Targets:
Properties:
port = 443
servicestate = enabled
...
3. 检查SP ILOM关于SSH key的设置
-> show /SP/services/ssh/keys/dsa
/SP/services/ssh/keys/dsa
Targets:
Properties:
fingerprint = (none)
length = 1024
publickey = AAA...hjutDb3mHYn4NsOHq6fM2kHhWjI7hQ==
...
-> show /SP/services/ssh/keys/rsa
/SP/services/ssh/keys/rsa
Targets:
Properties:
fingerprint = (none)
length = 1024
publickey = AAA...3wHbn/FhM=
Commands:
Show
4. 检查SP ILOM关于网口的设置
-> show /SP/network
/SP/network
Targets:
Properties:
commitpending = (Cannot show property)
ipaddress = 10.11.11.154
ipdiscovery = Static
ipgateway = 10.11.11.1
ipnetmask = 255.255.255.0
macaddress = 00:03:BA:D8:84:D4
pendingipaddress = 10.11.11.154
pendingipdiscovery = Static
pendingipgateway = 10.11.11.1
pendingipnetmask = 255.255.255.0
Commands:
cd
set
show
5.检查SP ILOM关于用户的设置
-> show /SP/users
/SP/users
Targets:
root
Properties:
Commands:
cd
create
delete
set
show
6. 配置SP IP地址
-> cd /SP/network
/SP/network
-> set pendingipaddress=10.11.11.154
Set \'pendingipaddress\' to \'10.11.11.154\'
-> set pendingipnetmask=255.255.255.0
Set \'pendingipnetmask\' to \'255.255.255.0\'
-> set pendingipgateway=10.11.11.1
Set \'pendingipgateway\' to \'10.11.11.1\'
-> set commitpending=true
10 11 11 154
10 11 11 1
255 255 255 0
Set \'commitpending\' to \'true\'
7. 服务器加电/关电
-> Start /SYS
-> stop /SYS
Are you sure you want to stop /SYS (y/n)? y
Stopping /SYS
8. 服务器重启
-> reset /SYS
Are you sure you want to reset /SYS (y/n)? y
Performing hard reset on /SYS
AMIBIOS(C)2003 American Megatrends, Inc.
BIOS Date: 08/10/05 14:51:11 Ver: 08.00.10
CPU : Dual Core AMD Opteron(tm) Processor 275, Speed : 2.2 GHz
Count : 4, CPU Revision, CPU0 : E6, CPU1 : E6
Microcode Revision, CPU0 : 4D, CPU1 : 4D
DRAM Clocking CPU0 Core0/1 = 400 MHz, CPU1 Core0/1 = 400 MHz
Sun Fire X4200 Server, 2 AMD North Bridges, Rev E6
1 AMD 8111 I/O Hub, Rev C2
2 AMD 8131 PCI-X Controllers, Rev B2
BMC Firmware Revision : 1.00
Checking NVRAM..
Initializing USB Controllers .. Done.
...
9. 开启服务器控制台
-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
To stop, hit ESC (
...
GNU GRUB version 0.95 (632K lower / 4062144K upper memory)
***************************************************************************
* Solaris *
* Solaris Serial Console ttya *
* Solaris Serial Console ttyb (for lx50, v60x and v65x) *
* *
* *
* *
* *
* *
* *
***************************************************************************
Use the * and * keys to select which entry is highlighted.
Press enter to boot the selected OS, \'e\' to edit the
commands before booting, or \'c\' for a command-line.
-> stop /SP/console
Are you sure you want to stop /SP/console (y/n)? y
[ 本帖最后由 云杉上的蝴蝶 于 2008-5-6 20:20 编辑 ] |
|