XSCF User`s Guide


Add to my manuals
286 Pages

advertisement

XSCF User`s Guide | Manualzz

Chapter 6 How to Use the XSCF Command Shell

6.4 XSCF Log View Command

Use the following XSCF commands to check the server operation from console logs, temperature history, and error logs:

- show-error-logs

- show-power-logs

- show-event-logs

- show-console-logs

- show-access-logs

- thermal-history

- show-device-records

- show-ipl-logs

- show-panic-logs

show-error-logs

The show-error-logs command is used to view the summary of errors or notification that have been detected by XSCF and OBP. The log information can be viewed when a system error such as a reset error, failed OS startup, error indicated by blinking of CHECK LED on the front or back panel of the server, or

slow down of process on Solaris OE

has occurred. The same error log information is also retained by the Machine Administration Menu. For the logging information retained by the Machine Administration Menu, see the Machine Administration Guide for the ESF. The maximum number of log entries is 32.

The following table explains the items recorded in error logs.

Table 6-6 Items displayed by the show-error-logs command

No/Error Count

Date

Component Description

SysDamage

"No" indicates the sequence number assigned to the error to be displayed. "ErrorCount" indicates the total number of errors to be displayed.

Indicates the time (local time) that the error occurred.

The system fault level of the error. The levels are ALARM,

WARNING, and NOTICE.

FaultCode A unique error code for identifying the error

ReplaceParts Replacement part and the part number

Syslog msg

System message output to the console when the error occurred.

Indicates the error category.

BinData

Binary error data. When a detailed analysis is necessary, Fujitsu engineer uses it.

For a list of error logs, see "Appendix B XSCF Log Information".

The following is an example of command execution.

6-16

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

6.4 XSCF Log View Command

SCF> show-error-logs

***** No.01/32

Date = 2002/08/31 08:25:39

SysDamage = NOTICE

FaultDetect = SCF

FaultCode = 430102FF

DetailInfo = FAN speed low CAUSE: temperature lower

ReplaceParts = ---

Syslog msg = Notification

00831810 430102FF 02083108 2539FFFF

494E4C45 54207468 65726D61 6C206C6F

77204641 4E207370 65656420 6C6F7700

171A0000 00000000 00000000 00000000

:

:

SCF>

Note:

Some of the errors detected by the OS may not be displayed.

show-power-logs

The show-power-logs command is used to view all information in the power log, including any server power-on, power-off, or reset detected by XSCF and POST/OBP. The information can be viewed for use in investigating circumstances of use when a system error has occurred.

The same power log information is retained by the Machine Administration Menu. For the logging information retained by the Machine Administration Menu, see the Machine

Administration Guide for the ESF. The maximum number of log entries is 32.

The following shows the format of a line in the power log.

$DATE $TIME $TYPE $FACTOR $DETAIL $MSW

DATE : Date on which the log entry was recorded

TIME : Time (local time) at which the entry was recorded

― TYPE : The type of the power event, such as power-on or reset, and the code

― FACTOR : Hardware that instructed the power event and the code

― DETAIL : Details in binary

― MSW : Mode set by the mode switch on the operating panel

M : MAINTENANCE mode

U : UNLOCK mode

L : LOCK mode

For a list of power logs and a fuller explanation, see "Appendix B XSCF Log Information".

The following is an example of command execution.

SCF> show-power-logs

DATE TIME TYPE FACTOR DETAIL MSW

----------+--------+-----------------+-----------+---------+----

2002/08/07 15:02:58 20:Power-on 80:UPS 01 000000 M

2002/08/07 15:03:03 3f:Reset-Release 00:--- 00 000000 M

6-17

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

Chapter 6 How to Use the XSCF Command Shell

2002/08/07 15:47:54 10:SCF Reset 00:--- 03 000000 -

2002/08/07 15:48:08 50:PSU-OFF 00:--- 00 000000 M

2002/08/07 15:50:58 01:PSU-ON 00:--- 00 000000 -

2002/08/07 15:51:00 20:Power-on 80:UPS 01 000000 M

2002/08/07 15:53:36 20:Power-on 40:TTY 00 000000 L

2002/08/07 15:55:50 42:Power-off 40:TTY 00 000000 L

