C H A P T E R  3

Initial ILOM Setup Procedures Using the ILOM CLI

Topics

Description

Links

Log in to ILOM for the first time

Configure the network environment

Add user accounts or configure a directory service

Find information about your next ILOM configuration steps



Logging In to ILOM for the First Time Using the CLI

To log in to the ILOM CLI for the first time, you use the default root user account and its default password changeme. After you set up your network environment, you can establish an Administrative user account using an assigned user account name and password.


procedure icon  Log In to ILOM Using the root User Account

To log in to the ILOM CLI for the first time, use SSH and the root user account.

1. To log in to the ILOM CLI using the root user account, type:

$ 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:

For IPv4 - 10.8.183.106

or

For IPv6 - [fec0:a:8:b7:214:4fff:5eca:5f7e/64]

The ILOM Login prompt appears.

For more information about entering IP addresses in a dual-stack environment, refer to the Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide.

2. Type the default user name and password:

<hostname>: root

Password:changeme

The ILOM CLI prompt appears (->).


Configuring an IPv4 and IPv6 Network Environment

The following CLI procedure provides instructions for configuring ILOM to operate in a dual-stack IPv4 and IPv6 network environment. For a detailed description about configuring ILOM in the IPv4 and IPv6 network environment, refer to the Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide.

If you are configuring ILOM to operate in an IPv4-only network environment, as is supported in ILOM 3.0.10 and earlier versions of ILOM, refer to the Oracle Integrated Lights Out Manager (ILOM) 3.0 CLI Procedures Guide.

By default, ILOM will attempt to obtain the IPv4 address using DHCPv4 and the IPv6 address using IPv6 stateless.


procedure icon  Configure IPv4 and IPv6 Settings Using the CLI

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

Establish a local serial console connection or SSH connection to the server SP or CMM.

2. Perform the network configuration instructions that apply to your network environment:

3. For IPv4 network configurations, use the cd command to navigate to the /x/network working directory for the device.

For example:

4. Type the show command to view the configured IPv4 network settings configured on the device.

5. To set IPv4 network settings for DHCP or static, perform one of the following:

6. For IPv6 network configurations, use the cd command to navigate to the /x/network/ipv6 working directory for the device.

For example:

7. Type the show command to view the configured IPv6 network settings configured on the device.

For example, see the following sample output values for the IPv6 properties on a server SP device:.


-> show
 
 /SP/network/ipv6
    Targets:
 
    Properties:
        state = enabled
        autoconfig = stateless
        dhcpv6_server_duid = (none)
        link_local_ipaddress = fe80::214:4fff:feca:5f7e/64
        static_ipaddress = ::/128
        ipgateway = fe80::211:5dff:febe:5000/128
        pending_static_ipaddress = ::/128
        dynamic_ipaddress_1 = fec0:a:8:b7:214:4fff:feca:5f7e/64
 
    Commands:
        cd
        show



Note - The default IPv6 autoconfig= property value provided in ILOM 3.0.14 (and later) is autoconfig=stateless. However, if you have ILOM 3.0.12 installed on your CMM or server, the default property value for autoconfig appears as autoconfig=stateless_only.




Note - When the autoconfig= property is set to dhcpv6_stateful or dhcpv6_stateless, the read-only property for dhcpv6_server_duid will identify the DHCP Unique ID of the DHCPv6 server that was last used by ILOM to retrieve the DHCP information.


8. To configure an IPv6 auto-configuration option, use the set command to specify the following auto-configuration property values.


Property

Set Property Value

Description

state

set state=enabled

The IPv6 network state is enabled by default. To enable an IPv6 auto-configuration option, this state must be set to enabled.

autoconfig

set autoconfig=<value>

Specify this command followed by the autoconf value you want to set.

Options include:

  • stateless (default setting provided in ILOM 3.0.14 or later)
    or
    stateless_only (default setting provided in ILOM 3.0.12)
    Automatically assigns IP address learned from the IPv6 network router.
  • dhcpv6_stateless
    Automatically assigns DNS information learned from the DHCP server.

