Re: zone shutdown
- From: andrew@xxxxxxxxxxxxxxxxxxxx (Andrew Gabriel)
- Date: 27 Nov 2006 19:23:09 GMT
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
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.
--
Andrew Gabriel
.
- Follow-Ups:
- Re: zone shutdown
- From: Andrew Gabriel
- Re: zone shutdown
- References:
- zone shutdown
- From: Frank Cusack
- Re: zone shutdown
- From: Andrew Gabriel
- Re: zone shutdown
- From: Frank Cusack
- zone shutdown
- Prev by Date: Re: finding ports used by a process
- Next by Date: Re: zone shutdown
- Previous by thread: Re: zone shutdown
- Next by thread: Re: zone shutdown
- Index(es):
Relevant Pages
|