Should SCAN VIP and Listener jump among Nodes?

Oracle (GI and DB): 11.2.0.3 SE
OS: RHEL 5.6
I remember when I first tried scan several years ago (most likely with 11.2.0.1 EE), the SCAN VIP and Listeners jumps from node to node whenever a DB connection was established.
Recently, in a newly installed 2 node cluster running 11.2.0.3 SE, it seems the SCAN VIP and Listener stick to a single node unless during failover or requested with a command. As a result, a SCAN VIP and Listeners end up running on a single node after some failover testing.
Which is the designed behaviour? I understand they can direct connection requests to DB instance on other node. Just want to know whether they are supposed to jump?

Hi,
I have not tried it myself, but if you look at the crs profile on how SCANs are defined, they are set to DISPERSION.
# crsctl stat res ora.scan1.vip -p
NAME=ora.scan1.vip
TYPE=ora.scan_vip.type
START_DEPENDENCIES=hard(ora.net1.network) dispersion:active(type:ora.scan_vip.type) pullup(ora.net1.network)
...So they should not/never run on the same node, since the dispersion policy tells them differently.
However this dependency is checked at startup time, and not always during runtime. So if you do a lot of test, your szenario is possible.
Have you tried waiting a while, if this resolves the issue?
If they stay on the same node, I would open an SR, because then it does not follow the dispersion policy.
Regards
Sebastian

