How to move the application to another machine
Assume that M1 is the old server and M2 is the new server. Further assume that the application is installed at C:\celoxis on M1 and we want to move it to
the same location on M2.
Before you begin
- Know your data directory location. Data directory is where the application keeps all uploaded files.Â
To know your data directory:- Login to the application on M1.
- From the main menu, click Settings>Site.
- Click Edit Settings.
- Check under the Data Directory section.
Â
- Create new database and copy data from old database (if required)
- If you are changing your database server, you will need to create and configure a new database for the application. Note down the new database's host name, database name, user name and password. This will be required later. For instructions on how to create a new database, please read : Database Setup
- Once you create this new database, copy over the database from the old server to the new server.
Apply for a license
You will require a license from us to install the software on your new server. Use the same information used to create the new database to apply for a license else the license file will be invalid. To apply for a license, please visit : http://www.celoxis.com/license.php. You will receive the license file from us in one business day.
License Issue Policy
The Celoxis license is tied to a hardware. In order to avoid abuse, our policy is to give 2 free licenses a year. This should cover hardware failures/upgrades/reorganization.
Temporary licenses are not counted towards 2 free licenses. Additional license request need to go through an approval process and will be charged.You need to send us a signed disclaimer document (attached with this page) so that we can send you the new license file.
Install and configure Java on M2
- You will need to install and configure Java on the new machine. For instructions please read Before You Begin
Copy application binaries to M2
- Copy the entire C:\celoxis directory from M1 to M2. Now you will have C:\celoxis on M2.
- Save the license.properties file that you have received in email from us for M2 on your computer.
- Copy the license.properties file to C:\celoxis\psa_x.y.z\webapps\psa\WEB-INF\conf on M2.
Copy data directory to M2
- Assuming data directory is C:\celoxis\data on M1. Copy it to C:\celoxis\data on M2.
- Ensure that C:\celoxis\data has requisite permissions.
Update new database settings on M2
- Open the file C:\celoxis\psa_x.y.z\webapps\psa\WEB-INF\conf\db.properties on M2.
- Change the user name and password properties in the file to their new values. If you are using the same database login and password, you will not need to change anything.
- Save the file.
Stop application on M1
- Stop the application on the old server. Read Stopping the Application (Tomcat server) on how to stop the application.
Start application on M2
- Start the application on the new server. Read Starting the Application (Tomcat server) on how to start the application.
To edit settings on M2
- Logon to the application on M2.
- From the main menu, click Settings > Site.
- Click Edit Settings.
- Change the URL prefix to use M2 instead of M1. E.g. then you will have to enter something like http://M2.mycompany.com:8888/
- Click Save.
- Restart the Application.
After the migration
After you finish moving the application to the new server, check the following by logging in with different user accounts, to ensure that the migration was successful.Â
- Check if the dashboard loads correctly with all the reports you had selected before the migration.
- Try to upload some documents in different projects.
- Try to download and open an previously uploaded document.
- Search for any particular document, project, task, etc.
- Run some reports