Should the SCAN or VIP be used for ONS Configuration
I'm attempting to configure Fast Connection Failover within my Java application. The JDBC URL is using our SCAN IP/host which round robins over three nodes in the cluster. I'm wondering though what I should use for the ONS configuration as it appears to be listening on all ports at the moment. So, my questions are this:
Can I user the SCAN IP/host and, in so doing, take advantage of the failover of the IP in the event of a listener failure?
If not, and I use the VIP, how do I deal with adding/removing a node in the future? Will any given node provide events for the entire cluster (so as long as one of my originally listed nodes is still active, I'm good) or does each node only provide events for itself (thus I have to update my JDBC configuration every time my cluster topology changes)?