Home > Oracle Rac > Modifying VIP address or VIP hostname in Oracle RAC

Modifying VIP address or VIP hostname in Oracle RAC

check the current settings


# srvctl config nodeapps -a

Network exists: 1/10.1.223.0/255.255.255.0/lan0, type static
VIP exists: /cruz-vip/10.1.223.73/10.1.223.0/255.255.255.0/lan0, hosting node cruz
VIP exists: /davis-vip/10.1.223.72/10.1.223.0/255.255.255.0/lan0, hosting node davis

Stop Instance,ASM,Nodeapps resources


$srvctl stop instance -d romeo -i romeo2
$srvctl stop asm -n romeo1
$srvctl stop nodeapps -n romeo1

Verify the VIP Address is no longer running by using below command


crsctl status  resource  -t

Modify VIP Address or VIP hostname on nodeapps by using srvctl command (Run as root)


#srvctl modify nodeapps -n [-o ] [-A ]
Where
-n < node_name> - Node name.
-o - Oracle Home for the cluster software (CRS-Home).
-A The node level VIP address (/netmask[/if1[|if2|...]]).

Example:- Modify the VIP Address to 10.1.223.72

#srvctl modify nodeapps -n davis -A 10.1.223.72/255.255.255.0/eth0

Modify VIP hostname from ”davis-vip” to “davis-v”

#srvctl modify nodeapps -n  -A davis-v/255.255.255.0/eth0

Verify the change by running below command

$srvctl config nodeapps -n davis –a

Start all resources


$srvctl start nodeapps -n davis
$srvctl start asm -n davis

$srvctl start instance -d romeo –i romeo1

 

 

Advertisements
Categories: Oracle Rac
  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: