After a hierarchy has been created, change the Username and Password using one of the following procedures.

If $ORACLE_HOME is on shared (or replicated) storage (common in active-passive configurations):


  1. On the system where the Oracle database resource is operational, edit the LifeKeeper configuration file /etc/default/LifeKeeper and add the following line to the file:

    LK_ORA_NICE=1

    Do exactly the same on each system in the cluster that has the Oracle resource defined.

  2. Use sqlplus to change the Oracle user’s password.

    SQL> ALTER USER {username} IDENTIFIED BY {newpassword};

  3. From the LifeKeeper GUI, right-click on the Oracle Database resource hierarchy, then select Change Username / Password.

  4. Input Username and select Next.

  5. Input Password and select Next.

  6. Select the database user role and click Apply. Username and Password will be updated after validating.

  7. Select Done.

  8. Edit the LifeKeeper configuration file on all cluster nodes and make the following change:

    LK_ORA_NICE=0


If $ORACLE_HOME is on local storage and each node in the cluster has its own copy of $ORACLE_HOME (common in active-active configurations):

  1. On the system where the Oracle database resource is operational, edit the LifeKeeper configuration file /etc/default/LifeKeeper and add the following line to the file:

    LK_ORA_NICE=1

    Do exactly the same on each system in the cluster that has the Oracle resource defined.

  2. Use sqlplus to change the Oracle user’s password.

    SQL> ALTER USER {username} IDENTIFIED BY {newpassword};

  3. From the LifeKeeper GUI, right-click on the Oracle Database resource hierarchy, then select Change Username / Password.

  4. Input user name to use instead temporarily such as sys into Username and select Next.

  5. Input Password and select Next.

  6. Select the database user role and click Apply. Username and Password will be updated after validating.

  7. Select Done.

  8. Put the Oracle database resource “In Service” on one of the backup systems.

  9. Once the database is running on the backup system, use sqlplus to change the Oracle account password.

    SQL> ALTER USER {username} IDENTIFIED BY {newpassword};

    When making this password change, use the new password that was set in Step 2. This process resets the security tokens in $ORACLE_HOME.

  10. Put the database “In Service” on each node in the cluster and repeat Step 8.

  11. Once the passwords have been changed on all cluster nodes, put the Oracle database back “In Service” on the desired node.

  12. From the LifeKeeper GUI, right-click on the Oracle Database resource hierarchy, then select Change Username / Password.

  13. Input Username and select Next.

  14. Input Password and select Next.

  15. Select the database user role and click Apply. Username and Password will be updated after validating.

  16. Select Done.

  17. Edit the LifeKeeper configuration file on all cluster nodes and make the following change:

    LK_ORA_NICE=0

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment