Hitachi

JP1 Version 13 JP1/Network Node Manager i Setup Guide


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:

  1. Change the LogOn property of the NNM Action Server service.

    (Specify a user name with administrator privileges.)

  2. 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.

  3. 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"

  4. 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:

  1. Edit the following file:

    $NNM_PROPS/nnmaction.properties

  2. 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.

  3. Save your changes.
  4. 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.

  5. 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\nnm
    setfacl -m user:<userName>:rwx <HA_MOUNT_POINT>/NNM/log/nnm/public

    # For <userName>, specify the user specified in step 2.

  6. 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"

  7. Start the action server by running the following commands:
    ovstart nnmaction