C H A P T E R 2

Logging In to and Out of ILOM

Topics
Description | Links
--- | ---
Review the prerequisites | Before Your Initial Login
Log in to ILOM using default user account and password | Log In to ILOM CLI - Using ILOM Default User Account and Password
Set up a user account | Set Up a User Account
Log in to ILOM using ILOM user name and password | Log In to ILOM CLI - Using ILOM User Name and Password
Set a timeout value for a CLI session | Set a Timeout Value for a CLI Session
Configure banner messages in ILOM | Configure Banner Messages in ILOM
Log out of ILOM | Log Out of ILOM
Recover a Lost Password | Recover a Lost Password

Related Topics
For ILOM | Chapter or Section | Guide
--- | --- | ---
Getting started | Getting Started With ILOM Initial ILOM Setup Procedures Using the CLI | Oracle Integrated Lights Out Manager (ILOM) 3.0 Getting Started Guide (820-5523)
Web interface | Logging In to and Out of ILOM | Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide (820-6411)
The ILOM 3.0 Documentation Collection is available at: `http://docs.sun.com/app/docs/prod/int.lights.mgr30#hic`.

Use this chapter as a quick reference for ILOM login and logout procedures. For additional information, refer to the initial login process and procedures in the Oracle Integrated Lights Out Manager (ILOM) 3.0 Getting Started Guide.

##

Before Your Initial Login

Prior to performing the procedures in this chapter, ensure that the following requirements are met:

- Review the topics about establishing communication with ILOM in the Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide.

- In order to communicate with ILOM, you must establish a physical serial or network management connection on the system (server SP or CMM). Or, connect to ILOM from the host operating system by using the Local Interconnect Interface feature provided on some server platforms.

For instructions about how to connect a nework cable to the server’s NET MGT port or a device to the server’s SER MGT port, refer to the installation guide provided with your server or CMM. For details about how to connect to ILOM directly from the host operating system (without the need for a physical connection to the server SER MGT port or NET MGT port) , see the topic about Local Interconnect Interface in the Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide.

- ILOM, by default, uses DHCP to learn the IPv4 address of the server SP (or CMM) and IPv6_Stateless to learn the IPv6 address of the server SP (or CMM). If these default network settings for obtaining an IP address for the server SP (or CMM) do not apply to your network environment, you will need to modify these settings prior to logging in to ILOM. For instructions about modifying the network settings in ILOM using the CLI, seeConfiguring Network Settings.

Note - As of ILOM 3.0.12, network configuration settings for dual-stack IPv4 and IPv6 are provided. Prior to ILOM 3.0.12, network configuration settings for IPv4 are provided.

- You will need a user account and password to log in to ILOM. However, if you are the system administrator and you are logging in to ILOM for the first time, you can use default user account (root) and password (password) to log in. After logging in to ILOM for the first time, it is highly recommended that you establish new (non-root) user accounts and passwords for each ILOM user.

For instructions about creating and managing user accounts in ILOM using the CLI, seeManaging User Accounts.

##

Logging In to ILOM

Topics
Description | Links | Platform Feature Support
--- | --- | ---
Log in to ILOM and set up a user account | Log In to ILOM CLI - Using ILOM Default User Account and Password Set Up a User Account Log In to ILOM CLI - Using ILOM User Name and Password | x86 system server SP SPARC system server SP CMM
Set a timeout value for a CLI session | Set a Timeout Value for a CLI Session

### Log In to ILOM CLI - Using ILOM Default User Account and Password

1. Using a Secure Shell (SSH) session, log in to the ILOM CLI by specifying the default `root` user account, and IP address of the server SP or CMM.

For example:

    $ ssh root@system_ipaddress

If ILOM is operating in a dual-stack network environment, the system_ipaddress can be entered using either an IPv4 or IPv6 address format. For example,

- IPv4 address format: `10.8.183.106`

or

- IPv6 address format: `fec0:a:8:b7:214:4fff:5eca:5f7e/64`

For more information about entering IP addresses in a dual-stack environment, see Server SP or CMM Network Addresses Accepted by ILOM CLI. For help with diagnosing IPv4 and IPv6 connection issues, see Diagnosing IPv4 or IPv6 ILOM Connection Issues.

The system prompts you for a password.

2. Type `changeme` as the default password.

For example:

    Password: changeme

The ILOM CLI prompt appears (->).

Note - As of ILOM 3.0.4, you can set the amount of time a CLI session can remain idle before the session times out and closes. For instructions, see Set a Timeout Value for a CLI Session.

### Set Up a User Account

