Re: [zones-discuss] Re: Proposal: Zone Boot Arguments II
Matty wrote: It sounds like you might be interested in the zoneadm clone option. This feature is currently in Solaris Express, and I am hopeful it will make Solaris 10 update 3. Does anyone from Sun happen to know if the attach, detach and clone features could be released as a patch for Solaris 10? These are super useful options, and it would be awesome to get them in a supported version of Solaris prior to the next update. These features will be delivered in the S10u3 release. I don't think they will be available before the next update though, unless you use Solaris express, where they are already available. Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Re: Proposal: Zone Boot Arguments II
On Sat 22 Jul 2006 at 02:06PM, Manish Agrawal wrote: Is there a timeframe when it will be possible to specify boot parameters in the zone configuration. I plan to use zones in a classroom environment and would like to script the process of destroying existing zones and recreating them at the end of every semester. The ability to specify boot parameters in the zone configuration would be a great help so I don't have to go through the initial boot sequence for each zone every semester. I'm not sure why boot arguments solves your problem (see Matty's response)-- you may be looking for sysidcfg support which is already present, or clone, which would help you snap off many identical zones. Anyway, as for boot arguments, I checked in support for this feature into build 44 of Solaris Nevada. The following are supported: -s (single user) -m smf_options -i /path/to/init All Solaris Express builds starting with B44 should have support for setting the 'bootargs' property in the zonecfg: zonecfg:myzone set bootargs=-s Boot arguments may eventually appear in an update for Solaris 10 but I couldn't reasonably speculate as to which one (except not the next one; that one is already filled up with features). Thanks, -dp -- Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Re: Proposal: Zone Boot Arguments II
On 7/23/06, Manish Agrawal [EMAIL PROTECTED] wrote: Is there a timeframe when it will be possible to specify boot parameters in the zone configuration. I plan to use zones in a classroom environment and would like to script the process of destroying existing zones and recreating them at the end of every semester. The ability to specify boot parameters in the zone configuration would be a great help so I don't have to go through the initial boot sequence for each zone every semester. Hi Manish, If you need to duplicate zones quickly and escape the boot sequence (I believe the SMF import stuff et.al), I'm not sure how much boot parameters will help you. Here's what we do now while waiting for zoneadm-clone that Matty mentioned in S10. 1) Take a clean zone and sys-unconfig it. 2) Tar up an image of this zone's zonepath 3) zonecfg the new zone 4) Untar the image to the new zone's zonepath 5) Edit the file /etc/zones/index and set the new zone's status to installed 6) The new zone should boot straight into sysconfig If you are using ZFS, Steps 24 are just a ZFS snapshot/clone with the bonus of saving some disk space. It's unlikely to be supported by Sun. I haven't had any problems yet though. That said, zones has pampered us so much that we have reduced the re-provisioning cycle from weeks (if it involves a purchase) to minutes. And now, even 10 minutes seems too long. -- Just me, Wire ... ___ zones-discuss mailing list zones-discuss@opensolaris.org