I have installed JIRA datacenter edition (v7.1.9) on SLES 11SP3 on 2 servers and am able to login to both the systems separately. I am using Apache to configure the reverse proxy / load balancer to access the JIRA but can't able to get the login page loaded. The Apache XML configuration that we use accepts numbers (0, 1) for the session where as JIRA configuration uses node1 and node2. Because of this the JSESSIONID is appended with node1 and node2 where the Apache XML can't forward the requests and getting page not found or dead link found errors. How and where should we change the node names in the JIRA configuration? I changed the node entries in the 'cluster.properties' file with no luck. Any information to resolve this would be helpful.
Configure your cluster.properties files back to point to node1 and node2 this is the best practise.
Check out this link on JIRA data center load balancer configurations.
Here is an example of the Apache httpd configuration:
<VirtualHost *:80> ProxyRequests off ServerName MyCompanyServer <Proxy balancer://jiracluster> # JIRA node 1 BalancerMember http://jira1.internal.atlassian.com:8080 route=node1 # JIRA node 2 Commented pending node installation # BalancerMember http://jira2.internal.atlassian.com:8080 route=node2 # Security "we aren't blocking anyone but this the place to make those changes Order Deny,Allow Deny from none Allow from all # Load Balancer Settings # We are not really balancing anything in this setup, but need to configure this ProxySet lbmethod=byrequests ProxySet stickysession=JSESSIONID </Proxy> # Here's how to enable the load balancer's management UI if desired <Location /balancer-manager> SetHandler balancer-manager # You SHOULD CHANGE THIS to only allow trusted ips to use the manager Order deny,allow Allow from all </Location> # Don't reverse-proxy requests to the management UI ProxyPass /balancer-manager ! # Reverse proxy all other requests to the JIRA cluster ProxyPass / balancer://jiracluster/ ProxyPreserveHost on </VirtualHost>
Thank you for your response.
The XML Apache configuration that we use accepts only numbers (0,1) where as the JIRA documentation uses characters (node1, node2).
# JIRA node
# JIRA node
Commented pending node installation
# BalancerMember http:
Yes it should not be commented.
I did not have an issue configuring BalancerMember route to node1 and node2:
(Check out this link on this)(Sorry i couldn't be more of help but i did not run into any issues on Apache and on F5 when setting the route value to node1 or node2)
Adding another proxy balancer (balancer://confluencecluster) will work.
Also i recommend adding monitoring to the vip (for Confluence and Jira):
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG