SlideShare a Scribd company logo
1 of 10
Pros and cons
In practice, both methods are simple to implement and works justfine. However,
there are several differences:
1. With dynamic registration, PMONis the one who register the instance. So if the
instance is down, no registration will be made. Even when the instance is in
nomount, the listener will block access to it. If we need the ability to
remotely connect to the instance when it's down or in nomount in order to startit
or maintain it, we will haveto add static registration.
2. With dynamic registration, PMONis periodically updating the listener with its
registration status. The advantagehere is that we can add data such as workload.
This is irrelevantfor a single instance, but in RAC it is very important and used by
the listener for load balancing.
3. To work with services we need to use dynamic registration.
There are 2 methods to register an instance in the listener, static registration and
dynamic registration. We can work with one of them or both of them combined.
Remember that in order to work with static registration weneed to edit and
maintain the listener.ora file, and in order to work with dynamic registration we
need to set the LOCAL_LISTENERparameter. Another thing to remember is that
the default for dynamic registration is to register to the listener running on the
local host, listening on port1521.
Difference betweenStatic listener and Dynamic listener
registrations
PFB listener.orafile having static configuration:-
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME= AMIT)
(ORACLE_HOME= /oracle_home/oracle/ora11g/product)
)
(SID_DESC=
(SID_NAME= TEST)
(ORACLE_HOME= /oracle_home/oracle/ora11g/product)
)
)
LISTENER=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS = (PROTOCOL =TCP)(HOST= 10.11.1.10)(PORT=1521))
(ADDRESS = (PROTOCOL =IPC)(KEY=EXTPROC1521))
)
)
ADR_BASE_LISTENER= /oracle_home/oracle
PFB listener.orafile having dynamic configuration:-
LISTENER=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS = (PROTOCOL =TCP)(HOST= 10.11.1.10)(PORT=1521))
(ADDRESS = (PROTOCOL =IPC)(KEY=EXTPROC1521))
)
)
ADR_BASE_LISTENER= /oracle_home/oracle
As we can see dynamic configuration is much easier as compared to static
configuration.
PFB listener statusdetailswhenusing Dynamic regitration:-
bash-3.2$ lsnrctlstatus
LSNRCTL for IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production on 02-
DEC-2013 10:51:59
Copyright(c) 1991, 2009, Oracle. Allrights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=amit)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 -
Production
Start Date 01-DEC-201316:19:04
Uptime 10 days 18 hr. 32 min. 56 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File
/oracle_home/oracle/ora11g/product/network/admin/listener.ora
Listener Log File
/oracle_home/oracle/diag/tnslsnr/new/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "amit" has 1 instance(s).
Instance"amit", status READY, has 1 handler(s) for this service...
Service "amitXDB" has 1 instance(s).
Instance"amit", status READY, has 1 handler(s) for this service...
The command completed successfully
Abovestatus as "READY" resembles that listener has checked instance details and
found its status as up or running to handle client request.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=amit)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 -
Production
Start Date 01-DEC-201316:42:04
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File
/oracle_home/oracle/ora11g/product/network/admin/listener.ora
Listener Log File
/oracle_home/oracle/diag/tnslsnr/new/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
Abovestatus resembles that either Instanceis not up, or its not been registered
with listener.
PFB commands to register database instancewith listener if it's not automatically
registering with listener :-
SQL> alter systemregister;
Systemaltered.
bash-3.2$ lsnrctlstatus
LSNRCTL for IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production on 02-
DEC-2013 11:43:51
Copyright(c) 1991, 2009, Oracle. Allrights reserved.
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=amit)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 -
Production
Start Date 01-DEC-201316:44:04
Uptime 0 days 0 hr. 1 min. 47 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File
/oracle_home/oracle/ora11g/product/network/admin/listener.ora
Listener Log File
/oracle_home/oracle/diag/tnslsnr/new/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "amit" has 1 instance(s).
Instance"amit", status READY, has 1 handler(s) for this service...
Service "amitXDB" has 1 instance(s).
Instance"amit", status READY, has 1 handler(s) for this service...
The command completed successfully
PFB listener statusdetailswhenusing static registrationalso:-
bash-3.2$ lsnrctlstatus
LSNRCTL for IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production on 02-
DEC-2013 11:50:28
Copyright(c) 1991, 2009, Oracle. Allrights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=
amit)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 -
Production
Start Date 01-DEC-201318:10:27
Uptime 0 days 02 hr. 40 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File
/oracle/oracle/ora11g/product/network/admin/listener.ora
Listener Log File /oracle/oracle/diag/tnslsnr/pacs3/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "amit" has 2 instance(s).
Instance"amit", status UNKNOWN, has 1 handler(s) for this service...
Instance"amit", status READY, has 1 handler(s) for this service...
Service "amitXDB" has 1 instance(s).
Instance"amit", status READY, has 1 handler(s) for this service...
The command completed successfully
Abovestatus as "UNKNOWN" resembles that listener has not checked instance
status details that whether it's up or not, it has justregistered the details of
instance. So listener is not sure that whether instancecan handle client requestor
not.
Question- What if i configurestatic and dynamic in the same server? Any
problem keeping both ?
Answer - No problem , you can keep both.

