Clearasrdb Asr-Db ( ) Enable Component Asrkey Reset ( ) Asrdb
Clearasrdb Asr-Db ( ) Enable Component Asrkey Reset ( ) Asrdb
Clearasrdb Asr-Db ( ) Enable Component Asrkey Reset ( ) Asrdb
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
clearasrdb
asr-db (*)
asrdb
Correct!
2. You know that a boot archive is a subset of a root file system and that
the files in the boot archive are read by the kernel before the root Mark for Review
filesystem is mounted. After the root file system is mounted, the boot (2) Points
archive is discarded by the kernel from memory.
The files that are part of the x86 boot archive are located in the
/platform/i86pc/amd64/archive_cache directory.
boot-archive
bootadm (*)
/sbin/bootadm update-archive
menu.lst
Correct!
# pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online http://pkg.oracle.com/solaris/release/
You can also quickly query some basic information about a repository
to view the package publishers known by the repository; number of
packages for each publisher; when the publisher’s package data was
last updated; and the status of the publisher’s package data, as
shown here:
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?
# 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
You have two more steps to complete in this process, which are
necessary to update the information in the service configuration and
to restart the service instance.
What two commands would you run to update the repository with the
configuration information from the start snapshot and then restart this
service instance?
(Choose all correct answers)
Correct!
# svcx –x
Correct!
Assessment: Sun Systems Fault Analysis
(Answer all questions in this section)
6. Before actually installing a software package on a Solaris 11 system, you want to
check exactly what is going to be installed. In this example, you run the following Mark for Review
command to view the installation action of an apptrace package without installing (3) Points
it.
You determine that there’s no issue with installing this package and run the pkg
install command to complete the package installation. To verify or validate the
installation of the package you run the following command:
Which command would you use to correct the dtrace package installation error
reported?
Correct!
7. You want to save a crash dump of the live running Oracle Solaris system without
actually rebooting or altering the system in anyway. A dedicated dump device was Mark for Review
recently configured to the system using the dumpadm command. (2) Points
Which command would you use to save a live system crash dump?
# savecore –vf
# dumpadm –y –d
# savecore –L (*)
None of the above
Correct!
8. The following command line has been entered to create a new service called
newsvc1 and to identify this service as the source for automated install: Mark for Review
(3) Points
# installadm create-service –n newsvc1 –s /export/aiimages/s11ai.iso –d \
/export/auto_install/newsvc1
What action would you take to correct this boot failure based on the error
message?
Correct!
9. You are notified that a system has panicked because it tried to execute an illtrap
instruction at ksyms_open+0x14, as shown in the following output: Mark for Review
> < pc::dis (2) Points
<output truncated>
ksyms_open+0x14 : illtrap 0x0
<output truncated>
Knowing that the kernel will not overwrite its own code due to permissions on the
pages of memory containing kernel code, you deduce two possible reasons for the
cause of this panic.
The kernel branched to a location that contained the instruction NULL. (*)
Correct!
10. In general, after the kernel panics a system, the system reboots. When the kernel
panics it drops into the debugger and prints some interesting information. You Mark for Review
know that the mdb utility can examine this information to determine the cause of (4) Points
the panic.
After a system crash, you locate the appropriate saved image and then invoke mdb.
# cd /var/crash/`uname –n`
# ls
bounds unix.1 unix.3 vmcore.1 vmcore.3
unix.0 unix. 2 vmcore.0 vmcore.2
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?
<pc::dis
::msgbuf
$C
$c (*)
Correct!
11. Fault types that
can occur on a Mark for Review
system are (2) Points
placed in five
error
categories:
Software,
Hardware,
Critical, Fatal,
System Panics,
and Warnings.
When a system
fault is caused
by a critical
error it is
recommended
that the system
be immediately
shutdown.
Which two
faults could be
attributed to a
critical error
that requires
the immediate
shutdown of
the system?
12. You have been asked to install Oracle VTS, an Oracle hardware
validation test on a SPARC server. Once installed you need to run a Mark for Review
non-intrusive online stress test mode and a data-safe system exerciser (4) Points
test mode, all to test the server.
Which two options describe the actions of these two test modes on the
server?
13. After a system reboot, users can’t telnet to other systems or do other
network-related tasks. Mark for Review
(2) Points
# telnet host68
Trying 192.181.164.61...
telnet: Unable to connect to remote host: Network is unreachable
To check for reasons why the users can't communicate over the
network, you use the ipadm and ifconfig commands to make sure the
network interface is configured correctly and is plumbed and up.
# ipadm
# ifconfig net0 up
You also check the rc directories to see what scripts may be running
that are undesired, since legacy rc scripts can still can run in addition to
SMF.
Which option describes additional steps you could take to resolve the
reported problem with the network?
Troubleshoot using svcs -xv to make sure all the network services
are enabled; try enabling them by hand.
Check for any hardware NIC errors using the fmadm faulty
command.
Correct!
14. To install client systems by using AI, you initially set up your install
server and create at least one install service for each client architecture Mark for Review
and each version of Oracle Solaris that you plan to install. (4) Points
Now you boot a client and the installation begins following this
sequence.
Correct!
15. A system has crashed with a panic. You need to analyze this system
panic and determine what kind of panic has occurred. The steps you Mark for Review
plan to take include displaying the current crash dump configuration; (2) Points
coverting the dump file to files that can be analyzed with the mdb
utility; and then printing a summary of information that reveals what
kind of panic took place.
Correct!
16. The show-
post-results Mark for Review
command is (3) Points
an OBP-level
command
that you use
at the
firmware
level of a
system to
display
information
about the
last
executed
POST.
Shown
below are
four of the
six steps
that you
would take
to view the
last
executed
POST.
1. Set the
diag-switch?
variable to
true with the
setenv
command.
2. <step
missing>
3. <step
missing>
4. Power
down the
system.
5. Power on
the system.
6. Run
show-post-
results to
view the
POST
output.
ok show-
post-results
<output
omitted>
Which two
options
identify the
two missing
steps in this
process?
Correct!
17. The response time with a web zone is very poor, and many services are
not running. You go ahead and zlogin into the web zone and then use the Mark for Review
following command: (2) Points
# svcs –xv
No output for more than 5 minutes
Which option describes the cause of this zone having a very slow response
time?
Correct!
18. A system has booted into maintenance mode with an error that a service
failed to mount the /tmp directory. Mark for Review
(3) Points
Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
os-io ERROR: svc:/system/filesystem/minimal:default failed to mount /tmp
(see 'svcs -x' for details)
Jan 15 14:22:47 svc.startd[11]: svc:/system/filesystem/minimal:default:
Method "/lib/svc/method/fs-minimal" failed with exit status 95.
Jan 15 14:22:47 svc.startd[11]: system/filesystem/minimal:default failed
fatally: transitioned to maintenance (see 'svcs -xv' for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
You have quickly determined that the cause of this error could be the
result of either a service that is critical for boot is disabled or incorrect
permissions on the /tmp directory.
Troubleshoot using the svcs –xv command and try enabling the
services in maintenance manually. (*)
19. You have used the prtdiag command on a server to get some information
about the system configuration, diagnostics, and failed FRUs. When the Mark for Review
prtdiag command was executed the following exit value of 1 was returned. (2) Points
20. A server has been crashing intermittently for unknown reasons. You have
asked the customer to start saving the information from the crash in the Mark for Review
/var/crash directory so that you can analyze the problem. The crash dump (2) Points
configuration file has the following entries:
After the most recent crash, the administrator went into the /var/crash
directory to look for the dump file but the directory was empty.
Which command would you use to enable the server to store crash dumps
in /var/crash on reboot?
# dumpadm –n
# dumpadm –y (*)
# coreadm -d
# dumpadm –u
Correct!
21. You know that the
following configuration Mark for Review
will cause two core files (2) Points
to be generated and
saved when a process in
the local zone
terminates abnormally.
# 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
You know this error occurred because the client cannot find the
boot_archive.
Correct!
# tail /var/svc/log/application-pkg-server:default.log
Correct!
/etc/svc/repository.db
/etc/svc/volatile/db_errors
The system will not be able to boot until you have restored a
working database. svc.started (1M) will provide a sulogin(1M)
prompt for recovery purposes. The command:
/lib/svc/bin/restore_respository
Disk failure
Correct!
25. The Oracle Integrated Lights Out Manager (ILOM) firmware runs on
the service processor and is the central software resource for Mark for Review
identifying and managing server problems. To actively manage and (2) Points
monitor a server independently of the operating system state, you
enter ILOM by logging in and then running an ILOM command to
view components that may be faulty on this server.
$ ssh username@SP_ipaddress
Password: <password>
- >enter command here
>show /Host/list
>show faults
>show /SP/faults_mgmt
Correct!
26. SMF has a notification
feature that notifies Mark for Review
you through email (2) Points
messages of service
state transitions and
fault management
events. You want to
set up a notification
to occur if any service
state changes from
the online state to
any other state.
# pkg install
service/fault-
management/smtp-
notify
Which option
describes the
command you would
not use when
enabling and
configuring the
service state
transition notifications
for all services?
Correct!
Correct!
28. A SPARC server is creating core files in random directories and that
these files are quite large and use up valuable disk space. You run Mark for Review
the following commmand to display the core file configuration on the (2) Points
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
Which option contains the command you would use to enable a global
core file path?
# coreadm –e –g /var/core
Correct!
29. A service on the server is disabled and not starting. To debug it you
first request information about the failed service by using the Mark for Review
following command: (2) Points
# svcs –xv
svc:/ application/pkg/server:default (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.
In the output, you see that the IPS service has failed to start and has
been placed in “maintenance” state due to repeated startup failures.
Read the log associated with the failing service to identify the
cause of the failure using cd /var/svc/log and the more command. (*)
You decide to check and make sure the publisher is refreshed with
the most current data, then try to install the package again.
Which two additional steps could also have been taken to quickly
troubleshoot the cause of this problem?
(Choose all correct answers)
Check the package group info with the pkg info –r
*group* command.
Check to make sure there is not a typo in the package name. (*)
31. The following system message shows up on the
console indicating a problem. Mark for Review
(2) Points
Fault class : fault.cpu.ultraSPARC-T2plus.ireg
Affects :
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/cupbo
ard=0)
faulty
Correct!
# ssh host07
ssh_exchange_identificati
on: Connection closed by
remote host
# rlogin host07
Protocol error: host07
closed connection
# telnet host07
Connection to host07
closed by foreign host
However, host08 can
ssh/rlogin/telnet to
host07:
host08# telnet (or
ssh/rlogin ) host07
login:
# svcs –xv
No output for more than 5 minutes.
# 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!
# 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!