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 –be-nama newBE openldap
B.
beadm create newBE beadm mount newBE /mnt pkg -R /mnt update openldap
C.
pkg install –newBE openldap
D.
beadm create newBE beadm activate newBE pkg install openldap
B
Answer is B
root@solaris:/# beadm create test
root@solaris:/# beadm mount test /mnt
root@solaris:/# pkg -R /mnt info wireshark
pkg: info: no packages matching the following patterns you specified are
installed on the system. Try specifying -r to query remotely:
wireshark
root@solaris:/# pkg info wireshark
pkg: info: no packages matching the following patterns you specified are
installed on the system. Try specifying -r to query remotely:
wireshark
root@solaris:/# pkg -R /mnt install wireshark
Packages to install: 1
Services to change: 1
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 1/1 8/8 1.3/1.3 0B/s
PHASE ITEMS
Installing new actions 30/30
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
root@solaris:/# pkg info wireshark
pkg: info: no packages matching the following patterns you specified are
installed on the system. Try specifying -r to query remotely:
wireshark
root@solaris:/# pkg -R /mnt info wireshark
Name: diagnostic/wireshark
Summary: Graphical network protocol analyzer
Category: Applications/Internet
State: Installed
Publisher: solaris
Version: 1.10.14
Build Release: 5.11
Branch: 0.175.2.11.0.3.0
Packaging Date: May 26, 2015 02:54:57 PM
Size: 4.09 MB
FMRI: pkg://solaris/diagnostic/[email protected],5.11-0.175.2.11.0.3.0:20150526T145457Z
root@solaris:/# beadm list
BE Flags Mountpoint Space Policy Created
— —– ———- —– —— ——-
solaris – – 8.87M static 2016-10-20 08:50
solaris-1 NR / 9.27G static 2016-10-25 14:11
test – /mnt 129.84M static 2016-11-06 09:10
root@solaris:/#
Answer should be A
pkg install –be-name newBE openldap , will force new boot environment to be created ,named newBE, install the package on it , and activate
https://docs.oracle.com/cd/E36784_01/html/E36802/glmqe.html
A
A