Advice sought: global zone pkgs vs. local zone pkgs

Advice sought: global zone pkgs vs. local zone pkgs

Post by Jay G. Sco » Wed, 16 Nov 2005 05:46:12



i'm running into a situation where some of our packages don't
install onto a local zone as a result of inheritance from
the global zone.  (some have request scripts, for example.)

the question--before i go any further:
does it make sense to install a small cluster, like SUNWCuser
on the global zone, and bigger clusters on the local zones?
(assuming that's what you need.)  or do you install
the biggest cluster of all the local zones onto the global zone?
or is it basically assumed that all the zones will have the
same cluster/pkgs?

assuming that having different clusters is possible, here's
the tradeoffs i see:
if the global zone has everything then, if the patches work
right, patching the global should do the right thing
for everybody (assuming that's what you want).
disadvantage:  you have to go to the trouble of
deleting packages from the local zones by hand.
and that can be a real chore.

if the global zone is small, i don't know whether a patch
that's not needed in the global but is needed in a local
will know how to patch just the local zone.
and you have to add packages by hand to the local zones.
also a real chore.

and, furthermore, this all assumes that it's possible to
get different clusters installed one the zones.  and it
further assumes that getting all those zones set up is
a feasible thing.   it appears to me that these assumptions
have a good chance of being wrong, and that renders the
questions above moot.

j.
--

Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div.                   S224
University of Texas at Austin

 
 
 

1. adding pkgs to non-global zones

Can I safely run pkgadd and pkgrm to add/remove pkgs from non-global
zones?  I want to create non-sparse zones but some of them need
packages I don't wish to add to all zones.  If I add a package from
the global zone, the only options are global-zone-only or all-zones.

Assuming that works, how do I keep the non-global zone patched?  Running
smpatch from the global zone patches all zones.  Can I just run smpatch
from the non-global zone?

Yes, I will be "upgrading" to pca eventually.

-frank

2. Do you own a pager?? Get a virtual Office! (U.SA ONLY)

3. Fwd: cvs commit: ports/java Makefile ports/java/jboss2 Makefile distinfo pkg-comment pkg-deinstall pkg-descr pkg-install pkg-plist

4. User defined directive in a nested section for Apache 1.3.11?

5. Viewing non-global routes from global zone

6. Help on modem using parallel port.

7. Two issues; pkg use and pkg format

8. Help!!! Info needed for VIA MVP4 chipset

9. How do I build a pkg that will remove ALL files associated with the pkg

10. pkgadd <pkg> AFTER applying a patch affecting <pkg>

11. pkg-get, pkg

12. Creating a "zone" from another "zone" (from another "zone" (from another "zone" )) ...

13. Zones within a Zone?