FAQs - General

 



 

Database

  1. What is the user name and password for MySQL database ?

  2. I tried to invoke the mysql server (bundled with simulator toolkit) in Windows OS , via the mysqld.exe command but wasn't successful. Was I doing something  wrong?

  3. Is it possible to run the MySQL server on a separate machine and provide the MySQL server name to the simulator running in another system? How do I setup the MySQL server on the separate machine?

  4. How do I turn off the automatic startup of MySQL server on my simulator machine?

  5. I am running MySQL in Windows as a service. How can I start MySQL bundled with the product?

  6. When I want to save any configuration, it is not possible to change the displayed Database Name. This results in storage of all files (*.MYD , *.MYI , *.frm) for several configurations in the same directory. Why?

1. What is the user name and password for MySQL database ?

 

MySQL database that is bundled along with product has root as the User Name and there is no password set, the field goes blank. The user also has the option of setting the password later.

 

Questions

 

 

2. I tried to invoke the mysql server (bundled with simulator toolkit) in Windows OS , via the mysqld.exe command but wasn't successful. Was I doing something  wrong?

Questions

 

3. Is it possible to run the MySQL server on a separate machine and provide the MySQL server name to the simulator running in another system? How do I setup the MySQL server on the separate machine?

 

Yes, it is possible to run the MySQL server on a separate machine and the MySQL server name can be provided to the simulator. MySQL version 4.0.20 is bundled along with AdventNet Simulation Toolkit . The default user name is root with no password.

 

1. To setup the MySQL server in Windows OS :

  1. Create a zip of the <SimulatorHome>/mysql directory.

  2. Extract it into the system where MySQL is to be installed. For example , C:\mysql. You'll have to use a program such as WinZip to do this.

  3. Now you're ready to start the server. For all versions, you can start the server . To do this, c:\mysql> bin\mysqld -basedir --standalone

  4. Make sure there is no other mysql running on the same machine.

2. To setup the MySQL server on a separate machine ( Linux OS)

  1. Create a zip of the <SimulatorHome>/mysql directory.

  2. Extract the zip into the system where MySQL is installed. For example,  /advent/stk5_mysql.

  3. Now you're ready to start the server. For all versions, you can start the server . To do this, $STK_HOME/mysql/bin/mysqld -u root -P 2306 --basedir=$STK_HOME/mysql

  4. Make sure there is no other mysql running on the same machine.

3. To connect to MySQL running in a separate machine:

 

To start the network and connect to the MySQL running in a separate machine, follow the steps given below.

 

The Network Designer stores the simulated data in MySQL database. The MySQL database is bundled along with the product and is part of the package.  By default, the following details will be stored in database_params.conf file in <SimulatorHome>/conf directory.

          User Name      :    root

          Password        :    No password is configured. Leave the field blank

          Server Name    :    Specify the machine name where your mysql is running

          Server Port       :    2306

          MySQL Home  :    ./mysql/bin (Specify the mysql home. In the case of Linux, the MySQL Home need not be considered.)

When the simulator is started for the first time, the database parameters is read from the database_params.conf file and updated in NDTStartUp.prop file in <SimulatorHome>/conf/settings directory. The next time when the simulator is started, the database settings are read from NDTStartUp.prop file. Do the required changes to this file and then start the Network Designer.       

 

 

Questions

 

4. How do I turn off the automatic startup of MySQL server on my simulator machine?

 

In case of Windows/Linux/Solaris, the MySQL server bundled with the product will be started automatically when the product is started and will be stopped when you exit from the product. To stop the MySQL server explicitly, you can use the StopMySQL.bat/sh file available in <SimulatorHome>/bin directory.

 

Questions

 

5. I am running MySQL in Windows as a service. How can I start MySQL bundled with the product?

 

If you have your MySQL already installed as a service, then the Simulation Toolkit will always connect to service. To connect to the MySQL bundled with the product follow the steps given below:

  1. Go to Start Menu --> Control Panel --> Administrative Tools --> Services. Stop the MySQL service.

  2. Open the my.ini file present under c:\WINNT and change the data directory to the data directory present under the <simulator home> \ <mysql>

  3. Restart the Service.  This will use the MySQL bundled with the product.

 

Questions

 

 

6. When I want to save any configuration, it is not possible to change the displayed Database Name. This results in storage of all files (*.MYD , *.MYI , *.frm) for several configurations in the same directory. Why?

 

As per our implementation we use the simulatordb for all the configuration done in the SNMP Agent Simulator and  the TL1 Agent Simulator . The device configurations added to the device tree in Network Designer, will be stored in the devicedb. To have more control over our simulated configurations, the field database is made non-editable by default.

 

Questions

 

 

