Thursday 25 September 2014

Configure ILOM for Remote Server Management - SUN servers

ILOM stands for Integrated Lights Out Manager, all T-series servers come with ILOM.
Using ILOM we can remotely manage the server including power off and power on, just like we are in front of the server.

But to access ILOM remotely, we need to configure it first. Items needed for remote access include:
  1. IP address
  2. Netmask
  3. Gateway
Additionally we can also give a friendly name for ILOM.

Let's assume our out-of-band access is in 192.168.200.0/255.255.255.0, the gateway for this network is 192.168.200.254
We are going to setup ILOM for a new server websvr01, with remote access IP 192.168.200.1.

Before ILOM is configured, we have to access it in the data center. Connect your laptop to the Serial Console. Login with default userid/password: root/changeme.
Once you are inside, you can setup ILOM.

To setup a friendly name:
cd /SP
set hostname=websvr01-ilom
To setup network:
cd /SP/network
set pendingipaddress=192.168.200.1
set pendingipnetmask=255.255.255.0
set pendingipgateway=192.168.200.254
set pendingipdiscovery=static
set commitpending=true
Instead of setting IP, netmask, gateway separately, we can also configure them in one command:
set pendingipaddress=192.168.200.1 pendingipnetmask=255.255.255.0 pendingipgateway=192.168.200.254

After that connecting Net Management port to proper port on switch, you will be able login remotely.

To access remotely:
ssh 192.168.200.1

After keying in user id and password, you will see the same interface as logging in through serial console.