Akamit Blog

Enterprise sysadmin's blog

  • You are here: 
  • Home
  • Sun Hardware

How to reset iLOM root password on Sun/Oracle X server

Posted on November 17th, 2011

if you’ve lost root password on Sun/Oracle X server, you can recovery it using ipmitool. This was tested on Sun X4600 M2, Solaris 10 installed.

# ipmitool user list 1
ID  Name             Callin  Link Auth  IPMI Msg   Channel Priv Limit
1                    false   false      true       NO ACCESS
2   root             false   false      true       ADMINISTRATOR
12  radproxy         true    true       true       OPERATOR
13  ilomint          true    true       true       ADMINISTRATOR
14  ldapproxy        true    true       true       OPERATOR
15  pamproxy-admin   true    true       true       ADMINISTRATOR
16  pamproxy-oper    true    true       true       OPERATOR
# ipmitool user set password 2 new-password

Now you can login using new-password.

$ ssh root@ilom
Password: <new-password>
 
Sun(TM) Integrated Lights Out Manager
 
Version 2.0.2.5
 
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
 
->

Filed under Solaris, Sun Hardware | 1 Comment »

Using QLA2460 adapter with Solaris 9 on SF4800 server

Posted on July 20th, 2011

You are required to install Sun SAN 4.4.x package (Oracle patch 10297699) in order to get it working. This is the requirement for Solaris 8 and 9. Solaris 10 has bundled SAN software
Otherwise you will not be able to see it using luxadm or load qlc driver.

For more info refer to Solaris[TM] 8 & 9 (not for Solaris[TM] 10) Fibre Channel/SAN storage access configuration guidelines [ID 1006118.1] provided by support.oracle.com

Filed under Solaris, Sun Hardware | No Comments »

Connecting SL500 Library robot to emulex HBA port

Posted on October 25th, 2010

I was managed to setup netbackup server using Sun Enterprise 5120 and SL500 library. The problem was that the robot connection became broken after server reboot and I have to power cycle the library to get the robot appear again. After doing some investigation it was revealed that the robot connection is unstable due to automatic configuration of FC link with Emulex adapter port.
The port instance the robot connected to is 2. We configure the port to force loop topology and 2Gb/s port speed by specifying parameters in emulex driver configuration file /kernel/drv/emlxs.conf

emlxs2-topology=4;
emlxs2-link-speed=2

After reboot we got library connected and not loosing link.

Solaris version:

SunOS backup-machine 5.10 Generic_139555-08 sun4v sparc SUNW,SPARC-Enterprise-T5120

and FC port

HBA Port WWN: 10000000c978d630
        OS Device Name: /dev/cfg/c4
        Manufacturer: Emulex
        Model: LPe11002-S
        Firmware Version: 2.80a4 (Z3F2.80A4)
        FCode/BIOS Version: Boot:5.03a0 Fcode:3.01a1
        Serial Number: 0999BG0-08350000K2
        Driver Name: emlxs
        Driver Version: 2.31t (2009.04.05.14.10)
        Type: L-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb 
        Current Speed: 2Gb 
        Node WWN: 20000000c978d630

Filed under Enterprise Backup, Solaris, Sun Hardware, Tape Libraries | No Comments »

Monitoring server overheat with ipmitool

Posted on June 22nd, 2010

Recently I was faced with sudden night Sun x4600 server shutdown. Investigation reveals that there was an conditioning failure and machine goes down on its own. I dig into logs and found that the shutdown was initiated by server’s system controller. Excerpt from the log follows:

System ACPI Power State : sys.acpi : S5/G2: soft-off
Power Supply : ps1.pwrok : State Deasserted
Power Supply : ps3.pwrok : State Deasserted
Power Supply : ps2.pwrok : State Deasserted
Temperature : p2.t_amb : Upper Non-recoverable going high : reading 46 > threshold 45 degrees C
Hot removal of /SYS/PS0
Entity Presence : ps0.prsnt : Device Absent
Processor : p0.cardfail : State Asserted
Temperature : p0.t_amb : Upper Critical going high : reading 39 > threshold 38 degrees C
Processor : p3.cardfail : State Asserted
Temperature : p3.t_amb : Upper Critical going high : reading 39 > threshold 38 degrees C
Processor : p1.cardfail : State Asserted
Temperature : p1.t_amb : Upper Critical going high : reading 39 > threshold 38 degrees C
Processor : p2.cardfail : State Asserted
Temperature : p2.t_amb : Upper Critical going high : reading 39 > threshold 38 degrees C

This nagios plugin for monitoring server overheat with ipmi will get me informed about that kind of event in the future and eliminate unexpected downtime.

Filed under Plugins, Sun Hardware | No Comments »

How to find serial number of sun servers remotely

Posted on May 7th, 2010

On Sun Mx000
from the xscf prompt issue

showhardconf

On Sun Fire 4800/6800
from the SC platform shell issue

showplatform -v

For Sun X machines. Example x4600-M2
Login to SC and then

-> cd SYS
/SYS
 
-> show product_serial_number
    Properties:
	product_serial_number = 0239AX1238
 
    Commands:
	cd
	reset
	set
	show
	start
	stop
 
-> pwd
Current default target: /SYS

Filed under Sun Hardware | No Comments »

XSCF crib

Posted on March 9th, 2010

Basic XSCF commands.
Power on domain.

poweron -d 0 # poweron domain 0

connect to domain console

console -d 0
To escape press #.

View operator panel switch posision.

XSCF> showhardconf
SPARC Enterprise M4000;
    + Serial:BCF0840036; Operator_Panel_Switch:Locked;
 
--- more outout skipped ----

To send a break signal

XSCF>sendbreak -d 0
Send break signal to DomainID 0?[y|n] :y

Change secure domain setting denying domain to ignore break signal.

XSCF> showdomainmode -d 0 
Host-ID             :85021570
Diagnostic Level    :min
Secure Mode         :on 
Autoboot            :on 
CPU Mode            :auto 
XSCF> setdomainmode -d 0 -m secure=off
Diagnostic Level    :min        -> -
Secure Mode         :on         -> off 
Autoboot            :on         -> -
CPU Mode            :auto       -> -
The specified modes will be changed.
Continue? [y|n] :y
configured.
Diagnostic Level    :min
Secure Mode         :off (host watchdog: unavailable  Break-signal:receive)
Autoboot            :on (autoboot:on)
CPU Mode            :auto

Filed under Sun Hardware | No Comments »