zoukankan      html  css  js  c++  java
  • Jira 迁移工作

    JIRA:

    1.直接同步应用服务:

    rsync -aSvHz --progress --delete atlassian root@192.168.1.243:/opt/atlassian

    2. 同步jira.home目录:

    rsync -aSvHz --progress --delete atlassian root@192.168.1.243:/opt/atlassian

    配置web目录下jira.home路径:

    配置文件:WEB-INF/classes/jira-application.properties

    # Do not modify this file unless instructed. It is here to store the location of the JIRA home directory only and is typically written to by the installer.
    jira.home=/var/atlassian/application-data/jira


    3. 配置jira的数据库,:
    配置文件:/var/atlassian/application-data/jira/dbconfig.xml
    修改内容,如果以前是使用localhost,需要改成对应的IP,如果换了数据库,则需要配置成新的数据库(以下红色连接)及用户名密码:

    <jira-database-config>
    <name>defaultDS</name>
    <delegator-name>default</delegator-name>
    <database-type>mysql</database-type>
    <jdbc-datasource>
    <url>jdbc:mysql://localhost:3306/jira?useUnicode=true&amp;characterEncoding=UTF8&amp;sessionVariables=storage_engine=InnoDB</url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <username>root</username>
    <password>root1234</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>
  • 相关阅读:
    Xsheel远程链接ECS,Xftp上传文件到ECS
    javaEE 转发 和 重定向
    android 快速开发框架
    java/Android String.split 字符串分割
    Android 选择本地图片的demo
    docker swarm 集群进入某节点容器失败的原因及解决方法
    nginx中有关 root 和 alias的主要区别
    docker研究-2
    docker研究-1
    mysql数据库表操作-表的主键索引和普通索引
  • 原文地址:https://www.cnblogs.com/zihanxing/p/7299886.html
Copyright © 2011-2022 走看看