Are there still clients using this old version? Yes there are many many clients !.
This is one of them who is using Oracle Forms and Reports services 10g g (10.1.2.3.0) and he moved the application sever from one data center to another, and so he wants to change the IP address of it, although the server name remains the same.
Current IP Address/ Server Name: 192.168.xxx.242 APP015
New IP Address/ Server Name: 192.168.yyy.222 APP015
The current IP address “192.168.xxx.242” is one used in the server’s hosts file. The server has another interface with IP address in the same domain as that of the database, and this one will remain the same without change.


The hosts file contains the following line:
192.168.xxx.242 APP015
Main Steps:
We are so lucky as the server name remains the same. All the Application server configuration is done against the server name not the IP address, so, the steps are very simple:
1- Change the network settings, modify the IP address to the new IP.
2- Modify the hosts file to reflect the new IP.
3- Optionally, restart the server (or only the application server)

That is all.
But what if we need to change the server name also. In this case we should follow the steps in the following standard documentation:
http://docs.oracle.com/cd/B14099_19/core.1012/b13995/host.htm#BHBBJEBF
The main steps in this case:
1- Shutdown the iAS instance:
Shut down each middle-tier instance on the host by running the following commands in each Oracle home:
On Windows systems:
- ORACLE_HOME\bin\emctl stop iasconsole
- ORACLE_HOME\opmn\bin\opmnctl stopall


2- Change the Hostname, Domain Name, or IP Address
Update your operating system with the new hostname, domain name, IP address, or any combination of these. Consult your operating system documentation for information on how to perform the following steps.
- Make the updates to your operating system to properly change the hostname, domain name, or IP address. (add the IP/server name to the hosts file)
- Restart the host, if necessary for your operating system.
- Verify that you can ping the host from another host in your network. Be sure to ping using the new hostname to make sure everything is resolving properly.
3- Run the chgiphost Command
Follow these steps for each middle-tier instance on your host. Be sure to complete the steps entirely for one middle-tier instance before you move on to the next.
- Log in to the host as the user that installed the middle-tier instance.
- Make sure your ORACLE_HOME environment variable is set to the middle-tier Oracle home. Do not use a trailing slash (UNIX) or backslash (Windows) when specifying the variable.
- On UNIX systems, set the LD_LIBRARY_PATH, LD_LIBRARY_PATH_64, LIB_PATH, or SHLIB_PATH environment variables to the proper values, as shown in Table 1-1. The actual environment variables and values that you must set depend on the type of your UNIX operating system.
- Run the following commands in the middle-tier Oracle home
On Windows systems:
cd ORACLE_HOME\chgip\scripts
cd c:\oracle\frhome1\chgip\scripts
cmd /c chgiphost.bat -mid
One sample run output:

4- Restart Your Environment
ORACLE_HOME\opmn\bin\opmnctl startall
ORACLE_HOME\bin\emctl start iasconsole


Donate to support our blogging work
$1.00
Thanks
Ahmed