Similar Messages

  • How to failover SCAN VIP and SCAN Listener from one node to another?

    Environment:
    O.S :          HP-UX  B.11.31 U ia64
    RDBMS:   Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    It is a 2 Node RAC.
    Question:
    How to failover the SCAN VIP and SCAN LISTENER running on node 1 to node 2?
    What is the relation between standard LISTENER and SCAN LISTENER ?
    Why do we need LISTENER, when we have SCAN LISTENER ?
    When I tried with SRCVTL STOP LISTENER , I thought the SCAN LISTENER adn SCAN IP will failover, but it did not?
    Also please clarify if I use SRVCTL RELOCATE SCAN -i 1 -n Node1
    Actalluy I am trying that by moving the SCAN listeners so that when I do PSU 7 patching on 1 node, no incoming attempt to connect will spawn
    a process and thereby opening files in $ORACLE_HOME (which would prevent the patch from occurring)
    Please clarify my queries.
    Thanks,  Sivaprasad.S

    Hi Sivaprasad,
    1. The following link will help you for SCAN VIP and SCAN LISTENER failover from 1 node to another.
    http://heliosguneserol.wordpress.com/2012/10/19/how-to-relocate-scan_listener-from-one-node-to-another-node-on-rac-system/
    http://oracledbabay.blogspot.co.uk/2013/05/steps-to-change-scan-ip-address-in.html
    2. The Standard LISTENER is specific for particular node for which it is running. It cannot be relocated as its specific for the node its running. SCAN listeners are not replacements for the node listeners.A new set of cluster processes called scan listeners will run on three nodes in a cluster (or all nodes if there are less than 3).  If you have more than three nodes, regardless of the number of nodes you have, there will be at most three scan listeners. So no relation for standard LISTENER and SCAN LISTENER.
    3. Hmmm. let me put it in easy way for this question. All the RAC services like, asm, db , services, nodeapps registers with this SCAN_LISTENER. So if any of these services (asm, db , services, nodeapps) got down/not running, the SCAN_LISTENER will know the down status, and if any client requests to access the node/service which is down, the SCAN_LISTENER will redirect the client request to the least loaded node. So here all these process will happen without the knowledge of client. And As usual the standard LISTENER looks only for incoming request to connect with the database. So we need both LISTENER and SCAN LISTENER.
    4. If you provide SRCVTL STOP LISTENER,  it stops the default listener on the specified node_name, or the listeners represented in a given list of listener names, that are registered with Oracle Clusterware on the given node. No failover will happen under this case.
    5. Yes you can relocate if you want to relocate the scan.
    Hope this helps!!
    Regards,
    Pradeep. V

  • Why the scan lister and listener configure/start from GRID home why not from Oracle Home.

    Hi
       why the scan lister and listener configure/start from GRID home why not from Oracle Home.

    > why the scan lister and listener configure/start from GRID home why not from Oracle Home.
    Because Oracle says that's the way it has to be.
    As @MohaAGOU said, starting in 11gR2, the Listeners (both SCAN and traditional) are now cluster resources. Let's start with the SCAN Listener. There are only 3 of them, even if you have 4 or more nodes in the cluster. If a node goes down and a SCAN Listener were running on it, Grid Infrastructure will relocate the SCAN Listener to a surviving node. Much easier to do this if the entire resource were in the GI home. Note that an instance cannot be relocated and it is running on a different home.
    As for the traditional listener. The Listener itself won't be relocated during a node termination, but its VIP will.
    Cheers,
    Brian

  • Scan-vip running only on one RAC node

    Hi ,
    While setting up RAC11.2 on Centos 5.7 , I was getting this error during the grid installation:
    PRCR-1079 : Failed to start resource ora.scan1.vip
    CRS-5005: IP Address: 192.168.100.208 is already in use in the network
    CRS-2674: Start of 'ora.scan1.vip' on 'falcen6b' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy
    PRCR-1079 : Failed to start resource ora.scan2.vip
    CRS-5005: IP Address: 192.168.100.209 is already in use in the network
    CRS-2674: Start of 'ora.scan2.vip' on 'falcen6b' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan2.vip' on that would satisfy its placement policy
    PRCR-1079 : Failed to start resource ora.scan3.vip
    CRS-5005: IP Address: 192.168.100.210 is already in use in the network
    CRS-2674: Start of 'ora.scan3.vip' on 'falcen6b' failed
    CRS-2632: There are no more servers to try to place resource 'ora.scan3.vip' on that would satisfy its placement policy
    I figured that the scan service is able to run only on one node at a time. When I stopped the service on rac1 and started it on rac2 the service is starting.
    But I think for the grid installation the scan service has to simultaneously run on both the nodes.
    How do I resolve it?
    Any suggestions please.
    PS - I am planning to try with the patch 11.0.2.3 but it will be a while till i get access to it.
    Till then can someone suggest a workaround?

    Hi Balazs Papp and onedbguru,
    I was able to resolve that error by running the following command on rac2, now that part of the installer passed.
    crsctl start res ora.scan1.vip
    However the cluster verification utility is failing at the end of installer.
    When I executed the below command, this is my output:
    [oracle@falcen6a grid]$ ./runcluvfy.sh stage -post crsinst -n falcen6a,falcen6b -verbose
    Performing post-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "falcen6a"
    Destination Node Reachable?
    falcen6a yes
    falcen6b yes
    Result: Node reachability check passed from node "falcen6a"
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    falcen6b passed
    falcen6a passed
    Result: User equivalence check passed for user "oracle"
    Checking time zone consistency...
    Time zone consistency check passed.
    Checking Cluster manager integrity...
    Checking CSS daemon...
    Node Name Status
    falcen6b running
    falcen6a running
    Oracle Cluster Synchronization Services appear to be online.
    Cluster manager integrity check passed
    UDev attributes check for OCR locations started...
    Result: UDev attributes check passed for OCR locations
    UDev attributes check for Voting Disk locations started...
    Result: UDev attributes check passed for Voting Disk locations
    Check default user file creation mask
    Node Name Available Required Comment
    falcen6b 0022 0022 passed
    falcen6a 0022 0022 passed
    Result: Default user file creation mask check passed
    Checking cluster integrity...
    Cluster is divided into 2 partitions
    Partition 1 consists of the following members:
    Node Name
    falcen6b
    Partition 2 consists of the following members:
    Node Name
    falcen6a
    Cluster integrity check failed. Cluster is divided into 2 partition(s).
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations
    ERROR:
    PRVF-4193 : Asm is not running on the following nodes. Proceeding with the remaining nodes.
    Checking OCR config file "/etc/oracle/ocr.loc"...
    OCR config file "/etc/oracle/ocr.loc" check successful
    ERROR:
    PRVF-4195 : Disk group for ocr location "+DATA" not available on the following nodes:
    Checking size of the OCR location "+DATA" ...
    Size check for OCR location "+DATA" successful...
    OCR integrity check failed
    Checking CRS integrity...
    ERROR:
    PRVF-5316 : Failed to retrieve version of CRS installed on node "falcen6b"
    The Oracle clusterware is healthy on node "falcen6b"
    The Oracle clusterware is healthy on node "falcen6a"
    CRS integrity check failed
    Checking node application existence...
    Checking existence of VIP node application
    Node Name Required Status Comment
    falcen6b yes unknown failed
    falcen6a yes unknown failed
    Result: Check failed.
    Checking existence of ONS node application
    Node Name Required Status Comment
    falcen6b no unknown ignored
    falcen6a no online passed
    Result: Check ignored.
    Checking existence of GSD node application
    Node Name Required Status Comment
    falcen6b no unknown ignored
    falcen6a no does not exist ignored
    Result: Check ignored.
    Checking existence of EONS node application
    Node Name Required Status Comment
    falcen6b no unknown ignored
    falcen6a no online passed
    Result: Check ignored.
    Checking existence of NETWORK node application
    Node Name Required Status Comment
    falcen6b no unknown ignored
    falcen6a no online passed
    Result: Check ignored.
    Checking Single Client Access Name (SCAN)...
    SCAN VIP name Node Running? ListenerName Port Running?
    falcen6-scan unknown false LISTENER 1521 false
    WARNING:
    PRVF-5056 : Scan Listener "LISTENER" not running
    Checking name resolution setup for "falcen6-scan"...
    SCAN Name IP Address Status Comment
    falcen6-scan 192.168.100.210 passed
    falcen6-scan 192.168.100.208 passed
    falcen6-scan 192.168.100.209 passed
    Verification of SCAN VIP and Listener setup failed
    OCR detected on ASM. Running ACFS Integrity checks...
    Starting check to see if ASM is running on all cluster nodes...
    PRVF-5137 : Failure while checking ASM status on node "falcen6b"
    Starting Disk Groups check to see if at least one Disk Group configured...
    Disk Group Check passed. At least one Disk Group configured
    Task ACFS Integrity check failed
    Checking Oracle Cluster Voting Disk configuration...
    Oracle Cluster Voting Disk configuration check passed
    Checking to make sure user "oracle" is not in "root" group
    Node Name Status Comment
    falcen6b does not exist passed
    falcen6a does not exist passed
    Result: User "oracle" is not part of "root" group. Check passed
    Checking if Clusterware is installed on all nodes...
    Check of Clusterware install passed
    Checking if CTSS Resource is running on all nodes...
    Check: CTSS Resource running on all nodes
    Node Name Status
    falcen6b passed
    falcen6a passed
    Result: CTSS resource check passed
    Querying CTSS for time offset on all nodes...
    Result: Query of CTSS for time offset passed
    Check CTSS state started...
    Check: CTSS state
    Node Name State
    falcen6b Observer
    falcen6a Observer
    CTSS is in Observer state. Switching over to clock synchronization checks using NTP
    Starting Clock synchronization checks using Network Time Protocol(NTP)...
    NTP Configuration file check started...
    The NTP configuration file "/etc/ntp.conf" is available on all nodes
    NTP Configuration file check passed
    Checking daemon liveness...
    Check: Liveness for "ntpd"
    Node Name Running?
    falcen6b yes
    falcen6a yes
    Result: Liveness check passed for "ntpd"
    Checking NTP daemon command line for slewing option "-x"
    Check: NTP daemon command line
    Node Name Slewing Option Set?
    falcen6b yes
    falcen6a yes
    Result:
    NTP daemon slewing option check passed
    Checking NTP daemon's boot time configuration, in file "/etc/sysconfig/ntpd", for slewing option "-x"
    Check: NTP daemon's boot time configuration
    Node Name Slewing Option Set?
    falcen6b yes
    falcen6a yes
    Result:
    NTP daemon's boot time configuration check for slewing option passed
    NTP common Time Server Check started...
    NTP Time Server "133.243.236.19" is common to all nodes on which the NTP daemon is running
    NTP Time Server "133.243.236.18" is common to all nodes on which the NTP daemon is running
    NTP Time Server "210.173.160.86" is common to all nodes on which the NTP daemon is running
    NTP Time Server ".LOCL." is common to all nodes on which the NTP daemon is running
    Check of common NTP Time Server passed
    Clock time offset check from NTP Time Server started...
    Checking on nodes "[falcen6b, falcen6a]"...
    Check: Clock time offset from NTP Time Server
    Time Server: 133.243.236.19
    Time Offset Limit: 1000.0 msecs
    Node Name Time Offset Status
    falcen6b 15.332 passed
    falcen6a -1.503 passed
    Time Server "133.243.236.19" has time offsets that are within permissible limits for nodes "[falcen6b, falcen6a]".
    Time Server: 133.243.236.18
    Time Offset Limit: 1000.0 msecs
    Node Name Time Offset Status
    falcen6b 15.115 passed
    falcen6a -1.614 passed
    Time Server "133.243.236.18" has time offsets that are within permissible limits for nodes "[falcen6b, falcen6a]".
    Time Server: 210.173.160.86
    Time Offset Limit: 1000.0 msecs
    Node Name Time Offset Status
    falcen6b 15.219 passed
    falcen6a -1.527 passed
    Time Server "210.173.160.86" has time offsets that are within permissible limits for nodes "[falcen6b, falcen6a]".
    Time Server: .LOCL.
    Time Offset Limit: 1000.0 msecs
    Node Name Time Offset Status
    falcen6b 0.0 passed
    falcen6a 0.0 passed
    Time Server ".LOCL." has time offsets that are within permissible limits for nodes "[falcen6b, falcen6a]".
    Clock time offset check passed
    Result: Clock synchronization check using Network Time Protocol(NTP) passed
    Oracle Cluster Time Synchronization Services check passed
    Post-check for cluster services setup was unsuccessful on all the nodes.
    [oracle@falcen6a grid]$
    Any suggestions?

  • SCAN listeners and default listener all goes to 2nd node

    I installed GRID/Oracle yesterday and I saw on the first node, there are scan-listener1,2 and on second node, it has scan-listner3.
    This morning,I try to create db by dbca, and it give me a warning that there is no default listener on local node.
    Then I checked, there is none any listener at all on local node:
    ps -ef|grep tns
    grid 31295 30685 0 13:47 pts/1 00:00:00 grep tns
    but all on second node:
    ps -ef|grep tns
    grid 13518 1 0 00:14 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
    grid 13536 1 0 00:14 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
    grid 15878 15566 0 13:48 pts/0 00:00:00 grep tns
    grid 16945 1 0 06:22 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
    grid 16959 1 0 06:22 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
    How to explain this situation? How all the listener failed to second node?
    WHere is the log I can check?
    Thanks

    Thanks for your help.
    Here are results from commands you recommended:
    [grid@oracle01. bin]$ ./crsctl check crs
    CRS-4638: Oracle High Availability Services is online
    CRS-4537: Cluster Ready Services is online
    CRS-4529: Cluster Synchronization Services is online
    CRS-4533: Event Manager is online
    [grid@oracle01. bin]$ ./crsctl check cluster -all
    oracle01:
    CRS-4537: Cluster Ready Services is online
    CRS-4529: Cluster Synchronization Services is online
    CRS-4533: Event Manager is online
    oracle02:
    CRS-4537: Cluster Ready Services is online
    CRS-4529: Cluster Synchronization Services is online
    CRS-4533: Event Manager is online
    [grid@oracle01. bin]$ ./crsctl stat res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Local Resources
    ora.LISTENER.lsnr
    OFFLINE OFFLINE oracle01
    ONLINE ONLINE oracle02
    ora.OCR_VOTE.dg
    ONLINE ONLINE oracle01
    ONLINE ONLINE oracle02
    ora.REME_DAT.dg
    ONLINE ONLINE oracle01
    ONLINE ONLINE oracle02
    ora.REME_FRA.dg
    ONLINE ONLINE oracle01
    ONLINE ONLINE oracle02
    ora.asm
    ONLINE ONLINE oracle01
    ONLINE ONLINE oracle02
    ora.gsd
    OFFLINE OFFLINE oracle01
    OFFLINE OFFLINE oracle02
    ora.net1.network
    ONLINE ONLINE oracle01
    ONLINE ONLINE oracle02
    ora.ons
    ONLINE ONLINE oracle01
    ONLINE ONLINE oracle02
    ora.registry.acfs
    ONLINE ONLINE oracle01
    ONLINE ONLINE oracle02
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
    1 ONLINE ONLINE oracle02
    ora.LISTENER_SCAN2.lsnr
    1 ONLINE ONLINE oracle02
    ora.LISTENER_SCAN3.lsnr
    1 ONLINE ONLINE oracle02
    ora.cvu
    1 OFFLINE OFFLINE
    ora.oc4j
    1 ONLINE ONLINE oracle01
    ora.oracle01.vip
    1 ONLINE INTERMEDIATE oracle02 FAILED OVER
    ora.oracle02.vip
    1 ONLINE ONLINE oracle02
    ora.scan1.vip
    1 ONLINE ONLINE oracle02
    ora.scan2.vip
    1 ONLINE ONLINE oracle02
    ora.scan3.vip
    1 ONLINE ONLINE oracle02
    [grid@oracle01. bin]$
    You can see here ora.oracle01.vip has failed over to second node. what is the cause of this issue?
    Thanks.

  • SCAN IP and all 2 VIP listner is unavailable for 1+ min when one node down

    I have two redhat Linux nodes running the Oracle 11.2.0.3
    Everything is OK except, when I powerdow one node (cold or soft reset). the VIP and SCAN lisnter stop working for 1+ minutes. (Using Navicat connection check, all connections are unavailabl for a while)
    Is it normal? The problem is the application DB connection timeout is about 20 seconds.

    Hi,
    even though this sounds quite long (especially for a hard kill of the node, not a reboot), it does not matter if you configured your application correctly:
    http://www.oracle.com/technetwork/products/clustering/overview/awm11gr2-130711.pdf
    Since the application will move to the VIP/SCAN IP running on the second node after 3 sec (connection outbound timeout).
    However failover of VIP and SCAN should be in seconds not minutes...
    And it should not have an effect on all connections - just the ones going to that VIP/SCAN on that node.
    Regards
    Sebastian

  • Vip swing among nodes and able to it's node

    Hi Experts,
    We have a 4 nodes oracle 11.1 RAC server with 10g2 database. OS is redhat 5.1.
    When I log into each node by vip, it alaway point to one fixed node (supporaced as D) after log in.
    I could not log into A, B , C nodes.
    I only can log into each node( A, B, C, D) by its pub IP. But I could log into each node by VIP before.
    Also We have other 4 nodes the same initial RAC, both VIP and Pub IP can log into
    each node too.
    What kind of issue is about this issue?
    How to fix it?
    Thanks
    Jim

    You might want to check if all your cluster services are ok, because what you are saying indicates that something is wrong with 3 of your 4 nodes. Try 'crs_stat -t' to see if any resources are not available
    Bjoern

  • RAC 11gR2 VIP and SCAN failover behavior

    I tried to failover testing on 2 node 11gR2 RAC on Linux 5 X86-64 with configure in tnsnames.ora on client side (client side TAF configuration) with the following configuration
    NVSDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dbrac-scan)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = NVSDB)
    (FAILOVER_MODE =
    (TYPE = SELECT)
    (METHOD = BASIC)
    (RETRIES = 180)
    (DELAY = 5)
    The test scenario
    1. Connect from client to RAC database , and test query with select * from dba_objects
    2. Open new terminal and connect to instance in step 1 , then shutdown abort
    3. I found that , the session in step 1 not failover to other node , and VIP and SCAN not failover to other node too
    In my opinion session , VIP and SCAN should failover to other node.
    Or is this the default behavior of VIP and SCAN on 11gR2 ??
    Can anyone suggest me ?
    Thankyou and Regards

    user10139161 wrote:
    3. I found that , the session in step 1 not failover to other node , Which client/driver did you use to try this? The reason I am asking is that TAF is not supported with jdbc:thin, so if you were trying this with sqldeveloper and the defaul driver that would be the expected behaviour
    and VIP and SCAN not failover to other node tooThat is also expected. You only stopped the instance, there is no reason to relocatethe VIP. In your case, client could still connect to the listener running on this node, the listener would know of the second instance still being up and redirect all connection attempts there.
    What you could try is rebooting the whole server, then you would see IPs being relocated.
    Bjoern

  • Can SCAN VIPs also come back, when the node is Up after failover?

    Hi,
    Consider a two node cluster, as two SCAN vips are running on Node1 and one on Node2.
    As,Node1 is down so the resources and the Node vip failovers to other node.
    When the Node1 is back again, what about the SCAN VIPS they will also come back and work for Node1.
    Thank you
    -Satya

    Hello,
    First of all answer of your question is YES.
    Now Oracle suggest that we should use 3 SCAN VIPs (SCAN LISTENERs).
    See this demo for your question:
    I have 3 node RAC setup : HOST01 & HOST02
    *# crsctl stat res -t*
    As you can see currently SCAN VIPs are running on all the machines, now i am going to stop crs from HOST02 and see the status of SCAN VIPs:
    From host02
    # crsctl stop crs
    FROM HOST01,
    *# crsctl stat res -t*
    [root@host01 ~]# crsctl stat res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
    *1 ONLINE ONLINE host01*
    ora.LISTENER_SCAN2.lsnr
    *1 ONLINE ONLINE host01*
    ora.LISTENER_SCAN3.lsnr
    *1 ONLINE ONLINE host01*
    ora.gns
    1 ONLINE ONLINE host01
    ora.gns.vip
    1 ONLINE ONLINE host01
    ora.host01.vip
    1 ONLINE ONLINE host01
    ora.host02.vip
    1 ONLINE INTERMEDIATE host01 FAILED OVER
    ora.host03.vip
    1 ONLINE INTERMEDIATE host01 FAILED OVER
    ora.oc4j
    1 OFFLINE OFFLINE
    ora.orcl.amdbs.svc
    1 ONLINE ONLINE host01
    2 ONLINE OFFLINE
    ora.orcl.db
    1 ONLINE ONLINE host01
    2 ONLINE OFFLINE
    3 ONLINE OFFLINE
    ora.scan1.vip
    *1 ONLINE ONLINE host01*
    ora.scan2.vip
    *1 ONLINE ONLINE host01*
    ora.scan3.vip
    *1 ONLINE ONLINE host01*
    [root@host01 ~]#
    This time you can see all the SCAN VIPs are running on HOST01.
    Again after starting crs on both the machines : HOST02
    see the status again :
    *# crsctl stat res -t*
    [root@host01 ~]# crsctl stat res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
    *1 ONLINE ONLINE host02*
    ora.LISTENER_SCAN2.lsnr
    *1 ONLINE ONLINE host01*
    ora.LISTENER_SCAN3.lsnr
    *1 ONLINE ONLINE host01*
    ora.gns
    1 ONLINE ONLINE host01
    ora.gns.vip
    1 ONLINE ONLINE host01
    ora.host01.vip
    1 ONLINE ONLINE host01
    ora.host02.vip
    1 ONLINE ONLINE host02
    ora.host03.vip
    1 ONLINE INTERMEDIATE host01 FAILED OVER
    ora.oc4j
    1 OFFLINE OFFLINE
    ora.orcl.amdbs.svc
    1 ONLINE ONLINE host01
    2 ONLINE OFFLINE
    ora.orcl.db
    1 ONLINE ONLINE host01
    2 ONLINE OFFLINE
    3 ONLINE OFFLINE
    ora.scan1.vip
    *1 ONLINE ONLINE host02*
    ora.scan2.vip
    *1 ONLINE ONLINE host01*
    ora.scan3.vip
    *1 ONLINE ONLINE host01*
    *[root@host01 ~]#*
    After starting crs on HOST02 again SCAN VIPs move back to HOST02 automatically.
    Thanks,
    Ashish Shukla
    Edited by: Ashish Shukla on May 15, 2013 7:19 PM

  • WHY: Scan VIP does failover, but Scan Listener does not!

    Hi,
    I have a two node cluster based on 11.2.0.4 (no patches yet). When one node is down, the scan vip does failover to the other node, but however the scan listener does not:
    All up and running:
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
                   ONLINE  ONLINE       rzsolv237                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
                   OFFLINE OFFLINE      rzsolv237
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.ons
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  ONLINE       rzsolv237
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  ONLINE       rzsolv237
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  ONLINE       rzsolv237
    One node is down:
    [oracle@rzsolv236 bin]# ./crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
    ora.ons
                   ONLINE  ONLINE       rzsolv236
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    It is the same with manual relocate, for the scan vip only it works:
    [oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv236
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
                   ONLINE  ONLINE       rzsolv237                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
                   OFFLINE OFFLINE      rzsolv237
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.ons
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  ONLINE       rzsolv237
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    [oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv237
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
                   ONLINE  ONLINE       rzsolv237                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
                   OFFLINE OFFLINE      rzsolv237
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.ons
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
                   ONLINE  ONLINE       rzsolv237
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  ONLINE       rzsolv237
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  ONLINE       rzsolv237
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  ONLINE       rzsolv237
    [oracle@rzsolv236 ~]$
    But it does not for the scan listener:
    [oracle@rzsolv236 ~]$ srvctl relocate scan_listener -i 2 -n rzsolv236
    PRCR-1105 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr to node rzsolv236
    PRCR-1089 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr.
    CRS-2674: Starten von "ora.scan2.vip" auf "rzsolv236" nicht erfolgreich
    [oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv236
    [oracle@rzsolv236 ~]$ srvctl relocate scan_listener -i 2 -n rzsolv236
    PRCR-1090 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr. It is not running.
    [oracle@rzsolv236 ~]$
    Any ideas?
    Robert

    Hi,
    thank you, but this does not match to my problem:
    - those socket files are owned by oracle:oinstall on both nodes, I deleted them to give it a try but no change
    - I can start the LISTENER_SCAN2 on node 1 using lsnrctl when node 2 is down, but I cannot using crsctl and GI does not check it when I start the listener manually
    - GI seems to be kind of confused about the state of the LISTENER_SCAN2 while node 2 is down (is already in the INTERMEDIATE state on server 'rzsolv236' vs. OFFLINE state in crsctl stat res -t)
    see output below ...
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
    ora.ons
                   ONLINE  ONLINE       rzsolv236
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ crsctl start res ora.LISTENER_SCAN2.lsnr -n rzsolv23
    CRS-2800: Cannot start resource 'ora.scan2.vip' as it is already in the INTERMEDIATE state on server 'rzsolv236'
    CRS-4000: Command Start failed, or completed with errors.
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ lsnrctl status LISTENER_SCAN2
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:15
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 2: No such file or directory
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ lsnrctl start LISTENER_SCAN2
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:32
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Starting /ora01/app/grid/product/GRID_11.2.0.4/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    System parameter file is /ora01/app/oracle/network/admin/listener.ora
    Log messages written to /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN2
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                28-NOV-2013 16:12:32
    Uptime                    0 days 0 hr. 0 min. 1 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /ora01/app/oracle/network/admin/listener.ora
    Listener Log File         /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    The listener supports no services
    The command completed successfully
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ lsnrctl status LISTENER_SCAN2
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:37
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN2
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                28-NOV-2013 16:12:32
    Uptime                    0 days 0 hr. 0 min. 4 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /ora01/app/oracle/network/admin/listener.ora
    Listener Log File         /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    The listener supports no services
    The command completed successfully
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$
    [oracle@rzsolv236 ~]$ crsctl stat res -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS
    Local Resources
    ora.DG_GRID.dg
                   ONLINE  ONLINE       rzsolv236
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       rzsolv236
    ora.asm
                   ONLINE  ONLINE       rzsolv236                Started
    ora.gsd
                   OFFLINE OFFLINE      rzsolv236
    ora.net1.network
                   ONLINE  ONLINE       rzsolv236
    ora.ons
                   ONLINE  ONLINE       rzsolv236
    ora.registry.acfs
                   ONLINE  ONLINE       rzsolv236
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
          1        ONLINE  ONLINE       rzsolv236
    ora.LISTENER_SCAN2.lsnr
          1        ONLINE  OFFLINE
    ora.cvu
          1        ONLINE  ONLINE       rzsolv236
    ora.oc4j
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv236.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.rzsolv237.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    ora.scan1.vip
          1        ONLINE  ONLINE       rzsolv236
    ora.scan2.vip
          1        ONLINE  INTERMEDIATE rzsolv236                FAILED OVER
    [oracle@rzsolv236 ~]$
    Regards,
    Robert

  • HT201272 To whom it may concern, This morning I purchased an album, on listening to it three of the tracks are not playing correctly. I read on an apple discussion board that I should delete them and re-download them. This did not work as I was asked to p

    To whom it may concern, This morning I purchased an album, on listening to it three of the tracks are not playing correctly. I read on an apple discussion board that I should delete them and re-download them. This did not work as I was asked to pay for them, and one of the tracks was an album only track.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • What should have in equal tnsnames,ora and listener.ora?

    Hi forum members again I'm very new in oracle, and I'm trying to create a sucessfull net service name, using oracle net configuration assitant, but when I try to test it I got this error, .***"""ORA-12514: TNS:listener does not currently know of service requested in connect descriptor."""*** And I have read that tnsnames.ora and listener.ora should have some parameters in common, but exactly I don't know, Do you know what parameters should be? or The ORA-12514 problem , doesn't have relation with the tnsnames.ora and listener files?, If doesn't wich is the reason of this message?
    By the way I put what contain these files:
    ---------------------------------------------------------------------------listener.ora
    # listener.ora Network Configuration File: /opt/oracle/product/10.1.0.3/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = oracle.gentoo)
    (ORACLE_HOME = /opt/oracle/product/10.1.0.3)
    (SID_NAME = oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SAVE_CONFIG_ON_STOP_LISTENER = TRUE
    TRACE_LEVEL_LISTENER = USER
    /////////////////////////////////////////////////////////////////////////////tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/product/10.1.0.3/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    NORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = noracle)
    By the way what must be the username and the pasword that ask the ORACLE CONFIGURATION ASSINTANT to test the net service name? Must be the user name and password of the system user?
    Thanks in advance

    OK, here we go ... extra long as I intend to bookmark this and make reference, as this is a very common question ... skip to the bottom if you want my guess to the solution.
    Oracle Net Services (formerly SQL*Net, Net8, Oracle Networking) has two parts - the client and the server side. I'll discuss the server first, then the client.
    1) Server, and specifically Listener:
    The Oracle Listener is a monitor that listens for Oracle service requests on one or more ports. Usually this is on TCP/IP port 1521. When it gets an Oracle request from any network client, it checks whether it's in the list of Oracle Services for which it is monitoring. If found, it will contact that service, request a connection for the client, tell the service and client where and how to connect, and get itself out of the loop.
    Notes:
    a) It can listen on behalf of any number of services;
    b) A service can be a database instance, an EPG service (the DBMS_EPG is the replacement for Apache in the database in 10gR2), an external job, etc;
    c) One listener can listen on behalf of multiple database instances;
    d) The services can be listed in the LISTENER.ORA or they can self-register;
    e) If databases self-register, they use the initialization parameter LOCAL_LISTENER
    f) If self-registering, the listener should be up before the database
    g) Shutting down the listener will stop future connections, but has no impact on existing ones.
    One frequent point of confusion - a connection request on the local machine may loop out to the network and contact the listener, or it may bypass the listener entirely and use a bequeath adapter. The 'beq' connection is the 'normal' connection by "sqlplus / as sysdba" or "sqlplus system/manager" on the local machine (note that no @instance was used ... in *nix, that is derived from the $ORACLE_SID environment variable)
    In your listener.ora, you specify global_dbname=oracle.gentoo and sid_name=oracle. I assume therefore you can find an initoracle.ora or spfileoracle.ora somewhere on your system.
    2) Client:
    A client that wants to connect to an Oracle service uses the client side of the Oracle Net Services. The definition of client includes: any Oracle client utiltiy (SQLPlus, SQLLoad, Forms, Reports, etc.); an Oracle database instance that wants to make a external procedure call or a dblink; third party tools such as ODBC and JDBC.
    In SQL*Net version 1 the connection was made by specifying the target in the connect string ("user/password@host:listener_port:sid") and that is also used these days by many JDBC drivers, especially the Oracle Thin JDBC driver. Oracle's Easy connection mechanism uses a similar variant.
    Since SQL*Net Version 2, Oracle has supported the concept of alias translation. Basically it's very similar in concept to DNS - give it the name of the service and tell it where to find the translation table. The translation tables include TNSNAMES.ORA, ONAMES servers (deprecated in 10g), LDAP usng Oracle's OiD. The choice of translation table, and alternate order if the lookup fails in one, is stored in the SQLNET.ORA (if one exists).
    Assuming TNSNAMES.ORA, the chain of events is:
    - get the alias to look up (in your case NORACLE);
    - if the SQLNET.ORA has a DEFAULT_DOMAIN setting, (often =WORLD) append a dot and that value to the alias;
    - go to the TNANSMES.ORA file pointed by the TNS_ADMIN variable (environment or registry), or (if not set) the one in the $ORACLE_HOME/network/admin directory;
    - look up the first occurance of the alias;
    - if found, use the protocol specified to request a connection to the host, usin DNS to unravel the host to an IP address if necessary (in your case TCP/IP, to TUX) ;
    - if host connection if made, connect to the listener that is configured for that port (in your case 1521);
    - if listener is there, ask it for connection to the service (in your case, you are asking for instance 'noracle');
    i if the listener knowwss about the service, it will hand off the request.
    Your problem appears to be asking for instance 'noracle' in the tnsnames but listeneing for 'oracle' at the listener. Of course, I can not see any auto-registered instances which you would get from "lsnrctl status" on the server.

  • Error starting listener on single node in RAC..Error listening on: (DESCRIP

    LSNRCTL> start LISTENER_CORPNG04
    Starting /ora00/app/oracle/product/11/db1/bin/tnslsnr: please wait...
    TNSLSNR for HPUX: Version 11.1.0.7.0 - Production
    System parameter file is /ora00/app/oracle/product/11/db1/network/admin/listener.ora
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vir_corpng04)(PORT=1521)(IP=FIRST)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    HPUX Error: 227: Can't assign requested address
    Listener failed to start. See the error message(s) above...
    LSNRCTL>
    Plz help its production system
    Thanks in Advance
    Gagan

    Hello,s
    First of all, check the status of all resources by using crs_stat -t
    Check if your VIP resource is indeed up and running on the node where you want to start the listener. As listener is depending upon this VIP address, it is needed to be up on the node where listener is configured. If this is the case then relocate the vip back to the system by using either of the following commands
    1. crs_relocate <vip_resource_name>
    OR
    2. srvctl start nodeapps -n <hostname>
    listener should be automatically up once crs relocates back the vip to the system.
    If vip is already running fine on the system then check for your listener configuration as you check in normal systems.
    Lalit Verma
    [http://sites.google.com/site/racinsights1]

  • Oracle11g r2 Grid/RAC  VIP failover instead of SCAN VIP failover

    Dear Experts and Gurus
    Our Platform: 2-Node ORACLE11G r2 RAC/GRID 11.2.0.1.0
    ReadHat Enterprise Linux5.3 64 bit
    We have not available the DNS Server for used to SCAN feature of Oracle11g r2 GRID/RAC.
    we have successfully deployed the the setup using scan-vip in /etc/host in our production site.
    we want to used the Oracle11g r2 Grid/RAC as Oracle10g r2 RAC/Oracle11g r1 RAC(VIP Failover)
    plz find the default configurations of my setup.
    cat /etc/hosts
    #public
    xxx.xxx.0.1 xyz-ch-aaadb-01
    xxx.xxx.0.2 xyzl-ch-aaadb-02
    #Virtual
    xxx.xxx.0.3 xyz-ch-aaadb-01-vip
    xxx.xxx.0.4 xyz-ch-aaadb-02-vip
    #Private
    10.10.0.1 xyz-ch-aaadb-01-priv
    10.10.0.2 xyz-ch-aaadb-01-priv
    #Scan
    xxx.xxx.0.5 rac-scan
    cat listener.ora
    listener.ora in both the RAC nodes
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    cat tnsnames.ora.
    AAADB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = aaadb)
    aaadb2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xyz-ch-aaadb-02-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = aaadb)
    (INSTANCE_NAME = aaadb2)
    aaadb1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xyz-ch-aaadb-01-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = aaadb)
    (INSTANCE_NAME = aaadb1)
    listener parameters
    RAC-NODE1
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xyz-ch-aaadb-01-vip)(PORT=1521))))
    remote_listener string rac-scan:1521
    RAC-NODE2
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xyz-ch-aaadb-02-vip)(PORT=1521))))
    remote_listener string rac-scan:1521
    listener status
    RAC Node-1
    [oracle@aaarac1 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 30-AUG-2011 23:43:50
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 30-AUG-2011 22:31:34
    Uptime 0 days 1 hr. 12 min. 15 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/aaarac1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xyz-ch-aaadb-01-vip)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.0.1)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "aaadb" has 1 instance(s).
    Instance "aaadb1", status READY, has 1 handler(s) for this service...
    Service "aaadbXDB" has 1 instance(s).
    Instance "aaadb1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    RAC Node-2
    [oracle@aaarac2 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 30-AUG-2011 23:44:27
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 30-AUG-2011 22:08:45
    Uptime 0 days 1 hr. 35 min. 42 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/aaarac2/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xyz-ch-aaadb-02-vip)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx.xxx.0.2)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Service "aaadb" has 1 instance(s).
    Instance "aaadb2", status READY, has 1 handler(s) for this service...
    Service "aaadbXDB" has 1 instance(s).
    Instance "aaadb2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    plz suggest the provide the step to configure the listener.ora and tnsnames.ora for use the Oracle11g r2 Grid/RAC to use as
    VIP failover instead of SCAN-VIP failover.
    Regards
    Hitgon
    Edited by: hitgon on Aug 31, 2011 12:14 AM

    hitgon wrote:
    Dear Experts and Gurus
    plz suggest the provide the step to configure the listener.ora and tnsnames.ora for use the Oracle11g r2 Grid/RAC to use as
    VIP failover instead of SCAN-VIP failover.
    Regards
    Hitgon
    Hi,
    Have a read http://download.oracle.com/docs/cd/E11882_01/network.112/e10836/advcfg.htm#NETAG348
    Hope it helps
    CHeers

  • ACE30 - PING to VIP and Client side SVI not working

    Hi Guys,
    Having setup the ACE30 based on the configuration guides, I've been able to get basic load balancing working, probes, stickness etc.  However in testing connectivty, I've noticed that from the real server on the backend I cannot seem to PING:
    1. The VIP for the web service that the server is a part of
    2. The Client side SVI
    I'd like this to work to ensure full connectivity.
    I've applied ACLs to the Client side SVI (on the ACE) to allow this in both directions, and also removed any ACLs attached to the client side SVI on the MSFC where the subnet is actually homed.  However I just cannot seem to PING the Client side SVI on the ACE, or the VIP.  Trying to understand if this is normal behavior.
    Have inserted my config below for completeness.
    ACE30 Config
    login timeout 60
    hostname ACE1
    boot system image:c6ace-t1k9-mz.A90_6_3_5.bin
    boot system image:c6ace-t1k9-mz.A4_1_0.bin
    resource-class RC_1
      limit-resource all minimum 10.00 maximum unlimited
    access-list all line 8 extended permit ip any any
    access-list v6-any line 8 extended permit ip anyv6 anyv6
    class-map type management match-any REMOTE_ACCESS
      description Remote access traffic match
      2 match protocol telnet any
      3 match protocol ssh any
      4 match protocol icmp any
      5 match protocol https any
    policy-map type management first-match REMOTE_MGMT_ALLOW_POLICY
      class REMOTE_ACCESS
        permit
    interface vlan 768
      description Management connectivity
      ip address 10.20.40.72 255.255.255.0
      service-policy input REMOTE_MGMT_ALLOW_POLICY
      no shutdown
    ip route 0.0.0.0 0.0.0.0 10.20.40.254
    context VC_1
      allocate-interface vlan 11
      allocate-interface vlan 186
      member RC_1
    username admin password 5 $1$STizNv5q$i96.Qrt4C4SfHkbLyVT74.  role Admin domain default-domain
    username www password 5 $1$ZAn8bOtv$xmmNlH8akF6iYfXdQCKMo1  role Admin domain default-domain
    ssh key rsa1 1024 force
    ! VC_1
    ACE1/VC_1# sh run
    probe http HTTP_PROBE1
      interval 15
      passdetect interval 60
      expect status 200 200
      open 1
    rserver host RS_MONASH_WEB1
      description Test Monash Web Server 1
      ip address 10.194.27.177
      inservice
    serverfarm host SF_MONASH_WEB
      probe HTTP_PROBE1
      rserver RS_MONASH_WEB1 80
        inservice
    sticky ip-netmask 255.255.255.255 address source STICKY_MONASH_WEB
      timeout 3600
      serverfarm SF_MONASH_WEB
    class-map type management match-any REMOTE_ACCESS
      description Remote access traffic match
      2 match protocol ssh any
      3 match protocol telnet any
      4 match protocol icmp any
      5 match protocol https any
    class-map match-all VS_MONASH_WEB
      2 match virtual-address 10.194.11.1 tcp eq www
    access-list ALLOW_TRAFFIC_TOWARDS_ACE extended permit ip any any
    access-list ALLOW_TRAFFIC_TOWARDS_ACE extended permit icmp any any
    policy-map type management first-match REMOTE_MGMT_ALLOW_POLICY
      class REMOTE_ACCESS
        permit
    policy-map type loadbalance first-match PM_MONASH_WEB_LB
      class class-default
        sticky-serverfarm STICKY_MONASH_WEB
    policy-map multi-match PM_MULTI_MATCH_CLIENT_VIP
      class VS_MONASH_WEB
        loadbalance vip inservice
        loadbalance policy PM_MONASH_WEB_LB
    service-policy input REMOTE_MGMT_ALLOW_POLICY
    interface vlan 11
      description Client connectivity on Vlan 11
      ip address 10.194.11.250 255.255.255.0
      access-group input ALLOW_TRAFFIC_TOWARDS_ACE
      access-group out ALLOW_TRAFFIC_TOWARDS_ACE       ! not sure if this is required as well?
      service-policy input PM_MULTI_MATCH_CLIENT_VIP
      no shutdown
    interface vlan 186
      description CSM www monash
      ip address 10.194.27.189 255.255.255.240
      access-group input ALLOW_TRAFFIC_TOWARDS_ACE    ! not sure if this is required?
      access-group out ALLOW_TRAFFIC_TOWARDS_ACE      ! not sure if this is required?
      ip dhcp relay server 130.194.15.17
      ip dhcp relay server 130.194.15.1
      ip dhcp relay enable
      no shutdown
    ip route 0.0.0.0 0.0.0.0 10.194.11.254
    6500s
    ! test-clay1-gw - ACE connects to this 6500
    svclc multiple-vlan-interfaces
    svclc module 2 vlan-group 2
    svclc vlan-group 2  11,171-499,768
    ! test-clay0-gw - Where Client side subnet, VLAN11 is homed
    interface Vlan11
    description Testlab server subnet
    ip address 10.194.11.253 255.255.255.0
    no shut
    ip route 10.194.27.176 255.255.255.240 10.194.11.250
    thanks
    Sheldon

    To ping your VIP of the webserver, you should apple the service-policy input command on VLAN 186 too. Currently the VIP only listens on VLAN 11. For the SVI i think that was forbidden by security reason, but i cant remember anymore. Maybe you just need to put the management policy on the interface VLAN 186. If it dont work, then my first guess was right

