How to register a listener in RAC.
Hi,
We have recently upgraded our database in RAC environment. As a part of this, listener oracle_home also got changed. Earlier we used to start the listener using srvctl but now i am not able to do the same. i think i need to change Oracle_home details in cluster related config as well. Can any body share if any points on this.
Regards
DBA.
if you've upgraded to 11.2 the environment variable TNS_ADMIN to the new location in grid home
the database description in ocr also needs to have the tns_admin updated
Update the CRS TNS_ADMIN setting
srvctl setenv database -d <dbname> -T TNS_ADMIN=/u00/app/11.2.0.2/grid/network/admin <-- your grid home
Verify the environment for the database and all instances
$ srvctl getenv database –d <dbname>
$ srvctl getenv instance –d <dbname> -i <instancename>
Also, when I upgraded to 11.2.0.2 I had an issue with using srvctl because the OCR was still looking to the old home even though it was uninstalled. This was resolved by setting ORA_CRS_HOME environment variable to point to the new GRID home.
hope this helps
Brenda
Similar Messages
-
How to register listeners on new RAC install?
Hi there,
I've just finished installing clusterware and database 10g on a solaris
cluster (10.2.0.2).
But, when I query the state of the nodeapps, it says that the listener
isn't configured.
$ srvctl status nodeapps -n servername
VIP is running on node: servername
GSD is running on node: servername
PRKO-2016 : Error in checking condition of listener on node: servername
ONS daemon is running on node: servername
I've looked everywhere, and i can't find how to add the listener (presumably
as a nodeapp) to the new cluster.
If anyone could point me in the right direction, I'd really appreciate it.
regards
Paul StuartYou have installed Oracle binaries and have created the database? then as part of the inital instance creation and startup DBCA should have created the listener added it to the OCR and added it to the autostartup process of the CRS under nodeapps.
-
How to register RAC database to new listener manually in 10g?
Hi Rac Experts,
OS : Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
Oracle 10.2.0.2.0 database
I am working on to register my two node RAC database to the new listener which i have created manually, after listener creation when i start the listener it only handles local instance but not the remote instance. Please advice....
Please note that netca is not working on this machine and i am working from remote location, so i don't have gui access from here.
Following is my listener on node1:
LISTENER_OR44D1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = virtual ip)(PORT = 1527)(IP = FIRST)))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = actual ip)(PORT = 1527)(IP = FIRST)))
SID_LIST_LISTENER_OR44D1 =
(SID_LIST =
(SID_DESC = (ORACLE_HOME = /u01/app/oracle/product/oracle10/db)(SID_NAME = or44d1))
-- PTLDBA.Hi,
I did as per you advice but facing below error, i am i missing anything here. Please advice...
SQL> show parameter liste
NAME TYPE VALUE
local_listener string LISTENER_or44d1
remote_listener string LISTENERS_or44d
SQL>
SQL> show parameter service
NAME TYPE VALUE
service_names string or44d
SQL>
SQL> alter system set local_listener=or44d1 instance='or44d1';
alter system set local_listener=or44d1 instance='or44d1'
ERROR at line 1:
ORA-02065: illegal option for ALTER SYSTEM
SQL>
SQL> alter system set local_listener='or44d1' instance='or44d1';
alter system set local_listener='or44d1' instance='or44d1'
ERROR at line 1:
ORA-02065: illegal option for ALTER SYSTEM
--PTLDBA -
Will Nodeapps register the listener service of RAC database?
Hi Friends,
In 10g RAC will Nodeapps register the listener service of RAC database?
because if i bring down nodeapps the listenener is also going down
ora....C1.lsnr application OFFLINE OFFLINE
ora.rac1.gsd application OFFLINE OFFLINE
ora.rac1.ons application OFFLINE OFFLINE
ora.rac1.vip application OFFLINE OFFLINE
Regards,
DBHi,
This is expected behavior. The default listener (listener_nodename) could be starte and stopped with nodeapps.
srvctl listener is mainly for specific listeners that are other than default.
http://docs.oracle.com/cd/B19306_01/rac.102/b14197/whatsnew.htm#sthref6
If you create additional Listeners with non-default names, in other words, with names other than the name listener_nodename where nodename is the name of the node on which the Listener resides, then you must start and stop these Listeners with SRVCTL commands.
http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#i1009606
http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#CDCEIDFH -
Service not registered with listener on one of the nodes?
We have an 11.2.0.1 oracle RAC with 2 nodes. Recently the listener died on node 1 and after a manual startup it seems like the service doesn't register with the listener on this node.
Here's what statusing the listener on both nodes shows:
[oracle@db01]$ $GRID_HOME/bin/lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 17-NOV-2010 12:27:49
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 17-NOV-2010 07:14:40
Uptime 0 days 5 hr. 13 min. 9 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/db01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.128.4)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.128.14)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@db02 ~]$ $GRID_HOME/bin/lsnrctl status listener
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 17-NOV-2010 12:30:08
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 17-NOV-2010 07:14:40
Uptime 0 days 5 hr. 15 min. 28 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/db02/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.128.5)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.128.15)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM2", status READY, has 1 handler(s) for this service...
Service "prd1.somehost.net" has 1 instance(s).
Instance "prd12", status READY, has 1 handler(s) for this service...
Service "prd1XDB.somehost.net" has 1 instance(s).
Instance "prd12", status READY, has 1 handler(s) for this service...
The command completed successfully
The prd12 instance shows as registered with the listener on db02 but the prd11 doesn't on db01. Right now all connections are routed to the prd12 instance. Also trying to connect to prd11 manually returns "ORA-12505: TNS:listener does not currently know of SID given in connect descriptor". The prd11 instance is actually running and I can connect to it locally via 'sqlplis "/ as sysdba"' but not via 'sqlplus user/pass@prd1'. I'm wondering what went wrong and how to register the prd11 with the listener on db01.
Here's some more information
[oracle@db01 ~]$ $GRID_HOME/bin/srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node db02
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node db01
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node db01
[oracle@db01 ~]$ $GRID_HOME/bin/srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node db02
SCAN VIP scan2 is enabled
SCAN VIP scan2 is running on node db01
SCAN VIP scan3 is enabled
SCAN VIP scan3 is running on node db01
[oracle@db01 ~]$ $GRID_HOME/bin/srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): db01,db02
Thanks in advance,
Nick
Edited by: user639426 on Nov 17, 2010 4:44 AMSeems like the LISTENER_SCAN2 and LISTENER_SCAN3 are running on node 1 but still I can't status them
[oracle@db01 ~]$ ps -ef | grep tns
oracle 6227 31486 0 08:24 pts/1 00:00:00 grep tns
oracle 18049 1 0 Nov17 ? 00:00:20 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
oracle 18120 1 0 Nov17 ? 00:00:16 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
oracle 18131 1 0 Nov17 ? 00:00:05 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
[oracle@db01 ~]$ $GRID_HOME/bin/lsnrctl status LISTENER_SCAN2
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-NOV-2010 08:25:11
Copyright (c) 1991, 2009, Oracle. All rights reserved.
TNS-01101: Could not find service name LISTENER_SCAN2
[oracle@db01 ~]$ $GRID_HOME/bin/lsnrctl status LISTENER_SCAN3
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-NOV-2010 08:25:18
Copyright (c) 1991, 2009, Oracle. All rights reserved.
TNS-01101: Could not find service name LISTENER_SCAN3
/u01/app/11.2.0/grid/network/admin/listener.ora contents:
LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # 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_SCAN3=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora contents:
PRD1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = prdcluster-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = prd1.somehost.net)
Everything worked just fine for quite some time until I found the listener down one morning and started it up manually. I wonder if I didn't start up the processes correctly. I did:
$GRID_HOME/bin/srvctl stop scan_listener
$GRID_HOME/bin/srvctl stop scan
$GRID_HOME/bin/srvctl stop listener
$GRID_HOME/bin/srvctl start listener
$GRID_HOME/bin/srvctl start scan
$GRID_HOME/bin/srvctl start scan_listener
Is this the correct way of starting up the listener processes?
Nick -
Dear Friends,
UAT Instance:
i have installed 10g cluster (10.2.0.2) and i have cretaed new 10g home and cretaed listener (with port ) and cretaed UAT database
No issues on the above
DEV Instance:
Now we have another database DEV and for this i have differnt oracle home (not same as UAT) and i created databases and converted to RAC but i want this database to be registered in the 10g existing cluster and the listener also i want to have new one with different port (not same as UAT)
so when we try to cretae new listener from new DB home it's throwing error.
"CRS-0215: could not start resource"
so please let me know how to
creating new listener with different port for new database having new DB home
and register it with the existing 10g cluster
Regards,
DBHi,
Is the database part of the cluster or not?
srvctl config database -d ... to find out if not add it to cluster
srvctl add database -d and then the instances
srvctl add instance -d dbname -i instance name
have a look in here for information related to listener/port
Changing Default Listener Port Number [ID 359277.1]
How to Create Multiple Oracle Listeners and Multiple Listener Addresses [ID 232010.1] -
How to register custom FacesPageLifecycle?
Hi,
In 10G, to customize the way errors are presented to the users I was extending ADFPhaseListener to provide my custom FacesPageLifecycle.
However, in 11G ADFPhaseListener is marked as deprecated saying that to customize the lifecycle I must register a listener in adf-config.xml.
This does not tell me how to register a custom page lifecycle. The latest developer's guide is still referring the SRDemo way (see section 37.3.1).
What is the 11G way of achieving this?
Thanx!
OlivierThis works for me in TP2.
package test.view;
import oracle.adf.controller.v2.lifecycle.PagePhaseEvent;
import oracle.adf.controller.v2.lifecycle.PagePhaseListener;
public class MyPagePhaseListener implements PagePhaseListener
public void afterPhase(PagePhaseEvent event)
System.out.println("In afterPhase " + event.getPhaseId());
public void beforePhase(PagePhaseEvent event)
System.out.println("In beforePhase " + event.getPhaseId());
}and the adf-config.xml file entry:
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:sec="http://xmlns.oracle.com/adf/security/config">
<!-- etc -->
<adfc-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config">
<lifecycle>
<phase-listener>
<listener-id>MyPagePhaseListener</listener-id>
<class>test.view.MyPagePhaseListener </class>
</phase-listener>
</lifecycle>
</adfc-controller-config>
</adf-config> -
How to check a listener in SAP for a TIBCO topic (published message)?
Hi,
We are using TIBCO as the middle ware between SAP and Documentum. For the last few days none of the IDOCs sent from TIBCO are coming into SAP.
The concerned person from TIBCO team said that, "TIBCO is publishing messages on the topic SPC.All4One.IncomingInvoiceStart.Topic but there is no subscriber available to pick up the messages. Could you please check if SAP is a subscriber for this topic?".
I am not sure how should we check this.
Any pointers on this would be greatly appreciated.
Regards
BaradaHi,
I never worked on TIBCO. But generally listner settings will be in the middle ware. You need to check the listener settings in the middleware. SAP will be registered as listener in the middleweare. Please check.
Thanks and Regards, -
How to register notification using NSDistributedNotification ?
I am working on Xcode4.2 and IOS 5 . I had gone through the Notification document, I have seen we can listen to other application's event using NSDistributedNotification.I tried to register with NSDistributionNotification. But i am getting compilation error. Later i checked framework class, there i don't find the NSDistributedNotification.h. Where can i found this class and how to register with this register the notification using NSDidtributedNotification.
Thanks
PushpaCompare the Mac and iOS developer library Notification Centers. Despite the fact the document text is identical, including references to NSDistributedNotificationCenter, notice the OBJECTIVE-C REFERENCE heading in the Table of Contents includes NSDistributedNotificationCenter only in the Mac developer library.
Mac
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Notifica tions/Articles/NotificationCenters.html
iOS
https://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/Notifica tions/Articles/NotificationCenters.html -
How to register the recipient when create job by function
I am now use JOB_OPEN , JOB_SUBMIT and JOB_CLOSE to create a job in the program. And need to post the result of the report to the person by email.
Can you tell me how to register the recipient when create the job.
( in sm36, it is easily to do but how to do in coding? )
regards,
slamHi
I think in Back ground using the above fun modules you can't send a mail to the receipient.
see the use of the above fun modules;
IF p_bjob = 'X'.
CONCATENATE sy-cprog sy-datum sy-uzeit
INTO jobname SEPARATED BY '_'.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
out_archive_parameters = arc_params
out_parameters = print_params
valid = valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF valid = chk.
SUBMIT ybrep
WITH < sel Screen>
AND RETURN
USER sy-uname
VIA JOB jobname
NUMBER jobcount
TO SAP-SPOOL
SPOOL PARAMETERS print_params
ARCHIVE PARAMETERS arc_params
WITHOUT SPOOL DYNPRO.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount
jobname = jobname
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
MESSAGE i029 WITH jobname.
ENDIF.
ELSE.
MESSAGE s000 WITH text-003.
STOP.
ENDIF.
ENDIF.
Reward points if useful
Regards
Anji -
How to register multiple ipods on same email account
how do register multiple ipods using the same email account?
Maybe here
How to use multiple iPods, iPads, or iPhones with one computer
You can have an unlimited number of devices that you own or control for private use tied to one iTunes account. But you have only have five tied to one iCloud account.
To alllow FT and Messagibng between them see:
MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime -
How to register custom report under Custom Development Application
Hi 2 all
How to register custom report under the Custom Development application in R12 vision DB, and also confirm location/folder of Custom Development application in R12.
Thanks
ZulqarnainHi,
You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com -
A computer illiterate friend created 3 accounts on his iPhone 5 but forgot the passwords. He can't reset the password as his yahoo address is no longer valid. Erasing the phone doesn't solve the issue as the Apple server identifies the hardware as registered. How to register the phone with Apple?
I helped him create a new email address and new iCloud account on my Mac but when we try to register the phone with Apple it says: Maximim accounts limit reached for this device. How can he register the phone? I read different threads and found out that only Apple care can do that. We're in Romania and don't know where to call. Any suggestions on how we fix this?When I checked the support site for Romania, you apparently don't have an Apple Care contact center. You "may" try calling the US Apple care number to verify the account and have the password reset sent to a different email address. 800-694-7466
-
I buy my ipad in qatar duty free i mean ipad4 wifi +cellular i thought i can use it for text or call by means of phone number only but im dissapoint when i used it and found out that i have to register all numbers to imessage and i cannot find how to register it.please help me to solve this matter.
You have a password, so good move on your part. Whether you erase it or the thief does, they still get to use the iPhone as theirs. Which is more important (pick one), protecting your data or punishing the thief?
Ringing occurs at the carrier. Chances are you're going to voicemail after only two or three rings. If you have an iCloud backup also a good move. Re-read my question in the first paragraph. -
hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?
There are a lot of posts in the forums today with people having problems with iMessage. There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
I would just wait it out - I'm sure it will be sorted out soon.
Maybe you are looking for
-
Ipod touch is not syncing over wifi at home
Hi is there anyone out there that is having trouble with syncing there ipod touch with there home computer and receiving there email as well. But are able to go on the wifi outside of thier home in public domains and only able to partially receive th
-
RFIDYYWT across company codes produces 1099 with multiple records per TIN
We have multiple company codes that post 1099-MISC relevant payments to a common set of vendors. All payments are processed through our main (paying) company code. All our company codes are one taxable entity to the federal government, with one TIN.
-
Why won't Translucent stay translucent
I have a bunch of photos on a translucent background. When ever I save it the background turns white, even before leaving PSE7. I've made them one layer, left them 35 layers, saved, save as, save for web, unchecked optimized, I tried it all. I am sav
-
Hi there, I like to use SAP JRA within a JBoss Application Server, I use the rar-file provided by Web AS. I knew that there were other posts regarding this topic, but they did not really answer my question: The Thread JCO and JRA under JBoss says: u2
-
HT1349 I need IDVD, How can I have? I have OSX lion. Please help
Recently I have bought MacBook Pro and I dont have IDVD, I need it very badly, I would be glad if I have this IDVD. I have seen some of my friends haveing IDVD when they purchase the MacBook Pro. Please help me how to get it. Thanks Joy