2002/08/07 15:56:14 20:Power-on 40:TTY 00 000000 L

2002/08/07 15:56:19 3f:Reset-Release 00:--- 00 000000 U

2002/08/07 16:09:21 50:PSU-OFF 00:--- 00 000000 U

2002/08/07 16:10:50 20:Power-on 80:UPS 01 000000 M

2002/08/07 16:10:55 3f:Reset-Release 00:--- 00 000000 M

2002/08/07 16:22:26 42:Power-off 40:TTY 00 000000 M

2002/08/07 16:22:36 20:Power-on 40:TTY 00 000000 M

2002/08/07 16:22:39 20:Power-on 40:TTY 00 000000 M

2002/08/07 16:22:44 3f:Reset-Release 00:--- 00 000000 M

2002/08/07 16:48:59 42:Power-off 40:TTY 00 000000 U

2002/08/07 16:54:34 20:Power-on 40:TTY 00 000000 U

2002/08/07 16:54:39 3f:Reset-Release 00:--- 00 000000 L

2002/08/07 17:00:18 42:Power-off 40:TTY 00 000000 L

SCF>

show-event-logs

The show-event-logs command is used to view all event logs that have been created on the server, such as those recording operator events and the reporting of events from the OS. The information can be viewed to determine the operating status of the server as an aid to investigating a system error and to changing the system configuration. The same event log information is retained by the Machine Administration Menu. For the logging information retained by the Machine Administration Menu, see the Machine Administration Guide for the ESF.

The maximum number of log entries is 256.

The following shows the format of a line in the power log.

$DATE $TIME $MSW $Address $FACTOR $DETAIL

DATE : Date on which the log entry was recorded

― TIME : Time (local time) at which the entry was recorded

― MSW : Mode switch setting on the operating panel

‐ M : MAINTENANCE mode

‐ U : UNLOCK mode

L : LOCK mode

Address : Device address

FACTOR : Event category and code

DETAIL : Details in binary

For the list of event logs and meanings, see "Appendix B XSCF Log Information".

The following is an example of command execution.

SCF> show-event-logs

DATE TIME MSW Address FACTOR DETAIL

---------+--------+---+--------+----------+----------------------------------

2002/08/08 11:43:59 M 000F7F00 60:SysInfo 00000000 00000000 00000000 00000000

6-18

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

6.4 XSCF Log View Command

2002/08/08 11:43:59 M 000F7F00 04:ExtInfo 00000000 00000000 00000000 00000000

SCF>

show-console-logs [-d | -t] [-s value]

The show-console-logs command is used to view the console output logs on the server console. A log contains the logging data output from the OS to the console and can be used for investigating usage conditions for system error or other problem. The latest 16 KB of logging information can be viewed.

The following is an example of command execution.

SCF> show-console-logs

100.00000000

0> Probing U2P#3(0x83) at 106.00000000

0> U2P Registers Test

0> IO0_Status= 01000000(MC0Q=2), UPA_Config=00000002

0> Testing U2P port_id=80

0> IO3_Status= 01000000(MC0Q=2), UPA_Config=00000002

0> Testing U2P port_id=83

0> U2P Interrupts Test

0> Testing U2P#3(portid=83,inr=20ee)

0> Testing U2P#3(portid=83,inr=20ef)

0> Testing U2P#3(portid=83,inr=20f0)

SU,sppex

Omitted

4x SPARC64 V , No Keyboard

OpenBoot 3.1.0-16, 16384 MB memory installed

Ethernet address 0:e0:0:c4:80:3, Host ID: 00000000.

SCF>

Table 6-7 show-console-logs command options

-d –t

-s

Description Description

-d: Display the log with logged date.

-t: Display the log with logged time.

Ommitting this opiton, display the log only.

Display the log of specified size. Value has to be designated in

hexadecimal format.

Ommitting this option, display 8KB size log.

Maximum 16KB can be

show-access-logs

The show-access-logs command is used to view the logs recording access to the XSCF Web function pages, XSCF shell,

or any other XSCF function.

Any access to XSCF, such as, a user check system status on XSCF web, or a user uses XSCF shell via serial port

