Home > clusterware > Modifying current VIP configuration

Modifying current VIP configuration

The current VIP configuration are stored in OCR (Oracle Cluster Registry). There are four parameters, which are VIP hostname, VIP IP address, VIP subnet mask and interface name, to be modified. The following is an example to show mofity VIP interface name. The details refer to support.oracle.com [ID 276434.1]

We are going to change VIP interface from vnet1 to vnet100001 since we vlan interface is used.

1. Check current VIP configuration currently

$ srvctl config nodeapps -n tvmdb01 -a
VIP exists.: /tvmdb01-vip/172.31.10.102/255.255.0.0/vnet1

These outputs show that:
The VIP Hostname is ‘tvmdb01-vip’
The VIP IP address is ‘172.31.10.102’
The VIP subnet mask is ‘255.255.0.0’
The Interface Name used by the VIP is called ‘vnet1’

2.  Stop Instance, asm and nodeapps

$ srvctl stop instance -d tdb -i tdb1
$ srvctl stop asm -n tvmdb01
$ srvctl stop nodeapps -n tvmdb01

3. Unplumb vnet1 and plumb vnet100001 in OS

4. Bring the vnet100001 interface with the IP of vnet1 in OS

5.  Super to root and modify the VIP interface

su – root
source /export/home/oracle/.profile
# srvctl modify nodeapps -n tvmdb01 -A 172.31.10.102/255.255.255.0/vnet100001
# srvctl config nodeapps -n tvmdb01 -a
VIP exists.: /tvmdb01-vip/172.31.10.102/255.255.255.0/vnet100001 <– this is changed

6. Startup nodeapps, asm and instances

Advertisements
Categories: clusterware
  1. No comments yet.
  1. No trackbacks yet.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: