[Linux-cluster] shared storage configuration on a 2 node-cluster

garylua at singnet.com.sg garylua at singnet.com.sg
Fri Apr 27 05:21:29 UTC 2007


Hi,

I'm currently running a cluster (RHEL4, Cluster Suite Update 3) with 2 nodes. There is a virtual ip and a shared storage resources defined, together with other scripts that are supposed to be executed.

During failover, I discovered that the time taken is a little long (around 25 seconds). I realised that the "bottleneck" of this long failover time is contributed by the unmounting/mounting of the shared storage filesystem and the failover of the virtual ip to the other node. 

I'm just wondering how can i make the shared storage in such a way that BOTH nodes can access the shared storage filesystem, but only the active node has the write privilege? So that there is no risk of data corruption, and yet the failover time can be reduced (hopefully?).

All in all, I'm trying to reduce the time of the failover to as short a period as possible. I've already change the status monitoring (heartbeat) interval to 5 seconds. And on top of the shared storage and virtual ip, i have 4 scripts that need to be failed over. I configured the cluster in such a way that when any of the scripts fails, the rest of the scripts will fail over too.

As such, there are a lot of dependencies among the resources and I'm trying to reduce the time of the failover to maybe about 10 seconds, if possible.

Thanks for any help in advance.




More information about the Linux-cluster mailing list