[zones-discuss] Re: Zone start order

2007-03-07 Thread Peter van Gemert
Hi Paul, The only way I can think of create your own services in the global zone that will do a zoneadm -z zonename boot and have these service depend on each other. You then have to disable the svc:/system/zones service which is used to boot all zones during system boot. Greetings, Peter

Re: [zones-discuss] Zone start order

2007-03-07 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Paul Davis wrote: Is there a way to control the (auto) start order of zones or better yet even dependencies? We have a complete, tiered environment in zones and would like to control the start order: DB zone - APP zone - WEB zone Thanks, Paul

Re: [zones-discuss] Zone in mounted state

2007-03-07 Thread shivani khosa
Hi Sivakumar, First unmount the zone and then boot it since booting a mounted zone isn't permitted.So, you need to do the following: zoneadm -z zonename unmount zoneadm -z zonename boot Regards Shivani Sivakumar Shanmugasundaram wrote: I have a non-global zone which shows in a 'mounted'

Re: [zones-discuss] Zone in mounted state

2007-03-07 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Sivakumar Shanmugasundaram wrote: I have a non-global zone which shows in a 'mounted' state. (Guess, I hit on the CR#6217053 Now, I cant boot or halt it. Any help/workaround is much appreciated. Siva ___ zones-discuss mailing list

Re: [zones-discuss] Zone in mounted state

2007-03-07 Thread Sivakumar Shanmugasundaram
Shivani/Enda, Thanks. This worked. 'unmount' is undocumented, is it? Enda, yes. I was doing a pkgadd when I interrupted it. (to run pkgadd -G again). Siva shivani khosa wrote: Hi Sivakumar, First unmount the zone and then boot it since booting a mounted zone isn't permitted.So, you need

Re: [zones-discuss] Zone in mounted state

2007-03-07 Thread Enda O'Connor ( Sun Micro Systems Ireland)
Sivakumar Shanmugasundaram wrote: Shivani/Enda, Thanks. This worked. 'unmount' is undocumented, is it? It's an internal zone state used by the patch/packaging tools to manage zones that are halted. Enda, yes. I was doing a pkgadd when I interrupted it. (to run pkgadd -G again). hmm, did

Re: [zones-discuss] Zone in mounted state

2007-03-07 Thread James Carlson
Sivakumar Shanmugasundaram writes: This worked. 'unmount' is undocumented, is it? Not documented, because it's not supported for customer use. It's not a secret, though. You can find out what it does in PSARC 2005/474. Enda, yes. I was doing a pkgadd when I interrupted it. (to run pkgadd -G

Re: [zones-discuss] Re: Zone start order

2007-03-07 Thread Rodney Lindner
Hi Renaud, I like that as it does not break any thing else, but may catch some people out in the future when zones autoboot that they were not expecting based on the zone XML. And best of all it works now. I was thinking of a RFE on how to add this feature. I came up with two ideas and I would

[zones-discuss] packages and inherit-pkg-dir

2007-03-07 Thread Christine Tran
If I have an application (SUNW_PKG_ALLZONES = FALSE) that installs some in /opt and some in /var/opt, and I set my non-global zone to have an inherit-pkg-dir /opt, when I install the zone and when I patch the application in the global zone, will it install and patch my NGZ /var/opt, where

Re: [zones-discuss] Re: Zone start order

2007-03-07 Thread Paul Davis
Rodney and all: Thanks all for all the input. Rodney, you have some great ideas for an RFE. Edna, you are correct that the same issue exists on tiered, physical servers, but as Rodney points out, this is typically solved by manual operator intervention. My question was if anything existed

Re: [zones-discuss] Re: Zone start order

2007-03-07 Thread Rich Teer
On Thu, 8 Mar 2007, Rodney Lindner wrote: RFE: To be able to specify the boot order of a zone. Method 1: (SMF mod only) Modify the smf svc:/system/zones service to look for a file (say /etc/zonesbootorder). If it is present it will boot the zones in the order the appear in the file and the