2009/01/20

Changing Hostname, Domain Name and ias_admin password for Oracle Application Server

Application Server: 10.1.2.0.2
OS: Windows Server 2003 R2

Recently, I took over an Oracle application server machine which was cloned from a VM
machine. To set it up, I need to change the hostname, domain name and ias_admin
password since I have no credentials for administration.

Refer to "Oracle Application Server Admininstrator's Guide 10g Release 2"->Chapter 8
Changing Network Configurations->Changing the Hostname, Domain Name, or IP Address
for how to change hostname and domain name.

After that, application server was running and I can access to application server
control page. Since I don't have password for ias_admin, I can't log into this page.
I need to update the password using command line.

Refer to the following steps for updaing ias_admin password using command line:
1. Log in as the user who installed the Oracle Application Server instance
2. Stop the Application Server Control.
On UNIX systems, enter the following command:
ORACLE_HOME/bin/emctl stop iasconsole
On Windows systems, use the Services control panel to stop the Application Server Control
service.
3. Locate and open the following file in a text editor:
ORACLE_HOME/sysman/j2ee/config/jazn-data.xml
4. Locate the line that defines the credentials property for the ias_admin user.
The section is located in tag name->users->user->credentials
5. Replace the existing encrypted password with the new password.
Be sure to prefix the password with an exclamation point (!). For example:
!mynewpassword123
See Also:
"The ias_admin User and Restrictions on its Password" in the Oracle Application
Server 10g Installation Guide
6. Start the Application Server Control.
After the restart, the Application Server Control will use your new Administrator
(ias_admin) password, which will be stored in encrypted format within the
jazn-data.xml file.

No comments: