How to create a test instance on the production server
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Prepare
Using a new user, download anew your version of Fisheye or if you have the old tarball, unpack it into a new directory.
Create a new directory and reference this location using the
FISHEYE_INST
environment variable.
Data
Copy the following two folders and one file to the new FISHEYE_INST:
/home/crucible/instances/inst-1/var
/home/crucible/instances/inst-1/cache
/home/crucible/instances/inst-1/config.xml
Update
Edit
config.xml
Update the control port to one not used on your system:
From:
1
<config control-bind="127.0.0.1:8059
To:
1
<config control-bind="127.0.0.1:8069
Update the application port to one not used on your system:
From:
1
<http bind=":8060"/>
To:
1
<http bind=":8070"/>
If your database is external you will need to create a copy of it and reference the copy:
From:
1 2 3 4 5
<database type="hsql"><connection dialect="org.hibernate.dialect.HSQLDialect" driver="org.hsqldb.jdbcDriver" jdbcurl="jdbc:hsqldb:file:/media/applications/drohan/app_data/fisheye/var/data/crudb/crucible" password="" username="sa" maxPoolSize="20" minPoolSize="6" driverSource="bundled"/><parameters>hsqldb.log_size=10 nsql.enforce_strict_size=true bonecp.idleMaxAgeInMinutes=5 hsqldb.default_table_type=memory </parameters></database>
To:
1
<database type=...
Once the steps above have been completed you can start the new application. Make sure that you use the new user so that the folder location referenced by FISHEYE_INST is indeed the new location.
Was this helpful?