Wednesday 18 January 2017

Steps to change the weblogic password in EBS R12.2

1.Stop the EBS suite application services.
   Source Run filesystem environment file.
   sh  $ADMIN_SCRIPTS_HOME/adstpall.sh
2. Start only the admin server
sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start
3. Login to the weblogic admin console with the Source weblogic password
3. Clicking the Lock and Edit in the Change Center
Click the Domain
Click Security tab à Update the NodeManager with Target environment weblogic Password.
Hit the Save button once the Nodemanager password is changed
4. Activate changes in Change center
5. Click the Security Realms under Domain Structure
6. Click Myrealm
7. Click User Groups tab and select the Weblogic in the Users list.
8.  Provide the Target environment weblogic password and save.
After this we need to edit the configuration file "boot.properties" for all managed and admin server. Update the password field with the target environment weblogic  password
Take a backup of boot.properties file of all the managed servers.
$EBS_DOMAIN_HOME/servers/AdminServer/security/boot.properties
$EBS_DOMAIN_HOME/servers/forms-c4ws_server1/security/boot.properties …It has actual password (clear text)
$EBS_DOMAIN_HOME/servers/oaea_server1/security/boot.properties
$EBS_DOMAIN_HOME/servers/forms_server1/security/boot.properties
$EBS_DOMAIN_HOME/servers/oacore_server1/security/boot.properties
$EBS_DOMAIN_HOME/servers/oafm_server1/security/boot.properties
Move the directory  data to data_OLD in all the managed server.
Example:
$EBS_DOMAIN_HOME/servers/oafm_server1/data to $EBS_DOMAIN_HOME/servers/oafm_server1/data_OLD

Edit the boot.properties in all the managed server with plain text password of target environment weblogic password. This will get encrypted after starting the managed server.
Vi boot.properties
Username=weblogic
Password=<<Target environment weblogic password>>
Note: Instead of editing boot.properties in each managed server, There is a alternate way to copy boot.properties from Admin server which has correct encrypted target weblogic password  to all the managed server.
9. Start the application services.

sh $ADMIN_SCRIPTS_HOME/adstrtal.sh 

Happy Learning!

No comments:

Post a Comment