Configuring zone and LDOM boot order

Is anyone aware of a method of configuring the boot order of zones and or LDOMS?

Yes.

zonefcg to set autoboot to False for each non-global zone.
Create a script that calls zoneadm to boot each zone.

#!/bin/bash
declare -a waits=( 10 20 10 )   # wait 10 20 and 10 seconds
cnt=0
for z in zone1 zone2 zone3
do
   zoneadm -z "$z" boot
   #optional if you need to wait for applications to start
   sleep ${waits[cnt]}
   cnt=$(( $cnt  + 1 ))
done

You may also have some alternate script to make sure a db zone is fully up, for example.

1 Like

you'd figure that this would be part of the zone configuration.