After you have logged in to ILOM, you need to create a regular (non-`root`) user account.

To set up a user account, follow this step:

Set up a user account in one of these five classes of users:

- Local users

- Active Directory users

- LDAP users

- LDAP/SSL users

- RADIUS users

You can create up to 10 local user accounts or configure a directory service. For information about setting up a user account, see Managing User Accounts.

### Log In to ILOM CLI - Using ILOM User Name and Password

Note - Use this procedure to log in to ILOM to verify that the user account or directory service is functioning properly.

1. Using a Secure Shell (SSH) session, log in to ILOM by specifying your user name and IP address of the server SP or CMM.

For example:

    $ ssh username@ipaddress

The system prompts you for your ILOM password.

2. Type your ILOM password.

`Password:` password

The ILOM CLI prompt appears (`->`).

### Set a Timeout Value for a CLI Session

Note - The Admin (`a`) role is required to change the `cli` `timeout` configuration variable. You must be using ILOM 3.0.4 or a later version of ILOM.

1. Log in to the ILOM SP CLI or the CMM CLI.

2. To view the current settings, type:

`->` `show /SP/cli`

3. To set the timeout value, type the following command:

`->` `set /SP/cli timeout=`n

Where n is a number between 0 and 1440.

Note - 0 (zero) indicates that the CLI session timeout is disabled, so that the CLI session will not close regardless of the amount of time the session is idle.

For example, to set the timeout value to 60 minutes, type:

    -> set /SP/cli timeout=60
    Set ‘timeout’ to ‘60’

##

Configuring Banner Messages

Topics
Description | Links | Platform Feature Support
--- | --- | ---
Review the prerequisites | Before You Begin | x86 system server SP SPARC system server SP CMM
Configure banner messages in ILOM | Configure Banner Messages in ILOM

#### Before You Begin

- The Admin (`a`) role is required to configure banner messages in ILOM.

- You must be using ILOM 3.0.8 or a later version of ILOM.

### Configure Banner Messages in ILOM

1. Log in to the ILOM SP CLI or the CMM CLI.

2. Use the `show` command to display the current banner properties and supported commands.

For example:

    -> show /SP/preferences/banner

    /SP/preferences/banner
        Targets:

        Properties:
            connect_message = (none)
            login_message = (none)
            login_message_acceptance = disabled

        Commands:
            cd
            set
            show

3. To create a banner message, perform any of the following tasks:

Task | Instructions
--- | ---
To create a banner message to appear on the Login page | Type:
    -> set /SP/preferences/banner connect_message=message
Where message equals the content you want to appear on the Login page.
To create banner message to appear in a dialog box after logging in to ILOM. | Type:
    -> set /SP/preferences/banner login_message=message
Where message equals the content you want to appear after logging in to ILOM.
Note - Messages are limited to a 1000 characters. To create a new line within the message, use the following CLI characters: `/r` or `/n.`

4. To enable the system to display the banner messages, type:

    -> set /SP/preferences/banner/ login_message_acceptance=enabled

5. To disable the system from displaying the banner messages type:

    -> set /SP/preferences/banner/ login_message_acceptance=disabled

##

Logging Out of ILOM and Recovering a Lost Password

Topics
Description | Links | Platform Feature Support
--- | --- | ---
Log out of ILOM | Log Out of ILOM | x86 system server SP SPARC system server SP CMM
Recover a lost password | Recover a Lost Password

### Log Out of ILOM

To log out of ILOM, follow this step:

At the command prompt, type:

    -> exit

### Recover a Lost Password

#### Before You Begin

- You must be physically present at the server to perform this procedure.

You can use the preconfigured `default` user account to recover a lost password or to re-create the `root` user account. For more information about the `root` and `default` user accounts, refer to “`root` and `default` User Accounts” in the Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide.

To recover a lost password, follow these steps:

1. Log in to an ILOM serial console using the `default` user account.

For example:

    SUNSP-0000000000 login: defaultPress and release the physical presence button.Press return when this is completed...

2. Prove physical presence at your server.

Refer to your platform documentation for instructions on how to prove physical presence.

3. Return to your serial console and press Enter.

You will be prompted for a password.

4. Type the password for the `default` user account: `defaultpassword`

Note - It is recommended that you reset your password at this time. See Change a User Account Password.

##

What Next

After you have logged in to ILOM and set up a user account, you are now ready to configure settings for ILOM functions. The remaining chapters in the Oracle ILOM 3.0 CLI Procedures Guide provide descriptions of the tasks you can perform to access ILOM functions.

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.