Skip to content

Commit ea13b83

Browse files
committed
Added Flex Cluster config example
1 parent 046bbe0 commit ea13b83

File tree

2 files changed

+119
-0
lines changed

2 files changed

+119
-0
lines changed

group_vars/orarac-flex

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
hostgroup: orarac-flex
3+
role_separation: true
4+
device_persistence: udev
5+
# install_from_nfs: false
6+
7+
configure_interconnect: true
8+
configure_ssh: true
9+
configure_host_disks: true
10+
11+
configure_cluster: true
12+
13+
################ Grid Infrastructure specifics ################
14+
oracle_install_option_gi: CRS_CONFIG
15+
oracle_install_version_gi: 12.1.0.2
16+
oracle_gi_cluster_type: flex
17+
oracle_gi_gns_subdomain: gns.discworld.net
18+
oracle_gi_gns_vip: orarac-dc2-gns.gns.discworld.net
19+
20+
oracle_password: Oracle123
21+
oracle_scan: orarac-scan-dc2.discworld.net
22+
oracle_vip: -vip
23+
oracle_scan_port: 1521
24+
oracle_asm_init_dg: crs
25+
26+
27+
28+
oracle_sw_image_db:
29+
- { filename: linuxamd64_12102_database_1of2.zip, version: 12.1.0.2, download: false }
30+
- { filename: linuxamd64_12102_database_2of2.zip, version: 12.1.0.2, download: false }
31+
# - { filename: linuxamd64_12c_database_1of2.zip, version: 12.1.0.1, download: false }
32+
# - { filename: linuxamd64_12c_database_2of2.zip, version: 12.1.0.1, download: false }
33+
# - { filename: p13390677_112040_Linux-x86-64_1of7.zip, version: 11.2.0.4, download: true }
34+
# - { filename: p13390677_112040_Linux-x86-64_2of7.zip, version: 11.2.0.4, download: true }
35+
36+
oracle_databases: # Dictionary describing the databases to be installed
37+
- home: rachome1 # 'Last' directory in ORACLE_HOME path (e.g /u01/app/oracle/12.1.0.2/racdb)
38+
oracle_version_db: 12.1.0.2 # Oracle versiono
39+
oracle_edition: EE # The edition of database-server (EE,SE,SEONE)
40+
oracle_db_name: racdba # Database name
41+
oracle_db_passwd: Oracle123 # Passwords (sys/system/dbsnm etc)
42+
oracle_db_type: RAC # Type of database (RAC,RACONENODE,SI)
43+
is_container: "false" # (true/false) Is the database a container database
44+
pdb_prefix: pdb
45+
num_pdbs: 1
46+
is_racone: "false" # (true/false) Is the database a RAC ONE NODE Database
47+
storage_type: ASM # Database storage to be used. ASM or FS.
48+
service_name: racdb_serv # Inital service to be created (not in use yet)
49+
oracle_init_params: "open_cursors=300,processes=500" # Specific parameters to be set during installation. Comma-separated list
50+
oracle_db_mem_percent: 25 # Amount of RAM to be used for SGA
51+
oracle_database_type: MULTIPURPOSE # MULTIPURPOSE|DATA_WAREHOUSING|OLTP
52+
redolog_size_in_mb: 100
53+
delete_db: false
54+
55+
# - home: rachome1 # 'Last' directory in ORACLE_HOME path (e.g /u01/app/oracle/12.1.0.2/racdb)
56+
# oracle_version_db: 12.1.0.2 # Oracle versiono
57+
# oracle_edition: EE # The edition of database-server (EE,SE,SEONE)
58+
# oracle_db_name: racone # Database name
59+
# oracle_db_passwd: Oracle123 # Passwords (sys/system/dbsnm etc)
60+
# oracle_db_type: RACONENODE # Type of database (RAC,RACONENODE,SI)
61+
# is_container: "false" # (true/false) Is the database a container database
62+
# pdb_prefix: pdb
63+
# num_pdbs: 1
64+
# is_racone: "false" # (true/false) Is the database a RAC ONE NODE Database
65+
# storage_type: ASM # Database storage to be used. ASM or FS.
66+
# service_name: racone_serv # Inital service to be created (not in use yet)
67+
# oracle_init_params: "open_cursors=300,processes=500" # Specific parameters to be set during installation. Comma-separated list
68+
# oracle_db_mem_percent: 25 # Amount of RAM to be used for SGA
69+
# oracle_database_type: MULTIPURPOSE # MULTIPURPOSE|DATA_WAREHOUSING|OLTP
70+
# redolog_size_in_mb: 100
71+
# delete_db: true
72+
73+
74+
oracle_dbf_dir_asm: "DATA"
75+
oracle_reco_dir_asm: "FRA"
76+
77+
host_fs_layout:
78+
u01:
79+
{mntp: /u01, device: /dev/sdb, vgname: vgora, pvname: /dev/sdb1, lvname: lvora, fstype: ext4}
80+
81+
asm_diskgroups:
82+
- crs
83+
- data
84+
- fra
85+
86+
asm_storage_layout:
87+
crs:
88+
- {device: /dev/sdc, asmlabel: crs01}
89+
data:
90+
- {device: /dev/sdd, asmlabel: data01}
91+
- {device: /dev/sde, asmlabel: data02}
92+
fra:
93+
- {device: /dev/sdf, asmlabel: fra01}
94+
- {device: /dev/sdg, asmlabel: fra02}
95+
- {device: /dev/sdh, asmlabel: fra03}
96+

inventory/flex

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This is the default ansible 'hosts' file.
2+
#
3+
# It should live in /etc/ansible/hosts
4+
#
5+
# - Comments begin with the '#' character
6+
# - Blank lines are ignored
7+
# - Groups of hosts are delimited by [header] elements
8+
# - You can enter hostnames or ip addresses
9+
# - A hostname/ip can be a member of multiple groups
10+
11+
[orarac-flex-hub]
12+
orarac03
13+
orarac04
14+
15+
[orarac-flex-leaf]
16+
#orarac05
17+
orarac06
18+
19+
[orarac-flex:children]
20+
orarac-flex-hub
21+
orarac-flex-leaf
22+
23+

0 commit comments

Comments
 (0)