You want to install the openldap software package to a now boot environment for testing before
introducing the now software package to the production environment. What option describes the
correct procedure to:
1) create a new BE named nowBE
2) install the software to that new BE only
A.
pkg install –newBE openldap
B.
pkg install –be-nama newBE openldap
C.
beadm create newBE
beadm mount newBE /mnt
pkg -R /mnt update openldap
D.
beadm create newBE
beadm activate newBE
pkg install openldap
Explanation:
If you want to create a backup of an existing boot environment, for example, prior to
modifying the original boot environment, you can use the beadm command to create and mount a
new boot environment that is a clone of your active boot environment. This clone is listed as an
alternate boot environment in the GRUB menu for x86 systems or in the boot menu for SPARC
systems.
When you clone a boot environment by using the beadm create command, all supported zones in
that boot environment are copied into the new boot environment.
How to Create a Boot Environment
1. Become the root role.
2. Create the boot environment.
# beadm create BeName
BeName is a variable for the name of the new boot environment. This new boot environment is
inactive.
3. (Optional) Use the beadm mount command to mount the new boot environment.
# beadm mount BeName mount-point
Note: If the directory for the mount point does not exist, the beadm utility creates the directory,
then mounts the boot environment on that directory.
If the boot environment is already mounted, the beadm mount command fails and does not
remount the boot environment at the newly specified location.
4. (Optional) Activate the boot environment.
# beadm activate BeName
BeName is a variable for the name of the boot environment to be activated.
On reboot, the newly active boot environment is displayed as the default selection in the x86
GRUB menu or the SPARC boot menu.
Reference: Creating and Administering Oracle Solaris 11 Boot Environments, Creating a Boot
Environment
B
D is correct.
B is correct if answer is ::pkg install be -nama newBE openldap:: instead of be-name.
B is the correct
root@s11:~# pkg install -v –be-name mcBE mc
Packages to install: 1
Estimated space available: 23.63 GB
Estimated space to be consumed: 96.12 MB
Create boot environment: Yes
Activate boot environment: Yes
Create backup boot environment: No
Rebuild boot archive: No
Changed packages:
solaris
file/mc
None -> 4.8.8,5.11-0.175.2.0.0.42.1:20140623T013618Z
B
B…
Use the –be-name option to force a new BE to be created or to give the new BE a meaningful name.
# pkg install –be-name s11amp group/feature/amp
http://docs.oracle.com/cd/E23824_01/html/E21802/gihhp.html
B is wrong as the question said for testing before move to production and the –be-name would create a new BE and it would be the default selection next boot
The new BE is a clone of the current BE with the specified install, uninstall, or update changes applied. The current BE is not modified. The system is not automatically restarted. The new BE is the default boot selection the next time you restart the system. The current BE is still available to be booted.
http://docs.oracle.com/cd/E23824_01/html/E21802/gihhp.html
after thinking B is correct , as beadm activate newbe will activate the be on next boot and in order to install openldap on newbe you have to reboot the system – which is not the case — so will go with option B — 🙂
D is wrong
C would be the answer if pkg -R /mnt install openldap instead of (update)
Completed Oracle 1Z0-821 exam with a good score of 90% (the passing line is 64% now)!
Got 70 questions in total, and questions were on:
1. Installing Oracle Solaris 11 using an Interactive Installer
2. Administering Services
3. Setting Up and Administering Data Storage
4. Administering Oracle Solaris Zones
5. Setting Up and Administering User Accounts
6. Controlling Access to Systems and Files
(New) 7. Managing the SYSLOG facilityManaging the CRON facility
(New) 8. Managing the SYSLOG facility
Pay close attention to the up 7 & 8 topics when preparing for the 1Z0-821 exam. Questions on those two topics are not available on this site.
And, you can refer to the most valid 1Z0-821 dumps (2017 version) here:
http://www.oraclebraindump.com/?s=1Z0-821
(Those questions are part of PassLeader 1Z0-821 dumps, recommend to get its full version 1Z0-821 dumps with VCE and PDF.)
Good Luck!
And, part of PassLeader 1Z0-822 dumps are also available here FYI:
http://www.oraclebraindump.com/?s=1Z0-822
Best Regards!!!