Others

  1. Will Simulation Toolkit work with any management applications?

  2. Can a simulated agent configuration be copied from 1 platform to another?

  3. Can I manage one or more simulated agents with any NMS with Performance, Configuration, Fault Management?

  4. How many agents can be run simultaneously on one computer ?

  5. Can I control the Simulator via RMI ?

  6. How many NMS systems can refer  to simulator simultaneously and what is the performance (SNMP requests/sec) in this case?

  7. Is it possible to create two different agents with two different community names, but with the same IP address?

  8. How to start the simulator, if Simulation Toolkit is installed in a system with multiple NIC (Network Interface cards)?

  9. How easy it is to define 10000 agents from 10 different kinds of devices?

  10. Do you know if its possible to start multiple simulators on one box and assign each to a virtual IP? Can I use SNMP Agent Simulator for this purpose?

  11. How do I change the JAVA_HOME variable settings if I install a different JRE version ?  

Top

 

1. Will Simulation Toolkit work with any management applications?

 

Yes, Simulation Toolkit will work with any management application which supports SNMP and TL1 protocol.  

 

Questions

 

2. Can a simulated network configuration be copied from one platform to another?  

 

Yes,  you can use the Package and Install option in the Network Designer, to port the network configurations to the desired location. Refer to the topic, Porting your Network to learn more.

Questions

 

3. Can I manage one or more simulated agents with any NMS with Performance, Configuration, Fault Management ?

 

You will be able to use it to demonstrate Fault Management, Configuration and Performance Management.

 

Fault Management: The trap configuration in SNMP and the Autonomous message configuration for the TL1 can be fired to the manager depending on various criteria like request based , threshold based , etc., ) and this will assist you in using the network simulator for the Fault management of NMS.

 

Configuration : The network simulator will allow the manager application to change its mib  variables. Since this is the prerequisite of the Configuration management , The simulator can be used for configuration. You can use the simulator for the discovery, performance management , Status Polling from the manager Application.

 

Questions

 

4. How many agents can be run simultaneously on one computer ?

 

You will be able to simulate a maximum of 10000 agents in Windows, 50000+ agents in Linux and 4096 in Solaris.

Questions

 

5. Can I control the simulator via RMI ?

 

RMI (Remote Method Invocation) is implemented in the network simulator and the agent simulators, to control the simulated agent and network behavior from a remote client program.

 

The SNMP and TL1 RMI client APIs, defines the methods in the simulator, which can be accessed via RMI from the client program. The methods can be used to programmatically update values for a specific SNMP/TL1 device within the simulated network, start/stop individual SNMP/TL1 devices in the network, send SNMP v1/v2/v3 traps and TL1 autonomous messages, etc.,

 

Questions

 

6. How many NMS systems can refer to the simulator simultaneously?

 

There is no limitation on the number of NMS systems querying the simulator simultaneously.

Questions

 

 

7. Is it possible to simulate two different agents with two different community names, but with the same IP address?

 

Yes, the SNMP Proxy Agent Simulation can be used to start two different agents with two different community names but same IPaddress. Refer to the topic SNMP Proxy Agent Simulation, to learn more.

Questions

 

8. How to start the simulator, if Simulation Toolkit is installed in a system with multiple NIC (Network Interface cards)?

 
If your system has multiple interface cards installed, the following configurations must be made before starting the simulator.
 
For Windows   
  1. The order in which the Interface must be used is specified in the Network and Dial-up Connections folder . Select this folder.
  2. Go to Advanced Settings option in Advanced menu and change the order of priority.  
 
For Linux / Solaris
  1. Use the command /sbin/ifconfig to check the valid interface name configured in your system.

  2. Edit CreateVIP.sh file in <SimulatorHome>/bin/cmdline directory with this interface name. For example, if the interface name is eth0, edit the file as follows: /sbin/ifconfig eth0:$count $ip netmask 255.255.255.0 up

  3. Now, run the CreateVIP.sh file to create the virtual IP addresses manually before starting the network.

Questions

 

9. How easy it is to define 10000 agents from 10 different kinds of devices?

 

In the Network Design Tool, you have to first add your ten different kind of devices to the device tree. Then you can add the devices in bulk into the network using the Random Device Addition wizard.   

 

Questions

 

10. Do you know if its possible to start multiple simulators on one box and assign each to a virtual IP ? Can I use SNMP Agent Simulator for this purpose?

 

SNMP Agent Simulator is used to simulate only one SNMP Agent. For simulating a network (multiple SNMP agents) you can use Network Designer Tool bundled with AdventNet Simulation ToolKit.

 

Network Designer Tool is an easy to use GUI tool to simulate a network with multiple SNMP and TL1 agents. Each SNMP agent will be assigned a separate virtual IP address and port number combination.

 

You can refer to the section "Network Simulator Guide" in our Help Documentation to know more about simulating multiple SNMP agents.

 

Questions

 

11. How do I change the JAVA_HOME variable settings if I install a different JRE version ?

 

By default, the JAVA_HOME variable is set to the default jre version (jre 1.4.2) bundled with the product. To modify the JAVA_HOME variable settings, do the following :

 

If you are starting the tools from the launcher by invoking <Simulator Home>/SimulationToolkit.bat file :

If you are starting the tool from the <Simulator Home>/bin directory by invoking the .bat/sh file :

Note: The JDK version used by the product needs to be changed only if you face any installation problems with the default version.  Otherwise, it is recommended to use the default jre version bundled with the product.

 

 

Questions



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