More Related Content

What's hot

Everybody Polyglot! - Cross-Language RPC with Erlang
Everybody Polyglot! - Cross-Language RPC with ErlangEverybody Polyglot! - Cross-Language RPC with Erlang
Everybody Polyglot! - Cross-Language RPC with ErlangRusty Klophaus
 
Cisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 ConfigurationCisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 ConfigurationHamed Moghaddam
 
Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands sandeep kumar
 
Securing the tunnel with Raccoon
Securing the tunnel with RaccoonSecuring the tunnel with Raccoon
Securing the tunnel with RaccoonGloria Stoilova
 
IPv6 for Pentesters
IPv6 for PentestersIPv6 for Pentesters
IPv6 for Pentesterscamsec
 
LF_OVS_17_OVS-DPDK Installation and Gotchas
LF_OVS_17_OVS-DPDK Installation and GotchasLF_OVS_17_OVS-DPDK Installation and Gotchas
LF_OVS_17_OVS-DPDK Installation and GotchasLF_OpenvSwitch
 
25 most frequently used linux ip tables rules examples
25 most frequently used linux ip tables rules examples25 most frequently used linux ip tables rules examples
25 most frequently used linux ip tables rules exampleschinkshady
 
Learning OpenFlow with OVS on BPI R1 and Zodiac FX
Learning OpenFlow with OVS on BPI R1 and Zodiac FXLearning OpenFlow with OVS on BPI R1 and Zodiac FX
Learning OpenFlow with OVS on BPI R1 and Zodiac FXTelematika Open Session
 
Code Red Security
Code Red SecurityCode Red Security
Code Red SecurityAmr Ali
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commandsSayed Ahmed
 
Router Commands Overview
Router Commands OverviewRouter Commands Overview
Router Commands OverviewMuhammed Niyas
 
Proactive monitoring with Monit
Proactive monitoring with MonitProactive monitoring with Monit
Proactive monitoring with MonitOSOCO
 
Cisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchCisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchHamed Moghaddam
 
Juniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route ConfigurationJuniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route ConfigurationHamed Moghaddam
 
Linux Basic Administration Commands Guide
Linux Basic Administration Commands GuideLinux Basic Administration Commands Guide
Linux Basic Administration Commands GuideVCP Muthukrishna
 
Cisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink ConfigurationCisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink ConfigurationHamed Moghaddam
 

What's hot (20)

Everybody Polyglot! - Cross-Language RPC with Erlang
Everybody Polyglot! - Cross-Language RPC with ErlangEverybody Polyglot! - Cross-Language RPC with Erlang
Everybody Polyglot! - Cross-Language RPC with Erlang
 
Cisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 ConfigurationCisco CCNA OSPF IPV6 Configuration
Cisco CCNA OSPF IPV6 Configuration
 
Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands
 
