[Pacemaker] how to keep ftp connection when swap from primary to secondary
Liang.Ma at asc-csa.gc.ca
Liang.Ma at asc-csa.gc.ca
Thu Aug 26 16:44:10 UTC 2010
Hi,
I installed ipvsadm and ran
ipvsadm --start-daemon=master --mcast-interface=eth0
in master node and
ipvsadm --start-daemon=backup --mcast-interface=eth0
in backup node. But still i lost ftp connection during node swap.
Liang Ma
Contractuel | Consultant | SED Systems Inc.
Ground Systems Analyst
Agence spatiale canadienne | Canadian Space Agency
6767, Route de l'Aéroport, Longueuil (St-Hubert), QC, Canada, J3Y 8Y9
Tél/Tel : (450) 926-5099 | Téléc/Fax: (450) 926-5083
Courriel/E-mail : [liang.ma at space.gc.ca]
Site web/Web site : [www.space.gc.ca ]
-----Original Message-----
From: Ma, Liang
Sent: August 26, 2010 12:17 PM
To: 'The Pacemaker cluster resource manager'
Subject: RE: [Pacemaker] how to keep ftp connection when swap from primary to secondary
Thank you Raoul. I will try it.
Liang Ma
Contractuel | Consultant | SED Systems Inc.
Ground Systems Analyst
Agence spatiale canadienne | Canadian Space Agency
6767, Route de l'Aéroport, Longueuil (St-Hubert), QC, Canada, J3Y 8Y9
Tél/Tel : (450) 926-5099 | Téléc/Fax: (450) 926-5083
Courriel/E-mail : [liang.ma at space.gc.ca]
Site web/Web site : [www.space.gc.ca ]
-----Original Message-----
From: Raoul Bhatia [IPAX] [mailto:r.bhatia at ipax.at]
Sent: August 26, 2010 11:17 AM
To: The Pacemaker cluster resource manager
Subject: Re: [Pacemaker] how to keep ftp connection when swap from primary to secondary
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
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. r.bhatia at ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office at ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
_______________________________________________
Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list