The steps below explain how to change the login name and password for the Oracle database login.
When Applications Manager is installed, a database login is created by default for logging in to the Applications Manager database account (the repository). The database login is usually named the same as the database account name you provide during the installation process.
There are three places the Oracle login is stored in Applications Manager:
- Theso_idstable in the database.
- TheMasters.propertiesfile in thedatadirectory.
- TheISAIMPORTfile in themapdirectory.
All paths are relative to the Applications Manager home directory.
Procedure
To change the Oracle password in Applications Manager:
- Stop all the Applications Manager processes.
For directions on stopping and starting the processes, see theInstallation Guide.
- Before changing the password on the Oracle side, change the name/password for your database login in Applications Manager. If the password is already changed, you will need to go into SQL*Plus and update theso_idstable. To change the database login, issue the following SQL statements. You may not need to set a connect string.
update so_ids set so_login = '<new_DB_login>' where so_login = '<old_DB_login>';
update so_ids set so_passwd = '<new_DB_password>' where so_login = '<new_DB_login>';
update so_ids set so_encrypted = 'N' where so_login = '<new_DB_login>';
- Change the password in Oracle.
- Edit the automation engine line in theMasters.propertiesfile in thedatadirectory. The automation engine line uses the format<master name>=<IP address> <login name> <port> <service name or PDB service name for Oracle 12c> <Encrypted Y/N> ENC:<encrypted user name>\=\= ENC:<encrypted password>\=\=.
- Change theYfor encrypted toN.
- Replace the encrypted user name (ENC:<encrypted user name>=/=/) and password (ENC:<encrypted password>=/=/) with an unencrypted user name and password.
- If the database login name was changed, edit theO~DBLOGIN~line in theISAIMPORT.datfile in themapdirectory. A sample is shown below:
N~NODE~<agent name>
O~DBLOGIN~<login name>
- Start the Applications Manager processes.
- From the command prompt, issue the following command:
Awexe id_recrypt