|
The NetworkMigrator.bat/sh is used to migrate the network configuration from version 5 to the latest version 6.
How to Migrate
1. Run the NetworkMigrator.bat/sh file in <Simulator_Home>/bin/migration directory from command line with the following options:
|
Option |
Description |
|---|---|
|
-old <old network file name> |
The old network file name with absolute path. |
|
-new <new network name> |
The name of the new network with absolute path. |
2. The database parameters to be specified for old and new MySQL connections are User name, Password, Server name, Port and Server path. These details must be provided in migrationdb_params.conf file in <Simulator_Home>/conf directory of the version 5 and version 6 product respectively.
3. Now, the network will be migrated to the latest format in the specified folder with the specified path. You can use this network in Simulation Toolkit 6 version.
Example
To migrate the configuration created in Database/XML mode with the same MySQL server settings or different MySQL server settings
In Windows :
NetworkMigrator.bat -old c:\temp\network1.net -new c:\simulator6\networks\network1
In Linux/Solaris :
NetworkMigrator.sh -old /home/network1.net -new /home/network1
|
|
Note: 1. The old network file name must end with .net , for example Demo.net 2. Specify the network name in the -new option. 2. The Absolute path of the network file directory must be provided. |
|