Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Should Hipchat use the redis port or the sentinel port?

Brian Baker January 22, 2018

The HA guidelines for deploying Hipchat call for using Redis Sentinel (https://confluence.atlassian.com/hipchatdc3/deployment-options-and-sizing-guidelines-for-hipchat-data-center-930911695.html).  However, the configuration documentation says to "Use the default port 6379" (https://confluence.atlassian.com/hipchatdc3/configure-hipchat-data-center-nodes-909770912.html) and not use the Sentinel port of 26379.

 

When connecting HipChat to Sentinel, should port 26379 be used?

1 answer

0 votes
Arbi Dridi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2018

Hi Brian, 

We don't support Redis Sentinel out of the box. 

If this wasn't the case, you would need to tell Hipchat about all your Redis nodes and the Redis lib will do client-side load balancing. 

The way to go is to deploy a Redis Sentinel cluster behind a load balancer like HAProxy. 

A good example is: 
How to setup HAProxy and Redis Sentinel for automatic failover between Redis Master and Slave servers

We have a feature request open for this purpose as well: 
HCPUB-3794 - Support Redis Sentinel

I hope this helps. 

Brian Baker January 25, 2018

This helps a lot, thanks!  Would you guys be willing to update the documentation with the requirement for fronting Redis with a proxy, at least until there is proper Sentinel support?

We found this out the hard way when the master node changed during maintenance and hipchat stopped working because it didn't make the switch to the new master.

https://confluence.atlassian.com/hipchatdc3/deployment-options-and-sizing-guidelines-for-hipchat-data-center-930911695.html

  • At least one additional Redis cache for failover, but ideally a total of three for a full HA Redis Sentinel cluster. See the official documentation here.
Arbi Dridi
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 25, 2018

Hi Brian, 

We have an internal ticket about it already. We have also added it as a note to the same feature request we shared. 

Thanks. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events