Modifying configuration files

About this task

To edit the Tivoli® Netcool® Performance Manager components configuration files:

Procedure

  1. Log in as pvuser.

DataMart

  1. Open the database.conf file in editor mode:
    vi /opt/datamart/conf/database.conf
    
          !! DataMart databases configuration
    
    !! Syntax for Oracle :
    !! ServerName_TNSEntry_DatabaseName_user:
    !! ServerName_TNSEntry_DatabaseName_pwd:
    
    !! Oracle : PV
    *localhost.persistent.co.in_PV_pvmdba_user: PV
    *localhost.persistent.co.in_PV_pvmdba_pwd: AAAC
    
  2. Update the password entry with the encrypted new database schema user password:
    For example:
    vi /opt/datamart/conf/database.conf
    
          !! DataMart databases configuration
    
    !! Syntax for Oracle :
    !! ServerName_TNSEntry_DatabaseName_user:
    !! ServerName_TNSEntry_DatabaseName_pwd:
    
    !! Oracle : PV
    *localhost.persistent.co.in_PV_pvmdba_user: PV
    *localhost.persistent.co.in_PV_pvmdba_pwd: BFCACLDBCGDHCDAOAPGDGCGH
    

    The localhost.persistent.co.in_PV_pvmdba_pwd value is now updated from AAAC to BFCACLDBCGDHCDAOAPGDGCGH.

  3. Save and quite from the editor mode.

DataLoad

  1. Open the dataLoad.env file in editor mode:
    vi /opt/dataload/dataLoad.env
    		
    ## Database settings for configuration bootstrap.
    ORACLE_HOME=/opt/oracle/product/11.2.0-client32
    PV_DB_TNSNAME=PV
    PV_DB_USER=PV_COLL
    PV_DB_PASSWD=AAAC
    
  2. Update the password entry with the encrypted new database schema user password:
    For example:
    vi /opt/dataload/dataLoad.env
    		
    ## Database settings for configuration bootstrap.
    ORACLE_HOME=/opt/oracle/product/11.2.0-client32
    PV_DB_TNSNAME=PV
    PV_DB_USER=PV_COLL
    PV_DB_PASSWD=BFCACLDBCGDHCDAOAPGDGCGH
    

    The PV_DB_PASSWD value is now updated from AAAC to BFCACLDBCGDHCDAOAPGDGCGH.

    Note: Ensure that you update the dataLoad.env file in all the DataLoad hosts.

DataChannel

  1. Open the dataChannel.env file in editor mode:
    vi /opt/proviso/datachannel/dataChannel.env
    # For connecting to Oracle
    PV_DB_USER=PV_COLL
    export PV_DB_USER
    
    PV_DB_PASSWD=AAAC
    export PV_DB_PASSWD
    
  2. Update the password entry with the encrypted new database schema user password:
    For example:
    vi /opt/proviso/datachannel/dataChannel.env
    # For connecting to Oracle
    PV_DB_USER=PV_COLL
    export PV_DB_USER
    
    PV_DB_PASSWD=AAAC
    export PV_DB_PASSWD
    

    The PV_DB_PASSWD value is now updated from AAAC to BFCACLDBCGDHCDAOAPGDGCGH.

    Note: Ensure that you update the dataChannel.env file in all the DataChannel hosts.