-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
example rac: create multiple listener as example
- Loading branch information
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
66
example/rac/ansible/inventory/rac/group_vars/db19/sqlnet.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |