Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelogs/fragments/listener_dgmgrl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- "oradb_manage_db: create _DGMGRL SID in listener.ora for EE only (oravirt#359)"
4 changes: 3 additions & 1 deletion roles/oradb_manage_db/templates/listener_details.j2
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ SID_LIST_{{ lsnrinst.listener_name }} =
{% endif %}
(SID_NAME = {{ sid_name }})
)
{# added for compatibility against Oracle 11.2#}
{% if db_homes_config[sid.home]['edition'] == 'EE' %}
{# add DGMGRL only for EE installations. added for compatibility against Oracle 11.2 #}
(SID_DESC =
{% if db_homes_config[sid.home]['oracle_home'] is defined %}
(ORACLE_HOME = {{db_homes_config[sid.home]['oracle_home']}})
Expand All @@ -59,6 +60,7 @@ SID_LIST_{{ lsnrinst.listener_name }} =
(SID_NAME = {{ sid_name }})
(GLOBAL_DBNAME = {{ sid_name_dgmgrl }}_DGMGRL)
)
{% endif %}
{% endfor %}
{% endfor %}
)