[Linuxha-users] Re: resetting failover setting

Simon Edwards simon.edwards at linuxha.net
Tue Feb 1 22:09:31 GMT 2005


Hi again Michael,

	In this instance you can make use of the "cldaemonctl" command -
although not yet documented fully a working manual page should be
available with the release you are running. 

	In summary you can simply run;

# cldaemonctl --msg "SETVALIDNODES APP=apache FORWARD=yes"

when the cluster is running to reset the valid nodes for an application.
Probably this (and some other messages) are good candidates for some
high level shell scripts as mentioned in my previous mail :)

Regards,
Simon.

On Tue, 2005-02-01 at 15:16 +1000, Michael Mansour wrote:
> Hi Simon,
> 
> Just a quick query. When I've failed an app 3 times on the primary node, the 
> app fails over to the standby node. How do I reset the "fail-over" option on 
> the primary node, while the application is still running on the secondary 
> node?
> 
> Normally my process for doing this is to shutdown the app, use clrunapp with -
> -reset on the primary node so the primary can then run the app again. What I 
> am wondering is how I can tell linuxha.net that primary is ok to run the app 
> on, while the app is still running on the standby, so I can then enable 
> failover on the standby, fail the app 3 times ont he standby and watch 
> linuxha.net fail the app back to the primary.
> 
> Thanks.
> 
> Michael.
> 
> 




More information about the Linuxha-users mailing list