Search This Blog

Thursday, February 18, 2021

Steps to change the Oracle Web Logic Server Administration User Password in 12.2.x

 
Steps - 

1. Please check whether the "boot.properties" file exists under $EBS_DOMAIN_HOME/servers/<server name>/data/nodemanager directory.  If yes, take a backup of the file, manually remove it.
Verified the all the managed servers under server directory and found one managed server having boot.properties files under “<server_name>/data/nodemanager”. So moved the file as backup.
[applmgr@testapp1 config]$ cd /HW/TST/app/fs2/FMW_Home/user_projects/domains/EBS_domain_UAT/servers/
[applmgr@testapp1 servers]$ ls
AdminServer     domain_bak          forms-c4ws_server2  forms_server2   oacore_server3  oafm_server1 AdminServerTag  forms-c4ws_server1  forms_server1       oacore_server1  oacore_server4  oafm_server2
[applmgr@testapp1 nodemanager]$ pwd
/HW/TST/app/fs2/FMW_Home/user_projects/domains/EBS_domain_UAT/servers/oacore_server3/data/nodemanager
[applmgr@testapp1 nodemanager]$ ls –ltr boot.properties
-rwxrwxrwx 1 applmgr dba      174 Dec  3 18:58 boot.properties
[applmgr@testapp1 nodemanager]$ mv boot.properties boot.properties_old
[applmgr@testapp1 nodemanager]$ ls –ltr boot.properties*
-rwxrwxrwx 1 applmgr dba      174 Dec  3 18:58 boot.properties_old

2. Shut down all application tier services except the Admin Server.

Note: The instructions that follow should be performed on the run file system. The password change will be automatically propagated to the patch file system during the next adop prepare phase or fs_clone operation.
On the primary node, run the command:
 $ <ADMIN_SCRIPTS_HOME>/adstpall.sh -skipNM -skipAdmin
On all secondary nodes, run the command:
 $ <ADMIN_SCRIPTS_HOME>/adstpall.sh 
Node 1:
[applmgr@testapp1 scripts]$ ./adstpall.sh -skipNM –skipAdmin
You are running adstpall.sh version 120.22.12020000.7
Enter the APPS username: apps
Enter the APPS password:
Enter the WebLogic Server password:
The logfile for this session is located at /HW/TST/inst/fs2/inst/apps/UAT_testapp1/logs/appl/admin/log/adstpall.log
Skipping Admin Server shutdown as option -skipAdmin is passed
Skipping Node Manager shutdown as option -skipNM is passed
……..
All enabled services on this node are stopped.
adstpall.sh:Exiting with status 0
adstpall.sh: check the logfile /HW/TST/inst/fs2/inst/apps/UAT_testapp1/logs/appl/admin/log/adstpall.log for more information 
Note: Node manager & Admin server should be up and reaming services should be down.
Node 2:
[applmgr@app1 scripts]$ ./adstpall.sh apps/XXXXX
You are running adstpall.sh version 120.22.12020000.7
Enter the WebLogic Server password:
The logfile for this session is located at /HW/TST/inst/fs2/inst/apps/UAT_app1/logs/appl/admin/log/adstpall.log

****************************************************
All enabled services on this node are stopped.
adstpall.sh:Exiting with status 0
adstpall.sh: check the logfile /HW/TST/inst/fs2/inst/apps/UAT_app1/logs/appl/admin/log/adstpall.log for more information ...
Note: All the services should be down.
3. Change the Oracle WebLogic Server Administration User password by performing the following steps on the run file system of the primary node.
       Source the environment on the run file system if not sourced previously and run the below command.
$ perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -action=updateAdminPassword
[applmgr@testapp1 ~]$ perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -action=updateAdminPassword
Program: txkUpdateEBSDomain.pl started at Wed Feb 15 22:24:41 2017
AdminServer will be re started after changing WebLogic Admin Password
All Mid Tier services should be SHUTDOWN before changing WebLogic Admin Password
Confirm if all Mid Tier services are in SHUTDOWN state. Enter "Yes" to proceed or anything else to exit: Yes
Enter the full path of Applications Context File [DEFAULT - /HW/TST/inst/fs2/inst/apps/UAT_testapp1/appl/admin/UAT_testapp1.xml]: /HW/TST/inst/fs2/inst/apps/UAT_testapp1/appl/admin/UAT_testapp1.xml
Enter the WLS Admin Password: current weblogic password
Enter the new WLS Admin Password: new password
Enter the APPS user password:
……..
adadminsrvctl.sh: check the logfile /HW/TST/inst/fs2/inst/apps/UAT_testapp1/logs/appl/admin/log/adadminsrvctl.txt for more information ...
*************** IMPORTANT ****************
WebLogic Admin Password is changed.
Restart all application tier services using control scripts.
********************************************
Program: txkUpdateEBSDomain.pl completed at Wed Feb 15 22:39:35 2017
Note: Please check the weblogic console login using new password.
 
4. Start all services on all nodes, using the command
Node 1:
[applmgr@testapp1 scripts]$ ./adstrtal.sh apps/xxxxx
You are running adstrtal.sh version 120.24.12020000.11
Enter the WebLogic Server password:
The logfile for this session is located at /HW/TST/inst/fs2/inst/apps/UAT_testapp1/logs/appl/admin/log/adstrtal.log
Node 2:
[applmgr@app1 scripts]$ ./adstrtal.sh apps/xxxx
You are running adstrtal.sh version 120.24.12020000.11
Enter the WebLogic Server password:
The logfile for this session is located at /HW/TST/inst/fs2/inst/apps/UAT_app1/logs/appl/admin/log/adstrtal.log

Issue after password change: We are unable to open the forms
 
Solution:  Doc id 2131642.1 regenerated the form files. Then issues got resolved.

[applmgr@app1 ~]$ adadmin
1. Generate Applications Files menu
Enter your choice [5] : 1
2. Generate form files
Enter your choice [5] : 2
        Enter the number of workers [3] : 6 
       Do you want to generate Oracle Forms objects using this character set [Yes] ?
       Do you want to regenerate Oracle Forms PL/SQL library files [Yes] ?
       Do you want to regenerate Oracle Forms menu files [Yes] ?
       Do you want to regenerate Oracle Forms executable files [Yes] ?
       Enter list of products ('all' for all products) [all] :
       Generate specific forms objects for each selected product [No] ?
       Enter list of languages ('all' for all of the above) [all] :
You selected the following languages: US
       Is this the correct set of languages [Yes] ?
       
References - 
http://docs.oracle.com/cd/E26401_01/doc.122/e22953/T174296T589913.htm#wls_passwd_su
Doc ID 2178617.1: Running txkUpdateEBSDomain.pl -action=updateAdminPassword Command Completes Successfully, But New Weblogic Password Is Not Recognized
Pre-req: txkUpdateEBSDomain.pl command is available only if TXK 7 is applied.


No comments:

Post a Comment

Transportable tablespace refresh

  1.check tablespace for the user which need to refresh -------------------------------------------------------------------  SQL> select ...