Securing the tunnel with Raccoon
Securing the tunnel with RaccoonSecuring the tunnel with Raccoon
Securing the tunnel with Raccoon
 
Npc08
Npc08Npc08
Npc08
 
IPv6 for Pentesters
IPv6 for PentestersIPv6 for Pentesters
IPv6 for Pentesters
 
LF_OVS_17_OVS-DPDK Installation and Gotchas
LF_OVS_17_OVS-DPDK Installation and GotchasLF_OVS_17_OVS-DPDK Installation and Gotchas
LF_OVS_17_OVS-DPDK Installation and Gotchas
 
25 most frequently used linux ip tables rules examples
25 most frequently used linux ip tables rules examples25 most frequently used linux ip tables rules examples
25 most frequently used linux ip tables rules examples
 
Learning OpenFlow with OVS on BPI R1 and Zodiac FX
Learning OpenFlow with OVS on BPI R1 and Zodiac FXLearning OpenFlow with OVS on BPI R1 and Zodiac FX
Learning OpenFlow with OVS on BPI R1 and Zodiac FX
 
Code Red Security
Code Red SecurityCode Red Security
Code Red Security
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
 
Router Commands Overview
Router Commands OverviewRouter Commands Overview
Router Commands Overview
 
Proactive monitoring with Monit
Proactive monitoring with MonitProactive monitoring with Monit
Proactive monitoring with Monit
 
Cisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchCisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer Switch
 
Pemrograman Jaringan
Pemrograman JaringanPemrograman Jaringan
Pemrograman Jaringan
 
Install oracle11gr2 rhel5
Install oracle11gr2 rhel5Install oracle11gr2 rhel5
Install oracle11gr2 rhel5
 
Juniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route ConfigurationJuniper JNCIA – Juniper Floating Static Route Configuration
Juniper JNCIA – Juniper Floating Static Route Configuration
 
Lecture10
Lecture10Lecture10
Lecture10
 
Linux Basic Administration Commands Guide
Linux Basic Administration Commands GuideLinux Basic Administration Commands Guide
Linux Basic Administration Commands Guide
 
Cisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink ConfigurationCisco CCNA- PPP Multilink Configuration
Cisco CCNA- PPP Multilink Configuration
 

Similar to Ora static and-dynamic-listener

给11g r2 rac添加listener监听器并静态注册
给11g r2 rac添加listener监听器并静态注册给11g r2 rac添加listener监听器并静态注册
给11g r2 rac添加listener监听器并静态注册maclean liu
 
Come configurare Liferay 6.0 per Oracle
Come configurare Liferay 6.0 per OracleCome configurare Liferay 6.0 per Oracle
Come configurare Liferay 6.0 per OracleAntonio Musarra
 
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert BialekTrivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert BialekTrivadis
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationFrancisco Alvarez
 
Pontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11gPontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11gLeandro Santos
 
Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015aioughydchapter
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN Riyaj Shamsudeen
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migrationMlx Le
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Santosh Kangane
 
From nothing to Prometheus : one year after
From nothing to Prometheus : one year afterFrom nothing to Prometheus : one year after
From nothing to Prometheus : one year afterAntoine Leroyer
 
Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Brendan Tierney
 
Data Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10gData Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10gIbrahim Malek
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionLudovico Caldara
 
Dataguard broker and observerst
Dataguard broker and observerstDataguard broker and observerst
Dataguard broker and observerstsmajeed1
 
Pandora FMS: Sun One webserver
Pandora FMS: Sun One webserverPandora FMS: Sun One webserver
Pandora FMS: Sun One webserverPandora FMS
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesMarkus Flechtner
 
Cloug Undocumented Secrets Black Magic
Cloug Undocumented Secrets Black MagicCloug Undocumented Secrets Black Magic
Cloug Undocumented Secrets Black MagicScott Jenner
 

Similar to Ora static and-dynamic-listener (20)

给11g r2 rac添加listener监听器并静态注册
给11g r2 rac添加listener监听器并静态注册给11g r2 rac添加listener监听器并静态注册
给11g r2 rac添加listener监听器并静态注册
 
