Configuring two Smarts IP domains from same install to listen for traps on different ports.
search cancel

Configuring two Smarts IP domains from same install to listen for traps on different ports.

book

Article ID: 304260

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

  • How to configuring two Smarts IP domains from same install to listen for traps on different ports.
  • How to configuring Smarts AM, PM, or IP for multiple trap listeners.
     ASL-ERROR_INVOKE-While attempting to invoke operation 'start' of object
       'SNMP_TrapManager::SNMP-Trap-Manager'
    <SYS>-EADDRINUSE-Address already in use

Environment

SMARTS - 10.1.x

Resolution

To configure two IP domains from a single install area to use different trap listening ports, follow the instructions below:

A.Create a directory called icf2 (or any name you choose) under the below directory.

<basedir>/IP/smarts/local/conf/
Example: <basedir>/IP/smarts/local/conf/icf2

B.Copy the TRAP.import file from icf directory to icf2 directory as below:

<basedir>/IP/smarts/conf/icf/TRAP.import

to

<basedir>/IP/smarts/local/conf/icf2/TRAP.import


C.Go to the below directory

<basedir>/IP/smarts/local/conf/icf2 directory and open the TRAP.import file:

D.Change the following entry 

fileName = "SM_HOME/conf/trapd/trapd.conf"

to

fileName = "SM_HOME/conf/trapd/trapd2.conf"

E.Copy as below:

<basedir>/IP/smarts/conf/trapd/trapd.conf to <basedir>/IP/smarts/conf/trapd/trapd2.conf


F. Edit as below:

<basedir>/IP/smarts/conf/trapd/trapd2.conf and change the PORT entry to an unused port number.


G.By default,The trap listener is on port 9000. Many users will choose port 9001 for the second domain.


H.Configure sm_service to start the second AM domain using the following startup option: --config=icf2

 

This will allow you to startup two IP domains listening on different ports.

Additional Information

Please follow the above steps inorder to configure two IP domains.