Background
The original confluence, JIRA, Fisheye were all deployed on a single server (192.168.200.203), causing the machine to be too jammed, and the company allocated two virtual machines to separate the applications (192.168.200.241, 192.168.200.242), according to the following distribution:
fisheye:192.168.200.241, considering Fisheye is a code review tool, developers have 18 people at the same time, and access is very high frequency, so separate to fisheye on a machine
Confluence, jira:192.168.200.242: These two are placed on a machine, the number of visitors is not particularly high, the frequency of access is not very
" Start "
JIRA:
Directly from the old system copies come:
Entire Tomcat copy over:
Scp-r oecs-g2/apache-tomcat-6.0.35-jira/sysadmin@192.168.200.242:/usr/local/oecs-g2/apache-tomcat-6.0.35-jira/
The entire jirahome copy comes:
Scp-r Oecs-g2/jirahome/sysadmin@192.168.200.242:/usr/local/oecs-g2/jira/jirahome
Configure the Jirahome path under the Web directory, Webapps/jira the following configuration file:
Configuration file: Web-inf/classes/jira-application.properties
Change the content, red content, change to copy come over Jirahome
# don't modify this file unless instructed. It is the location of the JIRA home directory, only and are typically written to by the installer.
Jira.home=/usr/local/oecs-g2/jira/jirahome
To configure the Jira database:
Configuration file:/usr/local/oecs-g2/jira/jirahome/dbconfig.xml
Modify the content, if used to use localhost, need to change to the corresponding IP, if the database changed, you need to configure the new database (the following red connection) and username password:
<?xml version= "1.0" encoding= "UTF-8"?>
<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>mysql</database-type>
<jdbc-datasource>
<url>jdbc:mysql://192.168.200.203:3306/jira?useunicode=true&characterencoding=utf8& Sessionvariables=storage_engine=innodb</url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<username>Jira</username>
<password>Jira</password>
<pool-min-size>20</pool-min-size>
<pool-max-size>20</pool-max-size>
<pool-max-wait>30000</pool-max-wait>
<validation-query>select 1</validation-query>
<min-evictable-idle-time-millis>60000</min-evictable-idle-time-millis>
<time-between-eviction-runs-millis>300000</time-between-eviction-runs-millis>
<pool-max-idle>20</pool-max-idle>
<pool-remove-abandoned>true</pool-remove-abandoned>
<pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
<pool-test-while-idle>true</pool-test-while-idle>
<validation-query-timeout>3</validation-query-timeout>
</jdbc-datasource>
</jira-database-config>
Stop the old Jira, and then start a new Tomcat server, successful, so that Jira migrate successfully.