Smarts IP: Changing the default number of community strings in Smarts IP server
search cancel

Smarts IP: Changing the default number of community strings in Smarts IP server

book

Article ID: 304077

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


How to change default number of community strings (default is set to 4)


Environment

VMware Smart Assurance - SMARTS

Resolution

This can be accomplished manually or automatically.

Manual change:

This limit can be set by changing the value of MaximumCommunities in the file IP_BASEDIR/smarts/conf/discovery/discovery.conf.  The last lines are as follows:
     # The maximum number of Read-Only community strings that can be specified.
     # This value can be changed to address networks which have more that 4
     # different values for the Read-Only community string.
     MaximumCommunities = 4
Modifying this file requires a restart of the server for the change to take effect.

Automatic change:

Execute the following:
     IP_BASEDIR/smarts/bin/dmctl -s <DMname> put
     ICF_TopologyManager::ICF-ToplogyManager::MaximumCommunities <#>
For example, a domain manager named INCHARGE with a set # of community strings equal to 9:
     IP_BASEDIR/smarts/bin/dmctl -s INCHARGE put
     ICF_TopologyManager::ICF-ToplogyManager::MaximumCommunities 9
This change is immediate and does not require a restart the server.  This change will only last until the server is restarted.