Enabling the TSM hook script

By default, the TSM hook script is disabled.
You can edit the tsm.conf file and enable this feature. The lines to be edited are:
NumberOfDomains = 1 IsTSMHookEnabled = FALSE # IsTrialLearningEnabled = FALSE
To enable the TSM hook script:
  1. 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
  2. Find the following lines:
    NumberOfDomains = 1 IsTSMHookEnabled = FALSE # IsTrialLearningEnabled = FALSE
  3. Make the following edits to the three parameters:
    NumberOfDomains = <
    number of domains into which to split the topology
    > IsTSMHookEnabled = TRUE IsTrialLearningEnabled = FALSE
  4. 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 three 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::IsTSMHookEnabled TRUE
    dmctl -s
    <TSM name>
    put TopoSplit_Manager::TopoSplit-Manager::IsTrialLearningEnabled FALSE