...
Crowd의 Data Center를 설치하는 방법을 설명합니다.
Info |
---|
본 설치 가이드는 Crowd 4.0.2 기준으로 작성 되었습니다. |
Data Center 설치
1. Crowd 설치
Note |
---|
경고
|
Info |
---|
Crowd 설치 참고
|
2. Shared Directory 구성
<CROWD_HOME>/shared
를 공유 디렉토리로 복사Code Block language bash mkdir /home/share/atlassian/crowd cd /home/share/atlassian/crowd cp -r /home/datacenter/atlassian/crowd/shared/ ./crowd/
<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> |
...