<div dir="ltr"><div>Hi Doug,<br><br>I think I'm starting to understand what type of scenario could be deployed...both paths look good to me...maybe the NGZ way, as you say, make me feel that the configuration is a little bit cleaner than the second solution (and not to mention the portability from machine to machine, like exporting/importing a zpool dedicated to data).<br><br></div>Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 8, 2015 at 4:53 PM, Doug Hughes <span dir="ltr"><<a href="mailto:doug@will.to" target="_blank">doug@will.to</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>My take to summarize the two choices:<br><br></div>1) use a NGZ in its on pool and you have complete isolation and you can move it from machine to machine as needed. More setup required, but doable.<br></div>2) use a pre-packaged apache or nginx that installs all of the read-only stuff in your regular root pool (this should be fine). You have to keep a small set of files in thie configuration under revision control, and they are the configuration files that describe your instances. You then define your DocumentRoot with all of the important stuff to be in your non-root zpool.<br><br></div>(You can use the pre-packaged apache in either configuration, but you may achieve slightly better isolation with the NGZ if that is valuable. But, putting apache config files under revision control has been done for years and is pretty standard way to accomplish the same thing)<br><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 8, 2015 at 10:35 AM, Dan McDonald <span dir="ltr"><<a href="mailto:danmcd@omniti.com" target="_blank">danmcd@omniti.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">There's no problem using an NGZ to host a webserver.  Just make sure that zone has all of the relevant packages.<br>
<br>
Using an NGZ means that zone only has control over ZFS datasets that the global zone lets it control.  The zonecfg(1M) command man page has details on this.<br>
<br>
I use apache in a zone on my Home Server:<br>
<br>
        <a href="http://kebesays.blogspot.com/2014/06/home-data-center-20-dogfooding-again.html" target="_blank">http://kebesays.blogspot.com/2014/06/home-data-center-20-dogfooding-again.html</a><br>
<span><font color="#888888"><br>
Dan<br>
</font></span></div></div><div><div><br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div>