Configure your Tomcat to create persistent sessions on a shared drive (DRBD, NFS, SAN, NAS, ....) or in some kind of databases (mysql, Postgres, ...). Then make that shared drive or DB a resource in your Heartbeat cluster.
On 7/26/07, John Gardner <[EMAIL PROTECTED]> wrote:
Hi everyone. I'm just wondering whether Heartbeat (or anything under the Linux-HA project) copes with sticky sessions? Basically I'm trying to get two Tomcat servers in a ha mode, and heartbeat works straight out of the box, even with out any real tuning... exactly what I want. Now the next stage is to carry the session over so that when heartbeat detects a downed node, failover occurs and then the session is also replicated across so it doesn't ask for the username and password again on the new node. I'm quite willing believe that it doesn't, and I do have some alternatives, but I just thought i'd ask before spending lots of work going down a overblown route :-) Thanks John _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
-- Serge Dubrouski. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
