-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathora26-gcnv.template
More file actions
104 lines (89 loc) · 3.56 KB
/
Copy pathora26-gcnv.template
File metadata and controls
104 lines (89 loc) · 3.56 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
104
# Copyright 2026 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.
# --- Managed Uniqueness & Staging ---
# These placeholders are automatically substituted by tools/deploy-infra-manager.sh
project_id = "@project_id@"
deployment_name = "@deployment_name@"
gcs_source = "@gcs_source@"
# --- General Settings ---
# See terraform/variables.tf for a full list of Terraform parameters.
ora_swlib_bucket = "gs://YOUR_SOFTWARE_LIBRARY_BUCKET"
vm_service_account = "database-vm-runner@@project_id@.iam.gserviceaccount.com"
control_node_service_account = "control-node-vm-runner@@project_id@.iam.gserviceaccount.com"
# --- Authentication & Secrets ---
# With default empty values, you must SSH to the DB VMs and use Oracle OS
# authentication (/ as sysdba) to create additional users.
db_password_secret = ""
oracle_metrics_secret = ""
# --- Network Settings ---
# Security recommendations: Disable public IPs and enable artifact registry repositories
assign_public_ip = true
enable_ar_repo = false
subnetwork1 = ""
subnetwork2 = ""
# Primary zone for the Single-instance deployment
zone1 = "us-east1-c"
# Standby zone for the Multi-instance Data Guard deployment
zone2 = ""
# --- Instance Settings ---
# Uses the unique deployment ID for the instance name to prevent project-wide collisions
instance_name = "@deployment_name@"
source_image_family = "rhel-8"
source_image_project = "rhel-cloud"
machine_type = "n4-standard-2"
# --- Storage Backend ---
storage_backend = "gcnv"
# --- Disk Settings ---
# All Terraform installs create these three mandatory disks formatted as XFS:
# /u01 (Home), /u02 (Data), and /u03 (RECO). This cannot be modified.
# Disk type options (boot and swap only in this mode; u01/DATA/RECO are GCNV iSCSI LUNs):
# "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
# When storage_backend = "gcnv", these sizes are used for GCNV LUNs
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"
}
# --- Optional Parameters ---
ora_version = "26"
ora_release = "latest"
ora_edition = "EE"
ora_backup_dest = "/u03/backup"
ora_db_name = "orcl"
ora_db_container = true
ora_disk_mgmt = "ASMUDEV"
ntp_pref = "169.254.169.254"
ora_listener_port = "1521"
ora_redo_log_size = "100MB"
skip_database_config = false
install_workload_agent = true
# enable_tls = true
# cas_pool_id = "projects/gcp-oracle-standbox/locations/us-central1/caPools/mfielding-pool"
#dns_domain_name = "oracle-db.internal."
#dns_zone_name = "oracle-internal-dns-zone"
db_hostname = "" # default to instance_name value
delete_control_node = false