On Tue, Oct 25, 2005 at 05:43:34PM -0400, Deal, Richard wrote:
Should hobbitd maintain disabled hosts when restarted?
It should, provided that hobbitd saves and loads the checkpoint file.
To do that, your hobbitd command in hobbitlaunch.cfg must include
the options --restart=$BBTMP/hobbitd.chk --checkpoint-file=$BBTMP/hobbitd.chk
I added a kill -USR1 to my shutdown script to insure it checkpointed.
stop)
echo "Shutting down hobbit:"
kill -USR1 `cat /var/log/hobbit/hobbitd.pid`
su - hobbit -c "cd $BBHOME/server/bin;./hobbit.sh stop "
;;
--
steve