RAC nslookup of SCAN addresses
2 node RAC 11.2.0.2.0 on win 2008r2 64bit
what IPs should you see if you nslookup the nodes in a RAC? I have 2 RACs, dev and prod, Im getting different behaviour doing nslookup on the nodes. My networks say theres no difference in the config ( but Im not sure). The dev RAC is causing me problems which I think if I get can get this sorted will be ok. from my side, I built the 2 RACs the exact same so I cant see anything from the OS side.
Here is behaviour
Development RAC:
nslookup node1: I see (in any order as DNS is round robin)
physical ip node1
vip node1
scan1
scan2
nslookup node2: I see (in any order as DNS is round robin)
physical IP node2
VIP node2
scan3
Production RAC
nslookup node1: I see
physical ip
nslookup node2: I see
physical IP
the problem isnt really with with knowing where the SCAN is located and where any of the 3 addresses are or whether theyre up, its how they resolve in DNS.
With DNS set to roundrobin, its possible that one of the SCAN addresses can be first in the list if I nslookup the client name. If the SCAN 1 is on node 1 and relocated to node 2, then if I RDP to node 1 Im getting directed on to Node 2 as the IP is carrying over. Im thinking the arp issue with win 2008 is a culprit here, I have the oraarp driver running but it doesnt change the fact I see different DNS behaviour whether I nslookup in prod or dev.
Similar Messages
-
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.
AIMAIM 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. -
Where to configure the SCAN address?
Hi,
I'm in the middle of installing the Grid infrastructure cluster for Oracle 11gR2 RAC on AIX 6.1
I had defined the public IPs, private IPs and interconnects in the DNS and hosts files. I am not using GNS because we use static IP Address, no DHCP.
during the installation, I will be asked for SCAN IP address, which I prepared and resolved by DNS, but I don't know where to configure it
The SCAN IP address is not pingable but can be lookedup and I get the reply to it
Where I put it, in the Rack Switch or shall I choose different installation method.
Kindly advice
Regards,
C.Oracle is clear about the use of /etc/hosts to configure the SCAN:
See Note: *11gR2 Grid Infrastructure Single Client Access Name (SCAN) Explained [ID 887522.1]*
Instead of DNS or GNS, Can we use '/etc/hosts' to resolve SCAN?
Oracle strongly recommends that you do not configure SCAN VIP addresses in the hosts file. If you use the hosts file to resolve SCANs, then you will only be able to resolve to one IP address and you will have only one SCAN address - be sure to provide a hosts file entry for each SCAN address in hosts file in same order.
If hosts file is used to resolve SCAN hostname, you will receive Cluster Verification Utility failure at end of installation (See NOTE: 887471.1 for more details)
However, since you have already installed with the configuration in the /etc/hosts, you can fix this by configuring the IP addresses in the DNS (since you don't use GNS) and follow the following note to modify the SCAN settings:
*How to Modify SCAN Setting after Installation [ID 972500.1]*
Herve Etche -
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. -
Listener.ora file on RAC 11gR2 with SCAN
Hello,
I have 11.2.0.1 Rac with 2 nodes configured to work with SCAN.
The following listener.ora file was created during the rac installation.
(I only changed the name of the instance to XYZ in the output bellow).
There is only one listener.ora file for both the rdbms instance and the ASM instance.
Is it a good best practice or should i consider to create a seperate listener.ora
to the rdbms instance and to the ASM instance ?
The listener.ora is look as follow:
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_XYZ_=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_XYZ)))) # 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_XYZ=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by AgentLSNRCTL> show current_listener
Current Listener is LISTENER
LSNRCTL> services
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:9195 refused:0 state:ready
LOCAL SERVER
Service "XYZ_SRV" has 1 instance(s).
Instance "XYZ_1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:803987 refused:0 state:ready
LOCAL SERVER
Service "XYZ" has 1 instance(s).
Instance "XYZ_1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:803987 refused:0 state:ready
LOCAL SERVER
Service "XYZ_XDB" has 1 instance(s).
Instance "XYZ_1", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: xyzdb-11-1, pid: 11923>
(ADDRESS=(PROTOCOL=tcp)(HOST=xyz-11-1)(PORT=36594))
The command completed successfullyThanksIs it a good best practice or should i consider to create a seperate listener.ora to the rdbms instance and to the ASM instance ?No, you should not be creating separate listener for each Grid & DB. Listener is node specific resource. Oracle recommends in RAC environment the listener should be configured from GRID home and it will be able to serve both Grid and DB services.
It also helps in maintenance where as you can upgrade DB without bothering Listener, can have several db instances, and can have several versions of DB supported by a single listener.
I hope this answers your question. if yes please mark the question as answered and do not forget marking answer as a Correct answer.
Edited by: pgoel on Mar 5, 2011 10:50 PM -
Can a non-RAC database use SCAN ?
I have a 4 node 11gR2 cluster which has all different kinds of versions ( 10g ,11gR1 & 11gR2 ) on both RAC & NON RAC .
I know for sure that I can use SCAN for non 11gR2 databases for RAC databases .
For standalone db's It seems like it is working intermitently but is this supported ? the reason why I ask is there is no documentation on how to configure or troubleshoot for non-RAC using SCAN .
Appreciate your help
RaviI was trying to find some information about the issue, but i think SCAN is really designed for RAC databases.
You don't really need to use the SCAN for what you just described:
you can update the client tnanames with the vip addresses of all nodes with FAILOVER = ON
Example:
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=node1-vip)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=node2-vip)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=node3-vip)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=node4-vip)(PORT=1521))
(FAILOVER = ON)
(CONNECT_DATA=(SERVER = DEDICATED)(SERVICE_NAME=DB.WORLD))
However, you can try this (i never tried it, but i think it should work):
- See the document http://download.oracle.com/docs/cd/E11882_01/install.112/e10813/undrstnd.htm#BEICFAIC
+... If you do not set LOCAL_LISTENER, then the Database Agent automatically keeps the database associated with the Grid home's node listener updated...+
So don't set the LOCAL_LISTENER in your db.
- Update the client tnsnames with the SCAN if the version of the database is 11.2.0.1
- Try to see if it works fine
- Move your db to another node and try again -
Hi
We have 2 node RAC database of version 11.2.0.4 running on Linux platform.
There are 2 SCAN listener running on DB instead of 3 which usually recommenced by oracle.
When one of instance brought down as scheduled activity, sessions which connected to same instance, received ORA-03113: end-of-file on communication channel.
They were doing some select activity in db.
When user reconnected, it got connected to available instance.
tns entry which users are using (description=(address=(protocol=tcp)(host=p1bds1d4-scan.sldc.sbc.com)(port=1521))(connect_data=(server=dedicated)(service_name=p1bds1d4)))
Do we need to do any additional configuration to achieve TAF in 11.2.0.4 along with SCAN listener.
Do we need to change tns to include clause like "FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=180)(DELAY=5)" ?
Please help.
Thanks
AshishYou could enable TAF from the cient side by adding a clause such as that you suggest to your connect strings, but in a GI envirinment you would normally do it by adjusting the way the sevice is registered in the OCR. Run
srvctl modify service -h
and look up the -e and -m switches.
John Watson
Oracle Certified Master DBA -
RAC without virtual ip address?
Hi,
Our main router crashed a month ago, the network guys said that it “might!!!!” be caused by the RAC hosts flapping because the public interface NIC has two IP addresses (the main IP and the Virtual IP). They are pushing us to get rid of the Virtual IP address on the RAC nodes. Can you do that? What is the ramification of doing this?
ThanksJust spoke to one of the top network specialists we have.
He confirmed that two IP stack on a single NIC cannot cause a router to crash. He said that the crash however does not sound unusual - typically caused by malformed and mangled packets. And he said that these were almost always purposefully fully constructed with the intention being to down a router.
The router choking on such packets are also usually also a 'known cause' by the manufacturer - and the manufacturer will have full details on root cause analysis.
He said he would put a sniffer down to capture these malformed/mangled packets for investigation and analysis when the router crashes again.
The culprits he mentioned - some kind of network virus, or someone "playing silly buggers" on the network.
My network experience is out of date and not that vast - but everything I've heard from him confirms my view that your network administrators are either idiots, or trying to shift blame for some nefarious reason to your RAC.
Either way, I would not trust anything they have to say, without them providing hard evidence. -
RAC: "srvctl config scan" output
Hi,
My company is using a RAC on Oracle 11gR2.
I am trying to undersand the beast and there is something I am stucked on.
we have this :
[root@devrac1 admin]$ srvctl config scan
Nom SCAN : <host>.<domain>, réseau : 1/10.12.2.0/255.255.255.0/eth0
Nom d'adresse IP virtuelle SCAN : scan1, IP : /10.12.2.206/10.12.2.206
Nom d'adresse IP virtuelle SCAN : scan2, IP : /10.12.2.207/10.12.2.207
Nom d'adresse IP virtuelle SCAN : scan3, IP : /10.12.2.208/10.12.2.208
this output looks like the output described in this document in ORACLE SUPPORT ID 975457.1
I read this whitepaper : http://www.oracle.com/technetwork/products/clustering/overview/scan-129069.pdf
And the output is more like this.
[root@<host> admin]$ srvctl config scan
Nom SCAN : <host>, réseau : 1/10.12.2.0/255.255.255.0/eth0
Nom d'adresse IP virtuelle SCAN : scan1, IP : /<host>.<domain>/10.12.2.206
Nom d'adresse IP virtuelle SCAN : scan2, IP : /<host>.<domain>/10.12.2.207
Nom d'adresse IP virtuelle SCAN : scan3, IP : /<host>.<domain>/10.12.2.208
Why is it different ? What does it means ?
Thanks for your help.Hi, thanks for the quick answer !
I think my post is a little misleading. (i was too busy obfuscating)
In the first documentation it's the same adress twice
Nom d'adresse IP virtuelle SCAN : scan1, IP : /10.12.2.206/10.12.2.206
In the second documentation
Nom d'adresse IP virtuelle SCAN : scan1, IP : /<dns name for the adress scan>/10.12.2.206
I dont understand the meaning of this difference. -
INS-40724 No locally defined network interface matches the SCAN address
Hi All,
Getting the above error.
I verified that:
Public IP on both nodes is Primary interface
SCAN IP are on same subnet as Public IP network interface
SSH connectivity is verified on both nodes.
thanksHI,
Define a public interface with a subnet matching the one you want to use for the SCAN. None of the locally defined network interfaces has a subnet matching the SCAN subnet.
More Information please cheek Oracle support id : Solutions for Typical 11gR2 Grid Infrastructure/RAC Database runInstaller Issues (Doc ID 1056713.1)
Thank you -
Nslookup - returned IP address priority
Hello,
We have a server that has two IPs. there this issue I can't get my head around.
When running nslookup against one dns server, the IPs are correctly returned. Basically server IP is first and a second IP is used for a web app on the very same machine.
Running nslookup against another DNS, returns the IPs in a switched order, meaning the web app IP is first and the server IP is second.
I have run out of ideas :-(, the server owner encounters issues when querying is resources.
Is there a way to set a priority? What dictates the way IPs are returned when running nslookup?
Regards,
Dominique.Hi,
As far as I know, we can’t set the priority of A records manually.
By default, the DNS Server service uses local subnet prioritizing as the method for giving preference to IP addresses on the same network when a client query resolves to a host name that is mapped to more than one IP address. This feature requires that the
client application attempt to connect to the host using its closest (and typically fastest) IP address available for connection.
The DNS Server service uses local subnet priority as follows:
The DNS Server service determines if local subnet prioritization is needed to order the query response.
If more than one A resource record (RR) matches the queried host name, the DNS Server service can reorder the records by their subnet location. If the queried host name only matches a single A resource record, or if the IP
network address of the client does not match an IP network address for any of the mapped addresses in an answer list of multiple RRs, no prioritizing is necessary.
For each RR in the matched answer list, the DNS Server service determines which records (if any) match the subnet location of the requesting client.
The DNS Server service reorders the answer list so that A RRs which match the local subnet of the requesting client are placed first in the answer list.
Prioritized by subnet order, the answer list is returned to the requesting client.
For detailed information, please view the link below,
Prioritizing local subnets
http://technet.microsoft.com/en-us/library/cc787373(v=WS.10).aspx
Hope this helps.
Steven Lee
TechNet Community Support -
[SOLVED] extremetux racer out of scan range
Hi All,
This has happened with other games as well and on other distros, but I've never been able to cure it. I have a GeForce 6200 with an 22" NEC monitor running @ 1680x1050 nvidia driver 295.20. Start extremetuxracer="out of scan range", I assume that it doesn't like the resolution but I can't find a config file to tweak. This also happens on some other games. My 6 year old boy REALLY wants to play extremetuxracer so if anyone can help, I would greatly appreciate it.
Thanks
Last edited by Frabato (2012-03-07 21:51:40)Easy.
First let's find out how to start it by listing the installed files for the "extremetuxracer" package.
# pacman -Ql extremetuxracer
Actually... let's filter it by anything "bin" so that we don't have to scroll up like a mad hyena:
# pacman -Ql extremetuxracer | grep bin
extremetuxracer /usr/bin/
extremetuxracer /usr/bin/etracer
Good. Now let's have a look in our user dir. Oh, whaddya know, there's an ".etracer" folder in there. With an "options" file inside... Now isn't that convenient? You can either delete this file and it will revert to the 800x600 default, or you can edit it. Your choice. -
Why 10g RAC need 2 virtual address.
Hi,
I was reading on document for RAC installation and it tell me to configure 2 virtual IP.
Can any one tell me why two IP's for two machine.Can it be one IP as in windows cluster.
What is the IDEA behind VIRTUAL IP's.
Regards
MMUHi,
I understand this.My question is
on NODE 1
1 PRIVATE IP
1 PUBLIC IP
1 VIRTUAL IP
on NODE 2
1 PRIVE IP
1 PUBLIC IP
1 VIRTUAL IP
Why VIRTUAL IP on each node.
Regards
MMU -
SCAN IP address in RAC not accessible by clients
I have a 2 node Oracle RAC configuration running on Solaris 10 update 10 x86 with Oracle 11.2.0.1 DB installed on each node in a lab environment.
I am having problems connecting to the SCAN IP address with clients (Microsoft Access client talking to the Oracle RAC). I can only connect with clients using the IP addresses of the individual nodes in the cluster. This is my first RAC install. We are NOT using DNS only the /etc/hosts file. I see the IP address that is used as the cluster IP address associated with only one node of my two which is correct I believe.
Here is some displays from the cluster:
oracle@mortlach srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node elijahcraig
oracle@mortlach srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node elijahcraig
oracle@mortlach lsnrct status
bash: lsnrct: command not found
oracle@mortlach lsnrctl status
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 27-APR-2011 18:35:57
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date 27-APR-2011 13:33:40
Uptime 0 days 5 hr. 2 min. 17 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/11.2.0/grid/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/mortlach/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.80.180.77)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.80.180.249)(PORT=1521)))
Services Summary...
Service "hsmtest" has 1 instance(s).
Instance "hsmtest2", status READY, has 1 handler(s) for this service...
Service "hsmtestXDB" has 1 instance(s).
Instance "hsmtest2", status READY, has 1 handler(s) for this service...
The command completed successfullySure here is the requested data...Note the scan address has been moved to another node in the cluster so that is the information i am providing now
thanks for any help you can provide... :-)
Yes I can ping the SCAN-IP address from my client
oracle@mortlach srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node mortlach
oracle@mortlach ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.80.180.77 netmask fffffe00 broadcast 10.80.181.255
bge0:1: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
inet 10.80.180.249 netmask fffffe00 broadcast 10.80.181.255
bge0:3: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
inet 10.80.180.253 netmask fffffe00 broadcast 10.80.181.255
nge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.180.77 netmask fffffe00 broadcast 192.168.181.255
oracle@mortlach lsnrctl status LISTENER_SCAN1
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 28-APR-2011 07:54:47
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 Solaris: Version 11.2.0.1.0 - Production
Start Date 26-APR-2011 17:07:25
Uptime 1 days 14 hr. 47 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/11.2.0/grid/network/admin/listener.ora
Listener Log File /opt/11.2.0/grid/log/diag/tnslsnr/mortlach/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.80.180.253)(PORT=1521)))
Services Summary...
Service "hsmtest" has 2 instance(s).
Instance "hsmtest1", status READY, has 1 handler(s) for this service...
Instance "hsmtest2", status READY, has 1 handler(s) for this service...
Service "hsmtestXDB" has 2 instance(s).
Instance "hsmtest1", status READY, has 1 handler(s) for this service...
Instance "hsmtest2", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@mortlach lsnrctl status LISTENER_SCAN1
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 28-APR-2011 07:54:47
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 Solaris: Version 11.2.0.1.0 - Production
Start Date 26-APR-2011 17:07:25
Uptime 1 days 14 hr. 47 min. 22 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/11.2.0/grid/network/admin/listener.ora
Listener Log File /opt/11.2.0/grid/log/diag/tnslsnr/mortlach/listener_scan1/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.80.180.253)(PORT=1521)))
Services Summary...
Service "hsmtest" has 2 instance(s).
Instance "hsmtest1", status READY, has 1 handler(s) for this service...
Instance "hsmtest2", status READY, has 1 handler(s) for this service...
Service "hsmtestXDB" has 2 instance(s).
Instance "hsmtest1", status READY, has 1 handler(s) for this service...
Instance "hsmtest2", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@mortlach grep mortlac-cluster /etc/hosts
10.80.180.253 mortlac-cluster -
11gr2 Rac Install: Stuck at the DNS SCAN portion.
Hi Guys, it's Xev.
Ok, I have followed his install guide to the dot. http://www.oracle-base.com/articles/11g/oracle-db-11gr2-rac-installation-on-oel5-using-virtualbox.php#install_grid_infrastructure
During the Grid Infrastructure install portion, it's stops me and tells me that "No Locally adapter is defined" when I am right here, it won't let me past this point right below...
http://www.oracle-base.com/articles/11g/images/ol5-112-rac/47-grid-ssh-connectivity.jpg
Now, this install document, tells you to put the 3 SCAN Ip addresses in the /ect/hosts file and does not tell you that you need to install DNS on a server and configure it, or does he? The way he says it to
me just doesn't make sense.
My question is to only people that have actually installed 11gr2 RAC using VirtualBox and using oracle linux 5.8.
He says in the install document this right here, but some how i think he is just flat out wrong.
I quote from the install document,,,
If you are not using DNS, the "/etc/hosts" file must contain the following information.
127.0.0.1 localhost.localdomain localhost
# Public
192.168.0.101 ol5-112-rac1.localdomain ol5-112-rac1
192.168.0.102 ol5-112-rac2.localdomain ol5-112-rac2
# Private
192.168.1.101 ol5-112-rac1-priv.localdomain ol5-112-rac1-priv
192.168.1.102 ol5-112-rac2-priv.localdomain ol5-112-rac2-priv
# Virtual
192.168.0.103 ol5-112-rac1-vip.localdomain ol5-112-rac1-vip
192.168.0.104 ol5-112-rac2-vip.localdomain ol5-112-rac2-vip
# SCAN
192.168.0.105 ol5-112-scan.localdomain ol5-112-scan
192.168.0.106 ol5-112-scan.localdomain ol5-112-scan
192.168.0.107 ol5-112-scan.localdomain ol5-112-scan
Note. The SCAN address should not really be defined in the hosts file. Instead is should be defined on the DNS to round-robin between 3 addresses on the same subnet as the public IPs. For this installation, we will compromise and use the hosts file. This is not possible if you are using 11.2.0.2 onward.
If you are using DNS, then only the first line needs to be present in the "/etc/hosts" file. The other entries are defined in the DNS, as described here. Having said that, I typically include all but the SCAN addresses..
END QUOTE.
So, Guys, what does he actually mean with this? MY Grid install fails when it's trying to resolved the scan. DO I need to install DNS like he gives in the link above, OR can the install work with the SCAN in the /ect/hosts file? I Personally think this is just wrong, and you have to have DNS working 3 ip round-robin for the SCAN to work.
Please only reply to this thread if you have actually successfully installled 11rg2 Rac (11.0.1) on Oracle Linux 5.8 using VirtualBox, or actually know where i am going wrong by your own experience, not just goggle searching.....but you got it to work....
I am begging on my knees for help with this, since I have been at this for weeks now.
If you help me through this, I'll be your friend
Xev.Hi Shivendra,
I followed the instructions on shivenracdba: configure DNS for Installtion of Oracle Grid Infrastructure RAC cluster
named starts right up with no errors, but when i try to do the nslookups for both nodes and the scan cluster it fails with these errors...
This is what happens on rac, the primary node.
[oracle@rac1 grid]$ nslookup rac
;; Got SERVFAIL reply from 192.168.72.129, trying next server
;; Got SERVFAIL reply from 192.168.72.129, trying next server
Server: 192.168.72.128
Address: 192.168.72.128#53
** server can't find rac: SERVFAIL
[oracle@rac1 grid]$ nslookup rac2
;; Got SERVFAIL reply from 192.168.72.129, trying next server
;; Got SERVFAIL reply from 192.168.72.129, trying next server
Server: 192.168.72.128
Address: 192.168.72.128#53
** server can't find rac2: SERVFAIL
[oracle@rac1 grid]$ nslookup rac-cluster-scan
;; Got SERVFAIL reply from 192.168.72.129, trying next server
;; Got SERVFAIL reply from 192.168.72.129, trying next server
Server: 192.168.72.128
Address: 192.168.72.128#53
** server can't find rac-cluster-scan: SERVFAIL
This is what happens on rac2, the secondary node.
[oracle@rac2 ~]$ nslookup rac
;; Got SERVFAIL reply from 192.168.72.129, trying next server
;; Got SERVFAIL reply from 192.168.72.129, trying next server
Server: 192.168.72.128
Address: 192.168.72.128#53
** server can't find rac: SERVFAIL
[oracle@rac2 ~]$ nslookup rac2
;; Got SERVFAIL reply from 192.168.72.129, trying next server
;; Got SERVFAIL reply from 192.168.72.129, trying next server
Server: 192.168.72.128
Address: 192.168.72.128#53
** server can't find rac2: SERVFAIL
[oracle@rac2 ~]$ nslookup rac-cluster-scan
;; Got SERVFAIL reply from 192.168.72.129, trying next server
;; Got SERVFAIL reply from 192.168.72.129, trying next server
Server: 192.168.72.128
Address: 192.168.72.128#53
** server can't find rac-cluster-scan: SERVFAIL
Now, this is what I for all the files that I have configured......I hope they are right?
Do i need to run the named DNS server on both nodes? It's running on both nodes now...and the service starts..
Here are all my files that pertain to the DNS configuration for RAC.
These are the files that are on "rac" the primary node....
[root@rac1 named]# cat forward.zone
$TTL 86400
@ IN SOA rac. rac. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS rac.
rac IN A 192.168.72.128
localhost IN A 127.0.0.1
rac2 IN A 192.168.72.129
rac-vip IN A 192.168.72.102
rac2-vip IN A 192.168.72.104
rac-cluster-scan IN A 192.168.72.106
rac-cluster-scan IN A 192.168.72.107
rac-cluster-scan IN A 192.168.72.108
[root@rac1 named]# cat reverse.zone
$TTL 86400
@ IN SOA rac. rac. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS rac.
128.72.168.192 IN PTR rac.
1.0.0.127 IN PTR localhost.
129.72.168.192 IN PTR rac2.
102.72.168.192 IN PTR rac-vip.
104.72.168.192 IN PTR rac2-vip.
106.72.168.192 IN PTR rac-cluster-scan.
107.72.168.192 IN PTR rac-cluster-scan.
108.72.168.192 IN PTR rac-cluster-scan.
[root@rac1 named]# cat named.rfc1912.zones
zone "rac" IN {
type master;
file "forward.zone";
zone "72.168.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
[root@rac1 named]# cd /var/named/chroot/etc
[root@rac1 etc]# ls
named.conf
[root@rac1 etc]# cat named.conf
options {
listen-on port 53 { 192.168.72.128; };
# listen-on-v6 port 53 { ::1; };
directory "/var/named";
recursion yes;
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
include "named.rfc1912.zones";
[root@rac1 etc]# cat /etc/resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
search rac2
search rac
nameserver 192.168.72.129
nameserver 192.168.72.128
and this is the content of my /ect/hosts file on rac, the primary node.
[root@rac1 etc]# cd /etc
[root@rac1 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 rac1.localdomain rac1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
#eth1 - PUBLIC
192.168.72.128 rac
192.168.72.129 rac2
#VIP
192.168.72.102 rac-vip
192.168.72.104 rac2-vip
#eth2 - PRIVATE
192.168.140.128 rac-pvt
192.168.140.129 rac2-pvt
These are the files that are on "rac2" the secondary node....
[root@rac2 named]# cat forward.zone
$TTL 86400
@ IN SOA rac. rac. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS rac.
rac IN A 192.168.72.128
localhost IN A 127.0.0.1
rac2 IN A 192.168.72.129
rac-vip IN A 192.168.72.102
rac2-vip IN A 192.168.72.104
rac-cluster-scan IN A 192.168.72.106
rac-cluster-scan IN A 192.168.72.107
rac-cluster-scan IN A 192.168.72.108
[root@rac2 named]# cat reverse.zone
$TTL 86400
@ IN SOA rac. rac. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
@ IN NS rac.
128.72.168.192 IN PTR rac.
1.0.0.127 IN PTR localhost.
129.72.168.192 IN PTR rac2.
102.72.168.192 IN PTR rac-vip.
104.72.168.192 IN PTR rac2-vip.
106.72.168.192 IN PTR rac-cluster-scan.
107.72.168.192 IN PTR rac-cluster-scan.
108.72.168.192 IN PTR rac-cluster-scan.
[root@rac2 named]# cat named.rfc1912.zones
zone "rac" IN {
type master;
file "forward.zone";
zone "72.168.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
[root@rac2 etc]# cat named.conf
options {
listen-on port 53 { 192.168.72.129; };
# listen-on-v6 port 53 { ::1; };
directory "/var/named";
recursion yes;
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
include "named.rfc1912.zones";
[root@rac2 etc]# cd /etc
[root@rac2 etc]# cat resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
search rac2
search rac
nameserver 192.168.72.129
nameserver 192.168.72.128
[root@rac2 ~]# cd /etc
[root@rac2 etc]# cat hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 rac2.localdomain rac2 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
#eth1 - PUBLIC
192.168.72.128 rac
192.168.72.129 rac2
#VIP
192.168.72.102 rac-vip
192.168.72.104 rac2-vip
#eth2 - PRIVATE
192.168.140.128 rac-pvt
192.168.140.129 rac2-pvt
That is everything on both nodes...
Shivendra, what am I to do??
Maybe you are looking for
-
Hi, This is my Project Requirement. Since the orders are to be entered by the regions, it is proposed that the sales order is created with the default delivery block which blocks delivery confirmation when the order is created. Therefore, the order
-
How to get the end time of an Interface?
How to get the end time of an Interface?
-
I am trying to delete an iMessage that is probably about a year old. When I delete it I will let the phone sit overnight to "process" when I wake up in the morning I have no texts or emails so I close out of the iMessage app and then open it back up
-
I do not have a mailto under my application file. How do I add this to the application. I am trying to change my email links to gmail. I am using Vista.
-
Clean up Workflow Notifications in Clone
Hi Friends, I had just cloned the PROD Instance(11.5.10.2) to TEST and now i want to clear the Workflow Notifications in TEST Instance. How to clean it up.Please suggest for both 11i(11.5.10.2) and R12. Regards, Arun