Go to Home Page

Oracle Rac IP Change 

In this case, we will change virtual, public and scan ip addresses..  Private ip addresses stays the same, as it is not needed in this scenario.
In this operation first of tall, we will change the ip addresses declared in RAC.
Second, we will make the ip address changes on the rac nodes(servers).
Finally, we will reboot the rac nodes, to make the new ip addresses assigned.
--Note actually, we dont need to reboot the server.. Only restarting the network service will do the job.. 
But, I write this post for a server migration operation.. I suppose the servers are moved from one system Root to other.. So a reboot is required anyways..

Action Plan:

1. First we check the rac components names and their status using ;

crsctl stat res -t
srvctl config scan --> for scan

2. We stop rac services using ;

srvctl stop scan_listener
srvctl stop scan
srvctl stop database -d PROD
srvctl stop asm -n oradbsrv1
srvctl stop asm -n oradbsrv2
srvctl stop nodeapps -n oradbsrv1
srvctl stop nodeapps -n oradbsrv2

3. After stopping the rac services we use crsctl stat res -t to see the status again.. All the service component should be offline..

4. We check the existing ip configuration on rac and on OS.. In addition we check the hosts file;

oifcfg getif
ifconfig -a

cat /etc/hosts

5. We delete the existing public ip..

oifcfg  delif -global eth1 (ehternet device name associated with the public ip..)

6. We define the new public ip ...

oifcfg  setif -global eth1/   --> ethernet device name/new ip:public

7. We check the new ip configuration on rac to see that the public ip is actually changed..

oifcfg  getif

8. We modify scan..

First, Modify scan ip's in DNS..
Then,srvctl modify scan -n SCAN-name (for ex: ebs-scan)
We check if the ip's are reflected with srvctl config scan
We update scan listeners anyways, srvctl modify scan_listener -u

9. We modify listener.ora,  tnsnames.ora and LOCAL_LISTENER/REMOTE_LISTENER parameter to reflect the VIP change if necessary.

10. We Stop crs on all nodes..

crsctl stop crs

11. NextWe change ip address on Rac nodes

For the Linux on each server;

vi /etc/sysconfig/network-scripts/ifcfg-eth1

Change public ip on rac node 1


vi /etc/sysconfig/network


Change public ip on rac node 2

vi /etc/sysconfig/network-scripts/ifcfg-eth1


vi /etc/sysconfig/network


13. If the dns ip is changing, edit  vi /etc/resolv.conf

-- we do not restart network services, they will be restarted in reboot..

14. We change the /etc/hosts file to reflect the new ip addresses..

---------------- REBOOT -------------------------------

After rebooting;

15. We modify the the virtual ip 's..
We first check the current Vip configuration;

as root user > srvctl config nodeapps -a

Then we modify the the vip configuration;

as root user > srvctl modify nodeapps -n oradbsrv1 -A
as root user > srvctl modify nodeapps -n oradbsrv2 -A

Then we check again;

as root user > srvctl config nodeapps -a


Oracle E-Business Suite R12 on Exadata V2 Sun Oracle Database Machine -- Implemented case study

EBS installation using rapidwiz  11G single database with EBS 12.1.1
Upgrade to ( scan supported release) database patches for Ebs
Asm/Rac conversion single instance to Exadata Asm.
Ebusiness Suite Patches to support scan.
Ebusiness Suite config for Rac and scan.
Paralel Concurrent Processing configuration.
Technical Testing
Data Load
Functional Testing

Installation Process

Target Specs

Target Specifications:
Oracle E-Business Suite R12 (12.1) running on Oracle Database 11gR2 2 node ASM/RAC (Exadata) .
Detailed Specification
DB servers(x2) : 
Oracle Enterprise Linux 5.5 64 bit96 Gb Physical Ram30 Gb Sga, 10 Gb Pga
Scan configured.
Application Servers(x2) : 
Oracle Enterprise Linux 5.5 64 bitGb Physical Ram 
Node 1: AdminConcurrent, Web, Forms
Node 2: Concurrent,Web,Forms

EBS Architecture on Exadata


We start with Raid configuration.. We configure Raid 1+0 for our 4xlocal disks on our HP nodes.

Then , we mount our Oracle Linux 6.5 iso using ILOM and start our Linux installations..

Next; we disable selinux, we disable iptables and ip6tables for all init levels and reboot our nodes.
After rebooting; we continue with configuring our bonded networks on our nodes.
After configuring network, we configure sysctl.conf files on our nodes.. Actually OEL 6.5 comes configured .. Anyways..
Next, we create necessary groups and users .
Then, we configure ntpd . we configure /etc/hosts files .
Afterwards, we install libhbaapi , oracleasmlib and netapp hostutils rpms.

Then we use sanlun to list our disks and gather their wwid s using scsi_id command.. We use these wwid s in configuring multipaths in our nodes.
After configuring multipaths we restart our multipathd using service multipathd restart and list our multipath disks using various multipath commands..Note that we take out a disk using blacklist statement in our multipath.conf file, as this disk is local disk and should not be included in multipath configurations.
We check /dev/mapper directory structure to see our multipath device names..
Then we create filesystem on these /dev/mapper/* devices.. We create filesystem by considering the ASM-Netapp Disks alignment.. (we set the needed values using fdisk expert option)
After we finish our works for SAN disks on OS layer, we use oracleasm to create ASM disks on them.
Lastly we check and configure a couple of things(like grants , .bash_profiles and so on) and start our Grid installation..

At this point , we start our Grid Installation using runInstaller.. We use bonded networks in both private and public ips, besides we used external redundancy for ASM disks as our disks are from SAN Raid groups.
Note that: we ignore resolv.conf and ASM warning in prereq check, as we check it from backend and see that storage check was successful on all nodes.
We also see couple of bug records about this issue.
Also, we use only the dba group for our installations, we dont need to have a role seperation in this environment.

Then we use asmca to create our FRA diskgroup using remaining ASM disks, and use runInstaller to install our Oracle Database Software -- software only..
Note that: we install our database software only, because we will migrate our production database in to this rac environment, so we dont need to create a database in this stage.

Okay, that 's it. Our RAC 11gR2 Environment is up & running.. It is ready for migration...


  1. Hi, I was reading several of your posts and found them really informative... Then I noticed the "advertisements" for finding young Asian women on the left... Really? I understand having adds, and don't mind at all the other adds you have... but friend, we each must stand up for the exploitation of young women.. This is tragic, plain and simple..
    I will be putting a filter when I search for Oracle, like I do for Burleson, although for different reasons..

  2. Hi,

    having adds was just an ambition for me. I added them and leave them just there.
    I don't know how those adds you talking about is displayed really.. I was thinking that my google adds filters were configured properly, but I m not an expert on this web site things :) anyways, I will check my filters again, thank you for your concern and feedback.


If you will ask a question, please don't comment here..

For your questions, please create an issue into my forum.

Forum Link: http://ermanarslan.blogspot.com.tr/p/forum.html

Register and create an issue in the related category.
I will support you from there.