Skip to content

Commit

Permalink
example rac: create multiple listener as example
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Sep 15, 2024
1 parent 98fb624 commit f0f733a
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/sqlnet_rac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- "example rac: create multiple listener as example (oravirt#475)"
66 changes: 66 additions & 0 deletions example/rac/ansible/inventory/rac/group_vars/db19/sqlnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
# Example for multiple Listener in Cluster
listener_installed:
- listener_name: LISTENER
use_gi_home: true
state: present
- listener_name: LISTENER_SCAN1
use_gi_home: true
state: present
- listener_name: LISTENER_SCAN2
use_gi_home: true
state: present
- listener_name: LISTENER_SCAN3
use_gi_home: true
state: present

oracle_listeners_config:
LISTENER_SCAN1:
listener_type: SCAN
parameter:
- param: LOG_FILE_NUM
value: 3
- param: LOG_FILE_SIZE
value: 10
LISTENER_SCAN2:
listener_type: SCAN
parameter:
- param: LOG_FILE_NUM
value: 3
- param: LOG_FILE_SIZE
value: 10
LISTENER_SCAN3:
listener_type: SCAN
parameter:
- param: LOG_FILE_NUM
value: 3
- param: LOG_FILE_SIZE
value: 10
LISTENER:
parameter:
- param: LOG_FILE_NUM
value: 3
- param: LOG_FILE_SIZE
value: 100
address:
- port: 1521
protocol: TCP
LISTENER1522:
parameter:
- param: LOG_FILE_NUM
value: 3
- param: LOG_FILE_SIZE
value: 100
address:
- host: "{{ inventory_hostname }}"
port: 1521
protocol: TCP

sqlnet_config:
sqlnetgi:
- {name: "ADR_BASE", value: "/u01/app/grid/base"}

sqlnet_installed:
- use_gi_home: true
sqlnet: sqlnetgi
state: present

0 comments on commit f0f733a

Please sign in to comment.