Hitachi

JP1 Version 12 JP1/Network Node Manager i Setup Guide


21.6.2 Setting the number of threads for Jython actions

To modify the number of threads the action server uses to run jython scripts, follow these steps:

  1. Edit the following file:

    • Windows: %NNM_PROPS%\nnmaction.properties

    • Linux: $NNM_PROPS/nnmaction.properties

  2. Look for a line that resembles the following:

    #!com.hp.ov.nms.events.action.numJythonThreads=10

    To configure NNMi to enable 20 threads for running jython scripts instead of the default value, change the line as follows:

    com.hp.ov.nms.events.action.numJythonThreads=20

    Make sure you remove the #! characters at the beginning of the line.

  3. Save your changes.

  4. Restart NNMi by running the following commands:

    ovstop
    ovstart