Grid version:11.2.0.3 on RHEL 5.4
To relocate VIP and SCAN VIP from one node to another node, should I use srvctl or crsctl ?
I can see relocate option in both srvctl and crsctl. Hence confused
-- srvctl
$ srvctl relocate vip -help
Relocate VIP from its current node to another node of the cluster.
Usage: srvctl relocate vip -i <vip_name> [-n <node_name>] [-f] [-v]
-i <vip_name> VIP name
-n <node_name> Target node name to which to relocate
-f Force relocation
-v Verbose output
-h Print usage
--crsctl
$ crsctl relocate -help
Usage:
crsctl relocate resource {<resName> [-k <cid>]| {resName|-all} -s <server>|-w <filter>} [-n <server>] [-env "env1=val1,env2=val2,..."] [-f] [-i]
Relocate designated resources
where
resName Resource named resource
-all Relocate all resources
-s Source server
-w Resource filter
-n Destination server
-k Cardinality ID
-env Attribute overrides for this command
-f Force option
-i Fail if request cannot be processed immediately
crsctl relocate server <server> [...] -c <spName> [-f] [-i]
Relocate designated servers
where
server [...] One or more blank-separated server names
spName Destination server pool name
-f Force option
-i Fail if request cannot be processed immediately