0% found this document useful (0 votes)
10 views3 pages

Change IP Procedure for Oracle 11g Server

The document describes the procedure for changing the IP of a server with Oracle 11g. This includes stopping Oracle and the listener, editing configuration files, restarting the server, confirming the new IP, restarting the listener and Oracle, and verifying connectivity. It also covers the procedure for changing the IP on an Oracle IAS server, which involves stopping middleware and infrastructure services, editing files, restarting, running the chgiphost script, and restarting the services.

Translated by

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

Change IP Procedure for Oracle 11g Server

The document describes the procedure for changing the IP of a server with Oracle 11g. This includes stopping Oracle and the listener, editing configuration files, restarting the server, confirming the new IP, restarting the listener and Oracle, and verifying connectivity. It also covers the procedure for changing the IP on an Oracle IAS server, which involves stopping middleware and infrastructure services, editing files, restarting, running the chgiphost script, and restarting the services.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Procedure to change IP on server with Oracle 11g.

Download the oracle engine:


◦ $sqlplus /nolog
◦ SQL>connect / as sysdba
◦ SQL>shutdown immediate
◦ SQL>exit
2. Turn off Oracle listener service.
◦ $lsnrctl stop
[Link] and modify files:
◦ /etc/hosts
◦ $ORACLE_HOME/network/admin/[Link]
◦ $ORACLE_HOME/network/admin/[Link]
◦ $ORACLE_HOME/network/admin/[Link]
4. Change the parameters in the configuration file of the interface eth0 (or another one used).
◦ /etc/sysconfig/network-scripts/ifcfg-eth0.
5. Restart the server to take the new IP addressing.
6. Once restarted, confirm that the new IP is working and there is connectivity.
red.
◦ $ifconfig
◦ $ping x.x.x.x
7. Raise the Oracle listener service and confirm its operation.
◦ $lsnrctl start
◦ $lsnrctl status
8. Start the oracle engine:
◦ /nolog sqlplus
◦ SQL>connect / as sysdba
◦ SQL> startup
◦ SQL>exit
9. Confirm that the listener is responding.
◦ $tnsping $ORACLE_SID
Procedure to change IP for server with Oracle IAS 11g.

A) Lower the middle layer services in infrastructure in the following order:

1. Middleware services:
▪ export ORACLE_HOME=/u01/app/oracle/product/ias10g/middle
▪ cd $ORACLE_HOME
◦ Stop the management console
▪ ./bin/emctl stop iasconsole
◦ Stop middle layer services such as HTTP Server, Oracle Portal, Oracle Forms Services,
Oracle Reports Services, Oracle Discoverer, Oracle Containers for Java, etc.:
▪ ./opmn/bin/opmnctl stopall

2. Infrastructure layer services:


▪ export ORACLE_HOME=/u01/app/oracle/product/ias10g/infra
▪ cd $ORACLE_HOME
◦ Stop the administration console
▪ ./bin/emctl stop iasconsole
▪ ./bin/emctl stop dbconsole
◦ Stop the services related to the infrastructure such as: HTTP Server, Oracle Internet
Directory, Oracle Certificate Authority, etc.
▪ ./opmn/bin/opmnctl stopall
◦ Stop the database and listener:
▪ $export ORACLE_SID=iasdb
▪ $sqlplus / as sysdba
▪ SQL> shutdown immediate
▪ SQL> exit;
▪ ./bin/lsnrctl stop

3. Change the parameters in the configuration file of the interface eth0 (or another used).
◦ /etc/sysconfig/network-scripts/ifcfg-eth0.
4. Restart the server to take the new IP address.
5. Once restarted, confirm that the new IP is functioning and there is connectivity in the
red.
◦ $ifconfig
◦ $ping x.x.x.x

B) Once the IPs of the machines have been changed, proceed to register the change at the Oracle level.
Application Server using the chgiphost script for which the procedure must be followed
which is detailed below:

1. Infrastructure layer services:


▪ export ORACLE_HOME=/u01/app/oracle/product/ias10g/infra
▪ cd $ORACLE_HOME
◦ Start listener service.
▪ ./bin/lsnrctl start
◦ Raise the database
▪ $export ORACLE_SID=iasdb
▪ $sqlplus / as sysdba
▪ SQL> startup
▪ SQL> exit;
◦ Raise the corresponding service to the OPMN;
▪ ./opmn/bin/opmnctl start
◦ Raise the Oracle Internet Directory service:
▪ /opmn/bin/opmnctl startproc ias-component=OID
◦ Execute the script chgiphost:
▪ cd $ORACLE_HOME/chgip/scripts
▪ ./[Link] -infra
◦ If the script concludes successfully, bring up the rest of the infrastructure services and the
management consoles:
▪ ./opmn/bin/opmnctl startall
▪ ./bin/emctl start dbconsole
▪ ./bin/emctl start iasconsole

[Link] layer services


▪ export ORACLE_HOME=/u01/app/oracle/product/ias10g/middle
▪ cd $ORACLE_HOME
◦ Execute the chgiphost script:
▪ cd $ORACLE_HOME/chgip/scripts
▪ ./[Link] -mid
◦ If the script completes successfully, bring up the rest of the infrastructure services and the
administration consoles:
▪ ./opmn/bin/opmnctl startall
▪ ./bin/emctl start iasconsole

3. Verify the functioning of all services, consoles, and resident applications in the
IAS.

You might also like