Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Simulating DC configuration localy

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2024

Dear all,

I have setup 2 individual Jira DC instance which share the same Home folder.

The idea is to test and validate cluster configuration without LB as first step.

JIra DC 01 is accessible on port 80
Jira DC 02 is acessible on port 81

What I have noticed when both instance are running is that if I am login into DC 01 with admin account, from cluster system property I can see only activities on DC 01 as I am logged into it

Then if I am login into DC 01 with admin account too, then I get automatically logout from DC 01.

Any idea why it behaves like this ?

Is this because I do not have any Load balancer configured locally ?

regards 

1 answer

0 votes
Charlie Misonne
Community Champion
October 7, 2024

Hi @serge calderara 

I'm not sure if I get the question entirely becausein your scenario you only talk about DC01.

I assume you meant this: when you arre logged in on DC01 and you log in to DC02 your are being logged out from DC01 automatically.
Is that right?

This is most likely due to cookies. The same cookie is set for each URL. When you login to DC02 the cookie is no longer valid for DC01.

This will not be an issue with a reverse proxy/ load balancer in front because users will access Jira from a single URL. When they are directed to another node the URL does not change.

To be honest: I think it will be difficult to test the entire setup without LB.

I hope this helps!

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2024

@Charlie Misonne 

"I assume you meant this: when you arre logged in on DC01 and you log in to DC02 your are being logged out from DC01 automatically."

=> Yes that is correct, typo mismatch sorry

 

"To be honest: I think it will be difficult to test the entire setup without LB."

=> is there any easy way to setup a simple Software LB on my local PC to simulate the behavior ?
I am not so familiar with LB configuration

Thanks for help

regards

Charlie Misonne
Community Champion
October 7, 2024

You could instal apache locally.

Atlassian has example configurations here: Jira Data Center Load Balancer examples 

But you will need to take some time to install and understand how those apache configuration files work. Plenty of online tutorials.

Suggest an answer

Log in or Sign up to answer