Forum Discussion

laurent_marion_'s avatar
laurent_marion_
Icon for Nimbostratus rankNimbostratus
Feb 02, 2006

bea weblogic cluster failover

Hi,

 

 

I have another nice question:

 

my bea server send to my browser this cookie:

 

DvVhTvH7Mr0ps4vwQchY6cLJyqt687Qn5vXqnQWqFhngZTpLFnD2!541530148!NONE

 

 

541530148 and NONE are the master & backup server.

 

 

Which irule can write to have a real failover.

 

I do some test with the irules inside this forum and nothing work.

 

 

I don't understand how the bigip can find the backup server.

 

 

If somebody has the good tips or irule.

 

 

I have 4 bea server who use the bea system clustering.

 

 

Thanks for help

 

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    Well, you can certainly use iRules to parse out the information you're looking for from a cookie, that's straight forward enough.

     

     

    The part I'm a little unclear on is, where do you intend to get the information about the backup server? You'll have to have its IP or hostname to send packets there.

     

     

    I don't see, in this example, where this information would be transmitted. Perhaps a more in depth example of the situation would shed some light on things?

     

     

    -Colin
  • Hi,

     

     

    i will add some informations:

     

     

    my main goal is to realize failover with beaserver in cluster.

     

     

    My only information is this cookie: jsessionid.

     

    DncpkwTTvdyyh0Ht6pQgy4T2hTcp80gpdvQdWFWp2Jwjpr20L5VS!-46327500!-772948428

     

    -46327500 is the master server

     

    -772948428 is the backup server.

     

     

    If i have two servers, i don't have any failover problem.

     

    But with 4 servers (A,B,C and D):

     

    When my master server(A) fails, the backup (B) becomes master and chooses a new backup between the 2 others servers alive (C and D). The problem is to determine the new backup server.

     

    Why i need to know who is the backup server? I have a replication of sessions and i can't lost the historic of my session when a member fail.

     

     

    I try to work with http_response to determine which member is the new backup but i don't success in this way.

     

     

     

     

     

     

     

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    Well, if the cookie has the needed information, and the cookie is updated with the same (or a predictable) name, then you should be able to get the information for the backup server out of the cookie with the HTTP::cookie command.

     

     

    If you have a specific question, it might be easier to answer, rather than trying to speculate on the way your setup works and what it is you're trying to accomplish, and trying to give some suggestions based on those speculations.

     

     

    Thanks,

     

    -Colin