0% found this document useful (0 votes)
114 views2 pages

Domain Name Change

1. Stop the application, de-register the current database server, and change the domain name of the server by updating /etc/hosts and rebooting. 2. Backup the existing context file and recreate it with the new domain name, either manually editing it or using a cloning tool. 3. Execute AutoConfig using the new context file and restart the database.

Uploaded by

Augustine Odero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
114 views2 pages

Domain Name Change

1. Stop the application, de-register the current database server, and change the domain name of the server by updating /etc/hosts and rebooting. 2. Backup the existing context file and recreate it with the new domain name, either manually editing it or using a cloning tool. 3. Execute AutoConfig using the new context file and restart the database.

Uploaded by

Augustine Odero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

----Change domain name on DB tier-----

1.Stop the application.


2.De-register the current database server.

SQL> select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES


where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and
SERVER_TYPE='DB' and FND_NODES.NODE_NAME=UPPER('');

$ cd $ORACLE_HOME/appsutil
$perl ./bin/adgentns.pl appspass=n55fpr2019 contextfile=$ORACLE_HOME/appsutil/.xml
-removeserver

3.Change domain name of server


Ensure that /etc/hosts and /etc/sysconfig/network shows new domain.
Reboot the server

4.Backup up the context file;


$cp -r $ORACLE_HOME/appsutil/EBSPRD_ebsdb.xml
$ORACLE_HOME/appsutil/EBSPRD_ebsdb.xml_old

5.Recreate the context file;


b. DB Tier: Create a new Context file

You can create the new context file using whichever of the following methods:
a. Manuall Method:
# cd $ORACLE_HOME/appsutil
# cp PROD_oldhost.xml DEVT_newhost.xml
Edit DEVT_newhost.xml manually:
Replace all olddomain with newdomain

b.$cd $ORACLE_HOME/appsutil
$perl $ORACLE_HOME/appsutil/clone/bin/adclonectx.pl contextfile=./EBSPRD_ebsdb.xml

6. Execute AutoConfig for dbTier


cd $ORACLE_HOME/appsutil/bin
./adconfig.sh contextfile=$ORACLE_HOME/appsutil/EBSPRD_ebsdb.xml

7.Restart Database

----Change domain name on DB tier-----

1. Deregister current App server

SQL> select NAME, SERVER_TYPE from FND_APP_SERVERS, FND_NODES


where FND_APP_SERVERS.NODE_ID = FND_NODES.NODE_ID and
SERVER_TYPE='APPS' and FND_NODES.NODE_NAME=UPPER('ebsapps');

cd $APPL_TOP/admin
perl $AD_TOP/bin/adgentns.pl appspass=n55fpr2019
contextfile=$INST_TOP/appl/admin/EBSPRD_ebsapps.xml -removeserver

2. Change domain name of server


Ensure that /etc/hosts and /etc/sysconfig/network shows new domain.
Reboot the server
3. Recreate context file with new settings

You can create the new context file using whichever of the following methods:
a. Manuall Method:
# cd $INST_TOP/appl/admin
# cp -r EBSPRD_ebsapps.xml EBSPRD_ebsapps.xml_old
Edit EBSPRD_ebsapps.xml manually:
Replace all olddomain with newdomain

4. Execute autoconfig

$adaucnfg.sh

5. Start all application tier services with adstrtal.sh apps/<appspassword>

You might also like