How to migrate Confluence,jira and fisheye

Source: Internet
Author: User
Tags config min tomcat tomcat server

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&amp;characterencoding=utf8&amp; 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.