The migration of deepnet server (v3.x) is very simple.
- stop Deepnet Authentication Server(das) service
- stop MySQL(dasmysql) service(if applicable)
- backup whole deepnet folder
- copy the backup to the new server
- start the services on existing server
- save the following code to a batch file(migration.bat) on the new machine
It can be done by typing "net stop das" in Command Prompt
Do it with "net stop dasmysql"
By default, it is called "Deepnet Authentication Server" in the folder "C:\Program Files"
For simplicity, you should copy the backup to "C:\Program Files" on the new machine, just keep the path same.
If you still need the deepnet service running on the existing machine for a while, you can start them by the reverse order, which are
net start dasmysql
net start das
"%cd%\mysql\bin\mysqld.exe" --install DASMYSQL --defaults-file="%cd%\mysql\das.ini"
net start dasmysql
"%cd%\Tomcat\bin\tomcat5.exe" //IS//DAS --Startup=auto --StartMode jvm --StopMode jvm --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop --Install "%cd%\Tomcat\bin\tomcat5.exe" --LogPath "%cd%\Tomcat\logs" --Classpath "%cd%\Tomcat\bin\bootstrap.jar";"%cd%\jython\jython.jar" --Jvm "%cd%\jre\bin\server\jvm.dll" --DisplayName "DAS" --Description "DAS SERVICE" --StartPath "%cd%\Tomcat" --StopPath "%cd%\Tomcat" --JvmOptions "-Dcatalina.home=%cd%\Tomcat;-Dcatalina.base=%cd%\Tomcat;-Djava.endorsed.dirs=%cd%\Tomcat\common\endorsed;-Djava.io.tmpdir=%cd%\Tomcat\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%cd%\Tomcat\conf\logging.properties;-Dpython.home=%cd%\jython"
net start das
You must place the batch file in the deepnet folder, which is "C:\Program Files\Deepnet Authentication Server"
On the new machine, open a Command Prompt, go to deepnet folder, run migration.bat
Still on the new machine, launch a browser, access http://localhost:8080, assume you are using the default port of deepnet management console. It will ask you to input new IP address of the new machine. Don't forget to click Submit button to finish.
Mind you, it is against Deepnet license agreement if you run the same license on two different machine simultaneously(unless it is a load-balance/failover infrastructure), so please fully shutdwon the deepnet server on the old machine once the migration is completed.