Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle 1Z0-820 Exam - Topic 4 Question 124 Discussion

Actual exam question for Oracle's 1Z0-820 exam
Question #: 124
Topic #: 4
[All 1Z0-820 Questions]

You are setting up a local image packaging System (IPS) package repository on your Oracle Solaris 11 server. The information and specifications that you have are as follows:

The Oracle Solaris11 repository ISO image has been downloaded into the /repo directory (a zfs file system).

The current publisher is:

PUBLISHER TYPE STATUS URI

solaris origin online http://pkg.oracle.com/solaris/release/

You will be replacing the current publisher with:

PUBLISHER TYPE STATUS URI

solaris origin online http://solaris.example.com/

The location of the repository will be /export/IPS. This ZFS file system has already been created.

Among the steps you will perform is to set the publisher to the local repository by using the pkg set - publisher command.

Which six other steps are required to set up the local IPS package repository?

Show Suggested Answer Hide Answer
Suggested Answer: A, B, D, E, G, I

B: Set the correct permissions.

Serving a Local Repository Using SMF

First, create a ZFS file system to hold the repository.

Next, make a local copy of the IPS repository file.

Make the contents of the repository file available to thepkg.depotd(1M) server, using thelofiadmcommand to mount the ISO image.

4. (A) Copy the repository files to the ZFS file system you created. This will increase the performance of repository accesses and avoid the need to remount the .iso image each time the system restarts. (Be sure to use /mnt/repo, not /mnt/repo/, so that you copy the repo directory and not just the files and subdirectories in the repo directory.)

# rsync -aP /mnt/repo /export/repo2010_11

You can use the df command to confirm the copy:

5. Once the files are copied, unmount the image and deallocate the block device.

6. Now that your local copy is ready, use thesvccfgcommand to configure the repository server service, specifying the location of your local repository and settingreadonlytotrue:

(D)# svccfg -s application/pkg/server setprop pkg/inst_root=/export/repo2010_11/repo

(E)# svccfg -s application/pkg/server setprop pkg/readonly=true

7. Start thepkg.depotdrepository service:

(G) # svcadm refresh application/pkg/server

(I) # svcadm enable application/pkg/server


http://www.oracle.com/technetwork/articles/servers-storage-admin/localrepositories-1377242.html

Contribute your Thoughts:

0/2000 characters
Ma
17 days ago
And we can't skip rebuilding the repository catalog. J is essential!
upvoted 0 times
...
Brunilda
22 days ago
I feel like enabling the service is a must too. I would go for I.
upvoted 0 times
...
Stephane
28 days ago
Agreed, and we should also set the pkg/readonly property to true. E is important.
upvoted 0 times
...
Dorthy
1 month ago
Don't forget to set the pkg.inst_root property correctly. D is the way to go.
upvoted 0 times
...
Micheline
1 month ago
Yes, definitely A is crucial.
upvoted 0 times
...
Virgie
1 month ago
I think we need to start with rsync for the ISO image.
upvoted 0 times
...
Helaine
2 months ago
Agree, enabling the pkg/server service is a must!
upvoted 0 times
...
Vicki
2 months ago
Surprised that you have to run pkgrepo rebuild after all that!
upvoted 0 times
...
Elouise
2 months ago
I think chmod 700 is overkill for /export/IPS.
upvoted 0 times
...
Pauline
3 months ago
Definitely need to set pkg/inst_root to /export/IPS.
upvoted 0 times
...
Bettyann
3 months ago
This is a tricky one, but I think the key is getting the file system and service configuration right. I'm leaning towards D and G.
upvoted 0 times
...
Kris
3 months ago
Options E and F are a bit confusing. Shouldn't we just set the pkg/readonly property to false?
upvoted 0 times
...
Casie
3 months ago
Haha, I bet the person who wrote this question is a real stickler for details. Better double-check those steps!
upvoted 0 times
...
Joana
3 months ago
I think option D is the correct answer. Setting the pkg.inst_root property to the correct location is crucial for the local IPS package repository.
upvoted 0 times
...
Samira
3 months ago
I practiced a similar question, and I think we definitely need to refresh the service after making changes, so it must be G.
upvoted 0 times
...
Sharika
4 months ago
I feel like we need to enable the application/pkg/server service, but I can't remember if that's option I or something else.
upvoted 0 times
...
Gabriele
4 months ago
I remember we have to set the pkg.inst_root property, but I can't recall if it's option D or C.
upvoted 0 times
...
Pamella
4 months ago
I think we need to perform an rsync to copy the files from the ISO to /export/IPS, but I'm not sure if it's A or something else.
upvoted 0 times
...
Justine
4 months ago
Don't forget to rsync the ISO to /export/IPS!
upvoted 0 times
...
Shad
4 months ago
Okay, let's see. First I need to rsync the ISO image to the local /export/IPS directory. Then I'll use the pkg set-publisher command to point to the new local repository. After that, I think I need to refresh the package server service and rebuild the repository catalog. Sounds straightforward enough, I just need to make sure I get the details right.
upvoted 0 times
...
Daniel
5 months ago
I'm a little unsure about some of these steps, like setting the pkg/readonly property. Do I really need to do that? And what's the difference between refreshing the service and rebuilding the catalog? I'll need to double-check the instructions to make sure I don't miss anything important.
upvoted 0 times
...
Stephane
5 months ago
I'm going with A, C, D, G, I, and J. Gotta make sure we copy the files and enable the necessary services.
upvoted 0 times
...
Marica
5 months ago
Hmm, this looks like a lot of steps. I'm a bit confused about some of the svccfg commands and the difference between refreshing the service and rebuilding the repository. I'll need to read through this carefully and make sure I understand each step.
upvoted 0 times
...
Lynelle
5 months ago
I think I've got a good handle on this. The key steps seem to be copying the ISO image to the local repository, setting the publisher, and then refreshing and rebuilding the repository. I'll focus on getting those core steps right.
upvoted 0 times
Carisa
2 days ago
Refreshing the service is key after those changes.
upvoted 0 times
...
Rima
7 days ago
Right! And make sure to set the pkg.inst_root property correctly.
upvoted 0 times
...
Jacob
12 days ago
Don't forget to set the correct permissions on /export/IPS.
upvoted 0 times
...
Maynard
4 months ago
Sounds like a solid plan! Copying the ISO is crucial.
upvoted 0 times
...
...

Save Cancel