The dhcpv6_stateless property value is available in ILOM as of 3.0.14.

  • dhcpv6_stateful
    Automatically assigns the IPv6 address learned from the DHCPv6 server.

The dhcpv6_stateful property value is available in ILOM as of 3.0.14.

  • disable
    Disables all auto-configuration property values and sets the read-only property value for link local address.

The following information is relevant to the IPv6 autoconfig options:

9. To set a pending static IPv6 address, specify the following property values:


Property

Set Property Value

Description

state

set state=enabled

The IPv6 network state is enabled by default. To enable a static IP address the state must be set to enabled.

pendingipaddress

set pending_static_ipaddress=<ip_address>/<subnet_mask_length_in _bits>

Type this command followed by the property value for the static IPv6 address and net mask that you want to assign to the device.

IPv6 address example:

fec0:a:8:b7:214:4fff:feca:5f7e/64


10. To commit the pending IPv6 static network parameters, perform the following steps:

a. Use the cd command to change the directory to the device network target.

For example:

b. Type the following command to commit the changed property values for IPv6:

set commitpending=true



Note - Assigning a new static IP address to the device (SP or CMM) will end all active ILOM sessions to the device. To log back in to ILOM, you will need to create a new browser session using the newly assigned IP address.


To test the IPv4 or IPv6 network configuration from ILOM use the Network Test Tools (Ping and Ping6). For details, refer to the Oracle Integrated Lights Out Manager (ILOM) 3.0 CLI Procedures Guide.


Adding User Accounts or Configuring a Directory Service

After you log in to ILOM using the root user account, you can choose either to create a local user account or to configure a directory service. For detailed information about ILOM user accounts and directory services, refer to the Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide.


Topics

Description

Links

Learn how to add a user account and assign user roles (privileges)

Learn how to configure ILOM for Active Directory

Learn how to configure ILOM for LDAP

Learn how to configure ILOM for LDAP/SSL

Learn how to configure ILOM for RADIUS

Learn how to verify that the new user account or directory service is working properly

Learn how to log out of ILOM



procedure icon  Add User Account and Assign Privileges

1. Log in to the ILOM CLI.

2. Type the following command and your password to add a local user account:

--> create /SP/users/username password=password

For example:

-> create /SP/users/user5
Creating user...
Enter new password: ********
Enter new password again: ********
Created /SP/users/user5

3. Type the following command to assign roles to a user account:

--> set /SP/users/username role=aucr

For example:

-> set /SP/users/user5 role=aucr
Set ’role’ to ’aucr’

For a description of the user account roles, see Add User Account and Assign Privileges.


procedure icon  Configure ILOM for Active Directory

1. Log in to the ILOM CLI using the root user account.

2. Use the show command to view the top-level properties. Type:


-> cd /SP/clients/activedirectory
/SP/clients/activedirectory
 
-> show
 
 /SP/clients/activedirectory
    Targets:
        admingroups
        alternateservers
        cert
        customgroups
        dnslocatorqueries
        opergroups
        userdomains
 
    Properties:
        address = 10.5.121.321
        defaultrole = Administrator
        dnslocatormode = enabled
        logdetail = trace
        port = 0
        state = disabled
        strictcertmode = disabled
        timeout = 4
 
    Commands:
        cd
        set
        show

3. Use the show command to view information in the tables. Type:

-> show /SP/clients/activedirectory/name/n

Where n is 1 through 5, and where name is one of the following:

You can use the show command to retrieve the certificate properties:


-> show /SP/clients/activedirectory/cert
 /SP/clients/activedirectory/cert
    Targets:
 
    Properties:
        certstatus = certificate not present
        clear_action = (none)
        issuer = (none)
        load_uri = (none)
        serial_number = (none)
        subject = (none)
        valid_from = (none)
        valid_until = (none)
        version = (none)

You can also use the show command to retrieve the alternate server certificate properties:


