Migrating the Simulated SNMP Agent

 

The SnmpMigrator.bat/sh is used to migrate the SNMP Agent configuration from version 5 to the latest 6  version.

 

How to Migrate

 

1. Run the SnmpMigrator.bat/sh file in <Simulator_Home>/bin/migration directory from command line with the following options :

 

Option

Description

 -old  <old SNMP configuration file>

The old SNMP configuration file name with absolute path.

-new <new SNMP configuration folder name >

The new SNMP configuration folder name 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 configuration file will be migrated to the latest version 6 format in the specified folder with the specified path. You can use this configuration file in Simulation Toolkit 6 version.

 

Example

 

To migrate the configuration created with the same MySQL server settings or different MySQL server settings

 

In Windows :

 

SnmpMigrator.bat  -old  c:\simulator5\snmpagents\sample\sample1_main.xml   -new c:\simulator6\snmagents\sample

 

In Linux :

 

SnmpMigrator.sh  -old /simulator5/snmpagents/sample/sample1_main.xml -new /simulator6/snmpagents/sample

 

 

Note:

1. The old SNMP configuration file name must end with _main.xml, for example sample1_main.xml

2. In the -new option, specify the folder name which must contain the new SNMP configuration.

3. The Absolute path of the configuration file directory must be provided.

 

 



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.