(tty-a) or LAN (telnet) or LAN (SSH), is logged.

This information can be used for security purposes to investigate usage conditions for an unauthorized access and to investigate system errors. The maximum number of log entries is 42.

The following shows the format of a line in the access log.

6-19

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

Chapter 6 How to Use the XSCF Command Shell

$DATE $TIME $UserID $TYPE $IP Address

― DATE : Date on which a network port such as the XSCF Web function or

SCF-LAN port was accessed

TIME : Time (local time) when s network port such as the XSCF Web function or

SCF-LAN port was accessed

User ID

― Accessed port ID

― User IP address

The following is an example of command execution.

SCF> show-access-logs

Date TIME ID TYPE IP address

---------+---------+------+-----------------+----------------

2002/09/10 09:18:52 user01 Telnet(port 8010) 11.22.33.4

2002/09/12 09:18:52 guest Telnet(port 8010) 123.123.123.123

2002/09/14 09:18:52 root Serial(RS232C) ---

2002/09/15 09:18:52 user01 SSL(Port 443) 11.22.33.4

SCF>

Note:

The TYPE values include telnet, SSH, SNMP, RS232C serial, SSL, and http.

thermal-history [-g] value

The thermal-history command is used to view a history of the ambient server temperature,

CPU temperature, and temperature of the system board. When the -g option is specified, the history is represented graphically. When no options are specified, all temperature histories are listed in a table. To display the temperature history for each device, enter the specification option in the table given below.

The logged information can be remains for about one day. Older information will be expired.

Therefore, you can view the log information of latest one day.

The information can be used for investigating the server environment for a system error or other problem.

The following shows the format of a line in the temperature history.

$TIME $Temperature(Celsius, minutely 10 or 60)

TIME : Time that the temperature was measured

Temperature : Indicates the temperature (Celsius) every 10 minutes or 1 hour.

For a graphic representation, the interval is every 30 minutes.

The following are examples of command execution.

SCF>thermal-history

Thermal History [ Celsius]

_GMT__|_INLET__CPU0_CPU1_CPU2_CPU3__SB0__SB1

01:39 | 027 OFF --- --- --- 033 028

02:39 | 027 OFF --- --- --- 033 028

6-20

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

6.4 XSCF Log View Command

03:39 | 027 030 --- --- --- 033 027

04:39 | 027 032 --- --- --- 035 027

05:39 | 027 033 --- --- --- 036 027

06:39 | 027 035 --- --- --- 037 027

07:39 | 027 036 --- --- --- 037 027

08:39 | 027 037 --- --- --- 038 028

09:39 | 027 037 --- --- --- 038 028

10:39 | 027 037 --- --- --- 038 027

11:39 | 027 035 --- --- --- 036 026

SCF>

SCF>thermal-history cpu0

Thermal History cpu0[ Celsius]

_GMT__|___00___10___20___30___40___50[ MIN]

01:10 | --- OFF OFF OFF OFF OFF

02:00 | OFF OFF 029 030 030 030

03:00 | 030 030 031 031 031 031

04:00 | 032 032 032 032 033 033

05:00 | 033 033 034 034 034 035

06:00 | 035 035 035 035 036 036

07:00 | 036 036 036 036 036 036

08:00 | 037 037 037 037 037 037

09:00 | 037 037 037 037 037 037

10:00 | 037 037 037 037 037 036

11:00 | 036 035 035 035 034 034

SCF>

The following table describes the options that can be specified.

Table 6-8 thermal-history command options

-g

Option Description

Optional. The temperature history information is represented graphically. If this option is not specified, the information is presented in table form. When -g is specified but value is not specified, the command results in an error.

Options for value inlet Displays the inlet. cpun (n =0,1,,3) sb-sensorn (n =0,1)

Displays the temperature history of the CPUs. The maximum specification is cpu3.

Displays the temperature history of SysBoard. Up to two locations can be specified.

Note:

If the power plug is disconnected, all temperature history information will be lost.

6-21

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

Chapter 6 How to Use the XSCF Command Shell

show-ipl-logs [-d | -t] [-f | -b] [-s value]

The show-ipl-logs command is used to view the message of latest IPL.

