You can attach a network disk device and have it fail over with the
active system and make|
tomcat and mysql dependant of the disk resource. This is the simple route. when dealing with
clusters you should keep the "KISS" approach in-mind.
Any views or opinions presented are solely those of the author and do not necessarily represent those
of Raytheon unless specifically stated. Electronic communications including email might be monitored
by Raytheon. for operational or business reasons.
Maciej Bogucki wrote:
sajith napisał(a):Hai all, I am new to linux cluster. I want to set up a two node cluster using rhcs. In my application I am using tomcat and mysql as database. My aim is to configure both servers in active-passive configuration. I have tested the failover of ip and process using conga. But I am stuck with the configuration of mysql failover. I am confused with how to make the data files redundant for mysql. If I am using nfs for data files the files are not accessible if nfs server is down. How can I create an online back up of my data files so that if my main server is down then also I can access my data from the online backup? I don't have gfs and SAN storage. My data files and application reside in same machine. Please helpHello, You can use drbd to mirror block device via network. You also need some automatic failover mechanism fe. RHCS or heratbeat.  - http://www.drbd.org/  - http://www.linux-ha.org/ Best Regards Maciej Bogucki -- Linux-cluster mailing list Linux-cluster redhat com https://www.redhat.com/mailman/listinfo/linux-cluster