0% found this document useful (0 votes)
282 views

How To Change IP Address

This document describes how to change the IP address, hostname, and port for Oracle E-Business Suite. The key steps are: 1. De-register the current database and application servers. 2. Create new context files with the updated IP address, hostname, and port values. 3. Change the hostname and IP address at the OS level, update configuration files, and restart network services. 4. Reseed the net services topology model and restart the database, listener, and application services using the new context files.

Uploaded by

Md Shadab Ashraf
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
282 views

How To Change IP Address

This document describes how to change the IP address, hostname, and port for Oracle E-Business Suite. The key steps are: 1. De-register the current database and application servers. 2. Create new context files with the updated IP address, hostname, and port values. 3. Change the hostname and IP address at the OS level, update configuration files, and restart network services. 4. Reseed the net services topology model and restart the database, listener, and application services using the new context files.

Uploaded by

Md Shadab Ashraf
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

How to change IP address, host-name and port

Oracle E-Business Suite is not dependent on IP address, so one can easily change the IP address
of nodes without any effect on E-Business Suite.
But Hostname, Domain and Ports are not like that, Oracle E-Business Suite is dependent to these
entries. So, we couldnt change these values without co-ordination of E-Business Suite itself.

Primary idea was to just change the IP Address but I will also describe how to change host-name and
port as well.

There are two methods from which one can choose

1. Use Auto-Config
2. Cloning

On DB Tier:

1. De-register the current database server (Required)

As the database IP address, hostname and domain will be changed, the current database server node
needs to be de-registered. To deregister the current database server node, run the following command as
the owner of the Oracle RDBMS file system and current database instance:

# su - oracle
$ sqlplus apps/apps
SQL>
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('oraapps');

NAME SERVER_TYPE
--------------- -----------
oraapps DB
SQL>
SQL> exit
$
$
$ cd $ORACLE_HOME/appsutil
$ perl ./bin/adgentns.pl appspass=apps contextfile=./vis_oraapps.xml -removeserver
$
$ sqlplus apps/apps
SQL>
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('oraapps');

no rows selected

2. Create a new Context file

$ cd $ORACLE_HOME/appsutil
$ perl ./bin/adclonectx.pl contextfile=./vis_oraapps.xml
<Enter the corresponding values for the prompts>
The new database context file has been created :
/u01/VIS/db/tech_st/11.1.0/appsutil/vis_neworaapps.xml

Note: The command above will create a new Context file of the format sid_hostname.xml in the current
working directory.

On APPS Tier:

1. De-register the current Applications server

As the Applications IP address, hostname and domain will be changed, the current Applications server
node needs to be de-registered. To deregister the current Applications server node, run the following
command as the owner of the Oracle Applications file system and current database instance:

# su - applmgr
$ sqlplus apps/apps
SQL>
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('oraapps');

NAME SERVER_TYPE
----------------- ----------
oraapps APPS
SQL>
SQL> exit
$
$
$ cd $APPL_TOP/admin
$ perl $AD_TOP/bin/adgentns.pl appspass=apps contextfile=./vis_oraapps.xml -removeserver

$ sqlplus apps/apps
SQL>
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('oraapps');

no rows selected

2. Create a new Context file
$ cd $APPL_TOP/admin
$ perl $AD_TOP/bin/adclonectx.pl contextfile=./vis_oraapps.xml
Provide the values required for creation of the new APPL_TOP Context file.

<Enter the corresponding values for the prompts>
The new context file has been created :
/u02/VIS/apps/apps_st/appl/vis_neworaapps.xml

Note: The command above will create a new Context file of the format sid_hostname.xml in the current
working directory.

3. Shutdown the Application Tier Services

# su - applmgr
$ cd $ADMIN_SCRIPTS_HOME
$ ./adstpall.sh apps/apps

4. Change the hostname and domain

Change the hostname and domain at OS level.

# edit /etc/hosts as follow:
# OLE 192.168.1.111 oraapps.yemensoft.com oraapps
# NEW Address
192.169.10.26 neworaapps.yemensoft.net neworaapps

-- change the current host-name as follows on all corresponding hosts

# hostname <new_host_name>

Check the following files for correct values on all nodes
- /etc/sysconfig/network (for host-name change)
- /etc/sysconfig/network-scripts/ifcfg-eth0 (for IP-Address change)
If the ip address is changed then restart the network services (as root user) on all nodes
#service network restart

On DB Tier: Reseed the Net Services Topology Model
# cd $ORACLE_HOME/appsutil
# ./bin/adconfig.sh contextfile=./visr12_appsdbnode.xml

On APPS Tier: Reseed the Net Services Topology Model
The Net Services Topology Model is automatically updated by running AutoConfig.
# $AD_TOP/bin/adconfig.sh contextfile=$APPL_TOP/admin/visr12_appsnode.xml appspass=apps

On DB Tier: Shutdown the database and listener
# $ORACLE_HOME/appsutil/scripts/visr12_ie_dbnode/addbctl.sh stop
# $ORACLE_HOME/appsutil/scripts/visr12_ie_dbnode/addlnctl.sh stop visr12

-- Start the listener and database
# $ORACLE_HOME/appsutil/scripts/visr12_appsdbnode/addlnctl.sh start visr12
# $ORACLE_HOME/appsutil/scripts/visr12_appsdbnode/addbctl.sh start

On APPS Tier: Start the Application Tier Services
# $COMMON_TOP/admin/scripts/visr12_appsnode/adstrtal.sh apps/apps

Check the apps url to see if you can access the applications using new host:port combination.

You might also like