Stop all services running on the node whose VIP address you want to change:
$ srvctl stop service -d RDBA -s sales,oltp -n host01
Confirm the current IP address for the VIP address:
$ srvctl config vip -n host01
Stop the VIP address:
# srvctl stop vip -n host01 -f
Verify that the VIP address is no longer running by running the ifconfig -a command.
Make necessary changes to the /etc/hosts file on all nodes and make necessary domain name server (DNS) changes to associate the new IP address with the old host name.
Modify node applications and provide a new VIP address:
# srvctl modify nodeapps -n host01 -A 192.168.2.125/255.255.255.0/eth0
Start the node VIP.
# srvctl start vip -n host01
Repeat the steps for each node in the cluster.
Run cluvfy to verify node connectivity between all the nodes for which your cluster is configured:
$ cluvfy comp nodecon -n all -verbose
$ srvctl stop service -d RDBA -s sales,oltp -n host01
Confirm the current IP address for the VIP address:
$ srvctl config vip -n host01
Stop the VIP address:
# srvctl stop vip -n host01 -f
Verify that the VIP address is no longer running by running the ifconfig -a command.
Make necessary changes to the /etc/hosts file on all nodes and make necessary domain name server (DNS) changes to associate the new IP address with the old host name.
Modify node applications and provide a new VIP address:
# srvctl modify nodeapps -n host01 -A 192.168.2.125/255.255.255.0/eth0
Start the node VIP.
# srvctl start vip -n host01
Repeat the steps for each node in the cluster.
Run cluvfy to verify node connectivity between all the nodes for which your cluster is configured:
$ cluvfy comp nodecon -n all -verbose
No comments:
Post a Comment