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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Mar 26, 2018 in Hipchat Data Center

Migration of Hipchat server to Data Center - a retrospective

Background While our Hipchat server environment was reliable and performing well, as a significant and growing part of our business, the need to leverage the benefits of Hipchat Data Center&nbs...

460 views 2 6
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