Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

경고

  • Data Center 라이센스가 필요

Info

Crowd 설치 참고

2. Shared Directory 구성

  1. <CROWD_HOME>/shared를 공유 디렉토리로 복사

    Code Block
    languagebash
    mkdir /home/share/atlassian/crowd
    cd /home/share/atlassian/crowd
    cp -r /home/datacenter/atlassian/crowd/shared/ ./crowd/
  2. <CROWD_HOME>/shared 심볼릭 링크 생성

    Code Block
     cd /home/datacenter/atlassian/crowd
     rm -rf shared
     ln -s /home/share/atlassian/crowd/shared/ shared

...

Code Block
<VirtualHost *:80>
        ProxyRequests off
 
        ServerName dccrowd.twoseed.co.kr
        
        Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
        <Proxy balancer://crowdcluster>
                # Crowd node 1 (make sure there are no trailing slashes after port number)
                BalancerMember http://14.36***.***.48.220/:7195 route=node1
                # Crowd node 2 (make sure there are no trailing slashes after port number)
                BalancerMember http://175.197***.***.124.236:7195 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=ROUTEID
        </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 Crowd cluster
        ProxyPass / balancer://crowdcluster/
        
        ProxyPreserveHost on
        ProxyPassReverse / balancer://mycluster/
</VirtualHost>

...