Install Multiple Robots on a Single Host

Some situations are best addressed by installing multiple robots on a single host. For load balancing, you can install an additional robot on a single host to run a specific probe: for example, the discovery_server probe. For performance reasons, you can install the Unified Management Portal (UMP) on a child robot of the primary hub when monitoring small networks. For load reasons, you can use multiple robots on a server to run more than one instance of a single probe: for example, if your SNMP devices are only reachable from a specific server and you need to run more than one snmpcollector probe, you can install multiple robots on the same server for the same probe.
uim902-9-0-2
Some situations are best addressed by installing multiple robots on a single host. For load balancing, you can install an additional robot on a single host to run a specific probe: for example, the discovery_server probe. For performance reasons, you can install the Unified Management Portal (UMP) on a child robot of the primary hub when monitoring small networks. For load reasons, you can use multiple robots on a server to run more than one instance of a single probe: for example, if your SNMP devices are only reachable from a specific server and you need to run more than one snmpcollector probe, you can install multiple robots on the same server for the same probe.
You can use the following information to install multiple robots on one server.
 
 
Install Multiple Robots on a Windows Host
  1. Install the first robot on the Windows host using the 
    Normal
     install method described in Install a Windows Robot.
  2. Stop the Windows service 
    NimbusWatcherService 
    in Windows Services, or from a command prompt with
     net stop NimbusWatcherService 
     
  3. Open a command prompt window and change directories to the robot installation bin directory. Default, 
    C:\Program Files (x86)\Nimsoft\bin
    . Use the nimbus command to remove the NimbusWatcherService from Windows services. For example,
    cd c:\Program Files (x86)\Nimsoft\bin
    nimbus.exe -servicename "NimbusWatcherService" -remove
  4. Locate the 
    niscache
     directory under the robot installation directory, and delete all the files in the 
    niscache
     directory.
  5. Locate the 
    robot
     directory under the robot installation directory. Copy the file 
    controller.cfg
     to the 
    robot\changes
     directory.
  6. Edit the file 
    robot\changes\controller.cfg
     you copied to the 
    changes
     directory in Step 5, and delete all the lines beginning with
     magic_key
    . Save the file back to the 
    changes
     directory.
  7. Copy the robot installation directory and all subdirectories to a new location. For example, 
    C:\Program Files (x86)\Nimsoft2
     
  8. In the new location, open the file 
    robot\robot.cfg
     with a text editor.
  9. Assign the robot a unique name and a unique port number for this host.
    By default, robots are configured to use
     controller_port
     48000. The robot 
    spooler_port
     and 
    first_probe_port
     are relative to the robot 
    controller_port
    .
    One robot on the server can use the default ports, but extra robots require unique ports.
    For example,
    robotname = nimsoft2
    controller_port = 50000
    spooler_port = 50001
    first_probe_port = 50005
  10. Create a
    NimbusWatcherService
    for the new robot. This service starts when Windows is started. Each watcher service requires a unique name.
    1. Go to the 
      bin
       directory of the new robot.
    2. Execute the 
      nimbus
       command from the 
      bin
       directory of the new robot to install a unique watcher service for this robot.
      nimbus.exe -servicename "NimbusWatcherService2" -install
  11. To create more robots on the host, repeat Steps 4 - 10. Provide a unique robot name, a unique watcher service name, and unique port numbers for each robot. For example, increment the next robot to use 
    controller_port
     51000, and increment the 
    spooler_port
     and 
    first_probe_port
     relative to 51000.
  12. When Windows is restarted, the new robot watcher services start. You can also start and stop the services manually in Windows Services.
Install Multiple Robots on a Linux Host
  1. Install the first robot on the Linux system using the procedure described in Install a Unix Robot.
  2. Stop the robot from a command prompt with the command 
    /opt/nimsoft/bin/niminit stop.
     
  3. Locate the 
    niscache
     directory under the robot installation directory, and delete all the files in the 
    niscache
     directory.
  4. Locate the 
    robot
     directory under the robot installation directory. Copy the file 
    controller.cfg
     to the 
    robot\changes
     directory.
  5. Edit the file robot\changes\controller.cfg you copied to the changes directory in Step 4, and delete all the lines beginning with 
    magic_key
    . Save the file back to the 
    changes
     directory.
  6. Copy the robot installation directory and all subdirectories to a new location. For example,
     /opt/nimsoft2
     
    cp -dpr /opt/nimsoft /opt/nimsoft2
  7. In the new location, open the file 
    robot/robot.cfg
     with a text editor.
  8. Assign the robot a unique name and a unique port number number for this host.
    By default, robots are configured to use
     controller_port
     48000. The robot 
    spooler_port
     and 
    first_probe_port
     are relative to the robot 
    controller_port
    .
    One robot on the server can use the default ports, but extra robots require unique ports.
    For example,
    robotname = nimsoft2
    controller_port = 50000
    spooler_port = 50001
    first_probe_port = 50005
  9. Change to the 
    /etc/init.d
     directory
    cd /etc/init.d
     
  10. Copy the 
    nimbus
     file to 
    nimbus2
    cp nimbus nimbus2
     
  11. Open the file 
    nimbus2
     with a text editor
    Replace all occurrences of
     /opt/nimsoft
     with
     /opt/nimsoft2
    Change the line 
    touch /var/lock/subsys/nimbus
     to say 
    touch /var/lock/subsys/nimbus2
    Save the file.
  12. To create more robots on the host, repeat Steps 6 - 11. Provide a unique robot name, a unique service name, and unique port numbers for each robot. For example, increment the next robot to use 
    controller_port
     51000, and increment the 
    spooler_port
     and 
    first_probe_port
     relative to 51000.
  13. When Linux is restarted, the new robot processes start. You can also start and stop the services manually. For example,
     /opt/nimsoft/bin/niminit start | stop