This information can be used to investigate the server status when the system was started.

The following is an example of command execution.

SCF> show-ipl-logs

0>Flash/SRAM Test

0> Flash Memory check sum Test

0> FROM#0 checksum = 110a8bf4

0> FROM#1 checksum = 112e489f

0> SRAM Data Line Test

0> SRAM Addr Line Test

0> SRAM Data Test

0> SRAM Init Test

0>SC Test

0> SC init

0>SCF Test

0> SCF Test

0>

:

CPU Status Test

:

:

OpenBoot 3.1.0-18, 1024 MB memory installed

Ethernet address 0:ee:0:dd:88:22, Host ID: 11223344.

SCF Version: 0.1.0000 board

RCI is not configured

{0} ok

SCF>

Table 6-9 show-ipl-logs command options

-d –t

-f –b

-s

Description Description

-d: Display the log with logged date.

-t: Display the log with logged time.

Ommitting this opiton, display the log only.

-f: Display the log starting from the latest.

-b: Display the log starting from the oldest.

Ommitting this opiton, display the log starting from the latest.

Display the log of specified size. Value has to be designated in

hexadecimal format.

Ommitting this option, display 8KB size log.

Maximum 16KB can be

show-panic-logs [-d | -t] [-f | -b] [-s value]

The show-panic-logs command is used to view the logging information of the last panic.

The following is an example of command execution.

6-22

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

6.4 XSCF Log View Command

SCF> show-panic-logs panic[cpu0]/thread=2a10001fd20: memory dumping due to pressing REQUEST switch.

000002a10001bde0 FJSVpanel:panel_intr+58 (30000d356c0, 30000b85998, 1, 3,

30000d39e08, 10078834)

%l0-3: 0000030000b859a0 0000000000009b44 0000000000000000 0000030000d39e14

%l4-7: 0000030000b85938 000003000185bef8 0000000000000000 000003000185bf20

000002a10001be90 pcipsy:pci_intr_wrapper+70 (104a8ebc, 20e5, 1, 30000ebefd0,

30001859d68, 3000182fe10)

%l0-3: 00000000102be150 0000000000000000 0000000000000000 0000030000d4fac0

%l4-7: 0000030000b85938 000003000185bef8 0000000000000000 000003000185bf20

000002a10001bf50 unix:current_thread+44 (0, ffffffffffffffff, 0, 30001830aa0,

2a10001fd20, 0)

%l0-3: 00000000100073dc 000002a10001f061 000000000000000f 000002a10001bf50

%l4-7: 00000000000000b0 0000000010415c08 000000000000000b 000002a10001f910

000002a10001f9b0 unix:disp_getwork+40 (104244d0, 0, 10425478, 1042d590, 0, 0)

%l0-3: 0000004414001603 0000000000000016 000000000000000a 0000000010009b44

%l4-7: 00000000ff31c424 0000000000000000 0000000000000000 000002a10001f9c0

000002a10001fa60 unix:idle+a4 (0, 0, 0, 104244d0, 1, 0)

%l0-3: 000000001004616c 0000000000000100 0000000000010000 000002a10010bd20

%l4-7: 0000030001835fc8 0000030000074000 0000030001835ee0 0000030001835ed0 syncing file systems... 3 done dumping to /dev/dsk/c0t0d0s1, offset 107610112

100% done: 36120 pages dumped, compression ratio 8.47, dump succeeded rebooting...

Saving eeprom ... done

Resetting ...

SCF>

Table 6-10 show-panic-logs command options

Description Description

-d –t

-f –b

-s

-d: Display the log with logged date.

-t: Display the log with logged time.

Ommitting this opiton, display the log only.

-f: Display the log starting from the latest.

-b: Display the log starting from the oldest.

Ommitting this opiton, display the log starting from the latest.

Display the log of specified size. Value has to be designated in

hexadecimal format.

Ommitting this option, display 8KB size log.

Maximum 16KB can be

Note:

This log can be shown only when OS console port is set to the SCF-LAN port or the serial port(tty-a).

Next: 6.5 XSCF Server Configuration Information Command

All Rights Reserved,Copyright (C) FUJITSU LIMITED 2003,2004

6-23

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents