Task 2: Update the NNMi Configuration

  1. Back up the database connection configuration file:

    Change to the following directory:

    Windows:%NnmInstallDir%\nmsas\common\deploy

    Linux: $NnmInstallDir/nmsas/common/deploy

    Within the directory, create a directory called deploy.save.

    Copy the nnm-ds.xml file from the deploy directory to the deploy.save directory.

    Caution At startup, the ovjboss process reads all files in the deploy directory hierarchy. For this reason, save backup copies of the deployed files in a location outside of the deploy directory hierarchy, as shown in this example using the deploy.save directory.

  2. Edit the database connection configuration file:

    Change to the deploy directory.

    In any text editor, open the nnm-ds.xml file.

    Locate the connection-url entry.

    For example:

    <connection-url>jdbc:oracle:thin:@ohost:1521:nnmidb1</connection-url>

    The last three parameters in this entry are of interest. They are of the format oracle_hostname:database_port:database_instance_name

    Change one or more of the fourth, fifth, and sixth parameters in the connection-url entry.

    For example:

    To point to a different Oracle database server, change ohost to another hostname.

    To connect to the Oracle database server on a different port, change 1521 to another port number.

    To connect to a different Oracle database instance, change nnmidb1 to another database instance name.

    Note This database instance must already exist.

    Save the nnm-ds.xml file.

  3. Start the NNMi management server:

    Run the ovstart command on the NNMi management server.