Come configurare Liferay 6.0 per Oracle
Come configurare Liferay 6.0 per OracleCome configurare Liferay 6.0 per Oracle
Come configurare Liferay 6.0 per Oracle
 
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert BialekTrivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
Pontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11gPontos para criar_instancia_data guard_11g
Pontos para criar_instancia_data guard_11g
 
Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015Aioug ha day oct2015 goldengate- High Availability Day 2015
Aioug ha day oct2015 goldengate- High Availability Day 2015
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
Oracle bi 10g_install_migration
Oracle bi 10g_install_migrationOracle bi 10g_install_migration
Oracle bi 10g_install_migration
 
Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0Oracle 11g R2 RAC setup on rhel 5.0
Oracle 11g R2 RAC setup on rhel 5.0
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
Cloning 2
Cloning 2Cloning 2
Cloning 2
 
From nothing to Prometheus : one year after
From nothing to Prometheus : one year afterFrom nothing to Prometheus : one year after
From nothing to Prometheus : one year after
 
Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017
 
Data Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10gData Guard on EBS R12 DB 10g
Data Guard on EBS R12 DB 10g
 
Get the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG versionGet the most out of Oracle Data Guard - POUG version
Get the most out of Oracle Data Guard - POUG version
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
 
Dataguard broker and observerst
Dataguard broker and observerstDataguard broker and observerst
Dataguard broker and observerst
 
Pandora FMS: Sun One webserver
Pandora FMS: Sun One webserverPandora FMS: Sun One webserver
Pandora FMS: Sun One webserver
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
 
Cloug Undocumented Secrets Black Magic
Cloug Undocumented Secrets Black MagicCloug Undocumented Secrets Black Magic
Cloug Undocumented Secrets Black Magic
 

Recently uploaded

04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queensdataanalyticsqueen03
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 

Recently uploaded (20)

04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Top 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In QueensTop 5 Best Data Analytics Courses In Queens
Top 5 Best Data Analytics Courses In Queens
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 

