Christine Tran wrote:
> On Thu, Feb 19, 2009 at 2:48 PM, Claus Conrad <lists at clausconrad.com> 
> wrote:
>
>   
>> I've been running Web Stack on different versions of Solaris since Cool
>> Stack 1.2, though without zones. So I installed 1.4 on OS 2008.11 using
>> "pfexec pkg install amp" and "svcs -a" reveals the disabled services httpd
>> and mysql_version50, so far so good. Now I created a zone and expected these
>> services to show up there too, but they aren't available. I know this is
>> probably a false expectation I have since I am new to zones, but could I ask
>> you to give me a hint what I am missing here? Or do I need to install the
>> stack separaretely in each zone?
>>     
>
> Hi,
>
> If you are running OpenSolaris (and not Solaris 10), your zone type is
> "ipkg", not "native".  I believe that "ipkg" is the only zone type
> available as of now on OpenSolaris. zones of type "ipkg" are
> independent from the global zone.  They pull their own packages from
> the sun pkg repo.  I'll add here that Solaris 10 zones of type
> "native" share packages with the global zone, this is why when you
> install apache or some other package in Solaris 10, and you make a
> zone, the package shows up in the zone as well.
>
>   
If you use Nevada/Solaris Express- (OpenSolaris community edition from 
opensolaris.org - http://opensolaris.org/os/downloads/ ), then the 
behavior should same as Solaris 10. On this platform, default zone is 
created with 'native' brand.

However, with Indiana distribution - also known as OpenSolaris 2008.xx , 
you will need to download the packages again every time with every zone.

> So, if you are running OpenSolaris, build a zone, and zlogin to the
> zone, and do a pkg install <package> from within the zone, apache is
> SUNWapch22, I don't know what the CoolStack is called now, but I use
> one called amp-dev.  Make sure your zone's network config is all good
> of course, you need to reach the pkg server from within the zone.
>
>   
Within OpenSolaris, amp or amp-dev is a meta cluster which is a 
collection of various packages. If you are interested in seeing what amp 
or amp-dev brings to your system, you can check it out by reading
/var/pkg/pkg/amp-dev/0.5.11*/manifest

Cool Stack is an effort within Sun to port all the web related 
components for Solaris 10. This was not a supported effort. Based on the 
interests seen in Cool Stack, a supported effort known as Sun Glassfish 
Web Stack for Solaris 10 platforms. However, on OpenSolaris - Web Stack 
project integrates all these components as part of OpenSolaris OS 
itself. So, downloading from pkg repo is the standard practice in this 
environment.

Hope this clarifies
Sriram

Reply via email to