It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,257 views 9 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you