-> show /SP/clients/activedirectory/alternateservers/1/cert
 /SP/clients/activedirectory/alternateservers/1/cert
    Targets:
 
    Properties:
        certstatus = certificate not present
        clear_action = (none)
        issuer = (none)
        load_uri = (none)
        serial_number = (none)
        subject = (none)
        valid_from = (none)
        valid_until = (none)
        version = (none)

4. Use the set command to configure top-level properties.

For example:


-> set address=10.5.121.321
Set ’address’ to 10.5.121.321
->set ...etc. for defaultrole, dnslocator, logdetail, port, state, stricmode, timeout

5. Use the set command to load a certificate or to modify properties.

For example:



Note - You can set the role to any one or a combination of Admin (a), User Management (u), Console (c), Reset and Host Control (r), or Read Only (o). The legacy roles Administrator or Operator are also supported.


 


-> set /SP/clients/activedirectory/customgroups/1 name=CN=spSuperCust,OU=Groups,DC=sales,DC=oracle,DC=com
Set 'name' to 'CN=spSuperCust,OU=Groups,DC=sales,DC=oracle,DC=com'
-> set /SP/clients/activedirectory/customgroups/1 roles=au
Set ‘roles’ to au

The DNS Locator service query identifies the named DNS service. The port ID is generally part of the record, but it can be overridden by using the format <PORT:636>. Also, named services specific for the domain being authenticated can be specified by using the <DOMAIN> substitution marker.


Name

Domain

1

_ldap._tcp.gc._msdcs.<DOMAIN>.<PORT:3269>

2

_ldap._tcp.dc._msdcs.<DOMAIN>.<PORT:636>



procedure icon  Configure ILOM for LDAP

1. Log in to the ILOM CLI.

2. Use the set command to enter the proxy user name and password.

For example:

--> set /SP/clients/ldap binddn="cn=proxyuser, ou=people, ou=sales, dc=oracle, dc=com" bindpw=password

3. Enter the IP address or DNS name of the LDAP server. Type:

--> set /SP/clients/ldap address=ldap_ipaddress|DNS_name

4. (Optional) Assign the port used to communicate with the LDAP server; the default port is 389. Type:

--> set /SP/clients/ldap port=ldap_port

5. Enter the Distinguished Name of the branch of your LDAP tree that contains users and groups. Type:

--> set /SP/clients/ldap searchbase="ou=people, ou=sales, dc=oracle, dc=com" 

This is the location in your LDAP tree that you want to search for user authentication.

6. Set the state of the LDAP service to enabled. Type:

--> set /SP/clients/ldap state=enabled

7. To verify that LDAP authentication works, log in to ILOM using an LDAP user name and password.



Note - ILOM searches local users before LDAP users. If an LDAP user name exists as a local user, ILOM uses the local account for authentication.



procedure icon  Configure ILOM for LDAP/SSL

LDAP/SSL offers enhanced security to LDAP users by way of Secure Socket Layer (SSL) technology. Certificates are optional if Strict Certificate Mode is used.

Follow these steps to configure ILOM for LDAP/SSL:

1. Log in to the ILOM CLI.

2. Use the show command to view top-level properties. Type:


-> cd /SP/clients/ldapssl
/SP/clients/ldapssl
 
-> show
 
 /SP/clients/ldapssl
    Targets:
        admingroups
        alternateservers
        cert
        customgroups
        opergroups
        userdomains
 
    Properties:
        address = 10.5.121.321
        defaultrole = Administrator
        logdetail = trace
        port = 0
        state = disabled
        strictcertmode = disabled
        timeout = 4
 
    Commands:
        cd
        set
        show

3. Use the show command to view information in the tables. Type:

-> show /SP/clients/ldapssl/name/n

Where n is 1 through 5, and where name is one of the following:

You can use the show command to retrieve the certificate properties:


-> show /SP/clients/ldapssl/cert
 /SP/clients/ldapssl/cert
    Targets:
 
    Properties:
        certstatus = certificate not present
        clear_action = (none)
        issuer = (none)
        load_uri = (none)
        serial_number = (none)
        subject = (none)
        valid_from = (none)
        valid_until = (none)
        version = (none)

