Which is the correct procedure to perform on ServerA to create the local Package repository?

ServerA contains two ISO images of a package repository named so1.repo.iso-a and so1.repo.iso-b respectively. You need to create a single local package repository on server that clients can connect to. The package repository will be stored on the /export/IPS file system and named repo. The preferred publisher will be named solaris and the publisher URL will be http://serverA.example.com.
Which is the correct procedure to perform on ServerA to create the local Package repository?
A. cat so1.repo.iso-a sol.repo.iso-b > so1.full.isoMount the ISO image and use the rsync command to extract the contents of the ISO file to the /export/IPS file system.Set the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to true.Set the preferred publisher by using pkg setpublisher-G http://pkg.oracle.com/solaris/release/ -g http"//serverA.example.com/ solaris
B. cat so1.repo.iso-a so1.repo.iso-b > /export/IPS/repoSet the pkg/inst_root property to true and the pkg/readonly property to /export/IPSSet the preferred publisher by using pkg set-publisher -G http://serverA.example.com/ -g http://pkg/oracle.com/solaris/rekease/solaris
C. cat so1.repo.iso-a so1.repo.iso-b > so1.full.isoMount the ISO image and use the rsync command to extract the contents of the ISO file to /export/IPS/repoSet the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to trueSet the preferred publisher by using pkg setpublisher solaris -g http://pkg.oracle.com/
D. cat so1.repo, iso-a so1.repo.iso-b > /export/IPS/repo.isoMount the ISO image and copy the repo directory from the ISO image to /export/IPS/reposet the pkg/inst_root property and the pkg/readonly property to /export/IPS/reposet the preferred pkg/inst_root property by using pkg set-publisher – G http://serverA.example.com/ – g http://pkg.oracle.com/solaris.com/release/- p solaris

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “Which is the correct procedure to perform on ServerA to create the local Package repository?

  1. Walacc you worked out the right answer by exclusion …

    B. sets the wrong publisher and so does C which leaves only A and D. D looks good till the last bit where ot specifies setting the publisher incorrectly to oracle and an incorrect switch against the publisher (-p) so by exclusion the correct answer must be A !

    well done…

  2. D is incorrectly used pkg set-publisher commend, according to the pkg help:
    @ pkg help set-publisher
    Usage:
    pkg set-publisher [-Ped] [-k ssl_key] [-c ssl_cert]
    [-g origin_to_add|–add-origin=origin_to_add …]
    [-G origin_to_remove|–remove-origin=origin_to_remove …]

    So answer A better fulfills the requirements.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.