How to create a test instance on the production server
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:<config control-bind="127.0.0.1:8059
To:
<config control-bind="127.0.0.1:8069
Update the application port to one not used on your system:
From:<http bind=":8060"/>
To:
<http bind=":8070"/>
If your database is external you will need to create a copy of it and reference the copy:
From:<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:
<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.
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.