You can also use the show command to retrieve the alternate server certificate properties:


-> show /SP/clients/ldapssl/alternateservers/1/cert
 /SP/clients/ldapssl/alternateservers/1/cert
    Targets:
 
    Properties:
        certstatus = certificate not present
        clear_action = (none)
        issuer = (none)
        load_uri = (none)
        serial_number = (none)
        subject = (none)
        valid_from = (none)
        valid_until = (none)
        version = (none)

4. Use the set command to configure top-level properties.

For example:


-> set address=10.5.121.321
Set ’address’ to 10.5.121.321
->set ...etc. for defaultrole, logdetail, port, state, strictmode, timeout

5. Use the set command to load a certificate or to modify properties.

For example:



Note - You can set the role to any one or a combination of Admin (a), User Management (u), Console (c), Reset and Host Control (r), or Read Only (o). The legacy roles Administrator or Operator are also supported.


 


-> set /SP/clients/ldapssl/customgroups/1 name=CN=spSuperCust,OU=Groups,DC=sales,DC=oracle,DC=com
Set 'name' to 'CN=spSuperCust,OU=Groups,DC=sales,DC=oracle,DC=com'
-> set /SP/clients/ldapssl/customgroups/1 roles=au
Set ‘roles’ to au



Note - In the example below, <USERNAME> represents a user’s login name. During authentication, the user’s login name replaces <USERNAME>.


 


-> set /SP/clients/ldapssl/userdomains/1 name=<USERNAME>@uid=<USERNAME>,OU=people,DC=oracle,DC=com
Set 'domain' to 'uid=<USERNAME>,OU=people,DC=oracle,DC=com’


procedure icon  Configure ILOM for RADIUS

1. Log in to the ILOM CLI.

2. To display the properties of RADIUS, type:

-> show /SP/clients/radius

For example:


-> show /SP/clients/radius
/SP/clients/radius
   Targets:
 
   Properties:
		address = 0.0.0.0
		defaultrole = Operator
		port = 1812
		secret = (none)
		state = disabled

3. Use the set command to modify properties.

For example:

-> set /SP/clients/radius ipaddress=1.2.3.4 port=1812 state=enabled defaultrole=administrator secret=changeme

For a description of the RADIUS settings, see Configure ILOM for RADIUS.


procedure icon  Log In to ILOM Using a New User Account

Use this procedure to log in to ILOM to verify that the non-root user account is functioning properly.

Follow these steps to log in to ILOM as a non-root account user:

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.

$ ssh root@system_ipaddress

Or

$ ssh -l username 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:

For IPv4 - 10.8.183.106

or

For IPv6 - [fec0:a:8:b7:214:4fff:5eca:5f7e/64]

The ILOM Login prompt appears.

For more information about entering IP addresses in a dual-stack environment, and for diagnosing connection issues, refer to the Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide.

2. Type the user name and password for the user account.

<hostname>: <assigned_username>

Password: <assigned_password>

The ILOM CLI prompt appears (->).


procedure icon  Log Out of ILOM

single-step bullet  At the command prompt, type:

-> exit


What Next?

You can now continue to customize your ILOM configuration for your system and data center environment. Before you configure ILOM for your environment, refer to the Oracle Integrated Lights Out Manager 3.0 Concepts Guide for an overview of the new ILOM 3.0 features and functionality. Knowing how the new ILOM features will affect your environment will help you configure ILOM settings so that you can access all of ILOM’s capabilities in your system and data center.

Also refer to the Oracle ILOM 3.0 Procedures Guides for descriptions of how to perform ILOM tasks using a specific user interface and to your platform ILOM Supplement or platform Administration guide for platform-specific configuration instructions.

The ILOM 3.0 Documentation Collection can be found at:

http://docs.sun.com/app/docs/prod/int.lights.mgr30#hic