Skip to content

Commit 00e5350

Browse files
committed
Addressed feedback
1 parent 4f1c475 commit 00e5350

9 files changed

+88
-46
lines changed

articles/oracle/oracle-db/exadata-examples-services.md

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,23 @@ ms.date: 08/01/2024
1010

1111
# Terraform/OpenTofu examples for Exadata services
1212

13-
Using HashiCorp Terraform, you can provision and manage resources for Oracle Database@Azure using the Terraform tool that enables you to provision and manage infrastructure in Oracle Cloud Infrastructure (OCI).
13+
In this article, you learn about how to use HashiCorp Terraform, to provision and manage resources for Oracle Database@Azure using the Terraform tool that enables you to provision and manage infrastructure in Oracle Cloud Infrastructure (OCI).
1414

1515
For more information on reference implementations for Terraform or OpenTofu modules, sees the following links:
1616
* [QuickStart Oracle Database@Azure with Terraform or OpenTofu Modules](https://docs.oracle.com/en/learn/dbazure-terraform/index.html)
1717
* [OCI Landing Zones](https://github.com/oci-landing-zones/)
1818
* [Azure Verified Modules](https://aka.ms/avm)
1919

20-
__NOTE:__ This document describes examples of provisioning and management of Oracle Database@Azure resources through Terraform provider `AzAPI`. For detailed AzAPI provider resources and data sources documentation, see [https://registry.terraform.io/providers/Azure/azapi/latest/docs](https://registry.terraform.io/providers/Azure/azapi/latest/docs)
20+
>[!NOTE]
21+
> This document describes examples of provisioning and management of Oracle Database@Azure resources through Terraform provider `AzAPI`. For detailed AzAPI provider resources and data sources documentation, see [https://registry.terraform.io/providers/Azure/azapi/latest/docs](https://registry.terraform.io/providers/Azure/azapi/latest/docs)
22+
2123
The samples use example values for illustration purposes. You must replace them with your own settings.
2224
The samples use [AzAPI Dynamic Properties](https://techcommunity.microsoft.com/t5/azure-tools-blog/announcing-azapi-dynamic-properties/ba-p/4121855) instead of `JSONEncode` for more native Terraform behavior.
2325

24-
## Oracle Exadata Services
25-
26+
## Oracle Exadata services
27+
In this section, you will find examples of how to use the `AzAPI` provider to manage Oracle Exadata services in Azure.
2628
### Exadata Infrastructure
27-
29+
In this section, you will find examples of how to use the `AzAPI` provider to manage Oracle Exadata infrastructure in Azure.
2830
#### Create an Oracle Exadata Infrastructure
2931
```resource "azapi_resource" "resource_group" {
3032
type = "Microsoft.Resources/resourceGroups@2023-07-01"
@@ -61,7 +63,6 @@ resource "azapi_resource" "cloudExadataInfrastructure" {
6163
schema_validation_enabled = false
6264
}
6365
```
64-
6566
#### List Oracle Exadata Infrastructures by Subscription
6667
```data "azapi_resource" "subscription" {
6768
type = "Microsoft.Resources/subscriptions@2020-06-01"
@@ -90,7 +91,9 @@ data "azapi_resource_list" "listCloudExadataInfrastructuresByResourceGroup" {
9091
```
9192

9293
#### Patch an Oracle Exadata Infrastructure
93-
__NOTE:__ Only Microsoft Azure tags on the resource can be updated through the AzAPI provider.
94+
>[!NOTE]
95+
> Only Microsoft Azure tags on the resource can be updated through the AzAPI provider.
96+
9497
```data "azapi_resource" "subscription" {
9598
type = "Microsoft.Resources/subscriptions@2020-06-01"
9699
response_export_values = ["*"]
@@ -111,7 +114,7 @@ resource "azapi_resource_action" "patch_cloudExadataInfrastructure" {
111114
}
112115
```
113116

114-
#### List Database Servers on an Oracle Exadata Infrastructure
117+
#### List database servers on an Oracle Exadata infrastructure
115118
```// OperationId: DbServers_Get
116119
// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
117120
data "azapi_resource" "dbServer" {
@@ -121,9 +124,9 @@ data "azapi_resource" "dbServer" {
121124
}
122125
```
123126

124-
### Exadata VM Cluster
127+
## Exadata VM Cluster
125128

126-
#### Create an Oracle Exadata VM Cluster
129+
### Create an Oracle Exadata VM Cluster
127130
```resource "azapi_resource" "resource_group" {
128131
type = "Microsoft.Resources/resourceGroups@2023-07-01"
129132
name = "ExampleRG" location = "eastus"
@@ -220,7 +223,7 @@ resource "azapi_resource" "cloudVmCluster" {
220223
}
221224
```
222225

223-
#### List Oracle Exadata VM Clusters by Subscription
226+
### List Oracle Exadata VM Clusters by Subscription
224227
```data "azapi_resource" "subscription" {
225228
type = "Microsoft.Resources/subscriptions@2020-06-01"
226229
response_export_values = ["*"]
@@ -234,7 +237,7 @@ data "azapi_resource_list" "listCloudExadataInfrastructuresBySubscription" {
234237
}
235238
```
236239

237-
#### List Oracle Exadata VM Clusters by Resource Group
240+
### List Oracle Exadata VM Clusters by Resource Group
238241
```data "azurerm_resource_group" "example" {
239242
name = "existing"
240243
}
@@ -247,7 +250,7 @@ data "azapi_resource_list" "listCloudExadataInfrastructuresByResourceGroup" {
247250
}
248251
```
249252

250-
#### List Database Nodes on an Oracle Exadata VM Cluster
253+
### List Database Nodes on an Oracle Exadata VM Cluster
251254
```// OperationId: DbNodes_Get
252255
// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
253256
data "azapi_resource" "dbNode" {
@@ -257,7 +260,7 @@ data "azapi_resource" "dbNode" {
257260
}
258261
```
259262

260-
#### Add a Virtual Network Address to an Exadata VM Cluster
263+
### Add a Virtual Network Address to an Exadata VM Cluster
261264
```// OperationId: VirtualNetworkAddresses_CreateOrUpdate, VirtualNetworkAddresses_Get, VirtualNetworkAddresses_Delete
262265
// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/virtualNetworkAddresses/{virtualnetworkaddressname}
263266
resource "azapi_resource" "virtualNetworkAddress" {
@@ -274,7 +277,7 @@ resource "azapi_resource" "virtualNetworkAddress" {
274277
}
275278
```
276279

277-
#### List Virtual Network Addresses on an Oracle Exadata VM Cluster
280+
### List Virtual Network Addresses on an Oracle Exadata VM Cluster
278281
```// OperationId: VirtualNetworkAddresses_ListByCloudVmCluster
279282
// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/virtualNetworkAddresses
280283
data "azapi_resource_list" "listVirtualNetworkAddressesByCloudVmCluster" {
@@ -283,9 +286,9 @@ data "azapi_resource_list" "listVirtualNetworkAddressesByCloudVmCluster" {
283286
}
284287
```
285288

286-
### Exadata Database Shape
287-
288-
#### List an Oracle Exadata Database Shape
289+
## Exadata Database Shape
290+
In this section, you will find examples of how to use the `AzAPI` provider to manage Oracle Exadata Database shapes in Azure.
291+
### List an Oracle Exadata Database Shape
289292
```data "azapi_resource_id" "location" {
290293
type = "Oracle.Database/locations@2023-12-12"
291294
parent_id = data.azapi_resource.subscription.id
@@ -310,9 +313,10 @@ data "azapi_resource_list" "listDbSystemShapesByLocation" {
310313
}
311314
```
312315

313-
### Combined Exadata Services
316+
## Combined Exadata Services
317+
In this section, you will find examples of how to use the `AzAPI` provider to manage Oracle Exadata services in Azure.
314318

315-
#### Create an Oracle Database Home on an Exadata VM Cluster on an Exadata Infrastructure with a Delegated Subnet in Microsoft Azure
319+
### Create an Oracle Database Home on an Exadata VM Cluster on an Exadata Infrastructure with a Delegated Subnet in Microsoft Azure
316320
__NOTE:__ The following script creates an Oracle Exadata Infrastructure and an Oracle Exadata VM Cluster using the `AzAPI` Terraform provider followed by creating an Exadata Database deployment using the OCI Terraform provider ([https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/database_db_home](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/database_db_home)).
317321
```terraform {
318322
required_providers {

articles/oracle/oracle-db/exadata-manage-resources.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ After provisioning an OracleDB@Azure resource, for example an Oracle Exadata Inf
1616

1717
There are prerequisites that must be completed before you can provision Exadata Services. You need to complete the following:
1818

19-
1. An existing Azure subscription
20-
1. An Azure VNet with a subnet delegated to the Oracle Database@Azure service (`Oracle.Database/networkAttachments`)
21-
1. Permissions in Azure to create resources in the region, with the following conditions:
19+
- An existing Azure subscription
20+
- An Azure VNet with a subnet delegated to the Oracle Database@Azure service (`Oracle.Database/networkAttachments`)
21+
- Permissions in Azure to create resources in the region, with the following conditions:
2222
* No policies prohibiting the creation of resources without tags, because the OracleSubscription resource is created automatically without tags during onboarding.
2323
* No policies enforcing naming conventions, because the OracleSubscription resource is created automatically with a default resource name.
24-
1. Purchase OracleDB@Azure in the Azure portal.
25-
1. Select your Oracle Cloud Infrastructure (OCI) account.
24+
- Purchase OracleDB@Azure in the Azure portal.
25+
- Select your Oracle Cloud Infrastructure (OCI) account.
2626
For more detailed documentation, including optional steps, see [Onboarding with Oracle Database@Azure](https://docs.oracle.com/iaas/Content/database-at-azure/oaaonboard.htm).
2727

2828
## Common Management Functions from the Microsoft Azure Blade
@@ -76,13 +76,18 @@ The following management functions are available for all resources from the Micr
7676
1. From the resource's overview page, select the **Settings > Virtual machines** link on the left-side menu.
7777
1. To start a virtual machine (VM), select the **Start** icon. The **Start virtual machine** panel opens. Select the VM to start from the **Virtual machine** drop-down list. The drop-down list only populates with any unavailable VMs. Select the **Submit** button to start that VM, or the **Cancel** button to cancel the operation.
7878
1. To stop a virtual machine (VM), select the **Stop** icon. The **Stop virtual machine** panel opens. Select the VM to stop from the **Virtual machine** drop-down list. The drop-down list only populates with any available VMs. NOTE: Stopping a node may disrupt ongoing back-end software operations and database availability. Select the **Submit** button to stop that VM, or the **Cancel** button to cancel the operation.
79-
1. To restart a virtual machine (VM), select the **Restart** icon. The **Restart virtual machine** panel opens. Select the VM to restart from the Virtual machine drop-down list. The drop-down list only populates with any available VMs. **NOTE:** Restarting shuts down the node and then starts it. For single-node systems, databases are offline while the reboot is in progress. Select the **Submit** button to restart that VM, or the **Cancel** button to cancel the operation.
79+
1. To restart a virtual machine (VM), select the **Restart** icon. The **Restart virtual machine** panel opens. Select the VM to restart from the Virtual machine drop-down list. The drop-down list only populates with any available VMs.
80+
81+
>[!NOTE]
82+
>Restarting shuts down the node and then starts it. For single-node systems, databases are offline while the reboot is in progress.
83+
84+
1. Select the **Submit** button to restart that VM, or the **Cancel** button to cancel the operation.
8085

8186
### Access the OCI console
8287
1. Follow the steps to **Access the resource blade**.
8388
1. Select the link to the resource from the **Name** field in the table.
8489
1. From the resource's detail page, select the **Go to OCI** link on the **OCI Database URL** field.
85-
1. Login to OCI.
90+
1. Log in to OCI.
8691
1. Manage the resource from within the OCI console.
8792

8893
### Perform a connectivity test
@@ -97,7 +102,7 @@ The following management functions are available for all resources from the Micr
97102
1. **Username** - Enter **SYS**.
98103
1. **Password** - Enter the password used when creating the PDB.
99104
1. **Role** - Select **SYSDBA**.
100-
1. **Save Password** - Select the box if you security rules allow. If not, you will need to enter the PDB password every time you use this connection in SQL Developer.
105+
1. **Save Password** - Select the box if your security rules allow. If not, you will need to enter the PDB password every time you use this connection in SQL Developer.
101106
1. **Connection Type** - Select **Basic**.
102107
1. **Hostname** - Enter one of the host IPs from the **Connection Strings** above.
103108
1. **Port** - The default is 1521. You only need to change this if you have altered default port settings for the PDB.
@@ -111,7 +116,7 @@ The following management functions are available for all resources from the Micr
111116
1. Follow the steps to access the Oracle Exadata VM Cluster resource blade.
112117
1. Select the link to the resource from the **Name** field in the table.
113118
1. From the resource's detail page, select the **Go to OCI** link on the **OCI network security group URL** field.
114-
1. Login to OCI.
119+
1. Log in to OCI.
115120
1. Manage the NSG rules from within the OCI console.
116121
1. For additional information on NSG rules and considerations within OracleDB@Azure, see the **Automatic Network Ingress Configuration** section of [Troubleshooting and Known Issues for Exadata Services](exadata-troubleshoot-services.md).
117122

articles/oracle/oracle-db/exadata-multicloud-landing-zone-azure-services.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ ms.date: 08/01/2024
1212

1313
Oracle Cloud Infrastructure (OCI) partnered with Microsoft Azure to develop and distribute HashiCorp Terraform/OpenTofu modules that streamline the provisioning process.
1414

15-
Both OCI Multicloud Landing Zone for Azure (OCI LZ) and Microsoft Verified Modules (MVM) use multiple templates empower Oracle Database@Azure. These Terraform/OpenTofu modules use four (4) terraform providers, AzureRM, AzureAD, AzAPI, and OCI, covering IAM, networking, and database layer resources. Apply these reference implementations for a quick start deployment, or customize them for a more complex topology fit to your needs.
15+
Both OCI Multicloud Landing Zone for Azure (OCI LZ) and Microsoft Verified Modules (MVM) use multiple templates to empower Oracle Database@Azure. These Terraform/OpenTofu modules use four (4) terraform providers, AzureRM, AzureAD, AzAPI, and OCI, covering IAM, networking, and database layer resources. Apply these reference implementations for a quick start deployment, or customize them for a more complex topology fit to your needs.
1616

1717
The following diagram illustrates where Terraform or OpenTofu can be introduced to streamline the identity, access, networking, and provisioning processes within Oracle Database@Azure.
1818

19-
:::image type="content" source="media/architecture-diagram.png" alt-text="Architectural diagram of the Terraform components":::
19+
:::image type="content" source="media/architecture-diagram.png" alt-text="Architectural diagram showing the Terraform components.":::
2020

2121

2222
## Prerequisites
2323

24-
1. Complete, at a minimum, steps 1-2 of the [Onboarding with Oracle Database@Azure](onboard-oracle-database.md).
25-
1. Have a Terraform/OpenTofu, OCI CLI, Azure CLI, and python (minimum 3.4) environment. For more information, see the [Oracle Multicloud Landing Zone for Azure README](https://github.com/oracle-quickstart/terraform-oci-multicloud-azure?tab=readme-ov-file#prerequisites).
24+
- Complete, at a minimum, steps 1-2 of the [Onboarding with Oracle Database@Azure](onboard-oracle-database.md).
25+
- Have a Terraform/OpenTofu, OCI CLI, Azure CLI, and python (minimum 3.4) environment. For more information, see the [Oracle Multicloud Landing Zone for Azure README](https://github.com/oracle-quickstart/terraform-oci-multicloud-azure?tab=readme-ov-file#prerequisites).
2626

27-
### Dependencies
27+
## Dependencies
2828

2929
The [Oracle Multicloud Landing Zone for Azure](https://github.com/oracle-quickstart/terraform-oci-multicloud-azure) modules and templates use multiple Terraform providers.
3030

@@ -35,7 +35,7 @@ The [Oracle Multicloud Landing Zone for Azure](https://github.com/oracle-quickst
3535
| [AzureRM](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs) | |
3636
| [OCI](https://registry.terraform.io/providers/oracle/oci/latest/docs) | |
3737

38-
### Templates
38+
## Templates
3939

4040
For module details, see [Oracle Multicloud Landing Zone for Azure](https://github.com/oracle-quickstart/terraform-oci-multicloud-azure).
4141

@@ -63,7 +63,7 @@ For module details, see [Oracle Multicloud Landing Zone for Azure](https://githu
6363
| | 2. Create Azure group. | |
6464
| | 3. Create Azure role assignment. | |
6565

66-
### More Terraform/OpenTofu resources
66+
## More Terraform/OpenTofu resources
6767

6868
* [QuickStart Oracle Database@Azure with Terraform or OpenTofu Modules](https://docs.oracle.com/en/learn/dbazure-terraform/index.html) [Terraform: Set Up OCI Terraform](https://docs.oracle.com/iaas/developer-tutorials/tutorials/tf-provider/01-summary.htm)
6969
* [Import OCI Resources into a Terraform State File](https://docs.oracle.com/en/learn/terraform-statefile-oci-resources/index.html)

articles/oracle/oracle-db/exadata-operations-processes-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Oracle Database Autonomous Recovery Service@Azure (RCV) is the preferred backup
2727
* Speeds recovery to regions with optimized backups eliminating the need to recover multiple incremental backups.
2828
* Centralizes database protection insights with a granular recovery health dashboard.
2929

30-
### High-level Steps to Enable Autonomous Recovery Service@Azure
30+
## High-level Steps to Enable Autonomous Recovery Service@Azure
3131

3232
1. Access the OCI console for the database you want to enable for Autonomous Recovery Service@Azure. For details on this, see Access the OCI console in [Managing Exadata Resources](exadata-manage-resources.md).
3333
1. Configure or create an Autonomous Recovery Service@Azure protection policy with Store backups in the same cloud provider as the database set.

0 commit comments

Comments
 (0)