이 문서는 Confluence Data Center 제품의 Linux 설치 가이드를 공유하기 위해 작성되었다.
목차
테스트 환경
Name | Version | Etc | |
Atlassian | Confluence (Confluence Data Center) | 6.7.0 | |
Database | Mysql | 5.7.32 | Connector/J 5.1.39 |
JAVA | Oracle JDK | 1.8.0_161 | |
OS | CentOS | 7 |
I.시스템 구성도
- 추가 구성안: Apache 를 사용하여 load balancer 설정 필요
II.사전 준비사항
- NFS Server 설치 및 Client 설정
- NFS 설정 가이드 참고하여 설정
III.Confluence 설정
※ Confluence 설치 후 엔진폴더와 home 폴더를 서버 2번으로 복사 후 Data Center 설정
- JIRA Softare 와 JIRA Data Center 설치프로그램은 동일
1.Confluence Server1 설치 (192.168.0.37)
- Confluence cluster 설정
- Synchrony 설정
- 메모리 4G 설정
- 방화벽 Open (3306, 8090)
- Install Directory : /app/atlassian/confluence
- Local Home Directory : /app/atlassian/application-data/confluence
- Shared Home Directory : /shared_home/confluence
3.Confluence Server2 설치 (192.168.0.38)
IV.JIRA Data Center 설정
1.JIRA Server 1 설정 (192.168.10.13)
1)공유폴더에 아래 폴더 복사하여 이동
- data, plugins, logos, import, export, caches
[atlassian@alm13 ~]$ cp -R /app/atlassian/application-data/jira-home/{data,plugins,logos,import,export} /data/share [atlassian@alm13 share]$ pwd /data/share [atlassian@alm13 share]$ ls data export import logos plugins
2)JIRA 홈디렉토리에 파일 생성 - cluster.properties
- 공유폴더와 node 아이디 설정
[atlassian@alm13 jira-home]$ vi cluster.properties # This ID must be unique across the cluster jira.node.id = node1 # The location of the shared home directory for all JIRA nodes jira.shared.home = /data/share
2.JIRA Server2 설정 (192.168.10.14)
1)JIRA 홈디렉토리에 파일 생성 - cluster.properties
- -공유폴더와 node 아이디 설정
[atlassian@alm14 jira-home]$ vi cluster.properties # This ID must be unique across the cluster jira.node.id = node2 # The location of the shared home directory for all JIRA nodes jira.shared.home = /data/share
3.JIRA Server1 과 JIRA Server2 서비스 실행
1)JIRA Server1 서비스 시작
[atlassian@alm13 bin]$ pwd /app/atlassian/jira/bin [atlassian@alm13 bin]$ ./start-jira.sh
2)JIRA Server1 URL 접근하여 Data Center 라이선스 입력
- 라이선스 입력 후 서비스 재시작
3)JIRA Server2 서비스 시작