19.6 Configuring NNMi to allow level 2 operators to delete nodes
By default, NNMi permits only NNMi administrators to delete nodes. You can configure NNMi so that user accounts assigned to the NNMi Operator Level 2 user group also have the ability to delete nodes.
Following is the procedure for changing NNMi to permit user accounts assigned to the NNMi Operator Level 2 user group to delete nodes:
-
Edit the following file:
-
Windows: %NNM_PROPS%\nms-ui.properties
-
UNIX: $NNM_PROPS/nms-ui.properties
-
-
Search for the text block containing the following line:
#!com.hp.nnm.ui.level2NodeDelete = true
-
Uncomment this line to read as follows:
com.hp.nnm.ui.level2NodeDelete = true
-
Save your change.
-
Do one of the following to configure NNMi to set the correct permissions for node deletion:
-
Option 1: Create a security group that has NNMi administrative privileges for the NNMi Operator Level 2 user group. Configure this security group to contain the set of nodes that you want NNMi level 2 operators to be able to delete.
-
Option 2: Do the following to add an entry to the nms-topology.properties file:
- a.
-
Edit the following file:
Windows: %NNM_PROPS%\nms-topology.properties
UNIX: $NNM_PROPS/nms-topology.properties
- b.
-
Scroll to the end of the file and add the following line:
permission.override.com.hp.nnm.DELETE_OBJECT=com.hp.nnm.ADMIN,com.hp.nnm.LEVEL2
- c.
-
Save your changes.
-
-
Restart NNMi.
ovstop ovstart
When making file changes under HA, you must make the changes on both nodes in the cluster. For an NNMi that uses an HA configuration, if the change requires you to stop and restart the NNMi management server, you must place the nodes in maintenance mode before running the ovstop and ovstart commands.
After completing steps 1 through step 6, the NNMi console changes as follows:
-
In the node view for members of the NNMi Operator Level 2 user group, the Actions menu contains a Delete menu item, and the toolbar contains a delete button (icon).
-
The Node form contains an Actions menu, and the toolbar contains a Delete Node button.