19.3.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:
-
Edit the following file:
-
Windows: %NNM_PROPS%\nnmaction.properties
-
UNIX: $NNM_PROPS/nnmaction.properties
-
-
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.
-
Restart the NNMi management server:
a. Run the ovstop command on the NNMi management server.
b. Run the ovstart command on the NNMi management server.