WHY: Scan VIP does failover, but Scan Listener does not!
Hi,
I have a two node cluster based on 11.2.0.4 (no patches yet). When one node is down, the scan vip does failover to the other node, but however the scan listener does not:
All up and running:
[oracle@rzsolv236 ~]$ crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DG_GRID.dg
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.LISTENER.lsnr
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.asm
ONLINE ONLINE rzsolv236 Started
ONLINE ONLINE rzsolv237 Started
ora.gsd
OFFLINE OFFLINE rzsolv236
OFFLINE OFFLINE rzsolv237
ora.net1.network
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.ons
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.registry.acfs
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rzsolv236
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE rzsolv237
ora.cvu
1 ONLINE ONLINE rzsolv236
ora.oc4j
1 ONLINE ONLINE rzsolv236
ora.rzsolv236.vip
1 ONLINE ONLINE rzsolv236
ora.rzsolv237.vip
1 ONLINE ONLINE rzsolv237
ora.scan1.vip
1 ONLINE ONLINE rzsolv236
ora.scan2.vip
1 ONLINE ONLINE rzsolv237
One node is down:
[oracle@rzsolv236 bin]# ./crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DG_GRID.dg
ONLINE ONLINE rzsolv236
ora.LISTENER.lsnr
ONLINE ONLINE rzsolv236
ora.asm
ONLINE ONLINE rzsolv236 Started
ora.gsd
OFFLINE OFFLINE rzsolv236
ora.net1.network
ONLINE ONLINE rzsolv236
ora.ons
ONLINE ONLINE rzsolv236
ora.registry.acfs
ONLINE ONLINE rzsolv236
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rzsolv236
ora.LISTENER_SCAN2.lsnr
1 ONLINE OFFLINE
ora.cvu
1 ONLINE ONLINE rzsolv236
ora.oc4j
1 ONLINE ONLINE rzsolv236
ora.rzsolv236.vip
1 ONLINE ONLINE rzsolv236
ora.rzsolv237.vip
1 ONLINE INTERMEDIATE rzsolv236 FAILED OVER
ora.scan1.vip
1 ONLINE ONLINE rzsolv236
ora.scan2.vip
1 ONLINE INTERMEDIATE rzsolv236 FAILED OVER
It is the same with manual relocate, for the scan vip only it works:
[oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv236
[oracle@rzsolv236 ~]$ crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DG_GRID.dg
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.LISTENER.lsnr
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.asm
ONLINE ONLINE rzsolv236 Started
ONLINE ONLINE rzsolv237 Started
ora.gsd
OFFLINE OFFLINE rzsolv236
OFFLINE OFFLINE rzsolv237
ora.net1.network
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.ons
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.registry.acfs
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rzsolv236
ora.LISTENER_SCAN2.lsnr
1 ONLINE OFFLINE
ora.cvu
1 ONLINE ONLINE rzsolv236
ora.oc4j
1 ONLINE ONLINE rzsolv236
ora.rzsolv236.vip
1 ONLINE ONLINE rzsolv236
ora.rzsolv237.vip
1 ONLINE ONLINE rzsolv237
ora.scan1.vip
1 ONLINE ONLINE rzsolv236
ora.scan2.vip
1 ONLINE INTERMEDIATE rzsolv236 FAILED OVER
[oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv237
[oracle@rzsolv236 ~]$ crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DG_GRID.dg
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.LISTENER.lsnr
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.asm
ONLINE ONLINE rzsolv236 Started
ONLINE ONLINE rzsolv237 Started
ora.gsd
OFFLINE OFFLINE rzsolv236
OFFLINE OFFLINE rzsolv237
ora.net1.network
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.ons
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
ora.registry.acfs
ONLINE ONLINE rzsolv236
ONLINE ONLINE rzsolv237
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rzsolv236
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE rzsolv237
ora.cvu
1 ONLINE ONLINE rzsolv236
ora.oc4j
1 ONLINE ONLINE rzsolv236
ora.rzsolv236.vip
1 ONLINE ONLINE rzsolv236
ora.rzsolv237.vip
1 ONLINE ONLINE rzsolv237
ora.scan1.vip
1 ONLINE ONLINE rzsolv236
ora.scan2.vip
1 ONLINE ONLINE rzsolv237
[oracle@rzsolv236 ~]$
But it does not for the scan listener:
[oracle@rzsolv236 ~]$ srvctl relocate scan_listener -i 2 -n rzsolv236
PRCR-1105 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr to node rzsolv236
PRCR-1089 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr.
CRS-2674: Starten von "ora.scan2.vip" auf "rzsolv236" nicht erfolgreich
[oracle@rzsolv236 ~]$ srvctl relocate scan -i 2 -n rzsolv236
[oracle@rzsolv236 ~]$ srvctl relocate scan_listener -i 2 -n rzsolv236
PRCR-1090 : Failed to relocate resource ora.LISTENER_SCAN2.lsnr. It is not running.
[oracle@rzsolv236 ~]$
Any ideas?
Robert
Hi,
thank you, but this does not match to my problem:
- those socket files are owned by oracle:oinstall on both nodes, I deleted them to give it a try but no change
- I can start the LISTENER_SCAN2 on node 1 using lsnrctl when node 2 is down, but I cannot using crsctl and GI does not check it when I start the listener manually
- GI seems to be kind of confused about the state of the LISTENER_SCAN2 while node 2 is down (is already in the INTERMEDIATE state on server 'rzsolv236' vs. OFFLINE state in crsctl stat res -t)
see output below ...
[oracle@rzsolv236 ~]$ crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DG_GRID.dg
ONLINE ONLINE rzsolv236
ora.LISTENER.lsnr
ONLINE ONLINE rzsolv236
ora.asm
ONLINE ONLINE rzsolv236 Started
ora.gsd
OFFLINE OFFLINE rzsolv236
ora.net1.network
ONLINE ONLINE rzsolv236
ora.ons
ONLINE ONLINE rzsolv236
ora.registry.acfs
ONLINE ONLINE rzsolv236
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rzsolv236
ora.LISTENER_SCAN2.lsnr
1 ONLINE OFFLINE
ora.cvu
1 ONLINE ONLINE rzsolv236
ora.oc4j
1 ONLINE ONLINE rzsolv236
ora.rzsolv236.vip
1 ONLINE ONLINE rzsolv236
ora.rzsolv237.vip
1 ONLINE INTERMEDIATE rzsolv236 FAILED OVER
ora.scan1.vip
1 ONLINE ONLINE rzsolv236
ora.scan2.vip
1 ONLINE INTERMEDIATE rzsolv236 FAILED OVER
[oracle@rzsolv236 ~]$
[oracle@rzsolv236 ~]$ crsctl start res ora.LISTENER_SCAN2.lsnr -n rzsolv23
CRS-2800: Cannot start resource 'ora.scan2.vip' as it is already in the INTERMEDIATE state on server 'rzsolv236'
CRS-4000: Command Start failed, or completed with errors.
[oracle@rzsolv236 ~]$
[oracle@rzsolv236 ~]$ lsnrctl status LISTENER_SCAN2
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:15
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 2: No such file or directory
[oracle@rzsolv236 ~]$
[oracle@rzsolv236 ~]$ lsnrctl start LISTENER_SCAN2
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:32
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Starting /ora01/app/grid/product/GRID_11.2.0.4/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /ora01/app/oracle/network/admin/listener.ora
Log messages written to /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
STATUS of the LISTENER
Alias LISTENER_SCAN2
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 28-NOV-2013 16:12:32
Uptime 0 days 0 hr. 0 min. 1 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /ora01/app/oracle/network/admin/listener.ora
Listener Log File /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
The listener supports no services
The command completed successfully
[oracle@rzsolv236 ~]$
[oracle@rzsolv236 ~]$ lsnrctl status LISTENER_SCAN2
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 28-NOV-2013 16:12:37
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
STATUS of the LISTENER
Alias LISTENER_SCAN2
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 28-NOV-2013 16:12:32
Uptime 0 days 0 hr. 0 min. 4 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /ora01/app/oracle/network/admin/listener.ora
Listener Log File /ora01/app/oracle/diag/tnslsnr/rzsolv236/listener_scan2/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER_SCAN2)))
The listener supports no services
The command completed successfully
[oracle@rzsolv236 ~]$
[oracle@rzsolv236 ~]$
[oracle@rzsolv236 ~]$ crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.DG_GRID.dg
ONLINE ONLINE rzsolv236
ora.LISTENER.lsnr
ONLINE ONLINE rzsolv236
ora.asm
ONLINE ONLINE rzsolv236 Started
ora.gsd
OFFLINE OFFLINE rzsolv236
ora.net1.network
ONLINE ONLINE rzsolv236
ora.ons
ONLINE ONLINE rzsolv236
ora.registry.acfs
ONLINE ONLINE rzsolv236
Cluster Resources
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE rzsolv236
ora.LISTENER_SCAN2.lsnr
1 ONLINE OFFLINE
ora.cvu
1 ONLINE ONLINE rzsolv236
ora.oc4j
1 ONLINE ONLINE rzsolv236
ora.rzsolv236.vip
1 ONLINE ONLINE rzsolv236
ora.rzsolv237.vip
1 ONLINE INTERMEDIATE rzsolv236 FAILED OVER
ora.scan1.vip
1 ONLINE ONLINE rzsolv236
ora.scan2.vip
1 ONLINE INTERMEDIATE rzsolv236 FAILED OVER
[oracle@rzsolv236 ~]$
Regards,
Robert
Similar Messages
-
Why doesn't JavaMail work, but PHP mailer does?
I am trying to use JavaMail to send emails from my webserver. I've plugged in the host and the addresses are valid, but I am getting 550 errors. I've searched and found that I should change a setting on my mail server to allow relays from my webserver. However, we have a PHP mailer working on our webserver now, so presumably that relay is already in there. Why does the PHP work but the JavaMail doesn't?
Can you turn on session debugging and post the protocol trace that shows the failure?
The error codes alone are not enough, you usually need to look at the message included
with the error code.
Also, have you found the JavaMail FAQ? -
Why doesnt my volume work but my ringer does?
Today from a minute to another my volume just stopped working,but meanwhile my ringer still works,what should i do?
Hi anna1507,
Welcome to the Apple Support Communities!
I understand that you are hearing your iPhone ring but not other sounds from your iPhone. In this situation I would recommend the steps located in the attached article to assist you in troubleshooting.
If you hear no sound or distorted sound from your iPhone, iPad, or iPod touch speaker - Apple Support
Cheers,
Joe -
I have this odd issue that I can't seem to figure out. I have an MDT Task Sequence that I created runs scanstate and loadstate without any issues using hard link. Unfortunately, the user profiles are not loaded/restored after loadstate runs. I can go to
the StateStore folder and manually run the loadstate again or use the Windows Easy transfer to restore the users, but I want this to occur when loadstate runs.
Here is the loadstate log:
2014-03-30 18:01:10, Info [0x000000] USMT Started at 2014/03/30:18:01:10.787
2014-03-30 18:01:10, Info [0x000000] Command line: C:\_SMSTaskSequence\Packages\CMP0010E\x86\loadstate.exe C:\StateStore /c /v:5 /l:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\loadstate.log /progress:C:\WINDOWS\system32\CCM\Logs\SMSTSLog\loadstateprogress.log
/i:C:\_SMSTaskSequence\Packages\CMP0010E\x86\MigApp.xml /i:C:\_SMSTaskSequence\Packages\CMP0010E\x86\MigUser.xml /ue:*\* /ui:company.local\*
2014-03-30 18:01:10, Status [0x000000] Activity: 'MIGACTIVITY_COMMAND_LINE_PROCESSING'
2014-03-30 18:01:10, Info [0x000000] Script file specified: C:\_SMSTaskSequence\Packages\CMP0010E\x86\MigApp.xml[gle=0x000000cb]
2014-03-30 18:01:10, Info [0x000000] Script file specified: C:\_SMSTaskSequence\Packages\CMP0010E\x86\MigUser.xml[gle=0x000000cb]
2014-03-30 18:01:10, Info [0x000000] Replacement Manifests are processed because this OS version has built-in component manifests
2014-03-30 18:01:10, Info [0x000000] The ReplacementManifests folder used to service system component manifests is not present. OS settings migration will be done with system component manifests
installed onto the system.
2014-03-30 18:01:10, Info [0x000000] Starting the migration process[gle=0x00000006]
2014-03-30 18:01:10, Status [0x000000] Activity: 'MIGACTIVITY_MIGRATION_START'
2014-03-30 18:01:10, Info [0x000000] Excluding path: C:\_SMSTaskSequence\Packages\CMP0010E\x86
2014-03-30 18:01:10, Info [0x000000] Excluding path: C:\StateStore
2014-03-30 18:01:10, Info [0x000000] Excluding path: C:\WINDOWS\system32\CCM\Logs\SMSTSLog\loadstate.log
2014-03-30 18:01:10, Info [0x000000] Excluding path: C:\WINDOWS\system32\CCM\Logs\SMSTSLog\loadstateprogress.log
2014-03-30 18:01:10, Info [0x000000] Excluding path: C:\_SMSTaskSequence\Packages\CMP0010E\x86\MigApp.xml
2014-03-30 18:01:10, Info [0x000000] Excluding path: C:\_SMSTaskSequence\Packages\CMP0010E\x86\MigUser.xml
2014-03-30 18:02:55, Info [0x000000] Leaving MigCloseCurrentStore method
2014-03-30 18:02:55, Status [0x000000] Activity: 'MIGACTIVITY_SUCCESS'
2014-03-30 18:02:55, Info [0x000000] Success.[gle=0x00000006]
2014-03-30 18:02:55, Info [0x000000] USMT Completed at 2014/03/30:18:02:55.116[gle=0x00000006]
2014-03-30 18:02:55, Info [0x000000] Entering MigShutdown method
2014-03-30 18:02:55, Info [0x080000] COutOfProcPluginFactory::FreeSurrogateHost: Shutdown in progress.
2014-03-30 18:02:55, Info [0x0803e6] Removing mapping for HKLM
2014-03-30 18:02:55, Info [0x0803e7] Successfully unmapped HKLM
2014-03-30 18:02:55, Info [0x0803e6] Removing mapping for HKU
2014-03-30 18:02:55, Info [0x0803e7] Successfully unmapped HKU
2014-03-30 18:02:55, Info [0x080487] Destroying OS analysis service
2014-03-30 18:02:55, Info [0x080488] Destroyed OS analysis service
2014-03-30 18:02:55, Info [0x000000] Leaving MigShutdown methodI've got this to work although I haven't figured out the root cause.
My initial OSDMigrateAdditionalCaptureOptions were: /Hardlink /nocompress /uel:30 /config:%_SMSTSMDataPath%\Packages\%_OSDMigrateUsmtPackageID%\%Processor_Architecture%\config.xml"
My OSDMigrateRestoreCaptureOptions were: /Hardlink /nocompress /ue:*\* /ui:domain.local\*
Since the restore was failing, I removed the domain name from the ui switch which magically caused the restore process to load the user profiles to the computer.
My final OSDMigrateRestoreCapptureOptions which worked: /Hardlink /nocompress /ue:%computername%.
Just to note /hardlink commands are not necessary when you are using MDT task sequence, but I put it in anyway and it seems ensure that I get consistent results. -
Cluster failover but Availability Group do not
We recently had an issue where a file share was unavailable. It caused the cluster to failover. However, the Availability Group did not failover. The application was trying to connect to the secondary database which it couldn't since the failover had not
happened. We are set up using Quorum with a File Share Witness. We have manually failed this over successfully. Any ideas on why the Availability Group did not failover would be most appreciated. We do not have any experts in this area so please help us figure
out where to look.Availability listener are a good way of providing a fault tolerance for the client and in addition providing read-intent or read-only access to the secondary replicas. If you need it, you can go through these documentations. They show the why and how to
set them up. If you have any additinal questions let me know.
http://msdn.microsoft.com/en-us/library/hh213417.aspx
Always make sure to configure AG relevenat parts through SSMS not the cluster Service manager itself. There are some points that you might want to tweak in the cluster manager, but most parts should be configured (and for most cases they are sufficient)
in the SQL Server related tools (SSMS)
-Jens
Jens K. Suessmeyer http://blogs.msdn.com/Jenss -
Why one FLV file displayed but smaller one did not?
Here at work, I accepted an mp4 video file from a client and converted it to flv for viewing online. The company has a license to use Wondershare for this kind of thing. File size went from 193MB to 41MB. However when I checked to make sure it displayed normally, all I had was a black box and the audio. Have never had a problem with this type of conversion in the past using same process. One of my coworkers tried to convert (different software; he's on a Mac) and his flv displays somewhat normally, but is 444MB, causing pauses while the data streams.
Any way I can diagnose why my flv was audio only? When I compare media file properties, the only difference I can see is that his video stream format and codec ID are Soreson Spark / 2 while mine are Advanced Video Codec / 7.
The URL is proprietary so that's all I can give out.Well, I tried several alternate FLV encoders. Riva is free and highly touted but won't let me change aspect ratio. The trial version of EasyFLV (I'm not affiliated with any of these companies by the way) got the job done although it was much slower than Riva.
I'd still like to know how to diagnose FLV encoding problems? -
How to failover SCAN VIP and SCAN Listener from one node to another?
Environment:
O.S : HP-UX B.11.31 U ia64
RDBMS: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
It is a 2 Node RAC.
Question:
How to failover the SCAN VIP and SCAN LISTENER running on node 1 to node 2?
What is the relation between standard LISTENER and SCAN LISTENER ?
Why do we need LISTENER, when we have SCAN LISTENER ?
When I tried with SRCVTL STOP LISTENER , I thought the SCAN LISTENER adn SCAN IP will failover, but it did not?
Also please clarify if I use SRVCTL RELOCATE SCAN -i 1 -n Node1
Actalluy I am trying that by moving the SCAN listeners so that when I do PSU 7 patching on 1 node, no incoming attempt to connect will spawn
a process and thereby opening files in $ORACLE_HOME (which would prevent the patch from occurring)
Please clarify my queries.
Thanks, Sivaprasad.SHi Sivaprasad,
1. The following link will help you for SCAN VIP and SCAN LISTENER failover from 1 node to another.
http://heliosguneserol.wordpress.com/2012/10/19/how-to-relocate-scan_listener-from-one-node-to-another-node-on-rac-system/
http://oracledbabay.blogspot.co.uk/2013/05/steps-to-change-scan-ip-address-in.html
2. The Standard LISTENER is specific for particular node for which it is running. It cannot be relocated as its specific for the node its running. SCAN listeners are not replacements for the node listeners.A new set of cluster processes called scan listeners will run on three nodes in a cluster (or all nodes if there are less than 3). If you have more than three nodes, regardless of the number of nodes you have, there will be at most three scan listeners. So no relation for standard LISTENER and SCAN LISTENER.
3. Hmmm. let me put it in easy way for this question. All the RAC services like, asm, db , services, nodeapps registers with this SCAN_LISTENER. So if any of these services (asm, db , services, nodeapps) got down/not running, the SCAN_LISTENER will know the down status, and if any client requests to access the node/service which is down, the SCAN_LISTENER will redirect the client request to the least loaded node. So here all these process will happen without the knowledge of client. And As usual the standard LISTENER looks only for incoming request to connect with the database. So we need both LISTENER and SCAN LISTENER.
4. If you provide SRCVTL STOP LISTENER, it stops the default listener on the specified node_name, or the listeners represented in a given list of listener names, that are registered with Oracle Clusterware on the given node. No failover will happen under this case.
5. Yes you can relocate if you want to relocate the scan.
Hope this helps!!
Regards,
Pradeep. V -
Another user who can't get this thing started, Listener will not operate!!!
I installed from root, used port 8085 for the database (8080 used by Tomcat) and 1521 for the listener. Logged out, log back in as user oracle. Takes three full minutes to "start" the listener, but netstat -a does not show any listener on port 1521, despite listener startup saying "Command successful". Starting database, then 'lsnrctl status' returns the following:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-FEB-2007 19:16:16
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 19-FEB-2007 19:11:20
Uptime 0 days 0 hr. 4 min. 55 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=solera.homedns.org)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status BLOCKED, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "XE", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
All firewalls are completly disabled, except for my router which has ports 8085 and 1521 open. So, 1) Where is the listing for the listening in netstat -a? and 2) Why are my database services blocked? I've been trying for a week to get this thing started, I need it for work. I can log in to the database through SqlPlus, so it is there and running fine, but the listener is not working, and I cannot get to the database home page.Checked the listener log. Doesn't look good. Keep saying host or object does not exist!!
TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 19-FEB-2007 18:56:13
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
Trace level is currently 0
Started with pid=3711
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=solera.homedns.org)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 19-FEB-2007 19:11:20
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
Trace level is currently 0
Started with pid=3384
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=solera.homedns.org)(PORT=1521)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
19-FEB-2007 19:14:29 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:16:01 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:16:15 * service_register * XE * 0
19-FEB-2007 19:16:16 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:16:17 * service_update * XE * 0
19-FEB-2007 19:16:23 * service_update * XE * 0
19-FEB-2007 19:16:32 * service_update * XE * 0
19-FEB-2007 19:16:35 * service_update * XE * 0
19-FEB-2007 19:16:37 * ping * 0
Error listening on: (Description=(Address=(Protocol=tcp)(Port=8085)(Host=localhost))(Presentation=HTTP)(Session=RAW))
19-FEB-2007 19:16:38 * service_update * XE * 12545
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
19-FEB-2007 19:16:41 * service_update * XE * 0
19-FEB-2007 19:16:44 * service_update * XE * 0
19-FEB-2007 19:26:47 * service_update * XE * 0
19-FEB-2007 19:27:44 * service_update * XE * 0
19-FEB-2007 19:34:02 * service_update * XE * 0
19-FEB-2007 19:41:47 * service_update * XE * 0
19-FEB-2007 19:46:44 * service_update * XE * 0
19-FEB-2007 19:46:59 * service_update * XE * 0
19-FEB-2007 19:47:02 * service_update * XE * 0
19-FEB-2007 19:47:10 * service_died * XE * 12537
19-FEB-2007 19:47:26 * service_register * XE * 0
19-FEB-2007 19:47:26 * service_update * XE * 0
19-FEB-2007 19:47:32 * service_update * XE * 0
19-FEB-2007 19:47:38 * service_update * XE * 0
19-FEB-2007 19:47:41 * service_update * XE * 0
Error listening on: (Description=(Address=(Protocol=tcp)(Port=8085)(Host=localhost))(Presentation=HTTP)(Session=RAW))
19-FEB-2007 19:47:44 * service_update * XE * 12545
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
19-FEB-2007 19:47:50 * service_update * XE * 0
19-FEB-2007 19:48:32 * service_update * XE * 0
19-FEB-2007 19:48:38 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 19:58:32 * service_update * XE * 0
19-FEB-2007 20:00:02 * service_update * XE * 0
19-FEB-2007 20:00:41 * service_update * XE * 0
19-FEB-2007 20:01:42 * service_update * XE * 0
19-FEB-2007 20:02:49 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 20:11:18 * service_update * XE * 0
19-FEB-2007 20:14:06 * service_update * XE * 0
19-FEB-2007 20:15:12 * service_update * XE * 0
19-FEB-2007 20:17:27 * service_update * XE * 0
19-FEB-2007 20:18:36 * service_update * XE * 0
19-FEB-2007 20:21:41 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=solera.homedns.org)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
19-FEB-2007 20:28:36 * service_update * XE * 0
But here is my hosts file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 solera.homedns.org solera localhost.localdomain localhost 127.0.0.1
Looks like they are there. -
Hi All,
I am using EBS 11.5.10.2 on RHEL4 32bit. It was a fresh installation. After installing, DB services and DB listener are running. But apps listener is not running. When i started with *./adalnctl.sh start apps/apps*, thrwed an error adalnctl.sh: exiting with status 127. I checked in 8.0.6 home/bin. There lsnrctl is not there but lsnrctl0 there. So i copy that and rename to lsnrctl. After that, itried to start with *./adalnctl.sh start apps/apps*, i got an error
./adalnctl.sh start apps/apps
adalnctl.sh version
Checking for FNDFS executable.
Starting listener process APPS_OptDemo.
adalnctl.sh: exiting with status 1
./adalnctl.sh status apps/apps
adalnctl.sh version
Checking status for listener process APPS_OptDemo.
LSNRCTL for Linux: Version 8.0.6.3.0 - Production on 20-DEC-2009 21:16:14
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=kaveri)(Port=1626))
TNS-12224: TNS:no listener
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
adalnctl.sh: exiting with status 1
adalnctl.txt log:
LSNRCTL for Linux: Version 8.0.6.3.0 - Production on 20-DEC-2009 21:15:53
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=kaveri)(Port=1626))
TNS-12224: TNS:no listener
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused
Starting listener process APPS_OptDemo.
LSNRCTL for Linux: Version 8.0.6.3.0 - Production on 20-DEC-2009 21:15:56
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Starting /u01/applmgr/optdemoora/8.0.6/bin/tnslsnr: please wait...
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Linux Error: 2: No such file or directory
adalnctl.sh: exiting with status 1
Checking status for listener process APPS_OptDemo.
adalnctl.sh: exiting with status 1
Please let me know a solution.
Thanks,
Manikandan
Edited by: user11298689 on Dec 22, 2009 10:07 PMHi,
./adalnctl.sh start apps/appsYou do not have to pass the apps username/password to start the listener, just issue "adalnctl.sh start APPS_OptDemo".
Linux Error: 111: Connection refusedPlease see if the solution in (Note: 343295.1 - Starting 10gr2 TNS Listener Yields TNS-12541, Linux Error: 111: Connection Refused) is applicable.
Regards,
Hussein -
Should SCAN VIP and Listener jump among Nodes?
Oracle (GI and DB): 11.2.0.3 SE
OS: RHEL 5.6
I remember when I first tried scan several years ago (most likely with 11.2.0.1 EE), the SCAN VIP and Listeners jumps from node to node whenever a DB connection was established.
Recently, in a newly installed 2 node cluster running 11.2.0.3 SE, it seems the SCAN VIP and Listener stick to a single node unless during failover or requested with a command. As a result, a SCAN VIP and Listeners end up running on a single node after some failover testing.
Which is the designed behaviour? I understand they can direct connection requests to DB instance on other node. Just want to know whether they are supposed to jump?Hi,
I have not tried it myself, but if you look at the crs profile on how SCANs are defined, they are set to DISPERSION.
# crsctl stat res ora.scan1.vip -p
NAME=ora.scan1.vip
TYPE=ora.scan_vip.type
START_DEPENDENCIES=hard(ora.net1.network) dispersion:active(type:ora.scan_vip.type) pullup(ora.net1.network)
...So they should not/never run on the same node, since the dispersion policy tells them differently.
However this dependency is checked at startup time, and not always during runtime. So if you do a lot of test, your szenario is possible.
Have you tried waiting a while, if this resolves the issue?
If they stay on the same node, I would open an SR, because then it does not follow the dispersion policy.
Regards
Sebastian -
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 AMhitgon 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 -
Why is DBXML doing a table scan on this query?
I loaded a database with about 610 documents, each contains about 5000 elements of the form:
<locations><location><id>100</id> ... </location> <location><id>200</id> ... </location> ... </locations>
The size of my dbxml file is about 16G. I create this with all default settings, except that I set auto-indexing off, and added 3 indexes, listed here:
dbxml> listIndexes
Index: unique-edge-element-equality-string for node {}:id
Index: edge-element-presence-none for node {}:location
Index: node-element-presence-none for node {}:locations
Index: unique-node-metadata-equality-string for node {http://www.sleepycat.com/2002/dbxml}:name
4 indexes found.
I am performing the following query:
dbxml> query 'for $location in (collection("CitySearch.dbxml")/locations/location[id = 41400]) return $location'
This has the following query plan:
dbxml> queryPlan 'for $location in (collection("CitySearch.dbxml")/locations/location[id = 41400]) return $location'
<XQuery>
<Return>
<ForTuple uri="" name="location">
<ContextTuple/>
<QueryPlanToAST>
<ParentOfChildJoinQP>
<ValueFilterQP comparison="eq" general="true">
<PresenceQP container="CitySearch.dbxml" index="unique-edge-element-equality-string" operation="prefix" child="id"/>
<NumericLiteral value="4.140E4" typeuri="http://www.w3.org/2001/XMLSchema" typename="integer"/>
</ValueFilterQP>
<ChildJoinQP>
<NodePredicateFilterQP uri="" name="#tmp0">
<PresenceQP container="CitySearch.dbxml" index="node-element-presence-none" operation="eq" child="locations"/>
<LevelFilterQP>
<VariableQP name="#tmp0"/>
</LevelFilterQP>
</NodePredicateFilterQP>
<PresenceQP container="CitySearch.dbxml" index="edge-element-presence-none" operation="eq" parent="locations" child="location"/>
</ChildJoinQP>
</ParentOfChildJoinQP>
</QueryPlanToAST>
</ForTuple>
<QueryPlanToAST>
<VariableQP name="location"/>
</QueryPlanToAST>
</Return>
</XQuery>
When I run the query, it is very clearly performing a table scan, the query takes about 10 minutes to run (argh!!) and the disk is read for the length of the query. Why is this doing a table scan, and what can I do to make this a simple, direct node access?
AndrewHi George,
I took a subset of my data set, and left auto indexing on to see what the query plan would be, then I duplicated the index being used in my larger data set with auto indexing off. The problem with leaving auto indexing on for the entire data set was the apparent size of the file: with just the single index, the file was about 17G, with auto indexing on, it was climbing over 30G (with 40 indices, I didn't include all of the tags in my original post) when I killed it. Further data load was taking forever, it is much faster with auto indexing off and then add the single index. -
Text is broken when scanning UP the page; but good scanning down the page; why?
Text is broken when scanning UP the page; but okay scanning down the page. The text looks like a shot gun has been fired through it. It used to be good both ways until the last update. This is not a problem in any other program including Internet Explorer. I have an image to show you but there is no link here to attach.
After clicking Allow I got ..........The add-on could not be downloaded because of a fault at the support site.Try to create a new Boolean pref on the about:config page via the right-click context menu with the name layout.paint_rects_separately and set the value to true and leave hardware acceleration enabled.
See comment 414 in bug 812695:
*https://bugzilla.mozilla.org/show_bug.cgi?id=812695#c414
If that didn't help then try to disable hardware acceleration in Firefox (you need to close and restart Firefox).
*Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Can SCAN VIPs also come back, when the node is Up after failover?
Hi,
Consider a two node cluster, as two SCAN vips are running on Node1 and one on Node2.
As,Node1 is down so the resources and the Node vip failovers to other node.
When the Node1 is back again, what about the SCAN VIPS they will also come back and work for Node1.
Thank you
-SatyaHello,
First of all answer of your question is YES.
Now Oracle suggest that we should use 3 SCAN VIPs (SCAN LISTENERs).
See this demo for your question:
I have 3 node RAC setup : HOST01 & HOST02
*# crsctl stat res -t*
As you can see currently SCAN VIPs are running on all the machines, now i am going to stop crs from HOST02 and see the status of SCAN VIPs:
From host02
# crsctl stop crs
FROM HOST01,
*# crsctl stat res -t*
[root@host01 ~]# crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Cluster Resources
ora.LISTENER_SCAN1.lsnr
*1 ONLINE ONLINE host01*
ora.LISTENER_SCAN2.lsnr
*1 ONLINE ONLINE host01*
ora.LISTENER_SCAN3.lsnr
*1 ONLINE ONLINE host01*
ora.gns
1 ONLINE ONLINE host01
ora.gns.vip
1 ONLINE ONLINE host01
ora.host01.vip
1 ONLINE ONLINE host01
ora.host02.vip
1 ONLINE INTERMEDIATE host01 FAILED OVER
ora.host03.vip
1 ONLINE INTERMEDIATE host01 FAILED OVER
ora.oc4j
1 OFFLINE OFFLINE
ora.orcl.amdbs.svc
1 ONLINE ONLINE host01
2 ONLINE OFFLINE
ora.orcl.db
1 ONLINE ONLINE host01
2 ONLINE OFFLINE
3 ONLINE OFFLINE
ora.scan1.vip
*1 ONLINE ONLINE host01*
ora.scan2.vip
*1 ONLINE ONLINE host01*
ora.scan3.vip
*1 ONLINE ONLINE host01*
[root@host01 ~]#
This time you can see all the SCAN VIPs are running on HOST01.
Again after starting crs on both the machines : HOST02
see the status again :
*# crsctl stat res -t*
[root@host01 ~]# crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Cluster Resources
ora.LISTENER_SCAN1.lsnr
*1 ONLINE ONLINE host02*
ora.LISTENER_SCAN2.lsnr
*1 ONLINE ONLINE host01*
ora.LISTENER_SCAN3.lsnr
*1 ONLINE ONLINE host01*
ora.gns
1 ONLINE ONLINE host01
ora.gns.vip
1 ONLINE ONLINE host01
ora.host01.vip
1 ONLINE ONLINE host01
ora.host02.vip
1 ONLINE ONLINE host02
ora.host03.vip
1 ONLINE INTERMEDIATE host01 FAILED OVER
ora.oc4j
1 OFFLINE OFFLINE
ora.orcl.amdbs.svc
1 ONLINE ONLINE host01
2 ONLINE OFFLINE
ora.orcl.db
1 ONLINE ONLINE host01
2 ONLINE OFFLINE
3 ONLINE OFFLINE
ora.scan1.vip
*1 ONLINE ONLINE host02*
ora.scan2.vip
*1 ONLINE ONLINE host01*
ora.scan3.vip
*1 ONLINE ONLINE host01*
*[root@host01 ~]#*
After starting crs on HOST02 again SCAN VIPs move back to HOST02 automatically.
Thanks,
Ashish Shukla
Edited by: Ashish Shukla on May 15, 2013 7:19 PM -
Accessing Enteprise Manager via Cluster Scan VIP
Hello all...
We have a few clusters set up, and we've been accessing Enterprise Manager for these via the cluster scan IP address. For some unknown reason we now cannot access two of the three OEM installations via the scan IP, only by the IP address of the first node. Unfortunately I wasn't involved in this stage of the setup and I'm not having a lot of luck finding docs relevant to this.
The clusters are running 11.2.0.2 Standard with the January 2012 patch set, and the nodes in the clusters with the issue don't have any problem pinging each other or the scan URL for the custer, if that's helpful.
Can someone point me in the right direction?
Thanks,
Dan
Edited by: ddenton on Apr 20, 2012 11:11 AM
Edited by: ddenton on Apr 20, 2012 11:18 AMRavi,
DB Control was set up independently of the database using "emca".
The scan name in the emoms.properties file does match up with what's listed when running the "srvctl config scan" command.
When I attempt to connect to the scan address from Node2 using the following command, I get this response:
[oracle@devdb2 ~]$ sqlplus username/[email protected]:1521/DEVDB
SQL Plus: Release 11.2.0.2.0 Production on Mon Apr 23 10:41:00 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
I have no problem tns pinging the scan name or the database name:
[oracle@devdb2 ~]$ tnsping devdb-scan.rp.db
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 23-APR-2012 10:42:10
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=10.10.10.130)(PORT=1521)))
OK (0 msec)
[oracle@devdb2 ~]$ tnsping DEVDB
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 23-APR-2012 10:42:34
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = devdb1-vip.company.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = devdb2-vip.company.com)(PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DEVDB.company.com)))
OK (0 msec)
Connecting using the following command directly to the TNS name for the database works too, so I'm a bit confused as to why specifying the scan name with port doesn't...
[oracle@devdb2 ~]$ sqlplus username/password@DEVDB
SQL*Plus: Release 11.2.0.2.0 Production on Mon Apr 23 16:16:40 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL>
##################################
Maybe you are looking for
-
IDVD wont open on Macbook Pro. 'loading themes' bar only.
Everytime i try to open iDVD, i select 'start new project' and the 'loading themes' bar appears and nothing else happens. I have never been able to get into the actual program properly. When i was installing all the new updates when i first receieved
-
Can't open illustrator with OS 10.9.5
Ever since I updated my Illustrator yesterday (with Creative cloud), I haven't been able to open Illustrator because of software version clashes between Illustrator and my Mac's OS version (10.9.5). Does anyone have info on this? Should I just update
-
Hi all, I am trying to run the crawler application availabe on Sun's website at the URL: http://java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/#demo The problem is it would not return any results to me and I have no clue why this is h
-
Start weblogic server within java code
From edoc.bea.com, I got: ==== The following sections describe alternate ways to start an Administration Server: Starting an Administration Server from the Windows Start Menu Starting an Administration Server When the Host Computer Boots Starting an
-
Can Exe Files Be Opened on a Mac
Can mac book pro open exe files, I am trying to download this http://www.blogmediauploader.com/downloads/optinthanks/bmufinal.zip I get this file bumfinal-1.exe" I get Safari cant open the file "bmufinal-1.exe" because no available application can op