Re: zone shutdown
- From: andrew@xxxxxxxxxxxxxxxxxxxx (Andrew Gabriel)
- Date: 27 Nov 2006 21:12:37 GMT
In article <456b3b1d$0$627$5a6aecb4@xxxxxxxxxxxxxxxxx>,
andrew@xxxxxxxxxxxxxxxxxxxx (Andrew Gabriel) writes:
In article <m2y7pwzqst.fsf@xxxxxxxxxxxxxxx>,
Frank Cusack <fcusack@xxxxxxxxxxx> writes:
On 27 Nov 2006 08:33:52 GMT andrew@xxxxxxxxxxxxxxxxxxxx (Andrew Gabriel) wrote:
In article <m23b85liip.fsf@xxxxxxxxxxxxxxx>,
Frank Cusack <fcusack@xxxxxxxxxxx> writes:
Does 'zoneadm -z halt' do a clean shutdown (run svc stop methods)?
No.
To do an init 0 in a zone from the global zone, run:
zlogin -S $zone /sbin/init 0
Does init 0 in the global zone do a clean shutdown in non-global zones.
Yes, but if the zone doesn't shutdown within 60 seconds, it
halts it instead.
Do you know if this is user-settable somewhere? (Without modifying
anything that a patch would overwrite.)
No, it's in /lib/svc/method/svc-zones
It should really be picked up as an svc property. SMF wasn't
Looking at the current Solaris source, Dan seems to have done this now.
I don't know if that's appeared in a Solaris 10 update though.
in Solaris at the time I wrote that part of what was the
init.d/zones script at the time, and whoever moved it under
SMF didn't do it either. You might even argue it should be a
per-zone property.
There's also a ceiling of 500 seconds in the system/zones.xml
manifest for the stop method.
....which has now been reduced to 100 seconds.
--
Andrew Gabriel
.
- References:
- zone shutdown
- From: Frank Cusack
- Re: zone shutdown
- From: Andrew Gabriel
- Re: zone shutdown
- From: Frank Cusack
- Re: zone shutdown
- From: Andrew Gabriel
- zone shutdown
- Prev by Date: Re: Port TCP used by Exceed
- Next by Date: Re: Port TCP used by Exceed
- Previous by thread: Re: zone shutdown
- Next by thread: Re: zone shutdown
- Index(es):
Relevant Pages
|