Re: [zones-discuss] upgrading zone and /dev -> /release part 2
Okay, that worked. I eventually got the zone up and running, but I'll admit it was a little difference compared to my Solaris 10 experiences. I think I'll gradually adjust once I get a little more used to the IPS system. And hopefully, sparse zones will be available soon. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] s10brand code review
I need a code review for the sysinfo support for the s10 brand. There is a webrev at: http://cr.opensolaris.org/~gjelinek/webrev.sysinfo/ Thanks, Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] s10brand code review
Hi Jerry, This LGTM. Jordan Jerry Jelinek wrote: I need a code review for the sysinfo support for the s10 brand. There is a webrev at: http://cr.opensolaris.org/~gjelinek/webrev.sysinfo/ Thanks, Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Probs with S8 Branded Zone on b114
Hi all, I'm trying to install a Solaris 8 branded zone on a 280R running SXCE b114. I've downloaded the Solaris 8 zone software version 1.0.1 and installed the SUNWs8brandr and SUNWs8brandu packages from the 1.0/Product directory, followed by the SUNWs8brandk package from the 1.0.1/Product directory. All packages appeared to install OK, except for a warning about a missing S10 Kernel patch which I ignored because I'm running SXCE b114. :-) When I run the zonecfg command to create the branded zone, it all goes pear-shaped: bash-3.2# zonecfg -z vantive_test vantive_test: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:vantive_test> create -t SUNWsolaris8 zonecfg:vantive_test> set zonepath=/zones/vantive_test zonecfg:vantive_test> set autoboot=true zonecfg:vantive_test> verify vantive_test: unknown brand. vantive_test: Invalid document The zonepath will be living on ZFS, but I doubt that's important. Any clues greatfully received! Cheers, -- Rich Teer, SCSA, SCNA, SCSECA URLs: http://www.rite-group.com/rich http://www.linkedin.com/in/richteer ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Probs with S8 Branded Zone on b114
S8C and S9C do not run on sxce or opensolaris. They can be hosted on Solaris 10, using any filesystem which supports zones, including zfs. -Steve L. On Thu, Jun 04, 2009 at 12:06:10PM -0700, Rich Teer wrote: > Hi all, > > I'm trying to install a Solaris 8 branded zone on a 280R running > SXCE b114. I've downloaded the Solaris 8 zone software version > 1.0.1 and installed the SUNWs8brandr and SUNWs8brandu packages > from the 1.0/Product directory, followed by the SUNWs8brandk > package from the 1.0.1/Product directory. All packages appeared > to install OK, except for a warning about a missing S10 Kernel > patch which I ignored because I'm running SXCE b114. :-) > > When I run the zonecfg command to create the branded zone, it all > goes pear-shaped: > > bash-3.2# zonecfg -z vantive_test > vantive_test: No such zone configured > Use 'create' to begin configuring a new zone. > zonecfg:vantive_test> create -t SUNWsolaris8 > zonecfg:vantive_test> set zonepath=/zones/vantive_test > zonecfg:vantive_test> set autoboot=true > zonecfg:vantive_test> verify > vantive_test: unknown brand. > > vantive_test: Invalid document > > The zonepath will be living on ZFS, but I doubt that's important. > > Any clues greatfully received! > > Cheers, > > -- > Rich Teer, SCSA, SCNA, SCSECA > > URLs: http://www.rite-group.com/rich > http://www.linkedin.com/in/richteer > ___ > zones-discuss mailing list > zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Probs with S8 Branded Zone on b114
Hi Rich, AFAIK Solaris 8 Branded Zones are not supported and do not work in SCXE Builds -- I asked this question some times ago and got this answer. regards Bernd Rich Teer wrote: Hi all, I'm trying to install a Solaris 8 branded zone on a 280R running SXCE b114. I've downloaded the Solaris 8 zone software version 1.0.1 and installed the SUNWs8brandr and SUNWs8brandu packages from the 1.0/Product directory, followed by the SUNWs8brandk package from the 1.0.1/Product directory. All packages appeared to install OK, except for a warning about a missing S10 Kernel patch which I ignored because I'm running SXCE b114. :-) When I run the zonecfg command to create the branded zone, it all goes pear-shaped: bash-3.2# zonecfg -z vantive_test vantive_test: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:vantive_test> create -t SUNWsolaris8 zonecfg:vantive_test> set zonepath=/zones/vantive_test zonecfg:vantive_test> set autoboot=true zonecfg:vantive_test> verify vantive_test: unknown brand. vantive_test: Invalid document The zonepath will be living on ZFS, but I doubt that's important. Any clues greatfully received! Cheers, -- Bernd Schemmer, Frankfurt am Main, Germany http://bnsmb.de/ M s temprano que tarde el mundo cambiar . Fidel Castro ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Probs with S8 Branded Zone on b114
On Thu, 4 Jun 2009, Steve Lawrence wrote: Hi Steve, > S8C and S9C do not run on sxce or opensolaris. They can be hosted on > Solaris 10, using any filesystem which supports zones, including zfs. Thanks for confirming the bad news :-( Would I be correct in thinking that S8C and S9C work fine in the latest version of Solaris 10, i.e., S10 5/09? Cheers, -- Rich Teer, SCSA, SCNA, SCSECA URLs: http://www.rite-group.com/rich http://www.linkedin.com/in/richteer ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Probs with S8 Branded Zone on b114
On Thu, Jun 04, 2009 at 01:12:00PM -0700, Rich Teer wrote: > On Thu, 4 Jun 2009, Steve Lawrence wrote: > > Hi Steve, > > > S8C and S9C do not run on sxce or opensolaris. They can be hosted on > > Solaris 10, using any filesystem which supports zones, including zfs. > > Thanks for confirming the bad news :-( > > Would I be correct in thinking that S8C and S9C work fine in the latest > version of Solaris 10, i.e., S10 5/09? That's correct. You need only install the 1.0.1 SUNWs?brandk package for each, which enable the brand(s). -Steve > > Cheers, > > -- > Rich Teer, SCSA, SCNA, SCSECA > > URLs: http://www.rite-group.com/rich > http://www.linkedin.com/in/richteer ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Probs with S8 Branded Zone on b114
On Thu, 4 Jun 2009, Steve Lawrence wrote: > > Would I be correct in thinking that S8C and S9C work fine in the latest > > version of Solaris 10, i.e., S10 5/09? > > That's correct. You need only install the 1.0.1 SUNWs?brandk package for > each, which enable the brand(s). Great! Thanks for the info, much appreciated. Downloading S10 5/09, here I come. :-) -- Rich Teer, SCSA, SCNA, SCSECA URLs: http://www.rite-group.com/rich http://www.linkedin.com/in/richteer ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] upgrading zone and /dev -> /release part 2
On Thu 04 Jun 2009 at 06:04AM, Chris Josephes wrote: > Okay, that worked. I eventually got the zone up and running, but I'll > admit it was a little difference compared to my Solaris 10 > experiences. > > I think I'll gradually adjust once I get a little more used to the IPS > system. And hopefully, sparse zones will be available soon. If there were other negative differences, please let us know-- things like the sysidtool should be basically the same. Once the container is installed, the runtime inside is quite similar, although it's intentionally a lot more minimal. -dp -- Daniel Price, Solaris Kernel Engineeringhttp://blogs.sun.com/dp ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Creating a new zone using latest OpenSolaris 2009.06
Hi, I have installed the latest OpenSolaris 2009.06 and tried to create a new zone. I have tried both installations on my local machine as well as launching a OpenSolaris 2009.06 instance on Amazon EC2. Both came up with something like this: --- ad...@computer:/zones# zoneadm -z testspeed install A ZFS file system has been created for this zone. Publisher: Using opensolaris.org (http://pkg.opensolaris.org/release/). Image: Preparing at /zones/testspeed/root. Sanity Check: Looking for 'entire' incorporation. ERROR: Unable to locate the incorporation 'ent...@0.5.11,5.11-0.111:20090514T145840Z' in the preferred publisher 'opensolaris.org'. Use -P to supply a publisher which contains this package. ad...@computer:/zones# --- Does anyone has any idea why? How can I resolve this problem? Thanks! Kevin. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Creating a new zone using latest OpenSolaris 2009.06
hey kevin, this is a known issue that is being fixed. (i thought the fix had already been pushed to the public repo, but i guess it hasn't happened yet.) there is a pretty straitforward workaround. do a pkg image-update, boot to the new image, and then your zone install should work. ed On Thu, Jun 04, 2009 at 06:21:39PM -0700, Kevin Pan wrote: > Hi, > > I have installed the latest OpenSolaris 2009.06 and tried to create a new > zone. I have tried both installations on my local machine as well as > launching a OpenSolaris 2009.06 instance on Amazon EC2. Both came up with > something like this: > > --- > ad...@computer:/zones# zoneadm -z testspeed install > A ZFS file system has been created for this zone. >Publisher: Using opensolaris.org (http://pkg.opensolaris.org/release/). >Image: Preparing at /zones/testspeed/root. > Sanity Check: Looking for 'entire' incorporation. > ERROR: Unable to locate the incorporation > 'ent...@0.5.11,5.11-0.111:20090514T145840Z' in the preferred publisher > 'opensolaris.org'. > Use -P to supply a publisher which contains this package. > ad...@computer:/zones# > --- > > Does anyone has any idea why? How can I resolve this problem? Thanks! > > Kevin. > -- > This message posted from opensolaris.org > ___ > zones-discuss mailing list > zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Creating a new zone using latest OpenSolaris 2009.06
On Thu 04 Jun 2009 at 06:21PM, Kevin Pan wrote: > Hi, > > I have installed the latest OpenSolaris 2009.06 and tried to create a new > zone. I have tried both installations on my local machine as well as > launching a OpenSolaris 2009.06 instance on Amazon EC2. Both came up with > something like this: > > --- > ad...@computer:/zones# zoneadm -z testspeed install > A ZFS file system has been created for this zone. >Publisher: Using opensolaris.org (http://pkg.opensolaris.org/release/). >Image: Preparing at /zones/testspeed/root. > Sanity Check: Looking for 'entire' incorporation. > ERROR: Unable to locate the incorporation > 'ent...@0.5.11,5.11-0.111:20090514T145840Z' in the preferred publisher > 'opensolaris.org'. > Use -P to supply a publisher which contains this package. > ad...@computer:/zones# > --- > > Does anyone has any idea why? How can I resolve this problem? Thanks! Kevin, Yes- there's a bug in the metadata on the server. I have just this minute pushed a fix for this. Can you try again? First: $ pfexec pkg refresh Then go again. -dp -- Daniel Price, Solaris Kernel Engineeringhttp://blogs.sun.com/dp ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Creating a new zone using latest OpenSolaris 2009.06
Hi, Thank you guys! You guys are fast!!! Yes, I am trying again and the installation process is going through (though the download is very slow, probabaly due to bandwidth). It should complete successfully!!! Thanks! Kevin. P.S. Congratulations to the Sun Team for OpenSolaris 2009.06!!! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Creating a new zone using latest OpenSolaris 2009.06
Final report: Zones installation succeeded. Thanks! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Can you plese let me know whether OpenSolaris 2009.6 support sparse zonnes?
I don't understand your statement that OpenSolaris 2009.06 does not support sparse zone. I would appreciate if you could clarify what you meant by "We don't have sparse zones in 2009.06..." I thought by using the commands "add inherit-pkg-dir", "set dir=/xxx" (for /lib, /platform, /sbin and /usr) would create so-called sparse-zones on OpenSolaris 2009.06. In fact, I have just successfully doen this a few mintues ago. The difference between Solaris 10 and OpenSolaris is that, on Solaris 10 by using the "create" would automatically inherit all the 4 directories mentioned above, and by using "create -b" would create a "whole-root" zone. On OpenSolaris, however, by using "create" (without the -b option) would be creating whole-root zones as it does not inherit any directories from the global zones. It would be nice also if you could explain what is the rationale behind this difference. Thanks! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Can you plese let me know whether OpenSolaris 2009.6 support sparse zonnes?
On Thu, Jun 04, 2009 at 07:07:36PM -0700, Kevin Pan wrote: > I don't understand your statement that OpenSolaris 2009.06 does not support > sparse zone. I would appreciate if you could clarify what you meant by "We > don't have sparse zones in 2009.06..." > > I thought by using the commands "add inherit-pkg-dir", "set dir=/xxx" (for > /lib, /platform, /sbin and /usr) would create so-called sparse-zones on > OpenSolaris 2009.06. In fact, I have just successfully doen this a few > mintues ago. > um. don't do that. the "inherit-pkg-dir" property is only applicable to solaris distros which use SVR4 packaging. (this means solaris 10 and SXCE). it is not applicable to opensolaris system. using it on opensolaris based systems will result in undefined behaviors and unsupporable configurations. we actually have a bug filed on this issue: 567 ipkg zones verify callback should abort if it sees inherit-pkg-dir http://defect.opensolaris.org/bz/show_bug.cgi?id=8567 the fix for this bug will verify that ipkg brand zone configurations don't have any inherit-pkg-dir properties, and if they do the configuration will be reported as invalid. > The difference between Solaris 10 and OpenSolaris is that, on Solaris 10 by > using the "create" would automatically inherit all the 4 directories > mentioned above, and by using "create -b" would create a "whole-root" zone. > On OpenSolaris, however, by using "create" (without the -b option) would be > creating whole-root zones as it does not inherit any directories from the > global zones. It would be nice also if you could explain what is the > rationale behind this difference. Thanks! the reason for the difference is that SRV4 packaging is very different from ipkg. Solaris 10 is based of SRV4 packaging and opensolaris is based off of ipkg. ipkg will enable us to do lots of things we couldn't with SRV4 packaging. one of the things we will be able to do is have different contents installed in the global zone and non-global zones. hence inherit-pkg-dir doesn't make a whole lot of sense in this context. ed ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Can you plese let me know whether OpenSolaris 2009.6 support sparse zonnes?
Edward Pilatowicz wrote: the "inherit-pkg-dir" property is only applicable to solaris distros which use SVR4 packaging. (this means solaris 10 and SXCE). it is not applicable to opensolaris system. using it on opensolaris based systems will result in undefined behaviors and unsupporable configurations. we actually have a bug filed on this issue: 567 ipkg zones verify callback should abort if it sees inherit-pkg-dir http://defect.opensolaris.org/bz/show_bug.cgi?id=8567 the fix for this bug will verify that ipkg brand zone configurations don't have any inherit-pkg-dir properties, and if they do the configuration will be reported as invalid. The labeled brand used by Trusted Extensions in opensolaris is still using the inherit-pkg-dir property, but this is described in bugzilla 9191 labeled zones should no longer rely on sparse-root functionality and a fix will soon be putback to the /dev repository for 2009.06. Since the labeled brand shares much of its configuration with the ipkg brand, bugzilla 567 should be integrated after 9191. --Glenn ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Can you plese let me know whether OpenSolaris 2009.6 support sparse zonnes?
What is the name of the Java package or image in order to install into the zone? (I can't seem to able to find it.) Thanks! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] What is the correct approach to add Java, GlassFish to non-global zones?
After creating a non-global zone, what is the correct approach to add Java, GlassFish, PostgreSQL, SunWebServer to the non-global zone? (use the "pkg install" or "pkgadd" command, but how? and where to find the package name?) Please provide some instructions or point to the relavant docs. Thanks!!! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org