Relocating SCAN VIP from one node to another node
Here, I am giving you a demonstration of relocation SCAN from one node to another.
In the below section, we can see that 3 SCAN VIP are running .e 1 VIP is running on rac2 and 2 VIP are running on rac1.
[grid@rac2 bin]$ ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac2
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node rac1
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node rac1
[grid@rac2 bin]$ ./srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node rac2
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node rac1
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node rac1
So, now lets see the syntax for relocating the scan.
[grid@rac2 bin]$ ./srvctl relocate scan -h
Temporarily relocate SCAN VIP from one node of the cluster to another.
Usage: srvctl relocate scan -i <ordinal_number> [-n <node_name>]
-i <scan_ordinal_number> Ordinal number of IP address
-n <node_name> SCAN VIP node name
-h Print usages
Now, lets try to relocate SCAN VIP 1 to rac1.
[grid@rac2 bin]$ ./srvctl relocate scan -i 1 -n rac1
So, as per the below section we can see that now all the scan listener are runing on rac1.Hence, we can also conclude that it is not necessare that SCAN listener has to be run on every node.It can run on all nodes or on partially some nodes.
[grid@rac2 bin]$ ./srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac1
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node rac1
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node rac1
[grid@rac2 bin]$
[grid@rac2 bin]$ ./srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node rac1
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node rac1
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node rac1
[grid@rac2 bin]$
No comments yet.
-
Recent
- Kubectl imperative commands
- AWS RDS Migration Checklist
- Oracle Export import Compress
- Oracle Performance Tuning views
- Kubernetes PODS creation
- Dropping Index in Oracle
- Docker private registry
- Docker Container Logging
- Oracle Disk issue reserve policy
- ASM kfed utlity
- Understanding Oracle Architecture
- Useful Sar (Sysstat) Examples for UNIX / Linux /Oracle Performance Monitoring
-
Links
-
Archives
- March 2021 (2)
- May 2020 (12)
- February 2016 (1)
- December 2015 (1)
- February 2014 (1)
- June 2013 (1)
- April 2013 (1)
- December 2012 (5)
- November 2012 (1)
- August 2012 (3)
- July 2012 (1)
- June 2012 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS
Leave a comment