RAC -SCAN

Hi,
Why 3 SCAN IP is required during OracleRAC 11GR2 installation?
How I can install single node RAC in 11gR2? any document or suggestion would be great!

Hi,
Refer:
Re: 11gR2 One Node OR Single Node RAC
http://prsync.com/oracle/installation-and-testing-rac-one-node-21465/
thanks,
X A H E E R

Similar Messages

  • How to setup rac scan on OEL6 on virtualbox

    I am trying to setup RAC on a 2 node cluster. i am trying to setup rac scan.
    i have 2 ip address
    192.168.8.1 - public  node 1
    192.168.8.2 - public  node 2
    192.168.1.1 - private node 1
    192.168.1.2 - private node 2
    VIP Ipaddress
    192.168.8.6
    192.168.8.7
    192.168.8.8
    the scan ip's are
    192.168.8.3
    192.168.8.4
    192.168.8.5
    NOTE: i have an active directory network in house that uses the public ip's subnet above. which also act as my DNS servers. The public ip's are connected to the internet. so all my linux boxes are browsing
    i have added all the ip's to my host file. and installed dnsmasq. and followed the steps on oracle-base. i have two nic on virtualbox. one bridged to the host system and acting as my public ip (192.168.8.0) while the other is an internal network for the private network(192.168.1.0)
    ORACLE-BASE - Dnsmasq : For Simple DNS Configurations

    Your /etc/hosts file should be like:
    # public
    192.168.8.1     node1
    192.168.8.2     node2
    # private
    192.168.1.1     node1-priv
    192.168.1.2     node2-priv
    # VIP Ipaddress
    192.168.8.11     node1-vip
    192.168.8.12     node2-vip
    # scan ip's are
    192.168.8.3     cluster-scan
    It is better to define 2 NICs for each VM: 1 for public networking and 1 for private.

  • Changed the IP to use a bond and now I can't ping my rac-scan address.

    Using Oracle Linux 6.3 and 11.2.0.3 Oracle Rac.
    My Database and Clustered RAC were working fine and I could ping my "rac-scan" name that is setup to resolve in DNS for a specific IP address.
    I needed to setup a network bond on all the network cards to ensure failover and load balancing at the network layer.
    I got the bond working and ping/ssh as I could before. Pinging rac-scan no longer works.
    I imagine Oracle has somewhere the rac-scan coming from eth0 instead of bond0?

    [root@oracleA bin]# ./oifcfg getif -global
    eth5 10.16.11.0 global cluster_interconnect
    eth0 10.255.16.0 global public
    eth0 is what I changed to be the bond0 combining eth0 and eth1(which was unused).
    Is there a way to change eth0 to bond0? Do you know how if or how I could?
    Also the address given shows the network address not the actual node ip at the end (10.255.16.101) but I think that is normal from your example.

  • Oracle 11gR2 RAC - SCAN issue

    We have Oracle 11gR2(11.2.0.1) RAC (2-node) on HP-UX. And we have some issue with SCAN Listener configuration.
    Issue-1*
    LISTENER_SCAN1 is running on node-1 and LISTENER_SCAN2 & LISTENER_SCAN3 is running on node-2. This is how it's running always. And we have 3 RAC database (cadprod, omsprod & eaiprod) running on this server. Both the instances of cadprod & eaiprod is registered on all three SCAN listeners.
    But omsprod is having issues, omsprod1 & omsprod2 are registered on LISTENER_SCAN1 on node-1, but omsprod2 is not register on LISTENER_SCAN2 & LISTENER_SCAN3 on node-2. and some times we are not able to connect the second instance (omsprod2).
    Issue-2*
    And if node-1 goes down, all three databases are failover to node-2, after that we are not able to connect omsprod & eaiprid database its giving the following error on client side,
    ORA-12516, TNS:listener could not find available handler with matching protocol stack
    once the node-1 came back its allowing the connection. But cadprod doesn't have this issue, we are able to connect after the failover.
    Listener Status:*
    oracle@hublhp1:/home/oracle$ lsnrctl status LISTENER_SCAN1
    LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 04-MAR-2011 09:53:29
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for HPUX: Version 11.2.0.1.0 - Production
    Start Date 28-FEB-2011 13:40:09
    Uptime 3 days 20 hr. 13 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /app/oracle/grid/product/11.2.0/network/admin/listener.ora
    Listener Log File /app/oracle/grid/product/11.2.0/log/diag/tnslsnr/hublhp1/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.35.110)(PORT=1521)))
    Services Summary...
    Service "cadprod" has 2 instance(s).
    Instance "cadprod1", status READY, has 1 handler(s) for this service...
    Instance "cadprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprod" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprodXDB" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "omsprod" has 2 instance(s).
    Instance "omsprod1", status READY, has 1 handler(s) for this service...
    Instance "omsprod2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@hublhp3:/home/oracle$ lsnrctl status LISTENER_SCAN2
    LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 04-MAR-2011 09:52:40
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN2
    Version TNSLSNR for HPUX: Version 11.2.0.1.0 - Production
    Start Date 28-FEB-2011 12:23:33
    Uptime 3 days 21 hr. 29 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /app/oracle/grid/product/11.2.0/network/admin/listener.ora
    Listener Log File /app/oracle/grid/product/11.2.0/log/diag/tnslsnr/hublhp3/listener_scan2/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.35.109)(PORT=1521)))
    Services Summary...
    Service "cadprod" has 2 instance(s).
    Instance "cadprod1", status READY, has 1 handler(s) for this service...
    Instance "cadprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprod" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprodXDB" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "omsprod" has 1 instance(s).
    Instance "omsprod1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@hublhp3:/home/oracle$ lsnrctl status LISTENER_SCAN3
    LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 04-MAR-2011 09:52:27
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN3
    Version TNSLSNR for HPUX: Version 11.2.0.1.0 - Production
    Start Date 28-FEB-2011 12:23:34
    Uptime 3 days 21 hr. 28 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /app/oracle/grid/product/11.2.0/network/admin/listener.ora
    Listener Log File /app/oracle/grid/product/11.2.0/log/diag/tnslsnr/hublhp3/listener_scan3/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN3)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.35.111)(PORT=1521)))
    Services Summary...
    Service "cadprod" has 2 instance(s).
    Instance "cadprod1", status READY, has 1 handler(s) for this service...
    Instance "cadprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprod" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "eaiprodXDB" has 2 instance(s).
    Instance "eaiprod1", status READY, has 1 handler(s) for this service...
    Instance "eaiprod2", status READY, has 1 handler(s) for this service...
    Service "omsprod" has 1 instance(s).
    Instance "omsprod1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    oracle@hublhp3:/home/oracle$
    oracle@hublhp3:/home/oracle$

    Node-1*
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # 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_SCAN2=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    Node-2*
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
    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
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent

  • 11gR2 dbcontrol sees RAC SCAN listeners on wrong nodes

    Hi,
    11.2.0.2.10 RAC with 2 nodes on Linux x64.
    After bringing nodes down one at a time yesterday for OS updates, now EM isn't seeing the SCAN listeners on the right nodes anymore. So they all show down, but it's really just thinking they are on the wrong node.
    'srvctl status scan' shows:
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node data2
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node data1
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node data1
    'emctl config agent listtargets' on data1 shows:
    [LISTENER_SCAN1_dlrac, oracle_listener]
    'emctl config agent listtargets' on data2 shows:
    [LISTENER_SCAN2_dlrac, oracle_listener]
    [LISTENER_SCAN3_dlrac, oracle_listener]
    I've tried 'emctl clearstate agent' and 'emctl reload agent' on both nodes, which didn't work. Now, if I bring crs on a node down and back up, EM sees the listeners move, but still to the opposite node of where they really are.
    Ideas?
    Thanks.

    Please do not use emctl clearstate agent command.
    Refer the following doc, if that doesn't help then log an SR with Oracle support.
    Database Control (dbconsole) Assistant: Setup,Administration and Access (Search Helper) (Note 1565044.2)
    HTH
    Mani

  • Oracle 11gR2 RAC Scan Virtual IPs

    Hi, I have a doubt, I was installing Oracle RAC 11gR2 but I didn't understand how to do to resolve rac node ip address if the scan host has virtual ip and supposedly that ip address is not associated with specific host, when I attempt to ping to scan host why get response from rac nodes?
    Thanks.

    "..how to do to resolve rac node ip address if the scan host has virtual ip.."
    use DNS to round robin the 3+ IP's.
    "..and supposedly that ip address is not associated with specific host, when I attempt to ping to scan host why get response from rac nodes?"
    it -is- associated with a specific host. but you did not assign that IP from the OS level, Oracle clusterware does that for you, dynamically.
    In a two node RAC you will (assuming the recommended setup) have 3 SCAN listeners, so 2 on one node, and 1 on the other. If you stop the node with the 2 SCAN listeners, clusterware will reassign the corresponing IP's to the remaining node, and start the listeners there.
    which you can obviously verify with ipconfig or netstat, or the /sys pseudo fs on Linux.

  • RAC SCAN confusion.

    Oracle RAC needs two ip address one for the private interconnect and one for the VIP (for the uses and applications to connect to). oracle also says that a network interface should not be bound to any of the scan ip address. my doubt is.
    1. if we have about 9 nodes in the cluster. oracle says that the scan name can resolve to a maximum of 3 ip address. does this mean that we need 3 oracle scans.
    2. REALLY CONFUSED HERE scan ip address is not bound to any network interface. so the clients will be connecting using the scan vip. now..
    oracle needs two ip address one for private (one network interface) and
    public (vip another network interface) (here do we need an additional network interface card for the SCAN with out any ip assigned to it). so if scan needs an additional interface card then it makes that we need 3 interface card right.
    3. oracle RAC instance registers only with SCAN listeners (is it correct). if correct then can we have a single SCAN listener listening to 3 network ipaddress that the scan resolves to. or do we need 3 scan listeners for this purpose each listener listening to one ip address scan resolves to. and more over will these 3 listeners to be configured on all of the nodes.
    please help guys,

    I think your confusing stems from the number of NICs (Network Interface Controllers) you expect there to be.
    For each RAC node server, 2 NICs are required.
    A public NIC. This means it is wired into a public switch and connected to your company LAN/WAN. There are potentially 3 IP addresses than can run on the public NIC:
    - static IP (fixed IP for that server)
    - virtual IP (virtual failover IP for that server)
    - SCAN IP (single access IP for the cluster)
    Should other nodes in the cluster fail, more IPs will exist on the public NIC. Let's say 8 of your 9 nodes fail. The remaining node will failover the 8 downed nodes's virtual IPs. So it will have 9 virtual IPs in total on the public NIC. Plus its static IP. Plus any SCAN IPs.
    A private NIC. This should be wired into a private switch. This private switch should serve as the dedicated Interconnect switch. The only external access (into your company LAN/WAN) from this switch should be its management port - allowing your NA's (Network Admins) to administer and manage the private switch.
    A single IP, the Interconnect IP, should exist on the private NIC.
    A server can also use bonded NICs. For example, the server has 3 NICs. Two of these are bonded, creating a single logical public NIC. The remaining NIC serves as the private NIC. Or vice versa. Or both public and private interfaces can be bonded separately.
    The SCAN name is simply a single hostname that the client needs to know. In a 100 node 10g cluster, each client needs to know all 100 virtual IPs/hostnames in order for high availability to work seamlessly. It is much easier for the client to remember a single hostname instead - and via this hostname being able to connect to any one of the 100 available RAC nodes.
    The SCAN name must resolve to at least a single IP. That SCAN IP must exist (be bound) on one of the public NICs of the cluster. A SCAN name can also resolve to more than one IP (max 3 on 11gr2 I think). In that case, all 3 of those SCAN IPs need to be bound to a public NIC of a cluster node. Should a node that manages a SCAN IP fail, that will failover to another node just like its virtual IP.

  • Oracle 11gR2 RAC VM and SCAN and DNS and /etc/hosts (two) setup questions

    Hi,
    I am looking forward to setting up two Oracle 11gR2 RAC instances
    on my Oracle VM test machine.
    I plan on using the Oracle 11gR2 RAC VM template.
    I want the final Oracle 11gR2 RAC instances to have SCAN that uses DNS.
    The DNS will be pre-installed in the JeOS.
    My first simple question about the setup is the following.
    In my DNS name file, for example,
    /var/named/chroot/var/named/milkyway.univ.db
    do I need to provide the racnode1 and racnode2 information,
    for example,
    # DNS name file (snippet)
    myjeos IN A 192.168.1.150
    racnode1 IN A 192.168.1.161
    racnode1-vip IN A 192.168.1.163
    racnode2 IN A 192.168.1.162
    racnode2-vip IN A 192.168.1.164
    rac-scan IN A 192.168.1.131
    rac-scan IN A 192.168.1.132
    rac-scan IN A 192.168.1.133
    Or, can I just provide only the rac-scan information
    # DNS name file alternate (snippet)
    myjeos IN A 192.168.1.150
    rac-scan IN A 192.168.1.131
    rac-scan IN A 192.168.1.132
    rac-scan IN A 192.168.1.133
    What I am getting at is the following.
    Within the install process, will racnode1, racnode1-vip, racnode2,
    and racnode2-vip host names and their IP address be written
    to the RAC instances /etc/hosts files? (So I should not bother
    to put them in the DNS name file like '# DNS name file alternate (snippet)'?)
    Or, should I put the racnode and racnode-vip host names and IP addresses
    in the DNS name file like '# DNS name file (snippet)'?
    The second question is the following.
    Are the cluster name and the scan name allowed to be different?
    Currently, I would plan them to be different,
    for example, rac-cluster and rac-scan.
    Or, are they required to be the same,
    for example, rac-cluster and rac-cluster.
    Thank you.
    AIM

    AIM wrote:
    do I need to provide the racnode1 and racnode2 information,
    Or, can I just provide only the rac-scan information You need to provide all of it in DNS, because other hosts in your network will need to be able to resolve all of the normal, VIP and SCAN addresses for your RAC nodes. We write this data out to /etc/hosts just to reduce the amount of round-trip DNS requests the cluster nodes make for themselves.
    Are the cluster name and the scan name allowed to be different?They can be different.

  • TNS-12520 when connecting via TCPS on 11gR2 RAC with SCAN Listener

    I am struck trying to implement TCPS on our Oracle RAC SCAN Listener.  I have added to our Oracle 12c systems, but not on a RAC with SCAN.
    I created a wallet and certificate on one of the nodes, and copied it to the node and created auto login on each node.  I exported the trust.jks and identity.jks, and loaded them in my test java program as the trust store and key stores.  I have added the wallet location to the listener tns and sql  ora files.
    When attempting a TCPS connection, the ssl handshake succeed, but the client reports error:
    ORA-12520, TNS:listener could not find available handler for requested type of server
    The nodes scan listener log reports the TNS error, listener_scan1/alert/log.xml, when the connection is using TCPS on port 2484:
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'  type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:06:20 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcps)(HOST=9.55.61.122)(PORT=46635)) *
    establish * DUB11RAC * 12520
    </txt>
    </msg>
    <msg time='2015-04-29T14:06:20.629-04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'
    host_addr='9.55.59.45'>
    <txt>TNS-12520: TNS:listener could not find available handler for requested type of server
    </txt>
    </msg>
    A connection using TCP completes without error:
    <msg time='2015-04-29T14:42:02.588-04:00' org_id='oracle' comp_id='tnslsnr' type='UNKNOWN' level='16' host_id='dublr059vm.dub.usoh.ibm.com'  host_addr='9.55.59.45'>
    <txt>29-APR-2015 14:42:02 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=tcarlson))
    (SERVER=DEDICATED)(SERVICE_NAME=DUB11RAC)) * (ADDRESS=(PROTOCOL=tcp)(HOST=9.55.61.122)(PORT=41950)) *
    establish * DUB11RAC * 0
    </txt>
    </msg>
    The scan listener is configured for TCP on 1521 and TCPS on 2484
    [oracle@dublr059vm ~]$ srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dublr060vm
    [oracle@dublr059vm ~]$ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521/TCPS:2484
    The service, dub11rac is ready on both instances.
    [oracle@dublr060vm ~]$ lsnrctl stat LISTENER_SCAN1
    LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 30-APR-2015 11:45:18
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias                     LISTENER_SCAN1
    Version                   TNSLSNR for Linux: Version 11.2.0.4.0 - Production
    Start Date                30-APR-2015 11:43:24
    Uptime                    0 days 0 hr. 1 min. 53 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/11.2.0/grid/log/diag/tnslsnr/dublr060vm/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=9.55.59.47)(PORT=2484)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=9.55.59.47)(PORT=1521)))
    Services Summary...
    Service "dub11rac" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    Service "dub11racXDB" has 2 instance(s).
      Instance "dub11rac1", status READY, has 1 handler(s) for this service...
      Instance "dub11rac2", status READY, has 1 handler(s) for this service...
    The command completed successfully

    Hi hitgon,
    Thanks first.
    The commands output are as the following:
    Command: srvctl status listener
    Output:
    # Listener LISTENER is enabled
    # Listener LISTENER is running on node(s): rac1,rac2
    Command: srvctl status scan_listener
    Output:
    # SCAN Listener LISTENER_SCAN1 is enabled
    # SCAN listener LISTENER_SCAN1 is running on node rac2
    # TNSNAMES.ORA
    RAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac.localdomain)
    Command: sqlplus username/passwd@rac-scan:1521/rac.localdomain
    Output:
    # ERROR:
    # ORA-12520: TNS:listener could not find available handler for requested type of server
    # Enter user-name:
    By the way, rac-scan is the host where the SCAN listener is running and rac.localdomain is the service name. I've also tried the following commands
    with the same error output:
    sqlplus username/passwd@RAC
    At last, i think the output of "lsnrctl status LISTENER_SCAN1" might help:
    Service "rac.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...
    Service "racXDB.localdomain" has 2 instance(s).
    Instance "rac1", status READY, has 1 handler(s) for this service...
    Instance "rac2", status READY, has 1 handler(s) for this service...

  • Nslookup scan ip not pingable in rac node

    All,
    I'm planning to install 11.2.0.1 rac on my laptop. As a first step I have configured dns in separate vmware and configured rac1 node as well. Both dns and rac1 public ip addresses are pingable from each others and from host machine.But the rac-scan ip is only pingable from dns server and not pingable from rac1 server.  Will this make any problem if dns server running on 32 bit and rac nodes running on 64 bit server ? Please let me know if I have anything missed here. Thanks again.
    About posting on this forum. I have used [code]  [/code] to format the code previously. But this time it is not working. Also there is no option to preview the code before posting.
    use spaces to separate multiple tags I'm not clear about this. I read https://forums.oracle.com/thread/865295 this article how to post the code. It says to use  \ . If you guide me how to format the code I can use that in future.
    Host OS : Windows 8 64 bit
    Guest OS -1 : dns 32 bit Linux
      [root@dns32 ~]# uname -a
       Linux dns32.testenv.com 2.6.18-164.el5 #1 SMP Thu Sep 3 02:16:47 EDT 2009 i686 i686 i386 GNU/Linux
    Guest OS -2 : rac1 64 bit Linux
      [root@rac1 ~]# uname -a
       Linux rac1 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    Guest OS-3 : rac2 - yet to configure 64 bit Linux
    @ dns server
    [root@dns32 ~]# nslookup rac-scan
    Server:         192.168.1.26
    Address:        192.168.1.26#53
    Name:   rac-scan.testenv.com
    Address: 192.168.1.57
    Name:   rac-scan.testenv.com
    Address: 192.168.1.58
    Name:   rac-scan.testenv.com
    Address: 192.168.1.59
    [root@dns32 ~]# cat /etc/resolv.conf
    search testenv.com
    nameserver 192.168.1.26
    [root@dns32 ~]# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:0C:29:EF:03:D3
              inet addr:192.168.1.26  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::20c:29ff:feef:3d3/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2802 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2691 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:210115 (205.1 KiB)  TX bytes:208344 (203.4 KiB)
              Interrupt:67 Base address:0x2024
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:2308 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2308 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:5494207 (5.2 MiB)  TX bytes:5494207 (5.2 MiB)
    sit0      Link encap:IPv6-in-IPv4
              NOARP  MTU:1480  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    [root@dns32 ~]# ping 192.168.1.26
    PING 192.168.1.26 (192.168.1.26) 56(84) bytes of data.
    64 bytes from 192.168.1.26: icmp_seq=1 ttl=64 time=0.200 ms
    --- 192.168.1.26 ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 0.200/0.200/0.200/0.000 ms
    [root@dns32 ~]# ping 192.168.1.27
    PING 192.168.1.27 (192.168.1.27) 56(84) bytes of data.
    64 bytes from 192.168.1.27: icmp_seq=1 ttl=64 time=0.330 ms
    --- 192.168.1.27 ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 0.330/0.330/0.330/0.000 ms
    @rac1 node :
    [root@rac1 ~]# cat /etc/resolv.conf
    search testenv.com
    nameserver 192.168.1.26
    [root@rac1 ~]#  nslookup rac-scan
    ;; connection timed out; no servers could be reached
    [root@rac1 ~]# ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:0C:29:75:A9:39
              inet addr:192.168.1.27  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::20c:29ff:fe75:a939/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:500 errors:0 dropped:0 overruns:0 frame:0
              TX packets:357 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:52333 (51.1 KiB)  TX bytes:39556 (38.6 KiB)
    eth1      Link encap:Ethernet  HWaddr 00:0C:29:75:A9:43
              inet addr:192.168.2.37  Bcast:192.168.2.255  Mask:255.255.255.0
              inet6 addr: fe80::20c:29ff:fe75:a943/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:160 errors:0 dropped:0 overruns:0 frame:0
              TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:20359 (19.8 KiB)  TX bytes:6518 (6.3 KiB)
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:1940 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1940 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:4783881 (4.5 MiB)  TX bytes:4783881 (4.5 MiB)
    sit0      Link encap:IPv6-in-IPv4
              NOARP  MTU:1480  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    [root@rac1 ~]# ping 192.168.1.26
    PING 192.168.1.26 (192.168.1.26) 56(84) bytes of data.
    64 bytes from 192.168.1.26: icmp_seq=1 ttl=64 time=0.284 ms
    64 bytes from 192.168.1.26: icmp_seq=2 ttl=64 time=0.456 ms
    --- 192.168.1.26 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1000ms
    rtt min/avg/max/mdev = 0.284/0.370/0.456/0.086 ms
    [root@rac1 ~]# ping 192.168.1.27
    PING 192.168.1.27 (192.168.1.27) 56(84) bytes of data.
    64 bytes from 192.168.1.27: icmp_seq=1 ttl=64 time=0.032 ms
    --- 192.168.1.27 ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 0.032/0.032/0.032/0.000 ms
    Thanks
    Arul

    Thanks Saurabh. I have configured dns using this blog " http://dnccfg.blogspot.in/2012/08/dns-configuration-on-linux.html.html
    [root@dns32 etc]# cat named.conf
    // named.caching-nameserver.conf
    // Provided by Red Hat caching-nameserver package to configure the
    // ISC BIND named(8) DNS server as a caching only nameserver
    // (as a localhost DNS resolver only).
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    // DO NOT EDIT THIS FILE - use system-config-bind or an editor
    // to create named.conf - edits to this file will be lost on
    // caching-nameserver package upgrade.
    options {
            listen-on port 53 { 192.168.1.26; };
            listen-on-v6 port 53 { ::1; };
            directory       "/var/named";
            dump-file       "/var/named/data/cache_dump.db";
            statistics-file "/var/named/data/named_stats.txt";
            memstatistics-file "/var/named/data/named_mem_stats.txt";
            // Those options should be used carefully because they disable port
            // randomization
            // query-source    port 53;
            // query-source-v6 port 53;
            allow-query     { any; };
            allow-query-cache { localhost; };
    logging {
            channel default_debug {
                    file "data/named.run";
                    severity dynamic;
    view localhost_resolver {
            match-clients      { any; };
            match-destinations { 192.168.1.26; };
            recursion yes;
            include "/etc/named.rfc1912.zones";
    [root@dns32 etc]# cat named.rfc1912.zones
    // named.rfc1912.zones:
    // Provided by Red Hat caching-nameserver package
    // ISC BIND named zone configuration for zones recommended by
    // RFC 1912 section 4.1 : localhost TLDs and address zones
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    zone "." IN {
            type hint;
            file "named.ca";
    zone "testenv.com" IN {
            type master;
            file "forward.zone";
            allow-update { none; };
    zone "localhost" IN {
            type master;
            file "localhost.zone";
            allow-update { none; };
    zone "1.168.192.in-addr.arpa" IN {
            type master;
            file "reverse.zone";
            allow-update { none; };
    [root@dns32 named]# cat forward.zone
    $TTL    86400
    @               IN SOA  dns32.testenv.com. root.dns32.testenv.com. (
                                            42              ; serial (d. adams)
                                            3H              ; refresh
                                            15M             ; retry
                                            1W              ; expiry
                                            1D )            ; minimum
                    IN NS           dns32.testenv.com.
    dns32     IN A 192.168.1.26
    rac1      IN A 192.168.1.27
    rac2      IN A 192.168.1.28
    rac1-priv  IN A 192.168.2.37
    rac2-priv  IN A 192.168.2.38
    rac1-vip  IN A 192.168.1.47
    rac2-vip  IN A 192.168.1.48
    rac-scan  IN A 192.168.1.57
    rac-scan  IN A 192.168.1.58
    rac-scan  IN A 192.168.1.59
    [root@dns32 named]# cat reverse.zone
    $TTL    86400
    @       IN      SOA     dns32.testenv.com. root.dns32.testenv.com.  (
                                          1997022700 ; Serial
                                          28800      ; Refresh
                                          14400      ; Retry
                                          3600000    ; Expire
                                          86400 )    ; Minimum
            IN      NS      dns32.testenv.com.
    26       IN      PTR     dns32.testenv.com.
    27        IN      PTR   rac1.testenv.com.
    28        IN      PTR   rac2.testenv.com.
    47        IN      PTR   rac1-vip.testenv.com.
    48        IN      PTR   rac2-vip.testenv.com.
    57        IN      PTR   rac-scan.testenv.com.
    58        IN      PTR   rac-scan.testenv.com.
    59        IN      PTR   rac-scan.testenv.com.
    Thanks
    Arul

  • 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

  • How to connect to Oracle RAC via SCAN

    I just finished Oracle RAC install but I cannot connect via the SCAN name from a remote client - only via the VIP:
    $ sqlplus system/[email protected]:1521/racdb.development.info
    SQL*Plus: Release 11.2.0.3.0 Production on Fri May 25 15:14:13 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    This is Oracle 11r2 on Unbreakable Linux 6.2. The sqlplus above is from Instant Client 11.2. Further info is:
    $ ./srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node racnode1
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node racnode2
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node racnode2
    ./srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node racnode1
    $ nslookup rac-scan
    Server:          172.20.0.15
    Address:     172.20.0.15#53
    Name:     rac-scan.xxx.local
    Address: 172.20.0.213
    Name:     rac-scan.xxx.local
    Address: 172.20.0.214
    Name:     rac-scan.xxx.local
    Address: 172.20.0.210
    on racnode1:
    $ /sbin/ifconfig
    eth0 Link encap:Ethernet HWaddr 00:1A:A0:96:A6:B2
    inet addr:172.20.0.221 Bcast:172.20.0.255 Mask:255.255.255.0 <--- public ip
    inet6 addr: fe80::21a:a0ff:fe96:a6b2/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:9458999 errors:0 dropped:0 overruns:0 frame:0
    TX packets:14852588 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4001261935 (3.7 GiB) TX bytes:1196090235 (1.1 GiB)
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:1 Link encap:Ethernet HWaddr 00:1A:A0:96:A6:B2
    inet addr:172.20.0.212 Bcast:172.20.0.255 Mask:255.255.255.0 <---- VIP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:2 Link encap:Ethernet HWaddr 00:1A:A0:96:A6:B2
    inet addr:172.20.0.214 Bcast:172.20.0.255 Mask:255.255.255.0 <---- one of the SCAN ips
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth1 Link encap:Ethernet HWaddr 90:E2:BA:0F:F9:8F
    inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0 <---- private interconnect
    inet6 addr: fe80::92e2:baff:fe0f:f98f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:26461881 errors:4 dropped:0 overruns:0 frame:2
    TX packets:33628826 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:4053295644 (3.7 GiB) TX bytes:695537051 (663.3 MiB)
    on racnode2
    eth0 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.174 Bcast:172.20.0.255 Mask:255.255.255.0 <--- public IP
    inet6 addr: fe80::21a:a0ff:fe96:a45b/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:3233473 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1766459 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:41109717 (39.2 MiB) TX bytes:179509273 (171.1 MiB)
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:1 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.211 Bcast:172.20.0.255 Mask:255.255.255.0 <--- VIP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:2 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.210 Bcast:172.20.0.255 Mask:255.255.255.0 <--- another SCAN IP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    eth0:3 Link encap:Ethernet HWaddr 00:1A:A0:96:A4:5B
    inet addr:172.20.0.213 Bcast:172.20.0.255 Mask:255.255.255.0 <--- another SCAN IP
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:20 Memory:fdfc0000-fdfe0000
    $ ./lsnrctl status LISTENER_SCAN1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 25-MAY-2012 15:12:35
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 25-MAY-2012 14:28:11
    Uptime 0 days 0 hr. 44 min. 23 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/racnode1/listener_scan1/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.214)(PORT=1521)))
    Services Summary...
    Service "racdb.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Service "racdbXDB.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Any ideas?

    How does SCAN work?
    “When a client submits a request, the SCAN listener listening on a SCAN IP address and the SCAN port is contracted on a client’s behalf. Because all services on the cluster are registered with the SCAN listener, the SCAN listener replies with the address of the local listener (Using SCAN the connection is initiated using the SCANIP, but is established using the VIP) on the least-loaded node (Each scan listener keeps updated cluster load statistics) where the service is currently being offered. Finally, the client establishes connection to the service through the listener using VIP on the node where service is offered.All of these actions take place transparently to the client without any explicit configuration required in the client.”
    So, to SCAN Works you must aware:
    Server (cluster)
    -The service must be registered on Local/Scan ListenerI believe I've done this now but see below.
    Database (rac)
    -You must use remote_listener parameterThe remote listener parameter I have is:
    SQL> show parameter remote listener
    NAME                    TYPE     VALUE
    remote_dependencies_mode     string     TIMESTAMP
    remote_listener           string     rac-scan:1521
    remote_login_passwordfile     string     EXCLUSIVE
    remote_os_authent          boolean     FALSE
    remote_os_roles           boolean     FALSE
    result_cache_remote_expiration     integer     0
    Cient
    -Must resolve all SCAN Names and VIP Names (check with nslookup)I'd made a mistake there. My VIP names were not available from DNS.
    -Must access port of Listener
    Try it:
    http://levipereira.wordpress.com/2011/05/03/configuring-client-to-use-scan-11-2-0/
    Thanks, that document was useful however I don't think I've got it completely right as yet as I have no listener_scan2.
    $ olsnodes -i -s -n
    racnode1     1     racnode1-vip     Active
    racnode2     2     racnode2-vip     Active
    srvctl config vip -n racnode1
    VIP exists.:racnode1
    VIP exists.: /racnode1-vip/172.20.0.212/255.255.255.0/eth0
    srvctl config vip -n racnode2
    VIP exists.:racnode2
    VIP exists.: /racnode2-vip/172.20.0.211/255.255.255.0/eth0
    srvctl config scan
    SCAN name: rac-scan.xxx.local, Network: 1/172.20.0.0/255.255.255.0/eth0
    SCAN VIP name: scan1, IP: /172.20.0.214/172.20.0.214
    SCAN VIP name: scan2, IP: /rac-scan.xxx.local/172.20.0.210
    SCAN VIP name: scan3, IP: /172.20.0.213/172.20.0.213
    SQL> select INST_ID, NAME, VALUE
    2 from gv$parameter
    3 where name like '%_listener%';
    INST_ID
    NAME
    VALUE
         1
    local_listener
    (address=(protocol=tcp)(port=1521)(host=racnode1-vip.xxx.local))
         1
    remote_listener
    rac-scan:1521
    INST_ID
    NAME
    VALUE
         2
    local_listener
    (address=(protocol=tcp)(port=1521)(host=racnode1-vip.xxx.local))
         2
    remote_listener
    INST_ID
    NAME
    VALUE
    rac-scan:1521
    racnode1
    $ lsnrctl service listener_scan1
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-MAY-2012 13:36:10
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    Services Summary...
    Service "racdb.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (address=(protocol=tcp)(port=1521)(host=racnode1-vip.xxx.local))
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    REMOTE SERVER
    (address=(protocol=tcp)(port=1521)(host=racnode2-vip.xxx.local))
    Service "racdbXDB.development.info" has 2 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode1.xxx.local, pid: 3651>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode1.xxx.local)(PORT=62553))
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode2.xxx.local, pid: 6501>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode2.xxx.local)(PORT=10619))
    The command completed successfully
    $ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-MAY-2012 13:38:02
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "racdb.development.info" has 1 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "racdbXDB.development.info" has 1 instance(s).
    Instance "racdb1", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode1.xxx.local, pid: 3651>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode1.xxx.local)(PORT=62553))
    The command completed successfully
    racnode2
    lsnrctl service listener_scan2
    none of listener_scan1, 2 or 3 say anything other than TNS-01101: Could not find service name listener_scanN
    lsnrctl service
    $ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-MAY-2012 13:19:50
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "racdb.development.info" has 1 instance(s).
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:14 refused:0 state:ready
    LOCAL SERVER
    Service "racdbXDB.development.info" has 1 instance(s).
    Instance "racdb2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: racnode2.xxx.local, pid: 6501>
    (ADDRESS=(PROTOCOL=tcp)(HOST=racnode2.xxx.local)(PORT=10619))
    The command completed successfully
    UPDATE:
    $ srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
    There is a period of time when I shutdown one node where I cannot connect and get "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    Edited by: MartinJEvans on May 28, 2012 2:02 PM

  • Root.sh failed during grid installation in Oracle11g R2 RAC

    Hello Oracle Gurus
    Actually I'm Install the Oracle11g r2 RAC using following blogs post..
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnLinuxUsingNFS.php
    My Environment:
    Linux Redhat5.5 64bit
    Currently Installing the Oracle11g r2 RAC using 2 Nodes
    cat /etc/hosts
    [root@aaarac1 ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    #Public
    10.106.1.246 aaarac1
    10.106.1.247 aaarac2
    #Private
    192.168.0.101 aaarac1-priv
    192.168.0.102 aaarac2-priv
    #Virtual
    10.106.1.251 aaarac1-vip
    10.106.1.252 aaarac2-vip
    # SCAN
    10.106.1.244 rac-scan
    #Nas
    10.106.1.246 nas1
    [root@aaarac1 ~]# sh /u01/app/oraInventory/orainstRoot.sh
    Changing permissions of /u01/app/oraInventory.
    Adding read,write permissions for group.
    Removing read,write,execute permissions for world.
    Changing groupname of /u01/app/oraInventory to oinstall.
    The execution of the script is complete.
    [root@aaarac1 ~]#
    [root@aaarac1 ~]#
    [root@aaarac1 ~]# sh /u01/app/11.2.0/grid/root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /u01/app/11.2.0/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2011-08-04 02:48:32: Parsing the host name
    2011-08-04 02:48:32: Checking for super user privileges
    2011-08-04 02:48:32: User has super user privileges
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    root wallet
    Unable to save wallet at /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/root
    root wallet cert
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/root
    root cert export
    PKI-02002: Unable to open the wallet. Check password.
    peer wallet
    Unable to save wallet at /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer
    profile reader wallet
    Unable to save wallet at /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr
    pa wallet
    Unable to save wallet at /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa
    peer wallet keys
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer
    pa wallet keys
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa
    peer cert request
    PKI-02002: Unable to open the wallet. Check password.
    pa cert request
    PKI-02002: Unable to open the wallet. Check password.
    peer cert
    PKI-02002: Unable to open the wallet. Check password.
    pa cert
    PKI-02002: Unable to open the wallet. Check password.
    peer root cert TP
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer
    profile reader root cert TP
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr
    pa root cert TP
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa
    peer pa cert TP
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer
    pa peer cert TP
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa
    profile reader pa cert TP
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr
    profile reader peer cert TP
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr
    peer user cert
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer
    pa user cert
    PKI-02003: Unable to load the wallet at: /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/root/b64certificate.txt" does not exist
    Can't set permissions on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/root/b64certificate.txt: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/root/b64certificate.txt" does not exist
    Can't set ownership on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/root/b64certificate.txt: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cert.txt" does not exist
    Can't set permissions on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cert.txt: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cert.txt" does not exist
    Can't set ownership on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cert.txt: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cwallet.sso" does not exist
    Can't set permissions on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cwallet.sso: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cwallet.sso" does not exist
    Can't set ownership on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/peer/cwallet.sso: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr/cwallet.sso" does not exist
    Can't set permissions on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr/cwallet.sso: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr/cwallet.sso" does not exist
    Can't set ownership on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr/cwallet.sso: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cert.txt" does not exist
    Can't set permissions on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cert.txt: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cert.txt" does not exist
    Can't set ownership on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cert.txt: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cwallet.sso" does not exist
    Can't set permissions on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cwallet.sso: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cwallet.sso" does not exist
    Can't set ownership on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/pa/cwallet.sso: Inappropriate ioctl for device
    The path "/u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr/cwallet.sso" does not exist
    Can't set permissions on /u01/app/11.2.0/grid/gpnp/aaarac1/wallets/prdr/cwallet.sso: Inappropriate ioctl for device
    Error(s) occurred while setting GPnP Wallets ownership/permissions.
    Creation of Oracle GPnP wallets failed for aaarac1 at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 4130.
    [root@aaarac1 ~]#
    Regards
    Hitgon

    change the /etc/hosts entry should be like below
    127.0.0.1 localhost.localdomain localhostplease check all the Prerequisites
    and also check runcluvfy.sh
    Edited by: rajeysh on Aug 5, 2011 3:36 PM

  • Not able to connect RAC database from client

    Hi there
    Recently I have configured RAC in test environment. version 11.2.0.1. OS Redhat 5.9. Everything seems to be fine except not able to connect rac database from client.  Error is as under :
    C:\Documents and Settings\pbl>sqlplus test1/test1@myrac
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 17 14:29:06 2014
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name:
    myrac =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = racdb.testdb.com.bd)
    Please give me your valuable suggestion to  overcome the issue.
    Regards
    Jewel

    user13134974 wrote:
    ORA-12545: Connect failed because target host or object does not exist
    This error means that the hostname or IP address used in the TNS connection string, failed to resolve or connect.
    Your client is making two connections. The first connection is to the SCAN listener. It matches a db instance for your connection request based on service requested, available registered service handlers, load balancing, and so on. It then send a redirect to your client informing it of the handler for that service.
    Your client then does a second connection to this service (a local RAC listener that will provide you with a connection to the local RAC instance). This is what seems to be failing in your case.
    The SCAN listener's redirect uses the hostname of the server that the local listener is running on. Your client needs to resolve that hostname (of a RAC node) to an IP address. This likely fails.
    You can add the RAC node hostnames to your client platforms hosts file. The appropriate action however would be to ensure that DNS is used for name resolution instead.

  • INS-40922 Invalid Scan Name - Unresolvable to IP address

    Hi
    During grind (Latest version) installation on Oracle Linux 5.7 I am getting the subject error, the /etc/hosts file contains the following entries on both nodes ( I am not running DNS) :
    127.0.0.1 localhost.localdomain localhost
    # Public
    192.168.2.101 rac1.localdomain rac1
    192.168.2.102 rac2.localdomain rac2
    # Private
    192.168.0.101 rac1-priv.localdomain rac1-priv
    192.168.0.102 rac2-priv.localdomain rac2-priv
    # Virtual
    192.168.2.111 rac1-vip.localdomain rac1-vip
    192.168.2.112 rac2-vip.localdomain rac2-vip
    # SCAN
    192.168.2.201 rac-scan.localdomain rac-scan
    192.168.2.202 rac-scan.localdomain rac-scan
    192.168.2.203 rac-scan.localdomain rac-scan
    The IP addresses for rac-scan are not attached to any network adapter therefore are not resolvable, its a test setup just to check out the grid infrastructure, I have setup the nodes on vmware workstation.
    Should I add another adaptor, one each on both nodes, and assign the rac-scan ips to them ?
    Please help me fix it.
    thx
    T

    Thanks Peter for your response.
    I have now setup DNS on both nodes as master and slave, but I am still getting the same error, here is the output of the dig command on rac-scan
    [oracle@rac1 grid]$ dig @192.168.2.101 rac-scan.localdomain
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.5 <<>> @192.168.2.101 rac-scan.localdomain
    ; (1 server found)
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 57765
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;rac-scan.localdomain. IN A
    ;; AUTHORITY SECTION:
    localdomain. 3600 IN SOA rac1.localdomain. rac1.localdomain. 22 900 600 86400 3600
    ;; Query time: 4 msec
    ;; SERVER: 192.168.2.101#53(192.168.2.101)
    ;; WHEN: Tue Oct 30 15:34:37 2012
    ;; MSG SIZE rcvd: 79
    Here's how the /etc/hosts file looks now :
    127.0.0.1 localhost.localdomain localhost
    # Public
    192.168.2.101 rac1.localdomain rac1
    192.168.2.102 rac2.localdomain rac2
    # Private
    192.168.0.101 rac1-priv.localdomain rac1-priv
    192.168.0.102 rac2-priv.localdomain rac2-priv
    # Virtual
    192.168.2.111 rac1-vip.localdomain rac1-vip
    192.168.2.112 rac2-vip.localdomain rac2-vip
    # SCAN
    #192.168.2.201 rac-scan.localdomain rac-scan
    #192.168.2.202 rac-scan.localdomain rac-scan
    #192.168.2.203 rac-scan.localdomain rac-scan
    Is there anything else that I am missing - Please help
    Thx
    T

Maybe you are looking for