Hi Ed, Thanks for resolving my queries.
Just a follow up question. If I am not using network repositories for 3-rd party package installation but using the ".p5p" packages then, 1. would installing these packages in the global zone be sufficient to update the non-global zones with the need to add these package to any repositories. 2. is there a way to update only a particular set of packages to the non-global zone, say I have 3-rd party application is X, Y and Z present on both the global and non-global zones. I have updated X, Y and Z to a newer version on the global zone. I want only X related packages to be updated on the non-global zones. Regards, Sudhir -----Original Message----- From: Edward Pilatowicz [mailto:[email protected]] Sent: Saturday, June 02, 2012 12:57 AM To: Sudhir Harikant Cc: [email protected] Subject: Re: [pkg-discuss] Upgarding 3-rd party apllication packages with a zone On Fri, Jun 01, 2012 at 01:11:43AM -0700, Sudhir Harikant wrote: > Hello All, > > In Solaris 10 it was possible to install a package from a global zone into > the non-global zones by setting proper packaging values (SUNW_PKG_ALLZONES, > SUNW_PKG_HOLLOW, SUNW_PKG_THISZONE). I am aware that this is not possible in > Solaris 11 as of now. I have a couple of questions around package upgrades in > a zone environment. > > > 1. If the global zone is updated to a newer version say from Solaris 11 > to Solaris Update 1, would the brand zones be updated too? > if by "brand zones" you mean "solaris branded zones", then yes. > 2. If the brand zones were not available during the global zone update, > will the attach -u of the brand zones upgrade the packages within the zones ? > yes. if the GZ was updated from s11 to s11u1, and then an s11 zone image was attached via -u (or -U) then we'd update the zone image to s11u1. > 3. If I have a 3-rd party application that is installed both in the > global and local zones, is there a mechanism of upgrading the packages within > the local zones without having to manually update after logging in to each of > the zones ? > if you run "pkg update" (with no packages specified on the command line) in the global zone, then we'll do an update in both the global and in all non-global zones. so if there is a new version of your 3rd party application available in a repository, that new version will get installed in all your non-global zones. also, when attaching a zone, you run attach -U, then we'll update all packages inside the zone, this would also apply updates to 3rd party applications if they are available. (attach -u only updates the minimal number of packages required to sync/boot a zone. attach -U updates all available packages to the latests versions.) > We have customers who have hundreds of zones running on their hosts while our > application needs packages to be installed in the global as well as the local > zones. Asking them to manually install/upgrade each of the zones > independently would be quite a task. Having the Solaris 10 packaging behavior > would help a lot. > hopefully the functionally above is sufficient. ed _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