Ora static and-dynamic-listener

  • 1. Pros and cons In practice, both methods are simple to implement and works justfine. However, there are several differences: 1. With dynamic registration, PMONis the one who register the instance. So if the instance is down, no registration will be made. Even when the instance is in nomount, the listener will block access to it. If we need the ability to remotely connect to the instance when it's down or in nomount in order to startit or maintain it, we will haveto add static registration. 2. With dynamic registration, PMONis periodically updating the listener with its registration status. The advantagehere is that we can add data such as workload. This is irrelevantfor a single instance, but in RAC it is very important and used by the listener for load balancing. 3. To work with services we need to use dynamic registration. There are 2 methods to register an instance in the listener, static registration and dynamic registration. We can work with one of them or both of them combined. Remember that in order to work with static registration weneed to edit and maintain the listener.ora file, and in order to work with dynamic registration we need to set the LOCAL_LISTENERparameter. Another thing to remember is that the default for dynamic registration is to register to the listener running on the local host, listening on port1521.
  • 2. Difference betweenStatic listener and Dynamic listener registrations PFB listener.orafile having static configuration:- SID_LIST_LISTENER= (SID_LIST= (SID_DESC= (SID_NAME= AMIT) (ORACLE_HOME= /oracle_home/oracle/ora11g/product) ) (SID_DESC= (SID_NAME= TEST) (ORACLE_HOME= /oracle_home/oracle/ora11g/product) ) ) LISTENER= (DESCRIPTION_LIST= (DESCRIPTION= (ADDRESS = (PROTOCOL =TCP)(HOST= 10.11.1.10)(PORT=1521)) (ADDRESS = (PROTOCOL =IPC)(KEY=EXTPROC1521))
  • 3. ) ) ADR_BASE_LISTENER= /oracle_home/oracle PFB listener.orafile having dynamic configuration:- LISTENER= (DESCRIPTION_LIST= (DESCRIPTION= (ADDRESS = (PROTOCOL =TCP)(HOST= 10.11.1.10)(PORT=1521)) (ADDRESS = (PROTOCOL =IPC)(KEY=EXTPROC1521)) ) ) ADR_BASE_LISTENER= /oracle_home/oracle As we can see dynamic configuration is much easier as compared to static configuration. PFB listener statusdetailswhenusing Dynamic regitration:-
  • 4. bash-3.2$ lsnrctlstatus LSNRCTL for IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production on 02- DEC-2013 10:51:59 Copyright(c) 1991, 2009, Oracle. Allrights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=amit)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production Start Date 01-DEC-201316:19:04 Uptime 10 days 18 hr. 32 min. 56 sec Trace Level off Security ON: Local OS Authentication SNMP ON Listener Parameter File /oracle_home/oracle/ora11g/product/network/admin/listener.ora Listener Log File /oracle_home/oracle/diag/tnslsnr/new/listener/alert/log.xml
  • 5. Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Services Summary... Service "amit" has 1 instance(s). Instance"amit", status READY, has 1 handler(s) for this service... Service "amitXDB" has 1 instance(s). Instance"amit", status READY, has 1 handler(s) for this service... The command completed successfully Abovestatus as "READY" resembles that listener has checked instance details and found its status as up or running to handle client request. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=amit)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production Start Date 01-DEC-201316:42:04 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off
  • 6. Security ON: Local OS Authentication SNMP ON Listener Parameter File /oracle_home/oracle/ora11g/product/network/admin/listener.ora Listener Log File /oracle_home/oracle/diag/tnslsnr/new/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) The listener supports no services The command completed successfully Abovestatus resembles that either Instanceis not up, or its not been registered with listener. PFB commands to register database instancewith listener if it's not automatically registering with listener :- SQL> alter systemregister; Systemaltered. bash-3.2$ lsnrctlstatus
  • 7. LSNRCTL for IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production on 02- DEC-2013 11:43:51 Copyright(c) 1991, 2009, Oracle. Allrights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=amit)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production Start Date 01-DEC-201316:44:04 Uptime 0 days 0 hr. 1 min. 47 sec Trace Level off Security ON: Local OS Authentication SNMP ON Listener Parameter File /oracle_home/oracle/ora11g/product/network/admin/listener.ora Listener Log File /oracle_home/oracle/diag/tnslsnr/new/listener/alert/log.xml Listening Endpoints Summary...
  • 8. (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Services Summary... Service "amit" has 1 instance(s). Instance"amit", status READY, has 1 handler(s) for this service... Service "amitXDB" has 1 instance(s). Instance"amit", status READY, has 1 handler(s) for this service... The command completed successfully PFB listener statusdetailswhenusing static registrationalso:- bash-3.2$ lsnrctlstatus LSNRCTL for IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production on 02- DEC-2013 11:50:28 Copyright(c) 1991, 2009, Oracle. Allrights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST= amit)(PORT=1521))) STATUS of the LISTENER ------------------------
  • 9. Alias LISTENER Version TNSLSNRfor IBM/AIX RISCSystem/6000: Version 11.2.0.1.0 - Production Start Date 01-DEC-201318:10:27 Uptime 0 days 02 hr. 40 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP ON Listener Parameter File /oracle/oracle/ora11g/product/network/admin/listener.ora Listener Log File /oracle/oracle/diag/tnslsnr/pacs3/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=amit)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Services Summary... Service "amit" has 2 instance(s). Instance"amit", status UNKNOWN, has 1 handler(s) for this service... Instance"amit", status READY, has 1 handler(s) for this service... Service "amitXDB" has 1 instance(s). Instance"amit", status READY, has 1 handler(s) for this service... The command completed successfully
  • 10. Abovestatus as "UNKNOWN" resembles that listener has not checked instance status details that whether it's up or not, it has justregistered the details of instance. So listener is not sure that whether instancecan handle client requestor not. Question- What if i configurestatic and dynamic in the same server? Any problem keeping both ? Answer - No problem , you can keep both.