Friday, October 01, 2010

Impacts and changes to be made after changing the IP Address or changing the Domain name on Existing Release 12

When we change the ip address on the server most of the times need not to worry because we always use the Host Name...is it so?????answer is NO.. we don't use the IP Address but we use the name of the server.So,
We are safe to change, as long as any customizations in the APPS related environment files with the HOSTNAME to IP ADDRESS. All customizations needs to be taken care manually to configure them.

From Last Few weeks we had similar kind of assignments to chainging the ip-addresses because of some sub-netting issues.For 11i its as simpler as it is..Just run the ad-preclone.pl script before changing the IP and run the adcfgclone.pl to re-clone the same server on the system with the same directories.Which will ensure that if any changes to be made manually can be taken care by this Clonig processes.

For R12, Do same as 11i but adstrtal.sh wont start all the services successfully.When we try to open the R12 Login Page we found AppsLogin not found... SOME ERROR...
When we checked the log, we found that
adformsctl.sh: exiting with status 204
adoafmctl.sh: exiting with status 204
adoacorectl.sh: exiting with status 204

A solution for the above is a bug and which has a solution(Ref: Oracle Support):


i) open a new shell and set your apps environment
ii) cd $ADMIN_SCRIPTS_HOME
iii) execute adopmnctl.sh stop
iv) Check for the OPMN process from Linux: ps -ef grep | opmn
v)delete the following:
rm -fr $INST_TOP/ora/10.1.3/j2ee/oacore/persistence/*

rm -fr $INST_TOP/ora/10.1.3/j2ee/oafm/persistence/*
rm -fr $INST_TOP/ora/10.1.3/j2ee/forms/persistence/*
vi ) adopmnctl.sh start.

The solution works..

The above action plan works if you're not integrated with SSO.If it is integrated then apart from the above need to follow some other steps which are explained in :
Oracle® Application Server Administrator's Guide 10g Release 3 (10.1.3.2.0)



Recently, We come across another requirement in our environment to change the DOMAIN name of the Server running on Oracle Applications Release 12


Follow the steps as follows, but before doing any major change it is recommended to take the backup of the instance.


1)  Run the autoconfig on DB Tier and APPS Tier.
2) Run Adpreclone.pl script on DB Tier and APPS Tier.
3) Stop all the services of APPS and check all the process at linux level.
4) Change the Domain name of the server at Linux Server in the following files:
                    i) /etc/hosts 
                   ii) /etc/resolv.conf
                  iii) /etc/sysconfig/network
                  iv) /etc/sysctl.conf
 5) Reboot the Server
6) check the changes by executing : uname -a
7) After confirmation, run adcfgclone.pl on DB Tier and Apps tier to effect the changes.
and perform the Post-clone steps as per the Oracle Metalink Note-ID: 406982.1


After starting the services and when we login into the Apps we may get this error: 
" You are trying to access a page that is no longer active.
- You may have attempted to access to this page directly by bookmarking the page or copying the URL. This page does not support bookmarking.
- The referring page may have come from a previous session. Please select Home to proceed"


The Above error occurs when one of the POST-CLONING step has not done i.e.

Update the SESSION_COOKIE_DOMAIN value in ICX_PARAMETERS with the new Domain name.



No comments: