Task 5: Configure OO database connection on application nodes

On each of the two application nodes, do the following:

  1. Log on to the application node (for example, application node 1) as root.
  2. Copy the following files from the master database node:

    # cd /opt/hp/oo/central/var/security
    # scp root@<master DB node FQDN>:/opt/hp/oo/central/var/security/encryption_repository .
    # scp root@<master DB node FQDN>:/opt/hp/oo/central/var/security/credentials.store .
  3. Run the following commands to obtain an encrypted value of the OO database password (the default password value is "oo"):

    #cd /opt/hp/oo/central/bin
    [root@<application node 1 FQDN> bin]# ./encrypt-password --encrypt --password oo
    

    An encrypted password is returned. For example:

    {ENCRYPTED}H2UfmdGFuAhvd5ysuX+PBw==
  4. Copy the encrypted password to OO:
    1. Open the OO Central database.properties file:

      #vi /opt/hp/oo/central/conf/database.properties
    2. In this file, replace the db.password value with the encrypted password value you obtained previously, and change "==" at the end of the string to "\=\=". For example:

      db.password={ENCRYPTED}H2UfmdGFuAhvd5ysuX+PBw\=\=