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 like to socialize them, to see what people think.


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 move on to boot any remaining zones in any order.

Method2: (Enhance zones XML properties and rewrite SMF zones service)
Add an additional(optional) property to zones XML which contains a numerical value for startorder (0-64K). The SMF service then starts the zone by lowest startorder value first (1-64k). Two zones have the same value means we don't care which one starts first. I would suggest we also define 0 as "don't care"

Comments welcome.

The precedence of starting application in a multi tier environment has always been a big issue and is normally solved by manual operator intervention. This feature would alleviate that and be a compelling reason to move to zones.

Regards
Rodney Lindner

Renaud Manus wrote:
I would not disable svc:/system/zones service because it can still be used to start and stop zones that do not depend on other zones. On
the contrary, I would make the newly created services also dependent
on svc:/system/zones and make sure the zones that need to start in a
specific order have autoboot set to false.

-- Renaud

-------- Original Message  --------
Subject: [zones-discuss] Re: Zone start order
From: Peter van Gemert <[EMAIL PROTECTED]>
To: zones-discuss@opensolaris.org
Date: Wed Mar 07 2007 11:41:13 GMT+0100 (CET)

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
This message posted from opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to