Today,
I have a request from network administrator for changing vip
address in oracle RAC database because of he needs that ip that it set on node1. You can follow below
scripts for changing VIP IP address.
On
node1:
[root@test-1 bin]# ./srvctl stop vip -n test-1 –f
[root@test-1 bin]# ./srvctl config vip -n test-1
VIP exists:
/test-1-vip/10.8.72.27/10.8.72.0/255.255.255.0/eth0, hosting node test-1
·
Be careful, you should add
new IP address to your host to each node.
·
We want to change
10.8.72.27 to 10.8.72.32.
[root@test-1 bin]# cd /grid/product/11.2.0/grid_1/bin/
[root@test-1 bin]# ./srvctl
modify nodeapps -n test-1 -A 10.8.72.32/255.255.255.0/eth0
·
Check your new IP:
[root@test-1 bin]# /sbin/ifconfig -a | egrep '(eth0|Mask)'
No comments:
Post a Comment