Difference between revisions of "Using ILOM on T5120/T5220"

From Peter Pap's Technowiki
Jump to: navigation, search
(How to Create an ALOM CMT Compatibility Shell)
(How to Create an ALOM CMT Compatibility Shell)
Line 77: Line 77:
 
password is changeme.
 
password is changeme.
  
SUNSPxxxxxxxxxxxx login: root
+
  SUNSPxxxxxxxxxxxx login: root
Password:
+
  Password:
Waiting for daemons to initialize...
+
  Waiting for daemons to initialize...
Daemons ready
+
  Daemons ready
Oracle Integrated Lights Out Manager
+
  Oracle Integrated Lights Out Manager
Version 3.0.0.0
+
  Version 3.0.0.0
Copyright (c) 2010, Oracle and/or its affiliates.  All rights reserved.
+
  Copyright (c) 2010, Oracle and/or its affiliates.  All rights reserved.
Use is subject to license terms.
+
  Use is subject to license terms.
Warning: password is set to factory default.
+
  Warning: password is set to factory default.
  
 
2. Create a user named admin, set the admin account role to Administrator
 
2. Create a user named admin, set the admin account role to Administrator
 
and the CLI mode to alom
 
and the CLI mode to alom
  
-> create /SP/users/admin
+
  -> create /SP/users/admin
Creating user...
+
  Creating user...
Enter new password: ********
+
  Enter new password: ********
Enter new password again: ********
+
  Enter new password again: ********
Created /SP/users/admin
+
  Created /SP/users/admin
 
+
 
-> set /SP/users/admin role=Administrator
+
  -> set /SP/users/admin role=Administrator
Set 'role' to 'Administrator'
+
  Set 'role' to 'Administrator'
-> set /SP/users/admin cli_mode=alom
+
  -> set /SP/users/admin cli_mode=alom
Set 'cli_mode' to 'alom'
+
  Set 'cli_mode' to 'alom'
 
+
 
 
Note - The asterisks in the example will not appear when you enter your
 
Note - The asterisks in the example will not appear when you enter your
 
       password.
 
       password.
Line 107: Line 107:
 
You could also combine the create and set commands on a single line:
 
You could also combine the create and set commands on a single line:
  
-> create /SP/users/admin role=Administrator cli_mode=alom
+
  -> create /SP/users/admin role=Administrator cli_mode=alom
Creating user...
+
  Creating user...
Enter new password: ********
+
  Enter new password: ********
Enter new password again: ********
+
  Enter new password again: ********
Created /SP/users/admin
+
  Created /SP/users/admin
  
 
3. Log off the root account after you have finished creating the admin account.
 
3. Log off the root account after you have finished creating the admin account.
  
-> exit
+
  -> exit
  
 
4. Log into the ALOM CLI shell (indicated by the -> prompt) from the ILOM
 
4. Log into the ALOM CLI shell (indicated by the -> prompt) from the ILOM
 
login prompt.
 
login prompt.
  
SUNSPxxxxxxxxxxxx login: admin
+
  SUNSPxxxxxxxxxxxx login: admin
Password:
+
  Password:
Waiting for daemons to initialize...
+
  Waiting for daemons to initialize...
Daemons ready
+
  Daemons ready
Oracle Integrated Lights Out Manager
+
  Oracle Integrated Lights Out Manager
Version 3.0.0.0
+
  Version 3.0.0.0
Copyright (c) 2010, Oracle and/or its affiliates.  All rights reserved.
+
  Copyright (c) 2010, Oracle and/or its affiliates.  All rights reserved.
Use is subject to license terms.
+
  Use is subject to license terms.
 
+
 
sc>
+
  sc>

Revision as of 03:50, 9 March 2012

All of these are true and correct for T5120/T5220. I'm sure most of this works for other systems that use ILOM 3.0 code!

Default Service Processor (SP) Username/Password

 Username: root
 Password: changeme

Changing the default SP password

 set /SP/users/root password

Starting the system

 start /SYS

Access the console

 start /SP/console

Sending a Break to the OS

So the boot PROM on T2 processor based systems works very differently. As the boot PROM code is shared by the base OS with any LDOM's that may be present. As such, the boot PROM code is loaded into memory on startup of the hardware, or the LDOM, and then dropped. So it's not always running as it is on older systems. So in order to break to the boot PROM you need to do the following:

1. From the SP, send the break:

 set /HOST send_break_action=break

2. From the SP, start the console

 start /SP/console

3. At the console, you will see the following prompt:

 c)ontinue, s)ync, r)eset?

You want to reset, so:

 c)ontinue, s)ync, r)eset? r

4. Type #. to break out of the console and back to the SP.

5. Send the break signal again to force the boot PROM to break and stop at the OK prompt

 #.
 set /HOST send_break_action=break

6. Now start the console again to get to the OK prompt.

 start /SP/console

Seem overly complicated to you? I think so too!! Oh and you need to be quick about it, as the system is rebooting and will continue to do so unless you send that break in then you want it.


Changing the state of the system

The old ILOM/ALOM would allow you to simply power on and power off with the commands 'poweron' and 'poweroff' respectively. Ingenious! In ILOM 3.0 it's a bit more complicated:

To power on:

 start /SYS

To power off:

 stop /SYS

To reset the entire system:

 reset /SYS


How to Create an ALOM CMT Compatibility Shell

This will allow you to use an ALOM like interface for controlling your server. Useful for applying firmware updates and nostalgia!

1. Log onto the server with username: root. When powered on, the server boots to the ILOM login prompt. The factory default password is changeme.

 SUNSPxxxxxxxxxxxx login: root
 Password:
 Waiting for daemons to initialize...
 Daemons ready
 Oracle Integrated Lights Out Manager
 Version 3.0.0.0
 Copyright (c) 2010, Oracle and/or its affiliates.  All rights reserved.
 Use is subject to license terms.
 Warning: password is set to factory default.

2. Create a user named admin, set the admin account role to Administrator and the CLI mode to alom

 -> create /SP/users/admin
 Creating user...
 Enter new password: ********
 Enter new password again: ********
 Created /SP/users/admin
 
 -> set /SP/users/admin role=Administrator
 Set 'role' to 'Administrator'
 -> set /SP/users/admin cli_mode=alom
 Set 'cli_mode' to 'alom'
 

Note - The asterisks in the example will not appear when you enter your

      password.


You could also combine the create and set commands on a single line:

 -> create /SP/users/admin role=Administrator cli_mode=alom
 Creating user...
 Enter new password: ********
 Enter new password again: ********
 Created /SP/users/admin

3. Log off the root account after you have finished creating the admin account.

 -> exit

4. Log into the ALOM CLI shell (indicated by the -> prompt) from the ILOM login prompt.

 SUNSPxxxxxxxxxxxx login: admin
 Password:
 Waiting for daemons to initialize...
 Daemons ready
 Oracle Integrated Lights Out Manager
 Version 3.0.0.0
 Copyright (c) 2010, Oracle and/or its affiliates.  All rights reserved.
 Use is subject to license terms.
 
 sc>