Go to main content

Oracle® ILOM Administrator's Guide for Configuration and Maintenance Firmware Release 4.0.x

Exit Print View

Updated: July 2020
 
 

Dump Full Console History Contents to Remote Location

As of Oracle ILOM firmware version 4.0.2, system administrators can use the dump command to transfer the logged history contents of a host serial console session to a specified remote location, such as a remote host or a URI repository. For further instructions, follow these steps:


Note -  The Dump Console History feature is not supported on multi-domain platforms, such as the SPARC M-Series servers.
  1. Perform one of the following:
    • Dump Full Console History to a Remote Host:

      1. In the Oracle ILOM CLI , type:

        set /HOST/console dump_uri=file_transfer_method://user_name:password@IP_address/file_path/filename

        For example:

        set /HOST/console dump_uri=sftp://ilom:changeme@169.254.182.7/tmp/consfile_1031

    • Dump Full Console History to a Remote URI Respository:

      In the Oracle ILOM CLI , type:

      dump /HOST/console -destination file_transfer_method://username:password@IP_address/file_path/filename

      For example:

      dump /HOST/console -destination sftp://ilom:changeme@169.254.182.7/tmp/consfile_1031

    For further information about using the /Host/console dump command, type: help /host/console dump


    Note -  Supported file_transfers_methods include: tftp, ftp, sftp, http, or https
  2. Upon the successful completion of the /Host/console dump operation, the message Dump Successful appears. If the dump operation fails, an error message appears identifying the cause for the error.

Host Serial Console Log Properties

Oracle ILOM provides a set of properties that enables system administrators to configure 1) how the host serial console history log appears, and 2) which escape characters are used to terminate the host serial console redirection session. For descriptions of these properties, see the following tables (Figure 54, Table 54, Host Serial Console Log Properties or Figure 55, Table 55, Host Status History Log for SPARC PDomains )


Note - CLI paths for multi-domain servers are not specified in the following Host Serial Console Log Properties table. For these type of SPARC servers, append /Servers/PDomains/PDomain_n to the start of the CLI paths described in the following table.
Table 54  Host Serial Console Log Properties
User Interface Configurable Target and User Role:
  • SP CLI: /HOST/console ( or, /Servers/PDomain/PDomain_n/Host/console)

  • User Role:

    Admin (a) role is required to modify the logging and escapechars properties.

    Console (c) role is required to modify the line_count, pause_count, and start_from properties.

Property
Default
Description
logging
enabled
enabled|disabled
Set the logging property to turn on or turn off serial console history logging. If the logging property is set to disabled, the show /HOST/console/history command will return the following error:
failed. could not get console history
CLI Syntax for logging:
Single host server:
set /HOST/console logging=enabled|disabled
Multi-domain host server:
set /Servers/PDomain/PDomain_n/HOST/console logging=enabled|disabled
line_count
0
Integer between 0 and 2048
Specify how many lines of the serial console history log to display. A value of 0 instructs Oracle ILOM to display the entire history log.
CLI Syntax for line_count:
Single host server:
set /HOST/console line_count=0 to 2048
Multi-domain host server:
set /Servers/PDomains/PDomain_n/HOST/console line_count=0 to 2048
pause_count
0
Integer between 0 and 2048
Specify how many lines of the serial console history log to display at once. After the specified number of lines have been displayed, Oracle ILOM will prompt you to continue:
press any key to continue or ???q' to quit
A value of 0 instructs Oracle ILOM to display the entire history log at once.
CLI Syntax for pause_count:
set /HOST/console pause_count=0 to 2048
start_from
end
beginning|end
Set the start_from property to instruct Oracle ILOM whether to display the serial console history log from the beginning or from the end.
CLI Syntax for start_from:
Single host server:
set /HOST/console start_from=beginning|end
Multi-domain host server:
set /Servers/PDomains/PDomain_n/HOST/console start_from=beginning|end
escapechars
#.
Specify the escape characters used to exit the console redirection session.
CLI Syntax for escapechars:
Single host server:
set /HOST/console escapechars=characters
Multi-domain host server:
set /Servers/PDomains/PDomain_n/HOST/console escapechars=characters

Note - The escapechars property is only available for SPARC systems.

timestamp
no (display is disabled)
no (default_| yes
To display timestamp entries in the console history log from an x86 server SP, set the timestamp property to yes.
CLI Syntax for timestamp:
set /HOST/console escapechars=yes|no

Note - 

The timestamp property is only available on x86 servers as of firmware release 3.2.5 or later.

history
N/A
View host console log history.
CLI Syntax for history:
Single server:
show /HOST/console/history
Multi-domain server:
show /Servers/PDomains/PDomain_n/HOST/console/history
Table 55  Host Status History Log for SPARC PDomains
User Interface Configurable Target:
  • SP CLI: /Servers/PDomains/PDomain_0/HOST/status_history

  • Web: Host Management >Status History Log

    Status History Log available as of ILOM 3.2.5 firmware release for SPARC multi-domain servers.

Property
Default
Description
list
N/A
View host status history log for SPARC multi-domain servers.
Web: Click the More details... link on the Status History page for a description of the status log history.
CLI Syntax to View Host Status History List:
show /Servers/PDomains/PDomain_0/HOST/status_history/list