One of the best things about Solaris 10, from Sun Microsystems, is Zones or Containers. They allow you to create virtual OS installs on the same box, yet have them quite separate from each other. Processes are segregated, resources can be capped, the options go on and on. Here I have a PERL script (have I mentioned that I love PERL lately?), that makes the creation of zones a snap. The only thing to edit in the script is at the top, where you set your zone base directory, as in the directory that will hold the zones your create. I am a simple man, and usually just stick them all in /data/zones, with /data usually being a separate mount point and thus separate I/O path.
The script has been posted in our forums, head on over and take a look!





