RAC VIP relocation
794168Aug 27 2010 — edited Aug 27 2010Hi,
Am a newbie to Oracle RAC.
My Setup:
Two nodes configured in RAC. (omcia2, omcia3)
My requirement:
"Monitor whether the Virtual Internet Protocol (IP) has relocated from the host (node) where it was originally configured"
My understanding on VIP relocation:
#./crs_stat -t | grep vip
ora.omcia3.vip application ONLINE ONLINE omcia3
Now vip is located on omcia3.
I tried the following steps to relocate vip manually: (Learnt these steps from one of the post in this forum)
#./srvctl stop instnace -d orcl -i orcl2
#./srvctl stop listener -l LISTENER_OMCIA3 -n omcia3
#./srvctl stop asm -n omcia3
#./crs_relocate ora.omcia3.vip
Attempting to stop `ora.omcia3.vip` on member `omcia3`
Stop of `ora.omcia3.vip` on member `omcia3` succeeded.
Attempting to start `ora.omcia3.vip` on member `omcia2`
Start of `ora.omcia3.vip` on member `omcia2` succeeded.
#./crs_stat -t | grep vip
ora.omcia2.vip application ONLINE OFFLINE
ora.omcia3.vip application ONLINE ONLINE omcia2
Now, vip of omcia2 is relocated to omcia2.
My question goes here:
1. Whether my understanding (mentioned above) on vip relocation is correct? Is this what vip relocation is?
2. If yes, what all the ways to monitor this VIP relocation?
i) Monitor the output of crs_stat is one of the way to achieve this. but this needs tracking the existing
host(node) before relocation.
ii) Is there any DB tables which has details of VIP relocation?
3. Is there any Database tables which will have CRS resource status (whatever crs_stat shows).
Kindly suggest some efficient/apt way to achieve the same..
Thanks in advance.