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):
- 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.
- Use sqlplus to change the Oracle user’s password.
SQL> ALTER USER {username} IDENTIFIED BY {newpassword};
- From the LifeKeeper GUI, right-click on the Oracle Database resource hierarchy, then select Change Username / Password.
- Input Username and select Next.
- Input Password and select Next.
- Select the database user role and click Apply. Username and Password will be updated after validating.
- Select Done.
- 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):
- 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.
- Use sqlplus to change the Oracle user’s password.
SQL> ALTER USER {username} IDENTIFIED BY {newpassword};
- From the LifeKeeper GUI, right-click on the Oracle Database resource hierarchy, then select Change Username / Password.
- Input user name to use instead temporarily such as sys into Username and select Next.
- Input Password and select Next.
- Select the database user role and click Apply. Username and Password will be updated after validating.
- Select Done.
- Put the Oracle database resource “In Service” on one of the backup systems.
- 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.
- Put the database “In Service” on each node in the cluster and repeat Step 8.
- Once the passwords have been changed on all cluster nodes, put the Oracle database back “In Service” on the desired node.
- From the LifeKeeper GUI, right-click on the Oracle Database resource hierarchy, then select Change Username / Password.
- Input Username and select Next.
- Input Password and select Next.
- Select the database user role and click Apply. Username and Password will be updated after validating.
- Select Done.
- Edit the LifeKeeper configuration file on all cluster nodes and make the following change:
LK_ORA_NICE=0
Post your comment on this topic.