[Pacemaker] how to keep ftp connection when swap from primary to secondary

Michael Schwartzkopff misch at clusterbau.com
Thu Aug 26 11:24:47 EDT 2010


Am Donnerstag, den 26.08.2010, 17:17 +0200 schrieb Raoul Bhatia [IPAX]:
> On 08/26/2010 04:42 PM, Liang.Ma at asc-csa.gc.ca wrote:
> > I have followed the guide in “Clusters from Scratch” written by Andrew
> > Beekhof and successfully setup an Active/Passive pair of cluster
> > servers. The cluster runs in Fedora 13 and includes services like
> > apache, vsftpd and nfs. Drbd is used to allow data consistence during a
> > failover. Everything works fine except ftp lose its connection when the
> > service swaps from primary to the secondary or vice versa. I know to
> > keep the ftp connection, one may need to keep the connection states for
> > the session across the nodes. But I couldn’t find clue how to do it.
> > Does anyone there have any idea how to keep the ftp connection when
> > swapping nodes, if it is possible?
> 
> hi,
> 
> as of now, we're not syncing our connections between the load
> balancers, but i would suggest
> http://www.linuxvirtualserver.org/docs/sync.html and the like.
> 
> 
> cheers,
> raoul

Even a Load Balancer wouldn't sync the data that the FTP server on the
real servers hold in RAM. You would need a cluster-aware FTP for such
purpose.

On the other hand: How often does a failover happen? Is it really
nescessary to take care for such rare events?

Michael.





More information about the Pacemaker mailing list