Mailing List Archive

More scriptability
Hello,

Dan helped me to debug the script. It may be somehow fonctionnal now.
I still have to change one fonction to be "node number independant"

I am willing to create a new configuration entry :
NODE(X)_MODE=[controlled|previous|slave]

controlled : datadisk is going to be controlled by a heartbeat :
start = master
stop = slave

previous : Controlled by user script =/= heartbeat
start = if previously master -> master
if previously slave -> slave

slave : Controlled by user
start = slave
stop = slave

The two last mode are intesting to put datadisk in rcX.d
Once more comment about this idea are welcome.

Thomas