상태

OSLinux
제품JIRA Software Data Center
버전7.x.x


이 문서는 JIRA Software Data Center 제품의 Linux 설치 가이드를 공유하기 위해 작성되었다. 


목차


테스트 환경


Name

Version

Etc

Atlassian

JIRA Software

(JIRA Data Center)

7.7.0


Database

Mysql

5.7.32

Connector/J 5.1.39

JAVA

Oracle JDK

1.8.0_161


OS

CentOS

7





I.시스템 구성도

II.사전 준비사항

III.JIRA Software 설정

※ JIRA Software 설치 후 엔진폴더와 home 폴더를 서버 2번으로 복사 후 Data Center 설정

1.JIRA Software 설치 (192.168.10.13)

1)방화벽 설정

[root@alm13 ~]# firewall-cmd --permanent --zone=public --add-port=8080/tcp
[root@alm13 ~]# firewall-cmd --permanent --zone=public --add-port=3306/tcp
[root@alm13 ~]# firewall-cmd reload

2)JIRA Software 백업

[atlassian@alm13 bin]$ ./stop-jira.sh
[atlassian@alm13 atlassian]$ pwd
/app/atlassian
[atlassian@alm13 atlassian]$ tar cvf jira.tar jira
[atlassian@alm13 application-data]$ pwd
/app/atlassian/application-data
[atlassian@alm13 application-data]$ tar cvf jira-home.tar jira-home

3.JIRA Software 설치 (192.168.10.14)

1)엔진폴더 압축해제

[atlassian@alm14 atlassian]$ pwd
/app/atlassian
[atlassian@alm14 atlassian]$ tar xvf jira.tar

2)home폴더 압축해제

[atlassian@alm14 application-data]$ pwd
/app/atlassian/application-data
[atlassian@alm14 application-data]$ tar xvf jira-home.tar

3)JIRA 서비스 실행하여 정상적으로 접속하는지 확인

IV.JIRA Data Center 설정

1.JIRA Server 1 설정 (192.168.10.13)

1)공유폴더에 아래 폴더 복사하여 이동

[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

[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

[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 서비스 시작