Migration of JCM Server


To migrate encrypted client computers from one JCM Server to another, you do NOT need to decrypt the computers and reinstall the client software.


Scenario 1: Migration of JCM Server from one computer to another, with different IP address.

State: there is a JCM Server installed on Server1 computer, that uses MySQL1 database stored on the same computer. You need to move it to Server2, with MySQL2 installed, and all the client computers managed by the server should be re-directed to be managed by Server2.

  1. Set up a new JCM Server on Server2 computer. After installation is completed, do not start JCM server:




  2. Export MySQL database from Server1 computer to a file:
  3. Import MySQL database from the file to Server2 computer:
  4. Update jcm_company database on Server2:
  5. Start JCM Server
  6. Log in to JCM Console and click Add computer to generate a new JCM Agent Setup file. Run the file on all client computers.

Scenario 2: Restore JCM Server from backup, with the same IP address.

State: there was a JCM Server installed on Server1 computer. Now the computer is not available anymore, but there is a full backup created previously according to the instruction. The backup contains dumpfile of MySQL database and certificate files.

  1. Set up a new JCM Server. After installation is completed, do not start JCM service:




  2. Restore MySQL database from backup (saved as 'dumpfilename.sql'):
  3. Copy the following items from the backup location to JCM Server program folder (replace the existing files):
  4. Start JCM Server
  5. Log in to JCM Console and click Add computer to generate a new JCM Agent Setup file. Run the file on all client computers.

Scenario 3: Change JCM server's IP addesss

State: there is a JCM Server and you need to change the IP address of the computer to NEW_IP_ADDRESS.

  1. Stop JCM Server
  2. Open configuration file (application.properties), change the IP address for JCM Server and MySQL and save the file:
  3. Update jcm_company database in MySQL:
  4. Delete the following items: and run new certificate generation procedure:
  5. Start JCM Server
  6. Log in to JCM Console and click Add computer to generate a new JCM Agent Setup file. Run the file on all client computers.



How to re-generate digital certificate

  1. Stop JCM server.
  2. Navigate to the JCM program folder and copy the files cacert.jks, key.jks and the subfolder 'cert' to other location (just in case).
  3. Open Command Prompt 'as administrator', navigate to the program folder.
  4. Run 'cert_reissue.bat' file (it is located in program folder) with the parameters:
    >cert_reissue.bat JAVA_INSTALL_PATH IP_ADDRESS
    where JAVA_INSTALL_PATH is the path where Java is installed on this computer, for example:
    C:\Program Files(x86)\Java\jre1.8.0_171\bin\
  5. Start JCM server and try to access the JCM Console.