-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathterraform.tfvars.xfs.example
More file actions
103 lines (92 loc) · 4.19 KB
/
Copy pathterraform.tfvars.xfs.example
File metadata and controls
103 lines (92 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# See variables.tf for a full list, and descriptions.
# General settings
gcs_source = "gs://your-gcs-bucket/oracle-toolkit.zip"
ora_swlib_bucket = "gs://your-oracle-software-bucket"
project_id = "your-project-id"
vm_service_account = "your-vm-service-account@your-project-id.iam.gserviceaccount.com"
control_node_service_account = "your-control-node-service-account@your-project-id.iam.gserviceaccount.com"
# Primary node for the Single-instance deployment
zone1 = "us-central1-b"
subnetwork1 = ""
# Standby node for the Multi-instance Data Guard deployment
zone2 = "us-central1-c"
subnetwork2 = ""
# Instance settings
instance_name = "orcl"
source_image_family = "oracle-linux-8"
source_image_project = "oracle-linux-cloud"
machine_type = "n4-standard-2"
# Disk settings
# By default, the list below will create /u01 (Oracle Home), /u02 (DATA), and /u03 (RECO), the minimum required for a basic Oracle installation.
# Feel free to adjust the disk sizes and types to match your requirements.
# You can add more disks to the list below to create additional disks for ASM or filesystem.
# fs_disks will be mounted as /u01, /u02, /u03, etc and formatted as XFS
# Disk type options: "hyperdisk-balanced" (default), "hyperdisk-extreme", "pd-balanced", "pd-ssd", "pd-standard"
# "hyperdisk-extreme" needs an M4N series machine_type, min 200 GB per disk, and cannot
# be a boot disk or live in a Storage Pool.
boot_disk_type = "hyperdisk-balanced"
boot_disk_size_gb = 50
swap_disk_type = "hyperdisk-balanced"
swap_disk_size_gb = 50
oracle_home_disk = {
size_gb = 50
type = "hyperdisk-balanced"
}
data_disk = {
size_gb = 50
type = "hyperdisk-balanced"
}
reco_disk = {
size_gb = 50
type = "hyperdisk-balanced"
}
# Parameters below are optional
# A full list of parameters can be found here https://google.github.io/oracle-toolkit/user-guide.html#parameters
# The example below will install Oracle 19c, using the Oracle software stored in a GCS bucket, and will configure the backup destination to be RECO diskgroup.
ora_version = "19"
ora_release = "latest"
ora_edition = "EE"
ora_backup_dest = "/u03/backup"
ora_db_name = "orcl"
ora_db_unique_name = "orcl"
ora_db_container = false
ora_disk_mgmt = "FS"
ntp_pref = "169.254.169.254"
ora_listener_port = "1521"
ora_redo_log_size = "100MB"
ora_redo_log_count = "4"
ora_redo_log_location = "/u03/app/oracle/oradata/onlinelog,/u04/app/oracle/fast_recovery_area/onlinelog"
skip_database_config = false
install_workload_agent = true
oracle_metrics_secret = ""
db_password_secret = ""
data_guard_protection_mode = "Maximum Availability"
# --- Optional Shared Storage Pools ---
# To create new database disks using a shared Hyperdisk Storage Pools:
#create_storage_pool = {
# enabled = true
# storage_pool_type = "hyperdisk-balanced"
# capacity_provisioning_type = "ADVANCED"
# performance_provisioning_type = "ADVANCED"
# pool_provisioned_capacity_gb = 10240 # minimum 10 TiB
# pool_provisioned_iops = 10000
# pool_provisioned_throughput = 1024 # multiple of 1024 required
#}
# To attach the database disks to pre-existing shared Hyperdisk Storage Pools (recommended for production):
# existing_storage_pools = {
# "us-central1-b" = "projects/my-project/zones/us-central1-b/storagePools/shared-pool-z1"
# "us-central1-c" = "projects/my-project/zones/us-central1-c/storagePools/shared-pool-z2"
# }