Forum Discussion

F5Newbie_12_309's avatar
F5Newbie_12_309
Icon for Nimbostratus rankNimbostratus
Feb 07, 2017

Redis F5 Communication

A newbie question..

 

We are trying to access Redis over a load balanced VIP where in there is only one active server at a time. Is there any special configuration needed either in the VIP (F5) configuration or in the Redis configuration ?

 

Redis on each server instance is configured to listen on port 6379, the VIP is configured for clients to connect on 6379. Clients can connect directly to the Redis node with node IP over 6379 however connecting over VIP fails.

 

Thanks, Mahesh

 

1 Reply

  • You can create a tcp monitor with these properties:

    Send string: info\r\nquit\r\n
    Reveice string: role:master
    

    Then only the master will be marked as up.

    /Patrik