Should Hipchat use the redis port or the sentinel port?

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 Jan 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. 

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 Jan 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
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

493 views 1 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you