A local repository is available on this system and you need to enable clients to access this
repository via HTTP. The repository information is:
PUBLISHERTYPESTATUSURI
solarisoriginonlinehttp://sysA.example.com
Identify two of the steps that are required to make the local repository on this server available to
the client via HTTP.
A.
On the server:
set the pkg/inst_root and pkg/readonly properties for the svc:/application/pkg/server:default service
and enabled the service
B.
On the server:
set the sharefs property on the ZFS file system containing the IPS repository.
C.
On the client:
reset the origin for the solaris publisher.
D.
On the client:
set the pkg/inst_root and pkg/readonly properties for the svc:/application/server:default service
enable the service.
E.
On the client:
start the pkg.depotd process.
Explanation:
A: Configure the Repository Server Service
To enable clients to access the local repository via HTTP, enable the application/pkg/server
Service Management Facility (SMF) service.
# svccfg -s application/pkg/server setprop pkg/inst_root=/export/repoSolaris11
# svccfg -s application/pkg/server setprop pkg/readonly=trueE: Use pkg.depotd to serve the repository to clients.
Start the Repository Service
Restart the pkg.depotd repository service.
# svcadm refresh application/pkg/server
# svcadm enable application/pkg/server
To check whether the repository server is working, open a browser window on the localhost
location.
Reference: Copying and Creating Oracle Solaris 11 Package Repositories, Configure the
Repository Server Service
AC
Correct answers are A and E (not C) :
http://docs.oracle.com/cd/E23824_01/html/E21803/accessrepo2.html
A:
# svccfg -s application/pkg/server setprop pkg/inst_root=/export/repoSolaris11
# svccfg -s application/pkg/server setprop pkg/readonly=true
E:
Start the Repository Service
Restart the pkg.depotd repository service.
Greg, I think pal is right.
In the question option A contains also to enable the service (application/pkg/server) which is exactly runs the pkg.depotd daemon.
So the next step would be to Set the publisher origin on the clients, and that needs to be reset and that should be option C.
Option E is wrong, because there is no need for pkg.depotd on the client itself.
So I think, the correct answer is
[A] and [C].
Do you think?
A, C is Okay
http://docs.oracle.com/cd/E23824_01/html/E21803/accessrepo2.html – read here