Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Database resource attributes for Hybrid Disaster Recovery #6

Open
mbfrahry opened this issue Mar 27, 2018 · 0 comments
Open

Database resource attributes for Hybrid Disaster Recovery #6

mbfrahry opened this issue Mar 27, 2018 · 0 comments
Labels
dbcs Database Cloud Service

Comments

@mbfrahry
Copy link
Contributor

mbfrahry commented Mar 27, 2018

The hdg attributes configure Oracle Hybrid Disaster Recovery configuration comprising a primary database on customer premises and a standby database in Oracle Public Cloud.

Resource attribute API attribute
hybrid_disaster_recovery parameters.hdg
hybrid_disaster_recovery.cloud_storage_container parameters.hdgCloudStorageContainer
hybrid_disaster_recovery.cloud_storage_password parameters.hdgCloudStoragePassword
hybrid_disaster_recovery.cloud_storage_user parameters.hdgCloudStorageUser

Proposed resource config:

resource "oraclepaas_database_service_instance" "dbcs-ee-hdg" {
   ...
   hybrid_disaster_recovery {
      cloud_storage_container = "https://${var.domain}.storage.oraclecloud.com/v1/Storage-${var.domain}/dbHDG
      cloud_storage_user = "${var.user}"
      cloud_storage_password = ${var.password}"
   }
}

parameters.hdg could be set to "yes" based on the presence of the hybrid_disaster_recovery block

If Hybrid Disaster Recovery options is configured you cannot enable failover_database or is_rac

@scross01 scross01 added the dbcs Database Cloud Service label Jun 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dbcs Database Cloud Service
Projects
None yet
Development

No branches or pull requests

2 participants