You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/oracle/oracle-db/exadata-examples-services.md
+24-20Lines changed: 24 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,21 +10,23 @@ ms.date: 08/01/2024
10
10
11
11
# Terraform/OpenTofu examples for Exadata services
12
12
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).
14
14
15
15
For more information on reference implementations for Terraform or OpenTofu modules, sees the following links:
16
16
*[QuickStart Oracle Database@Azure with Terraform or OpenTofu Modules](https://docs.oracle.com/en/learn/dbazure-terraform/index.html)
__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
+
21
23
The samples use example values for illustration purposes. You must replace them with your own settings.
22
24
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.
23
25
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.
26
28
### 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.
28
30
#### Create an Oracle Exadata Infrastructure
29
31
```resource "azapi_resource" "resource_group" {
30
32
type = "Microsoft.Resources/resourceGroups@2023-07-01"
#### List Database Servers on an Oracle Exadata Infrastructure
117
+
#### List database servers on an Oracle Exadata infrastructure
115
118
```// OperationId: DbServers_Get
116
119
// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
117
120
data "azapi_resource" "dbServer" {
@@ -121,9 +124,9 @@ data "azapi_resource" "dbServer" {
121
124
}
122
125
```
123
126
124
-
###Exadata VM Cluster
127
+
## Exadata VM Cluster
125
128
126
-
####Create an Oracle Exadata VM Cluster
129
+
### Create an Oracle Exadata VM Cluster
127
130
```resource "azapi_resource" "resource_group" {
128
131
type = "Microsoft.Resources/resourceGroups@2023-07-01"
####List Oracle Exadata VM Clusters by Subscription
226
+
### List Oracle Exadata VM Clusters by Subscription
224
227
```data "azapi_resource" "subscription" {
225
228
type = "Microsoft.Resources/subscriptions@2020-06-01"
226
229
response_export_values = ["*"]
@@ -234,7 +237,7 @@ data "azapi_resource_list" "listCloudExadataInfrastructuresBySubscription" {
234
237
}
235
238
```
236
239
237
-
####List Oracle Exadata VM Clusters by Resource Group
240
+
### List Oracle Exadata VM Clusters by Resource Group
238
241
```data "azurerm_resource_group" "example" {
239
242
name = "existing"
240
243
}
@@ -247,7 +250,7 @@ data "azapi_resource_list" "listCloudExadataInfrastructuresByResourceGroup" {
247
250
}
248
251
```
249
252
250
-
####List Database Nodes on an Oracle Exadata VM Cluster
253
+
### List Database Nodes on an Oracle Exadata VM Cluster
251
254
```// OperationId: DbNodes_Get
252
255
// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
253
256
data "azapi_resource" "dbNode" {
@@ -257,7 +260,7 @@ data "azapi_resource" "dbNode" {
257
260
}
258
261
```
259
262
260
-
####Add a Virtual Network Address to an Exadata VM Cluster
263
+
### Add a Virtual Network Address to an Exadata VM Cluster
// PUT GET DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/virtualNetworkAddresses/{virtualnetworkaddressname}
// GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/virtualNetworkAddresses
280
283
data "azapi_resource_list" "listVirtualNetworkAddressesByCloudVmCluster" {
@@ -283,9 +286,9 @@ data "azapi_resource_list" "listVirtualNetworkAddressesByCloudVmCluster" {
283
286
}
284
287
```
285
288
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
289
292
```data "azapi_resource_id" "location" {
290
293
type = "Oracle.Database/locations@2023-12-12"
291
294
parent_id = data.azapi_resource.subscription.id
@@ -310,9 +313,10 @@ data "azapi_resource_list" "listDbSystemShapesByLocation" {
310
313
}
311
314
```
312
315
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.
314
318
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
316
320
__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)).
Copy file name to clipboardExpand all lines: articles/oracle/oracle-db/exadata-manage-resources.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,13 @@ After provisioning an OracleDB@Azure resource, for example an Oracle Exadata Inf
16
16
17
17
There are prerequisites that must be completed before you can provision Exadata Services. You need to complete the following:
18
18
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:
22
22
* No policies prohibiting the creation of resources without tags, because the OracleSubscription resource is created automatically without tags during onboarding.
23
23
* 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.
26
26
For more detailed documentation, including optional steps, see [Onboarding with Oracle Database@Azure](https://docs.oracle.com/iaas/Content/database-at-azure/oaaonboard.htm).
27
27
28
28
## Common Management Functions from the Microsoft Azure Blade
@@ -76,13 +76,18 @@ The following management functions are available for all resources from the Micr
76
76
1. From the resource's overview page, select the **Settings > Virtual machines** link on the left-side menu.
77
77
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.
78
78
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.
80
85
81
86
### Access the OCI console
82
87
1. Follow the steps to **Access the resource blade**.
83
88
1. Select the link to the resource from the **Name** field in the table.
84
89
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.
86
91
1. Manage the resource from within the OCI console.
87
92
88
93
### Perform a connectivity test
@@ -97,7 +102,7 @@ The following management functions are available for all resources from the Micr
97
102
1.**Username** - Enter **SYS**.
98
103
1.**Password** - Enter the password used when creating the PDB.
99
104
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.
101
106
1.**Connection Type** - Select **Basic**.
102
107
1.**Hostname** - Enter one of the host IPs from the **Connection Strings** above.
103
108
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
111
116
1. Follow the steps to access the Oracle Exadata VM Cluster resource blade.
112
117
1. Select the link to the resource from the **Name** field in the table.
113
118
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.
115
120
1. Manage the NSG rules from within the OCI console.
116
121
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).
Copy file name to clipboardExpand all lines: articles/oracle/oracle-db/exadata-multicloud-landing-zone-azure-services.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,19 @@ ms.date: 08/01/2024
12
12
13
13
Oracle Cloud Infrastructure (OCI) partnered with Microsoft Azure to develop and distribute HashiCorp Terraform/OpenTofu modules that streamline the provisioning process.
14
14
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.
16
16
17
17
The following diagram illustrates where Terraform or OpenTofu can be introduced to streamline the identity, access, networking, and provisioning processes within Oracle Database@Azure.
18
18
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.":::
20
20
21
21
22
22
## Prerequisites
23
23
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).
26
26
27
-
###Dependencies
27
+
## Dependencies
28
28
29
29
The [Oracle Multicloud Landing Zone for Azure](https://github.com/oracle-quickstart/terraform-oci-multicloud-azure) modules and templates use multiple Terraform providers.
30
30
@@ -35,7 +35,7 @@ The [Oracle Multicloud Landing Zone for Azure](https://github.com/oracle-quickst
For module details, see [Oracle Multicloud Landing Zone for Azure](https://github.com/oracle-quickstart/terraform-oci-multicloud-azure).
41
41
@@ -63,7 +63,7 @@ For module details, see [Oracle Multicloud Landing Zone for Azure](https://githu
63
63
|| 2. Create Azure group. ||
64
64
|| 3. Create Azure role assignment. ||
65
65
66
-
###More Terraform/OpenTofu resources
66
+
## More Terraform/OpenTofu resources
67
67
68
68
*[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)
69
69
*[Import OCI Resources into a Terraform State File](https://docs.oracle.com/en/learn/terraform-statefile-oci-resources/index.html)
Copy file name to clipboardExpand all lines: articles/oracle/oracle-db/exadata-operations-processes-services.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Oracle Database Autonomous Recovery Service@Azure (RCV) is the preferred backup
27
27
* Speeds recovery to regions with optimized backups eliminating the need to recover multiple incremental backups.
28
28
* Centralizes database protection insights with a granular recovery health dashboard.
29
29
30
-
###High-level Steps to Enable Autonomous Recovery Service@Azure
30
+
## High-level Steps to Enable Autonomous Recovery Service@Azure
31
31
32
32
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).
33
33
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