Monday, July 22, 2019

How to deregister and register SSO with Oracle EBS application




Deregister Oracle E-Business Suite from Oracle Access Manager

To deregister your Oracle E-Business Suite instance from Oracle Access Manager:


Stop all services on the Apps Tier 


txkrun.pl -script=SetOAMReg -deregisteroam=yes -ebsProfileLevel=Site

*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS

*** Log File = /u01/ERPCLONE/fs1/inst/apps/ERPCLONE_server02/logs/appl/rgf/TXK/txkSetOAMReg.log
Your previous session did not run to completion.
Do you wish to continue with your previous session(y|n)?
y
Proceeding with previous session...

Enter OAM Console URL (for ex: http://myoam.us.oracle.com:7001): http://server02:7002
Enter OAM console user name (for ex: weblogic): weblogic
Enter OAM console password: xyz
Enter APPS password: abc
oamHost                 = http://server02:7002
oamApplicationDomain    = ERPCLONE.co.uk_443
oamHostIdentifier       = ERPCLONE.co.uk_443
contextFile             = /u01/ERPCLONE/fs1/inst/apps/ERPCLONE_server02/appl/admin/ERPCLONE_server02.xml
webGateInternal         = Yes
ebsProfileLevel         = Site
webGateUrl              = https://erpclone.co.uk:443
contextRoot             = accessgate
######################################################################
Do you wish to continue (y|n)?
y

#### It will also run AUTOCONFIG #####
######################################################################



$ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start

http://server02:7027/console/

Click Lock & Edit
Go to Services à Data Sources à OAEA_DATASOURCE
Select and Press Delete

Go to Deployments à Select “Accessgate” àClick Stop
Click “Deleted” and Delete the deployments

Go to Environments à Servers à Select oaea_server1
Stop and Delete the managed server



Remove the Oracle Internet Directory Configuration from the Cloned Oracle E-Business Suite Instance


$FND_TOP/bin/txkrun.pl -script=SetSSOReg -removereferences=Yes

You are removing all SSO-LDAP related preferences.

Enter Oracle E-Business apps database user password? abc

*** Log File = /u01/ERPCLONE/fs1/inst/apps/ERPCLONE_server02/logs/appl/rgf/TXK/txkSetSSORe.xml

Beginning input parameter validation for Removing Preferences.
Input parameter validation for Removing Preferences completed.

BEGIN REMOVING PREFERENCES:
Oracle Home Instance preferences removed successfully
Updated APPS_SSO profile with value SSWA successfully.
SSO Preferences Removed successfully.
Removing LDAP Directory References Started.
Removing LDAP Directory References Completed Successfully.
Custom DIT Preferences Removed Successfully.
REMOVING PREFERENCES COMPLETED.

End of /u01/ERPCLONE/fs1/EBSapps/appl/fnd/12.0.0/patch/115/bin/txkSetSSOReg.pl : No Errors encountered






No comments: