在jira集群上的apache中进行负载均衡

时间:2015-08-26 09:46:09

标签: apache jira

请帮我配置我的httpd。 我在网站jira上写了所有内容:https://developer.atlassian.com/jiradev/jira-architecture/jira-data-center/plugin-guide-to-jira-high-availability-and-clustering/configuring-a-jira-cluster-for-plugin-development

但是,如果我去链接,我得到了Apache的简单测试页面。但为什么? 我不明白为什么平衡不起作用。

我的httpd.conf(部分):

    < VirtualHost *:80>
    ProxyRequests off
    ServerName jira-cluster.com
    <Proxy balancer://jiracluster>
     BalancerMember http://jira1.com:8080 route=node1
     BalancerMember http://jira2.com:8080 route=node2
     Order Deny,Allow
     Deny from none
     Allow from all

            ProxySet lbmethod=byrequests
            ProxySet stickysession=JSESSIONID
    </Proxy>
    <Location /balancer-manager>
            SetHandler balancer-manager

            Order deny,allow
            Allow from all
    </Location>

    ProxyPass /balancer-manager !
    ProxyPass / balancer://jiracluster/
    ProxyPreserveHost on 
   < /VirtualHost>

0 个答案:

没有答案