Re: [zones-discuss] pkg install AMP in a sparse zone

2009-05-17 Thread Dr. Hung-Sheng Tsao (LaoTsao)



Devin Ceartas wrote:
Is it possible to install into root zone and just have individual 
config files in several sparse zones for different instances of 
Apache, MySQL?


yes,
opensolaris put  amp binary in /usr/apacheY /usr/mysql /usr/php etc but 
the configuration files and htdocs are in /etc/ or /var etc.


if U use the blastware.org then all pkgs are install under /opt/csw
If U use coolstack 1.3.1 then all pkgs are installed under /opt/coolstack
for web stack 1.4
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/viewproductdetail-start?productref=web-stack-1.4-oth-...@cds-cds_smi
all under /opt/webstack



please see this link for MySql in solaris containers
http://wikis.sun.com/display/BluePrints/Running+MySQL+Database+in+Solaris+Containers
some example of apache in zone
http://it.toolbox.com/wiki/index.php/Creation_of_sample_zone_in_Solaris_for_hosting_apache




-- devin


On May 16, 2009, at 1:02 PM, Julien Beauviala wrote:


Hello,

Installing the AMP stack (as in `pfexec pkg install AMP`)
in a sparse zone (osol 111a) will fail, because /usr isn't
available.

Is there a way get around that, short of compiling
everything by hand to some other place within the
sparse zone ?

Thanks.

j.


___
zones-discuss mailing list
zones-discuss@opensolaris.org


___
zones-discuss mailing list
zones-discuss@opensolaris.org
begin:vcard
fn:Dr. Hung-Sheng Tsao (LaoTsao)
n:Tsao;Hung-Sheng
org:GEH;GEH NE US
adr:;;400 Atrium DR;somerset;nj;08873;usa
email;internet:hung-sheng.t...@sun.com
title:Sr SE
tel;work:18773190460
tel;fax:18773190460
tel;cell:9734950840
note;quoted-printable:grid-aces=0D=0A=
	cluster-aces=0D=0A=
	TS AMB=0D=0A=
	blade_expert
url:http://blogs.sun.com/hstsao
version:2.1
end:vcard

___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] pkg install AMP in a sparse zone

2009-05-17 Thread Devin Ceartas
Yikes! Seriously, no sparse zones? That wasn't in the Bible book I  
don't think. This is a pretty big deal! Is this list the best place to  
follow to learn such things?


-- devin


On May 17, 2009, at 11:50 PM, Dan Price wrote:


On Sat 16 May 2009 at 07:02PM, Julien Beauviala wrote:

Hello,

Installing the AMP stack (as in `pfexec pkg install AMP`)
in a sparse zone (osol 111a) will fail, because /usr isn't
available.

Is there a way get around that, short of compiling
everything by hand to some other place within the
sparse zone ?


Julien,

At present we don't support sparse zones in OpenSolaris.  So in
the short term, at least, we've tried to ensure that zones are
relatively compact by default.  Unlike the whole-root zones in
Nevada, a default, whole-root zone in 2009.06 is just about 140MB,
regardless of the contents of the global zone.

That said, the software will allow you to configure sparse zones, and
won't warn you that this is generally a bad idea right now-- that's my
fault, and I apologize.  You're seeing the effects of OpenSolaris
existing as a derivative of Nevada, but with significant changes.
As a result, things are rough at some of the edges.

I would recommend that you install the default zone (which is
whole root) and simply add your AMP stack to that.  Everything
should work smoothly, and if not, please let us know.

   -dp

--
Daniel Price, Solaris Kernel Engineeringhttp://blogs.sun.com/dp
___
zones-discuss mailing list
zones-discuss@opensolaris.org


___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] pkg install AMP in a sparse zone

2009-05-17 Thread gz

Double Yiekes!!.
All my customers use an SOE of sparce zones (With Solaris 10 of course) 
so if that is really the case it will be a problem for them to migrate 
to OpenSolaris if/when that becomes neccessary.
Something like this could have serious concequences down the track and 
should be communicated to the field/customers real quick.

gz

Devin Ceartas wrote:
Yikes! Seriously, no sparse zones? That wasn't in the Bible book I 
don't think. This is a pretty big deal! Is this list the best place to 
follow to learn such things?


-- devin


On May 17, 2009, at 11:50 PM, Dan Price wrote:


On Sat 16 May 2009 at 07:02PM, Julien Beauviala wrote:

Hello,

Installing the AMP stack (as in `pfexec pkg install AMP`)
in a sparse zone (osol 111a) will fail, because /usr isn't
available.

Is there a way get around that, short of compiling
everything by hand to some other place within the
sparse zone ?


Julien,

At present we don't support sparse zones in OpenSolaris.  So in
the short term, at least, we've tried to ensure that zones are
relatively compact by default.  Unlike the whole-root zones in
Nevada, a default, whole-root zone in 2009.06 is just about 140MB,
regardless of the contents of the global zone.

That said, the software will allow you to configure sparse zones, and
won't warn you that this is generally a bad idea right now-- that's my
fault, and I apologize.  You're seeing the effects of OpenSolaris
existing as a derivative of Nevada, but with significant changes.
As a result, things are rough at some of the edges.

I would recommend that you install the default zone (which is
whole root) and simply add your AMP stack to that.  Everything
should work smoothly, and if not, please let us know.

   -dp

--
Daniel Price, Solaris Kernel Engineeringhttp://blogs.sun.com/dp
___
zones-discuss mailing list
zones-discuss@opensolaris.org


___
zones-discuss mailing list
zones-discuss@opensolaris.org



--
| George Zisis | Ph: +61 2 9466 9445 |
| Senior Systems Engineer  | FAX: +61 2 9466 9410|
| Sun Microsystems Australia   | email: g...@sun.com   |
| Web http://11gz.com ,  Http://nasdev.com  http://blogs.sun.com |

___
zones-discuss mailing list
zones-discuss@opensolaris.org