Hi Tom,
It is very easy, follow below steps for this
1. Install heartbeat on both the servers
2. On node A edit files as shown below
/etc/ha.d/ha.cf
keepalive 2
deadtime 30
initdead 120
mcast eth0 225.0.0.1 694 1 0
auto_failback on
node nodeA ( node name got from uname -n command)
node nodeB
/etc/ha.d/haresource
nodeA 192.9.200.100/24/eth0/192.9.200.255 # Virtual IP
through which FTP server is accessed from clients
/etc/ha.d/authkeys
auth 1
1 sha1 testlab
That's it copy these two files to NodeB's /etc/ha.d/ directory
3. Start heartbeat on NodeA(Primary), #/etc/init.d/heartbeat start
check /var/log/messages for any ERRORS. If it starts successfully
continue
4. Try to access FTP server on 192.9.200.100 if it goes through continue
5. Start heartbeat on nodeB, check /var/log/messages for any ERRORS. If
found no errors
6. Now make NodeA down and try to access NodeB, you should be able to
access FTP server on 192.9.200.100.
Regards,
Arun.
Message: 6
Date: Thu, 12 Jul 2007 15:28:46 -0400
From: "Tom Vile" <[EMAIL PROTECTED]>
Subject: [Linux-HA] Need some Guidance
To: [email protected]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I need some guidance on setting up my first cluster. I am just trying
to
find out some good information on the following scenario.
I have 2 FTP servers that rsync there data every few minutes if need be
and
that is working well but what I really need to do is
have it so that if FTP A goes down FTP B comes up automatically. Right
now
its a manual process where as I have to go to the
FTP B server and change the IP manually.
Any suggestions on where I should look for this information. It seems
simple to me but alas I do not know.
--
Tom Vile
Baldwin Technology Solutions, Inc
Consulting - Web Design - VoIP Telephony
www.baldwintechsolutions.com
Phone: 518-631-2855 x205
Fax: 518-631-2856
------------------------------
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
End of Linux-HA Digest, Vol 44, Issue 50
****************************************
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems