čtvrtek 22. května 2008

ILOM - Quick

ILOM - Sun(TM) Integrated Lights Out Manager. ILOM is designed for managing SUN AMD based servers via network. You can access ILOM text console (via ssh) or WWW based ILOM frontend (via http/https).

What you can do with ILOM text console? Mostly you will use commands such as:

start /SP/console
reset /SYS
start /SYS
stop /SYS



The commands above are self explanatory. The first command runs the console and the others perform reset/start/stop operation on the box.

What you can't do with text ILOM console? You cannot change BIOS settings (as for example boot device priority). If you need to do that, launch ILOM WWW frontend (the same IP address as for the ILOM ssh access) and issue JAVA console redirection plug-in.

The Java console will show you whole booting process as you were sitting in front of the server. Java based console is capable of graphic redirection also (no problem with X-Windows installation then).

The ILOM (text) interface itself is some sort of UNIX shell. After you logon to the console you can use the UNIX commands as ls and cd. To begin with ILOM just issue ls on / (root).

-> ls /

/
Targets:
SYS
SP

Properties:


Commands:
cd
show


There are so called TARGETS. You will use them as the ordinary directories. Just go to target (cd) and issue ls. The ls output tells you what you can do in each specific directory/target (or namespace - as the SUN sometime calls it).

-> cd /SYS
/SYS

-> ls

/SYS
Targets:
FP
SP
FT0
FT1
MB
PDB
PS0
PS1
SASBP
FAN_FAULT
LOCATE
POWER
PSU_FAULT
SERVICE
TEMP_FAULT

Properties:
type = Host System
power_state = On

Commands:
cd
reset
set
show
start
stop


We can go to other targets or issue commands available for that directory. In this case, reset, start/stop etc.

-> cd /SP
/SP

-> ls

/SP
Targets:
alert
cli
clients
clock
console
logs
network
serial
services
sessions
users

Properties:


Commands:
cd
load
reset
show
version



We went to /SP and here we can go to console - or change some ILOM settings. Let's say we would like to change the network IP address for ILOM management card.

To change the IP address for the ILOM interface change the pending addresses first, then check and commit them.


cd /SP/network
set pendingipaddress=nnn.nn.nn.nn
set pendingipnetmask=nnn.nn.nn.nn
set pendingipgateway=nnn.nn.nn.nn
set commitpending=true



The rest you can find here:

http://dlc.sun.com/pdf/820-0280-12/820-0280-12.pdf

How to escape from ILOM issued console session? Try [ESC] + [(] .

Žádné komentáře: