You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

To move a DualShield server to a new machine that runs on a different OS, you basically need to install a fresh new DualShield server on the new machine, then transfer the DualShield database and some other files from the old machine to the new machine. Below is the guide in steps.

On the old machine:

1. Stop the DualShield service

2. If the DualShield uses a local mySQL database, then export the DaulShield database 

    cd C:\Program Files\Deepnet DualShield\mysql\bin\
    mysqldump -uroot -p --add-drop-database --databases dualshield > c:\dualshiled.sql

On the new Machine:

3. Install the latest DualShield server with EXACTLY the same FQDN as the old machine

4. Stop the DualShield service 

5. If the DualShield uses a local mySQL database, then copy the database file "dualshield.sql" from the old machine to the new machine, and import it into the database

    cd C:\Program Files\Deepnet DualShield\mysql\bin\
    mysql -uroot -p -e "drop database dualshield"
    mysql -uroot -p < c:\das.sql


6. Copy the following files from the old machine:

    C:\Program Files\Deepnet DualShield\certs\*.*

    C:\Program Files\Deepnet DualShield\config\dnenc.jks
    C:\Program Files\Deepnet DualShield\config\storeconf.xml

    to the new machine in the same folders and overwrite those files on the new machine.

7. Copy cacerts from the old machine:

    C:\Program Files\Deepnet DualShield\jre\lib\security\cacerts

    to the new machine in a folder, say: C:\oldcacerts

8. Execute the following commands in the Windows console on the new machine:

    cd C:\Program Files\Deepnet DualShield\jre\lib\security\
    ..\..\keytool -importkeystore -srckeystore c:\oldcacerts -srcstorepass changeit -destkeystore cacerts -dest storepass changeit -srcalias dualultimateca -noprompt


 9. Start the DualShield service on the new machine

 10. Start the DualShield service on the old machine

 11. Log onto the DualShield Console on the old machine, remove the license key.

 12. Log onto the DualShield Console on the new machine, install the license key.



 

  • No labels