You are troubleshooting a newly installed desktop Oracle Solaris 11 system with a single network
interface. From this system, you can connect to other systems within the company intranet, but
cannot access any external services (such as websites and email), even when using IP addresses.
Examining the routing table confirms that the default route to 192.168.1.1 is missing. DHCP is not
used at this site. Which two commands will temporarily mid permanently configure the default
route?
B,F
Explanation:
B: Setting the default route on Solaris is easy. If you are trying to just set the route temporarily you
can use the route command:
Route add default <ipaddress>
Example:
Route add default 192.168.1.1
Note: Route command manipulates the kernel routing tables. Routing is the process of forwarding a
packet from one computer to another. It is based on the IP address in the IP packet header and
netmask.
F: If you want the route to be persisted when you reboot the system, you will need to set the route in
the /etc/defaultrouter file.
/etc/defaultrouter
Example:
Echo 192.168.1.1 > /etc/defaultrouter
You want the system to generate an email notification each time one of the services has changed its
state. Which option would send an email message to the system administrator whenever a service
changes to the maintenance state?
C
Explanation:
This procedure causes the system to generate an email notification each time one of the services or a
selected service has a change in state. You can choose to use either SMTP or SNMP. Normally, you
would only select SNMP if you already have SNMP configured for some other reason.
By default, SNMP traps are sent on maintenance transitions. If you use SNMP for monitoring, you can
configure additional traps for other state transitions.
1. Become an administrator or assume a role that includes the Service Management rights profile.
2. Set notification parameters.
Example:
The following command creates a notification that sends email when transactions go into the
maintenance state
# /usr/sbin/svccfg setnotify -g maintenance mailto:[email protected]
How are operating system updates distributed in the Oracle Solaris 11 environment?
C
Explanation:
* Updating all of the packages on your installed system To update all of the packages on your
system that have available updates, use the pkg update command, as follows:
# pkg update
Running this command updates packages that you might not otherwise consider updating, for
example, kernel components and other low-level system packages.
* Adding or updating individual packages To add individual software packages, use the pkg install
command. Any dependent packages are also updated at the same time.
* install package updates that deliver fixes A pkg update operation might include bug fixes, so the
operation is similar to applying a specific patch or patches in previous Oracle Solaris releases.
Note: The IPS interfaces first check for updates for currently installed packages before retrieving
them via the network. By default, interfaces check repository catalogs in the following locations:
* The default installation repository at pkg.oracle.com/solaris/release.
* The support repository in My Oracle Support. This repository is restricted to users with Oracle
Solaris 11 Express support contracts, and it contains packages with the latest bug fixes. For this
reason, a support contract must be purchased for production deployments.
User jack, whose account is configured to use the korn shell, logs in and examines the value of his
PATH environment variable:
What will happen, and why?
D
User jack on host solaris attempts to use ssh to log in to host oracle and receives this message:
jack@solaris:~$ ssh oracle
ssh: connect to host oracle port 22: connection refused
What is the problem?
G
Explanation:
The host he is trying to connect to (oracle) is not running the required service (ssh).
When speaking to an Oracle Support Engineer, you are asked to verify the version of the Solaris 11
build currently running on your system.
Which command would display the Solaris 11 build version currently running on your system?
B
Explanation:
Which Solaris release you are running on your system can be determined using the following
command:
cat /etc/release
This will tell you which release you are running and when it was released.
The more recent your system, the more info is contained in this file.
Example:
# cat /etc/release
Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
You need to configure an ISCSI target device on your x86 based Oracle Solaris II system. While
configuring the iSCSI device, the following error is displayed:
bash: stmfadm: command not found
Which option describes the solution to the problem?
C
Explanation:
STMF Manages transactions, such as context and resources for Small Computer System Interface
(SCSI) command execution, and tracking logical unit and port providers. STMF also handles logical
unit mappings, allocating memory, recovering failed operations, enumeration, and other necessary
functions of an I/O stack.
STMF is controlled by stmfadm, and stmfadm is the majority of the commands you will be using to
administer COMSTAR (COmmon Multiprotocl Scsi TARget).
Install the packages you need for COMSTAR with iSCSI and reboot:
# pfexec pkg install storage-server
# pfexec pkg install SUNWiscsit
# shutdown -y -i6 -g0
Note: You can set up and configure a COMSTAR Internet SCSI (iSCSI) target and make it available over
the network. The iSCSI features can work over a normal Internet connection (such as Ethernet) using
the standard iSCSI protocol. The iSCSI protocol also provides naming and discovery services,
authentication services using CHAP and RADIUS, and centralized management through iSNS.
The COMSTAR target mode framework runs as the stmf service. By default, the service is disabled.
You must enable the service to use COMSTAR functionality. You can identify the service with the svcs
command. If you have not rebooted the server since installing the group/feature/storage-server
package, the service might not be enabled correctly.
Your SPARC server will not boot into multi user-server milestones and you need to troubleshoot to
out why. You need to start the server with minimal services running so that you can go through each
milestone manually to troubleshoot the issue.
Select the option that boots the server with the fewest services running.
D
Explanation:
The command boot -m milestone=none is useful in repairing a system that have problems booting
early.
Boot Troubleshooting:
To step through the SMF portion of the boot process, start with:
boot -m milestone=none
Then step through the milestones for the different boot levels:
svcadm milestone svc:/milestone/single-user:default
svcadm milestone svc:/milestone/multi-user:default
svcadm milestone svc:/milestone/multi-user-server:default
User1 is attempting to assist user2 with terminating user2's process 1234.
User1 entered the following: kill -9 1234
Why does the process continue to run?
B
Explanation:
Kill -9
Kill (terminates without cleanup)
Only works if issued by process owner or super user (root)
The program cannot respond to this signal; it must terminate
Note: Unix provides security mechanisms to prevent unauthorized users from killing other processes.
Essentially, for a process to send a signal to another, the owner of the signaling process must be the
same as the owner of the receiving process or be the superuser.
Your server has one zone named dbzone (hat has been configured, but not yet installed). Which
command would you use to view all the options that were used to configure this zone?
C
Explanation:
zonecfg info
Display information about the current configuration. If resource-type is specified, displays only
information about resources of the relevant type. If any property-name value pairs are specified,
displays only information about resources meeting the given criteria. In the resource scope, any
arguments are ignored, and info displays information about the resource which is currently being
added or modified.
Note:
zonecfg z
zonename. Specify the name of a zone. Zone names are case sensitive. Zone names must begin with
an alphanumeric character and can contain alphanumeric characters, the underscore (_) the hyphen
(-), and the dot (.). The name global and all names beginning with SUNW are reserved and cannot be
used.
Incorrect answer:
A: The zoneadm utility is used to administer system zones. A zone is an application container that is
maintained by the operating system runtime.
list option:
Display the name of the current zones, or the specified zone if indicated.
B: No such command.
D: no such options zonecfg icv