By default, trial learning mode is disabled.
You can edit the tsm.conf file and enable this feature. The lines to be edited are:
NumberOfDomains = 1 # IsTrialLearningEnabled = FALSE # IsSplitFromScratch = FALSE # NumberOfTrials = 3
To enable trial learning mode:
-
Go to the TSM_BASEDIR/smarts/bin directory and enter the following command to open the tsm.conf file:
sm_edit conf/discovery/topo-split/tsm.conf
-
Find the following lines:
NumberOfDomains = 1 # IsTrialLearningEnabled = FALSE # IsSplitFromScratch = FALSE # NumberOfTrials = 3
-
Make the following edits to the four parameters:
NumberOfDomains = <number of domains into which to split the topology> IsTrialLearningEnabled = TRUE IsSplitFromScratch = TRUE NumberOfTrials = <number of initial (full) topology splits to run>
-
Save and close the file.
The modified version of the tsm.conf file is saved to the TSM_BASEDIR/smarts/local/conf/discovery/topo-split directory.
Or, as an alternative to the preceding procedure, and assuming that the four parameters are commented-out in the tsm.conf file, use the dmctl utility to set these parameters. Go to the TSM_BASEDIR/smarts/bin directory and issue the following commands:
dmctl -s <TSM name> put TopoSplit_Manager::TopoSplit-Manager::NumberOfDomains <number of domains into which to split the topology> dmctl -s <TSM name> put TopoSplit_Manager::TopoSplit-Manager::IsTrialLearningEnabled TRUE dmctl -s <TSM name> put TopoSplit_Manager::TopoSplit-Manager::IsSplitFromScratch TRUE dmctl -s <TSM name> put TopoSplit_Manager::TopoSplit-Manager::NumberOfTrials <number of initial (full) topology splits to run>