How to Modify Public Network Information including VIP in Oracle Clusterware Without Changing Interface

Hi,

Changing public IP or VIP only without changing interface, subnet or netmask or changing MAC address only without changing anything else

If the change is only public IP or VIP address and the new ones are still in the same subnet, same interface, or if the change is only for public IP MAC address, IP/interface/subnet/netmask all remain the same, nothing needs to be done at clusterware layer, all changes need to be done at OS layer to reflect the change. For this;

  • Shutdown Oracle Clusterware stack
  • Modify the IP address at network layer, DNS and /etc/hosts file to reflect the change or modify the MAC address at network layer
  • Restart Oracle Clusterware stack

Above change can be done in rolling method, one node at a time.

Stop database and vip resources.

srvctl stop listener -n orcnode1
srvctl stop database -d orcl
srvctl stop vip -n orcnode1 -f

Change IP address at OS layer. Do this step on both nodes.

cd /etc/sysconfig/network-scripts/
vi ifcfg-bond0
vi /etc/hosts

service network restart

Start database and vip resources.

srvctl start vip -n orcnode1
srvctl start listener -n orcnode1
srvctl start database -d orcl

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s