Maybe you are looking for

  • Error while running jspx page from Jdeveloper

    Hi, I'm trying to customize LegalEntityDashboard.jspx of finance common ear , but while running the page from Jdeveloper I'm getting below error, <04-Nov-2013 07:12:05 o'clock GMT> <Warning> <Munger> <BEA-2156203> <A version attribute was not found i

  • How do I reverse a photo so it's a mirror image

    I don't want to flip the image horizonally or vertically.  I want to reverse it, i.e., so a person facing left will face right.  Can I do this in iPhoto?  Some other app?

  • Video quality is less than expected when playing inside Flash

    iam using flv video. i played it back in many ways , with flv player that comes with flash ,as embedded in the time line and using external class that use  NetStream ,the video quality was less than playing the same video  outside the flash invironme

  • Phone app won't start intermitantly

    Hello. So the phone is caught up to the latest firmware, but I'm having intermitant problems where the phone app, the ipod app, and several others occasionally won't start. I lauch them, wait a few seconds on a black screen, and then end up back at t

  • Phaser 7300Dn duplex printing issue

    I can print duplex from my imac but not my MacBook Pro on a phaser 7300DN. I can print from the MacBook Pro to the phaser I just cannot select two sided printing as it is greyed out. I have reloaded the current drivers from Xerox and still get the sa