This soft copy for use by IBM employees only.
4.8 Additional Problem Determination
The following sections discuss determining additional system problems.
4.8.1 Debugging Scripts
If a problem could not be determined by the log files, it is useful to debug the
command which fails by itself. Several commands used for SP Switchs are shell
scripts or perl scripts.
Shell scripts could be debugged by inserting
set -x
in the beginning of a script.
It should be inserted in a new line right after
#!/bin/ksh
.
Perl scripts could be debugged by inserting
-d
flag just in the first line of the
script.
#!/usr/lpp/ssp/perl/bin/perl -d
•
Run the commands:
# script <filename>
# <name of perl script>
−
From within the perl script enter:
-
″
t
″ (
to turn trace on)
-
″
c
″ (
to continue)
−
Then run:
# exit
(to stop the script command)
4.8.2 AIX Error Logging
In addition to the log files, there is always a possibility of errors being recorded
in the error log (/var/adm/ras/errlog). These errors can be read by using the
error report command
errpt
. It is important to note the time of the failure in
order to correlate messages in error report
errpt
to the error. There are also
many normal, informational switch messages that you will see in the error
report. For instance, when you issue an
Estart
, you will see a switch fault in the
error report.
Expect one of each of these messages for each
Estart
command.
ERROR_ID TIMESTAMP T CL Res Name
ERROR_Description
34FFBE83 0502140496 T H
Worm
HPS Fault - detected by switch chip
C3189234 0502135796 T H
Worm
HPS Fault - not isolated
Figure 57. Message i n Error Report w h i l e Estart Has B e e n Executed
To get some error reports specific to the switch, you can use
dsh -a errpt -a -N
css
or
dsh -a errpt -a -N Worm
. You can also run diags if you suspect a
hardware problem on the switch:
diag -c -d css0
or
diag -A -d css0
.
124
SP PD Guide
Содержание RS/6000 SP
Страница 2: ......
Страница 14: ...This soft copy for use by IBM employees only xii SP PD Guide...
Страница 16: ...This soft copy for use by IBM employees only xiv SP PD Guide...
Страница 106: ...This soft copy for use by IBM employees only 86 SP PD Guide...
Страница 178: ...This soft copy for use by IBM employees only 158 SP PD Guide...
Страница 214: ...This soft copy for use by IBM employees only 194 SP PD Guide...
Страница 248: ...This soft copy for use by IBM employees only 228 SP PD Guide...
Страница 250: ...This soft copy for use by IBM employees only Figure 102 setup_authent Script Flow Chart 2 7 230 SP PD Guide...
Страница 252: ...This soft copy for use by IBM employees only Figure 104 setup_authent Script Flow Chart 4 7 232 SP PD Guide...
Страница 254: ...This soft copy for use by IBM employees only Figure 106 setup_authent Script Flow Chart 6 7 234 SP PD Guide...
Страница 258: ...This soft copy for use by IBM employees only Figure 110 install_cw Script Flow Chart 3 3 238 SP PD Guide...
Страница 260: ...This soft copy for use by IBM employees only Figure 112 setup_server Script Flow Chart 2 23 240 SP PD Guide...
Страница 262: ...This soft copy for use by IBM employees only Figure 114 setup_server Script Flow Chart 4 23 242 SP PD Guide...
Страница 264: ...This soft copy for use by IBM employees only Figure 116 setup_server Script Flow Chart 6 23 244 SP PD Guide...
Страница 266: ...This soft copy for use by IBM employees only Figure 118 setup_server Script Flow Chart 8 23 246 SP PD Guide...
Страница 268: ...This soft copy for use by IBM employees only Figure 120 setup_server Script Flow Chart 10 23 248 SP PD Guide...
Страница 270: ...This soft copy for use by IBM employees only Figure 122 setup_server Script Flow Chart 12 23 250 SP PD Guide...
Страница 272: ...This soft copy for use by IBM employees only Figure 124 setup_server Script Flow Chart 14 23 252 SP PD Guide...
Страница 274: ...This soft copy for use by IBM employees only Figure 126 setup_server Script Flow Chart 16 23 254 SP PD Guide...
Страница 276: ...This soft copy for use by IBM employees only Figure 128 setup_server Script Flow Chart 18 23 256 SP PD Guide...
Страница 278: ...This soft copy for use by IBM employees only Figure 130 setup_server Script Flow Chart 20 23 258 SP PD Guide...
Страница 280: ...This soft copy for use by IBM employees only Figure 132 setup_server Script Flow Chart 22 23 260 SP PD Guide...
Страница 284: ...This soft copy for use by IBM employees only Figure 136 rc switch Script Flow Chart 3 8 264 SP PD Guide...
Страница 286: ...This soft copy for use by IBM employees only Figure 138 rc switch Script Flow Chart 5 8 266 SP PD Guide...
Страница 288: ...This soft copy for use by IBM employees only Figure 140 rc switch Script Flow Chart 7 8 268 SP PD Guide...
Страница 290: ...This soft copy for use by IBM employees only 270 SP PD Guide...
Страница 292: ...This soft copy for use by IBM employees only 272 SP PD Guide...
Страница 300: ...This soft copy for use by IBM employees only 280 SP PD Guide...
Страница 304: ...This soft copy for use by IBM employees only 284 SP PD Guide...
Страница 308: ...This soft copy for use by IBM employees only 288 SP PD Guide...
Страница 310: ...This soft copy for use by IBM employees only 290 SP PD Guide...
Страница 316: ...IBML This soft copy for use by IBM employees only Printed in U S A SG24 4778 00...