Professional Documents
Culture Documents
Test: Sun Systems Fault Analysis Workshop: Online Assessment
Test: Sun Systems Fault Analysis Workshop: Online Assessment
This 40-question online assessment measures your understanding of the concepts presented
in the Assessment: Sun Systems Fault Analysis Workshop
Which two options identify the two missing steps in this process?
Correct!
Correct!
# pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online http://pkg.oracle.com/solaris/release/
Which two options describe the methods that you could use to
quickly query some basic information about the “release”
repository to view just the publisher’s name, number of packages,
status, and last updated timestamp?
(Choose all correct answers)
Correct!
# mpstat 2
CPU minf mjf xcal intr ithr csw icsw migr smtx srw
syscl usr sys wt idl
0 0 0 13 228 5 22 0 1
1 0 0 0 11 0 89
1 0 0 8 26 1 17 0
0 0 0 51 0 3 0 96
2 0 0 3 9 0 5 0
0 0 0 0 0 0 0 100
3 0 0 10 34 2 23 0 0
0 0 2 0 5 0 95
4 0 0 5 70 28 64 0 0
0 0 34 0 4 0 96
5 0 0 32 27 0 18 0 0
0 0 0 0 4 0 96
6 0 0 4 39 13 33 0 1
1 0 12 0 0 0 100
7 0 0 8 26 0 16 0 0
0 0 0 0 0 0 100
8 0 0 12 36 0 26 0 0
0 0 0 0 0 0 100
9 0 0 4 16 0 12 0
0 0 0 2 0 6 0 94
10 0 0 14 42 1 26 0 0
0 0 1 0 10 0 90
. . . . . .
^C
Correct!
Correct!
6. A server has been crashing
Mark for
intermittently for unknown
Review
reasons. You have asked the
(2) Points
customer to start saving the
information from the crash in
the /var/crash directory so that
you can analyze the problem.
The crash dump configuration
file has the following entries:
# coreadm -d
# dumpadm –u
# dumpadm –n
# dumpadm –y (*)
Correct!
bootadm (*)
boot-archive
menu.lst
/sbin/bootadm update-archive
Correct!
Correct!
Correct!
Correct!
11. The following error message is
displayed on one AI client. Mark for
Review
Rebooting with command: boot (3) Points
net:dhcp – install
Boot device:
/pci@7c0/pci@0/network@4:dhcp File
and args:
1000 Mbps FDX Link up
<time unavailable> wanboot
info: WAN boot messages->console
<time unavailable> wanboot
info: Starting DHCP configuration
<time unavailable> wanboot
info: DHCP configuration succeeded
<time unavailable> wanboot
progress: wanbootfs: Read 366 of 366
kB (100%)
<time unavailable> wanboot
info: wanbootfs: Download complete
Tue Aug 5 20:46:43 wanboot
alert: miniinfo: Request returned
code 500
Tue Aug 5 20:46:44 wanboot
alert: Internal Server Error \ (root
filesystem image missing)
Correct!
# svcs –xv
svc:/
application/pkg/server:def
ault (image packaging
repository)
State: maintenance since
Mon 30 Jun 2014 08:16:40
AM PDT
Reason: Start method
failed repeatedly, exit
with status 1.
See:
http://support.oracle.com/
msg/SMF-8000-KS
See:
/var/svc/log/application-
pkg-server:default.log
Impact: This service is
not running.
Correct!
# svccfg
svc:> select
system/console-
login:default
svc: /system/console-
login:default> listsnap
initial
running
start
svc: /system/console-
login:default> revert
start
svc: /system/console-
login:default> quit
svcadm restart
system/console-login (*)
svccfg export
system/console-login
svcadm refresh
system/console-login (*)
svcadm update
system/console-login
Correct!
# coreadm
global core file pattern:
/var/core/core.%f.%p
global core file content: all
init core file pattern: core.%f.%p
init core file content: default
global core dumps: enabled
per-process core dumps: enabled
global setid core dumps:
disabled
per-process setid core dumps:
disabled
global core dump logging:
enabled
Correct!
# tail
/var/svc/log/application-
pkg-server:default.log
# svccfg -s pkg/server
svc:/application/pkg/serve
r> listprop pkg
# svcadm clear pkg/server
# svcadm refresh
pkg/server
Correct!
16.After a system
reboot, users can’t Mark for
telnet to other Review
systems or do other (2) Points
network-related
tasks.
# telnet host68
Trying
192.181.164.61...
telnet: Unable to
connect to remote
host: Network is
unreachable
# ipadm
# ifconfig net0 up
Which option
describes additional
steps you could take
to resolve the
reported problem
with the network?
Correct!
Correct!
# savecore –vf
# dumpadm –y –d
# savecore –L (*)
None of the above
Correct!
# svcx –x
Which option describes the output of this
command?
Correct!
Correct!
21.To install client
systems by using Mark for
AI, you initially Review
set up your (4) Points
install server and
create at least
one install
service for each
client
architecture and
each version of
Oracle Solaris
that you plan to
install.
1. The client is
booted.
2. The client
system contacts
the DHCP server
and retrieves the
client IP address,
the boot file, and
the IP address of
the installer, if
required.
3. The client
system loads the
net image.
4. The client
system completes
its installation
by using the
appropriate AI
manifest.
5. The client
system reboots, if
<left blank
intentionally>
6. During a
reboot, the client
system is
configured by
using an SC
profile, or by the
administrator’s
responses in the
interactive system
configuration
tool.
Correct!
Correct!
Correct!
# svcs –xv
No output for more than 5 minutes
Which option describes the cause of this
zone having a very slow response time?
Correct!
Correct!
26In general,
Mark for
. after the
kernel panics a Review
system, the (4) Points
system reboots.
When the kernel
panics it drops
into the
debugger and
prints some
interesting
information.
You know that
the mdb utility
can examine
this
information to
determine the
cause of the
panic.
After a system
crash, you
locate the
appropriate
saved image and
then invoke
mdb.
# cd
/var/crash/`una
me –n`
# ls
bounds
unix.1
unix.3
vmcore.1
vmcore.3
unix.0
unix. 2
vmcore.0
vmcore.2
# mdb –k unix.2
vmcore.3
Loading
modules:
[ unix
genunix specfs
dtrace zfs
scsi_vhci sd
mpt mac px
lcd ip
hook neti
arp usba
kssl fctl
sockfs random
mdesc idm
cpc crypto
fcip fcp
ufs
logindmux
nsmb ptm
sppp nfs
lofs ipc ]
As a next step,
you retrieve a
stack backtrace
which shows in
reverse order
all the
functions that
were active at
the time of the
panic.
Which option
would you use
in the mdb
debugger to
generate a
stack
backtrace?
::msgbuf
$C
<pc::dis
$c (*)
Correct!
27. The following system message shows up on
the console indicating a problem. Mark
for
Fault class : fault.cpu.ultraSPARC- Review
T2plus.ireg
Affects :
(2) Points
cpu:///cupid=0/serial=1F95806CD1421929
faulted and
taken out of service
FRU : “MB/CPU0”
(hc://:product-id=SUNW,T5440:server-
id=bur419-61:\
serial=3529:part=541255304/motherboard=0/
cupboard=0)
faulty
Correct!
Correct!
Correct!
$ ssh username@SP_ipaddress
Password: <password>
- >enter command here
>show /Host/list
>show /SP/faults_mgmt
>show faults
>show faulty (*)
Correct!
3A SPARC server
Mark for
1.is creating
core files in Review
random (2) Points
directories and
that these
files are quite
large and use
up valuable
disk space. You
run the
following
commmand to
display the
core file
configuration
on the system:
$ coreadm
global core
file pattern:
global core
file content:
default
init core file
pattern: core
init core file
content:
default
global core
dumps: disabled
per-process
core dumps:
enabled
global setid
core dumps:
disabled
per-process
setid core
dumps: disabled
global core
dump logging:
disabled
To correct the
situation you
become
superuser, run
the command to
enable a global
core file path
and then verify
the core file
path
configuration:
# coreadm
global
core file
pattern:
/var/core/core.
%f.%p
init
core file
pattern: core
global core
dumps: enabled
per-
process core
dumps: enabled
global
setid core
dumps: disabled
per-process
setid core
dumps: disabled
global
core dump
logging:
disabled
Which option
contains the
command you
would use to
enable a global
core file path?
# coreadm –e –g /var/core
# coreadm -e global -g
/var/core/core.%f.%p (*)
# coreadm –g /var/core/core.%f.%p
–e global
# coreadm –e global –g /var/cores
Correct!
Correct!
Correct!
Correct!
# svcs milestone*
STATE STIME FMRI
online Jun_30
svc:/milestone/unconfig:default
online Jun_30
svc:/milestone/config:default
online Jun_30
svc:/milestone/devices:default
online Jun_30
svc:/milestone/network:default
online Jun_30
svc:/milestone/single-
user:default
online Jun_30
svc:/milestone/name-
services:default
online Jun_30
svc:/milestone/self-assembly-
complete:default
online Jun_30
svc:/milestone/multi-user:default
online Jun_30
svc:/milestone/multi-user-
server:default
Correct!
3The svc.configd
Mark
6repository
daemon for SMF for
. is invoked
Review
automatically
during system
(3) Points
startup, and
restarted if
any failures
occur. When
svc.configd
daemon is
started, it
does an
integrity check
of the SMF
configuration
repository. In
this example
the integrity
check failed
and svc.configd
wrote the
following
message to the
console.
<MESSAGE
DISPLAYED BY
SMF>
svc.configd:
smf(5) database
integrity check
of:
/etc/svc/reposi
tory.db
failed. The
database might
be damaged or a
media error
might have
prevented it
from being
verified.
Additional
information
useful to your
service
provider is in:
/etc/svc/volati
le/db_errors
/lib/svc/bin/re
store_resposito
ry
can be run to
restore a
backup version
of your
repository. See
http:
//sun.com/msg/S
MF-8000-MY for
more
information.
You enter
maintenance
mode and run
the
restore_reposit
ory command,
which takes you
through the
necessary steps
to restore a
non-corrupt
backup.
Which option
describes how a
SMF repository
can become
corrupted?
Disk failure
Hardware or Software bug
Accidental overwrite of the file.
All of the above (*)
Correct!
Correct!
Correct!
# svcs –xv
No output for more than 5
minutes.
sc> showcomponent
Keys:
/SYS/MB/PCI_MEZZ
/SYS/MB/PCI_MEZZ/PCIE4
/SYS/MB/PCI_MEZZ/XAUI4
/SYS/MB/PCI_MEZZ/PCIE5
/SYS/MB/PCI_MEZZ/XAUI5
/SYS/MB/PCI_MEZZ/PCEI6
/SYS/MB/PCI_MEZZ/PCIE7
/SYS/MB/PCI_MEZZ/PCIE8
/SYS/MB/PCI_MEZZ/PCIE9
…..
/SYS/TTYA
Disabled Devices
/SYS/MB/CMPO/L2_BANK0
asr-db (*)
clearasrdb
enable component asrkey ; reset (*)
asrdb
Correct!