25 October 2015

Hostname change for EBS R12.2.4



Hostname change for  Oracle EBS R12.2.4

This post will cover the Hostname change of R1224 with simple step.

Do the changes in below files: 
Add the new hostname entry in both file:
  • /etc/hosts
  • /etc/sysconfig/network
Remove network file or backup it from the file /etc/sysconfig/networking/profile/default.

>> Database Tier:

Login as Database user & set environment variable:
Change the hostname in listener.ora, tnsnames.ora and sqlnet.ora and start listener & database must be down run the script of adgentns.pl:
echo $CONTEXT_FILE



$ORACLE_HOME/appsutil/bin









Start the database, if you face any issue with Database startup, check the listener.ora and tnsnames.ora file for new hostname.


 




>> Create a context file:

Go to the directory $ORACLE_HOME/appsutil/bin and create new context file using:

perl adbldxml.pl










Note:-Edit the newly created context file with new hostname and save it.



>> Auto config on Db tier:


 








 
Note:-Now after completion of auto configuration of database tier, shutdown database and listener. So that source the new environment variable,start Listener and database.



>> Application Tier:


Login as application user & set environment variable:

Change the hostname in listener.ora, tnsnames.ora

$AD_TOP/bin








Start the listener on applications tier as: “ lsnrctl start APPS_VIS”. Here “APPS_VIS” is the listener name that you can find in $TNS_ADMIN/listener.ora.


 



Create  a new context file: 
Go to directory $COMMON_TOP/clone/bin Run perl adclonectx.pl





































Run the adconfig.sh with the new context file:

Change the hostname in newly created context file and save it.

Error Screenshot:

 






Solution:-Create directory jrockit32 (/ebs1222/u02/applmgr/fs1/FMW_Home)

Copy all files from:-/ebs1222/u02/applmgr/fs1/EBSapps/comn/util/jdk32 to /ebs1222/u02/applmgr/fs1/FMW_Home/jrockit32/

































Source new environment variable and start the application services.



Edit config file of web logic with new hostname manually:

Web logic server will not be up, need to change host entry in config.xml file which is residing in

/u01/applmgr/VIS/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/config location

Note: To edit hostname in file give command:

: 1, $s/oldhostname/newhostname 

If you don’t do it,then it will give you issue with weblogic startup mentioned below:



================================================================

Take a backup of all files and change Oldhostname to Newhostname


1./ebs1222/applmgr/fs1/FMW_Home/user_projects/domains/EBS_domain_VIS/config/config.xml


2.  /ebs1222/applmgr/fs1/EBSapps/10.1.2/config/ias.properties


3.  /ebs1222/applmgr/fs1/EBSapps/10.1.2/Apache/Apache/conf/ssl.conf


4./ebs1222/applmgr/fs1/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/ssl.conf


5./ebs1222/applmgr/fs1/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/url_fw.conf


6.  /ebs1222/applmgr/fs1/EBSapps/10.1.2/Apache/Apache/conf/httpd.conf 


7./ebs1222/applmgr/fs1/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/httpd.conf


8./ebs1222/applmgr/fs1/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/apps.conf


9./ebs1222/applmgr/fs1/FMW_Home/webtier/instances/EBS_web_VIS_OHS1/config/OHS/EBS_web_VIS/mod_wl_ohs.conf


================================================================


Error:-Node id does not exist for the current application server id




cd $INST_TOP/admin/install$ ./adgendbc.sh

Do not need to bounce application tier, can log out of Forms and Login again

After all above source new hostname environment Variable and start auto config both db tier and application tier, then start services.

Verify the Concurrent Manager Status:

















Its done ……..!!!!!!!
 

No comments:

Post a Comment