19.17 Modifying the database port
You might want to configure NNMi to use a different port for the database. To do so, follow these steps:
-
Edit the following file:
-
Windows: %NNM_CONF%\nnm\props\nms-local.properties
-
UNIX: $NNM_CONF/nnm/props/nms-local.properties
-
-
Search for a line that resembles the following:
#!com.hp.ov.nms.postgres.port=5432
-
Uncomment this property:
com.hp.ov.nms.postgres.port=5432
To uncomment a property, remove the characters #! from the beginning of its line.
-
Change the existing value to the new port number.
-
Save your changes.
-
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.