Oracle Solaris 11 Installation and Configuration Essentials
Question No: 41
What two benefits will Oracle and our customers likely realize by utilizing a fully integrated stack architecture?
They will receive hardware and software designed to work together.
Maintenance forthe overall enterprise will be simplified.
Technicalsupport will need to come from different vendors and the customer will need to manageseparate support contracts.
Customers will be lockedinto the Oracle architecture.
Customers will need to deal with morehugs and patches.
Question No: 42
When configuring Zones using Automated Installer, the following line is found in the manifest:
lt;configuration type=quot;zonequot; name=quot;applequot; source=http://tree/apple/monkeyquot;/gt; What does the quot;sourcequot; element correspond to?
the configuration file for the global zone
the resource groups forquot;treequot; server
the configuration file for the non-global zones
therequired corresponding open-source disclaimer
the location of thequot;applequot; IPS repo
Explanation: *Use the configuration element in the AI manifest for the client system to specify non-global zones.
Use the name attribute of the configuration element to specify the name of the zone. Use the source attribute to specify the location of the config file for the zone.
The source location can be any http:// or file:// location that the client can access during installation.
*The following sample AI manifest specifies two Non-Global Zones: zone1 and zone2 You should replace the server_ip with the ip address of the NFS server.
lt;!DOCTYPE auto_install SYSTEM quot;file:///usr/share/install/ai.dtd.1quot;gt;
lt;zpool name=quot;rpoolquot; is_root=quot;truequot;gt;
lt;filesystem name=quot;exportquot; mountpoint=quot;/exportquot;/gt;
lt;configuration type=quot;zonequot; name=quot;zone1quot; source=quot;file:///net/server_ip/export/zone_config/zone1quot;/gt;
lt;configuration type=quot;zonequot; name=quot;zone2quot; source=quot;file:///net/server_ip/export/zone_config/zone2quot;/gt;
Reference:Automating Solaris 11 Zones Installation Using The Automated Install Server
Question No: 43
The quot;beadm listquot; command produced the following output:
What is the interpretation of this output?
The solaris-3 boot environment image is not ready to boot.
The solaris-3 boot environment image is active now and on next reboot.
The solarisboot environment image is the default.
There are three copies of the solaris boot environment image.
There are no active boot environment images available.
Explanation: You can display information about snapshots, boot environments, and datasets that were created by the beadm command by using the beadm list subcommand. The beadm list command output also displays boot environments that are created by the pkg command.
Viewing Boot Environment Specifications
The values for the Active column are as follows:
->R – Active on reboot.
->N – Active now.
->NR – Active now and active on reboot.
->“-” – Inactive.
->“!” – Unbootable boot environments in a non-global zone are represented by an exclamation point.
The following example displays full information for the BE5 boot environment. Reference:Listing Existing Boot Environments and Snapshots
Question No: 44
Which two options do you absolutely need to have in place in order to successfully customize the network installation of an Oracle Solaris 11 x86 system?
two Automated Installer manifests, one for x86 systems and another one for SPARC systems
an SMF system configuration profile
an x86 system running Automated Installer service
eithera SPARCoran x86 system running Automated Installer service
an Oracle Solaris 11 IPS repository hosted in your own data center
Answer: B,D Explanation: B:
*With Oracle Solaris 11, the configuration of the system is specified as a set of configuration parameters provided in a file called the System Configuration Profile, which is in the form of an SMF profile.
*Oracle Solaris 11 uses SMF for configuration. SMF uses a database to centralize the configuration information, it uses the SMF framework to carry out configuration tasks, and it uses SMF properties as an API. SMF is also well integrated with Oracle Solaris Zones technology.
*Oracle Solaris 11 uses the Service Management Facility (SMF) to centralize configuration information. The new sysconfig command replaces the older sys-unconfig command and provides a method based upon SMF for unconfiguring an Oracle Solaris 11 instance and reconfiguring it.
D:To use AI to install client systems over the network, you must set up DHCP and set up an AI service on an AI server.
An AI service is associated with a SPARC or x86 AI install image and one or more sets of installation instructions.
Using the Oracle Solaris Automated Installer (AI) you can create and manage services to install the Oracle Solaris 11 operating system over the network in a hands-off manner.
Three significant steps are performed by various services during the installation process:
Assigning a network identity for the system being installed
Contacting the automated installation service to download over the network a small boot image and a description of how to provision a system
Provisioning the system over the network, including software and system configuration Each of the steps can be performed by various services residing on the same physical or virtual system, or the services can be on separate systems. In this article, the following services reside on the same system:
Automated Installer service
Image Packaging System (IPS) repository service
Question No: 45
What does the quot;Rquot; signify in this output when using the new zfs diff command?
Thefile or directory is modified or the file or directory link has been changed.
The file ordirectory is present in the older snapshot but not in the newer snapshot.
The file or directory is present in the newer snapshot but not in the older snapshot
The file or directoryhas been renamed.
The file ordirectory has been removed.
Explanation: An M represents a modified file or directory, an R is a renamed filesystem objects.
Question No: 46
Which five steps (dealing with first boot script creation) can be omitted when working with provisioning Oracle Solaris 11 Zones and services with the appropriate Zone context?
Create the first-boot script.
Create the manifest for an SMF service that runs once at first boot and executes the script.
Create an IPS package that contains the service manifest and the script.
Add the package to an IPS package repository.
Install that lockage during the Automated Installer installation by specifying that package in the AI manifest.
Step l can he omitted because the first-boot script is already deployed in the Global Zone.
Step3can be omitted because Zones do not require IPS packages and can accept SVR4packages.
None of the steps canbe omitted.
Step5can be omittedbecauseZones are notinstallable using Automated Installer,yet.
Step2can be omitted because Zonesdo not have a concept of a first boot that is distinct from a Global Zone – once the Global Zone is booted,the script executes for all Zones.
Answer: C Explanation:
Running a Custom Script During First Boot
To perform any additional installation or configuration that cannot be done in the AI manifest or in a system configuration profile, you can create a script that is executed at first boot by a run-once SMF service.
->Create the first-boot script.
->Create the manifest for an SMF service that runs once at first boot and executes the script.
->Create an IPS package that contains the service manifest and the script.
->Add the package to an IPS package repository.
->Install that package during the AI installation by specifying that package in the AI
The service runs and executes the script at first reboot after the AI installation. Reference:Installing Oracle Solaris 11 Systems,Running a Custom Script During First Boot
Question No: 47
Which command can be used to determine which apache web server packages are installed?
pkg list apache
pkg list *apache*
pkg list installed apache
pkg list all web installed
Explanation: To display information about software packages, refer to the following examples. No special privileges are required to display information about packages.
List the packages that are currently installed on your system:
$ pkg list -H entire
Determine whether a specific package is installed in the current image and whether an update is available.
$ pkg list amp
pkg list: no packages matching #39;amp#39; installed
Question No: 48
As part of an automated install of Oracle Solaris 11, a new role called quot;operatorquot; is created and a password is correctly assigned, but you are not able to successfully assume this role. What is the problem?
Youarenot accessing the role from the system console.
Your account isnot yetauthorizedto assume this role.
The quot;operatorquot; role must be enabled before being used.
You must firstbe assigned the quot;Role Userquot; rights profile
The quot;operatorquot; role is not yet assigned a profile shell.
Answer: B Explanation: Note:
*A user can only assume roles that are assigned to the user#39;s login account.
*After you have set up roles with default Solaris rights profiles, and assigned the roles to users, the roles can be used. A role can be assumed on the command line. In the Solaris Management Console, a role can also be used for administering the system locally and over the network.
*How to Assume a Role in a Terminal Window
The role must already be assigned to you. The name service must be updated with that information.
->In a terminal window, determine which roles you can assume.
Comma-separated list of role names is displayed
->Use the su command to assume a role.
->% su -rolename
->Password: lt;Type rolename passwordgt;
The su – rolename command changes the shell to a profile shell for the role. A profile shell recognizes security attributes (authorizations, privileges, and set ID bits).
->Verify that you are now in a role.
You can now perform role tasks in this terminal window.
Question No: 49
What is the difference between the default configuration for zones and an immutable zone?
Immutable zonescannot have users.
Immutable zones cannotbe modified from within the zone.
Immutable zones cannot run DTrace.
A processinanimmutable zone can see processes in other zones.
Answer: B Explanation: Note:
*Immutable Zones provide read-only file system profiles for solaris non-global zones.
*A zone with a read-only zone root is called an Immutable Zone. A solaris Immutable Zone preserves the zone#39;s configuration by implementing read-only root file systems for non- global zones. This zone extends the zones secure runtime boundary by adding additional restrictions to the runtime environment. Unless performed as specific maintenance operations, modifications to system binaries or system configurations are blocked.
Reference:Oracle Solaris 11 Information Library,Read-Only Zone Overview
Question No: 50
When conducting an installation using Live Media (such as the Live DVD image, for example), the system boots into console mode because the system#39;s graphics card is not supported by the contents of the Live Media. In lieu of downloading and using the Text Installer image, you opt to perform installation using a second system. Do both systems have to be on the same subnet in order for this method of installation to succeed?
Yes, furthermore they also have to be of the same architecture.
No, even though they must be of the same architecture.
Insufficientinformation provided with respect to how they are networked.
Yes,they both have tobe on the same subnet and moreover, have to be of the samearchitecture.
No, they do not have to be on the same subnet, and do not have to be of the same architecture.
Explanation: How to Install Oracle Solaris From the Live Media If Your System Boots in Console Mode
For this procedure, two networked systems are required: the system on which the Live Media was booted (target system) and a remote system from which the installation will be performed. Both systems must have network access. The two systems are not required to be on the same subnet. However, the target system must be reachable from the remote
system. Also, the remote system must be running an OS that supports a graphical desktop.
*If your system#39;s graphics card is not supported by the Live Media or your system does not have a graphics card, the system boots in console mode when you insert the Live Media. In this case, you cannot perform a GUI installation.
Your two alternatives are as follows:
->Use the text installer image instead of the Live Media ISO image. You can run the text installer on the local console without network access.
->Perform a remote installation
Reference:Installing Oracle Solaris 11.1 Systems,What to Do If Your System Boots in Console Mode