Can a JIRA/Confluence application connect to 2 crowd servers in failover mode?

Hi,

I am connecting my Atlassian applications - JIRA/Confluence/Fisheye to Crowd for SSO across these applications.

Is it possible to connect each of these Atlassian applications to 2 Crowd server instances wherein the second one will be a cold standby for failover?

I am looking at possible options to automatically failover the crowd server without having to change all the application links in each of the Atlassian application that is connected for SSO purposes.

This is assuming that both Crowd server instances will be sharing Database or have active/passive database available so that the SSO tokens and other data created by Crowd 1 will be available to Crowd 2 as well.

So if the above is not possible, I will have to look at achieving this via networking means to maintain same URL for both crowd server instances. But this option may have performance implications (due to extra hops and network requirements) and I wanted to avoid it.

Thanks and Regards,

Archanaa

2 answers

1 accepted

Accepted Answer
0 votes

Hi, Crowd doesn't support clustering or hot failover. The best way to achieve this would be to setup a virtual IP and cold failover 2 Crowd instances. Point your DNS to the virtual IP instead.

Having said that - has Crowd crashed/failed for you and if so how long and what were the implications? As every Atlassian application maintains a Crowd cache - a slight downtime shouldn't cause any problems. I would look at increasing the length of the cache if it is a problem. This will mean changes will be delayed, but there's always tradeoffs.

0 votes

Hi Archanaa,

I believe that could be possible since this configuration is done in local files such as the WEB-INF/classes/seraph-config.xml one.

If you set 2 crowd directories in each application and one of those fail, it will try to reach the other and if they have the same user base, it will login too.

I can't guarantee it will work because I've never tested this so I'll leave this question open so others can give their opinions and ideas.

Hope that helps! :)

Regards,

Rodrigo Adami

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

65 views 2 6
View post

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