21.6.3 Setting the action server name parameter
To modify the user name that runs the action server on a Windows NNMi management server, complete the following steps:
-
Change the LogOn property of the NNM Action Server service.
(Specify a user name with administrator privileges.)
-
Stop the action server by running the following commands:
ovstop nnmaction
- Important
If you use a cluster system, place the nodes in maintenance mode before running the ovstop and then release it after performing step 4.
-
Delete all files that match the conditions under the target directory.
Target Directory:
- Single System : %NnmDataDir%log\nnm
- Cluster System : <HA_MOUNT_POINT>\NNM\log\nnm
The following files under the above target directory
- Files with names beginning with "nnmaction"
- Files with names beginning with "incidentActions"
-
Start the action server by running the following commands:
ovstart nnmaction
To modify the user name that runs the action server from an NNMi management server running on Linux operating system, complete the following steps:
- Edit the following file:
$NNM_PROPS/nnmaction.properties
- Look for a line that resembles the
following:
#!com.hp.ov.nms.events.action.userName=bin
To configure NNMi to have "system" user run the action server instead of the default value, change the line as follows:com.hp.ov.nms.events.action.userName=system
Make sure you remove the #! characters at the beginning of the line.
- Save your changes.
- Stop the action server by running the following
commands:
ovstop nnmaction
- Important
If you use a cluster system, place the nodes in maintenance mode before running the ovstop and then release it after performing step 7.
- Execute the following command to add permissions to the incident action log
directory:- Single System
setfacl -m user:<userName>:rwx /var/opt/OV/log/nnm/public
- Cluster System :<HA_MOUNT_POINT>\NNM\log\nnmsetfacl -m user:<userName>:rwx <HA_MOUNT_POINT>/NNM/log/nnm/public
# For <userName>, specify the user specified in step 2.
-
Delete all files that match the conditions under the target directory.
Target Directory:
- Single System : /var/opt/OV/log/nnm/public
- Cluster System : <HA_MOUNT_POINT>/NNM/log/nnm/public/
The following files under the above target directory
- Files with names beginning with "nnmaction"
- Files with names beginning with "incidentActions"
- Start the action server by running the following commands:
ovstart nnmaction