Administer > Maintain NNMi > Modifying the Embedded Database Port

Modifying the Embedded Database Port

If you want to configure NNMi to use a different port for the embedded database, follow these steps:

  1. Edit the following file:

    • Windows: %NNM_CONF%\nnm\props\nms-local.properties
    • Linux: $NNM_CONF/nnm/props/nms-local.properties
  2. Look for a line the resembles the following:

    #!com.hp.ov.nms.postgres.port=5432

  3. Uncomment the property:

    com.hp.ov.nms.postgres.port=5432

    Tip To uncomment a property, remove the #! characters from the beginning of a line.

  4. Change the existing value to the new port number.
  5. Save your changes.
  6. Restart the NNMi management server.

    1. Run the ovstop command on the NNMi management server.
    2. Run the ovstart command on the NNMi management server.