For a certification issue i had to change domain name of apps Tier with following steps.Firstly i have a unclear point that different domains of db Tier and apps Tier is compatible ? After below steps , i have examined there will be no problem.
Related steps
1. Deregister current App server
As the applications domain name will be changed , app server need to be deregistered.
perl $AD_TOP/bin/adgentns.pl appspass=<APPSpwd> contextfile=<CONTEXT> -removeserver
2. Change domain name of server
Ensure that /etc/hosts shows new domain.
3. Recreate context file with new settings
mv $INST_TOP/appl/admin/$CONTEXTFILE $INST_TOP/appl/admin/oldcontextfile.xml
cd $INST_TOP/appl/admin
perl $COMMON_TOP/clone/bin/adclonectx.pl contextfile=oldcontextfile.xml
This step will create new context file with new app domain name.
4. Execute autoconfig
$AD_TOP/bin/adconfig.sh contextfile=$INST_TOP/appl/admin/$CONTEXTFILE appspass=<password>
5. Check fnd_nodes.DOMAIN , fnd_nodes.WEBHOST and icx_parameters.SESSION_COOKIE_DOMAIN values to ensure that show new domain name.
6. Start all application tier services with adstrtal.sh apps/<appspassword>