|
7 | 7 | oracle_group: dba # Primary group for oracle_user. |
8 | 8 | oracle_user_id: 600 # uid for oracle_user |
9 | 9 | oracle_group_id: 600 # gid for oracle_users's primary group |
10 | | - oracle_sw_source: http://oladmin/orasw # www-address to all software if using the get_url module when putting software on the host(s) |
11 | | - #oracle_sw_source: /path/to/files/locally # Path to all software if using the copy module when putting software on the host(s) |
| 10 | + oracle_sw_source_www: http://oladmin/orasw # address to all software if using the get_url module when putting software on the host(s) |
| 11 | + oracle_sw_source_local: /path/to/files/locally # Path to all software if using the copy module when putting software on the host(s) |
| 12 | + is_sw_source_local: false # (true/false). true -> all software is available on the controlmachine. false -> Available on web-server |
12 | 13 | disable_numa_boot: true # (true/false) Sets numa=off in grub.conf |
13 | 14 | percent_hugepages: 60 # Percentage (0-100) of total RAM to dedicate to hugepages, Configures vm.nr_hugepages & memlock settings in /etc/security/limits.conf. |
14 | 15 | configure_interconnect: false # (true/false) Should the Interconnect network be configured by Ansible (setup IP-address. IP-address configurable by variable oracle_ic_net). Only applicable to RAC-installs |
15 | 16 | configure_ssh: false # (true/false). Should passwordless ssh be configured between clusternodes. Only applicable to RAC-installs |
16 | | - configure_host_disks: true # (true/false). Should the specified directories be on their on devices -> (true), or do they live in the root-filesystem (/) -> (false). Mountpoints are described in host_fs_layout |
| 17 | + configure_host_disks: true # (true/false). Should the specified directories be on their own devices -> (true), or do they live in the root-filesystem (/) -> (false). Mountpoints are described in host_fs_layout |
17 | 18 | configure_cluster: false |
18 | 19 |
|
19 | 20 | ############### Generic Directory Structures ################ |
20 | 21 | oracle_stage: /u01/stage # All software is staged here |
21 | | - oracle_psu_stage: /u01/stage/psu # All psu's are staged here |
22 | | - oracle_rsp_stage: /u01/stage/rsp # All responsefiles are staged here (gi,db,dbca,asmca etc). |
| 22 | + oracle_psu_stage: "{{ oracle_stage }}/psu" # All psu's are staged here |
| 23 | + oracle_rsp_stage: "{{ oracle_stage }}/rsp" # All responsefiles are staged here (gi,db,dbca,asmca etc). |
23 | 24 | oracle_base: /u01/app/oracle # Oracle Base for installations |
24 | 25 | oracle_inventory_loc: /u01/app/oraInventory # Oracle Inventory location |
25 | 26 |
|
26 | | -################ Grid Infrastructure specifics ################ |
27 | | -# oracle_install_option_gi: HA_CONFIG # Valid (tested) values are: CRS_CONFIG, HA_CONFIG. Valid (untested) values are: UPGRADE, CRS_SWONLY) |
28 | | -# oracle_install_version: 12.1.0.2 # Oracle version to be installed. |
29 | | -# oracle_home_gi: "{{ oracle_base }}/{{ oracle_install_version }}/grid" # ORACLE_HOME for Grid Infrastructure |
30 | | -# oracle_profile_name_gi: ".profile_grid" # .profile that sets up the environment for Grid Infrastructure (Cluster or Single node) |
31 | | -# oracle_cluster_name: "" # Name of the cluster when setting up Clustered Grid Infrastructure |
32 | | -# oracle_sw_image_gi: # Files containing the installation media for Grid Infrastructure |
33 | | -# - linuxamd64_12102_grid_1of2.zip |
34 | | -# - linuxamd64_12102_grid_2of2.zip |
35 | | - |
36 | | -# oracle_home_name_gi: "grid_{{ oracle_install_version }}" # This parameter is used when cloning Grid Infrastructure |
37 | | -# oracle_grid_responsefile: "grid_{{ oracle_cluster_name }}.rsp" # Name of responsefile-name used when installing Grid Infrastructure |
38 | | - oracle_local_node: "{{ ansible_hostname }}" # Name of the local node (shortname) |
39 | | - |
40 | | - |
41 | | -################ Input for Grid Infrastructure responsefile ################ |
42 | | -# oracle_password: Oracle123 # Password used for all Grid Infrastructure related resources (e.g ASM) |
43 | | -# oracle_hostname: "{{ ansible_fqdn }}" # Full (FQDN) name of the host |
44 | | -# oracle_scan: orarac-scan.discworld.net # Scan address for Clustered Grid Infrastructure |
45 | | -# oracle_vip: -vip # Suffix for the host VIP-addresses (e.g orarac01-vip) |
46 | | -# oracle_scan_port: 1521 # Listener port for scan-listener |
47 | | -# oracle_ic_net: 3.3.3.{{ ansible_all_ipv4_addresses[0].split(".")[-1] }} # Picks the last octet from the public ip to use for cluster-interconnect ip (e.g 3.3.3.51) |
48 | | -# oracle_cluster_mgmdb: true # Should the Grid Infrastructure Management database be created (only valid in 12.1.0.1) |
49 | | -# oracle_asm_crs_diskgroup: crs # The diskgroup that gets created initially when creating a cluster (contains voting/ocr etc) Also valid when setting up Stand Alone Grid Infrastructure |
50 | | - |
51 | 27 |
|
52 | 28 | ################ Oracle databases and general config (ORACLE_BASE/HOME etc) ################ |
53 | 29 | oracle_sw_image_db: # Installation files for the database installations |
54 | | - - linuxamd64_12102_database_1of2.zip |
55 | | - - linuxamd64_12102_database_2of2.zip |
56 | | - |
| 30 | + - { filename: linuxamd64_12102_database_1of2.zip, version: 12.1.0.2 } |
| 31 | + - { filename: linuxamd64_12102_database_2of2.zip, version: 12.1.0.2 } |
| 32 | + #- { filename: linuxamd64_12c_database_1of2.zip, version: 12.1.0.1 } |
| 33 | + #- { filename: linuxamd64_12c_database_2of2.zip, version: 12.1.0.1 } |
| 34 | + |
57 | 35 | oracle_databases: # Dictionary describing the databases to be installed |
58 | 36 | fsdb: # 'Last' directory in ORACLE_HOME path (e.g /u01/app/oracle/12.1.0.2/racdb) |
59 | 37 | oracle_edition: EE # The edition of database-server (EE,SE,SEONE) |
|
68 | 46 | oracle_db_mem_percent: 30 # Amount of RAM to be used for SGA |
69 | 47 | oracle_database_type: MULTIPURPOSE # MULTIPURPOSE|DATA_WAREHOUSING|OLTP |
70 | 48 | oracle_version_db: 12.1.0.2 # Oracle version |
| 49 | +# testdb: # 'Last' directory in ORACLE_HOME path (e.g /u01/app/oracle/12.1.0.2/racdb) |
| 50 | +# oracle_edition: EE # The edition of database-server (EE,SE,SEONE) |
| 51 | +# oracle_db_name: testdb # Database name |
| 52 | +# oracle_db_passwd: Oracle123 # Passwords (sys/system/dbsnm etc) |
| 53 | +# oracle_db_type: SI # Type of database (RAC,RACONENODE,SI) |
| 54 | +# is_container: "false" # (true/false) Is the database a container database |
| 55 | +# is_racone: "false" # (true/false) Is the database a RAC ONE NODE Database |
| 56 | +# storage_type: FS # Database storage to be used. ASM or FS. |
| 57 | +# service_name: testdb_serv # Inital service to be created (not in use yet) |
| 58 | +# oracle_init_params: "open_cursors=300,processes=700" # Specific parameters to be set during installation. Comma-separated list |
| 59 | +# oracle_db_mem_percent: 20 # Amount of RAM to be used for SGA |
| 60 | +# oracle_database_type: MULTIPURPOSE # MULTIPURPOSE|DATA_WAREHOUSING|OLTP |
| 61 | +# oracle_version_db: 12.1.0.2 # Oracle version |
71 | 62 |
|
72 | | -# The following variables are dependent on the 'oracle_databases' dict |
73 | | - oracle_home_db: "{{ oracle_base }}/{{ item.value.oracle_version_db }}/{{ item.key }}" # ORACLE_HOME path |
74 | | - oracle_home_name_db: "{{ item.value.oracle_db_name }}_{{ oracle_clone_version }}" # ORACLE_HOME name when cloning ORACLE_HOME |
75 | | - oracle_profile_name: ".profile_{{ item.value.oracle_db_name }}" # Name of profile-file. Sets up the environment for that database. One per database |
76 | | - oracle_db_responsefile: "{{ item.value.oracle_db_name}}_{{ oracle_local_node }}.rsp" # Name of responsefile to be used by runInstaller. One per ORACLE_HOME |
77 | 63 |
|
78 | 64 | ################ Create database info, feeds into dbca responsefile (via oradb-create role) ################ |
79 | | - oracle_dbca_rsp: "dbca_{{ item.value.oracle_db_name }}.rsp" # Name of responsefile used by dbca. One per database |
80 | | - oracle_dbf_dir_fs: "/u01/oradata/" # If storage_type=FS this is where the database is placed. |
| 65 | + oracle_dbf_dir_fs: "/u02/oradata/" # If storage_type=FS this is where the database is placed. |
81 | 66 | oracle_reco_dir_fs: "/u01/fra/" # If storage_type=FS this is where the fast recovery area is placed. |
82 | 67 | oracle_dbf_dir_asm: "+DATA" # If storage_type=ASM this is where the database is placed. |
83 | 68 | oracle_reco_dir_asm: "+FRA" # If storage_type=ASM this is where the fast recovery area is placed |
|
98 | 83 | u02: |
99 | 84 | {mntp: /u02, device: /dev/sdc, vgname: vgoradb, pvname: /dev/sdc1, lvname: lvoradb} |
100 | 85 |
|
101 | | -# asm_diskgroups: # ASM Diskgroups used for DB-storage. Should map to dict asm_storage_layout. |
102 | | -# - crs |
103 | | -# - data |
104 | | -# - fra |
105 | | -# |
106 | | -# asm_storage_layout: # Mapping between device & ASMlib label. If storage_type=ASM under oracle_databases, this is where the mapping between device/asm-disk is described |
107 | | -# crs: |
108 | | -# - {device: /dev/sdc, asmlabel: CRS01} |
109 | | -# data: |
110 | | -# - {device: /dev/sdd, asmlabel: DATA01} |
111 | | -# fra: |
112 | | -# - {device: /dev/sde, asmlabel: FRA01} |
113 | 86 |
|
114 | 87 |
|
0 commit comments