exadb_vm_clusters
Creates, updates, deletes, gets or lists an exadb_vm_clusters resource.
Overview​
| Name | exadb_vm_clusters |
| Type | Resource |
| Id | oci.database.exadb_vm_clusters |
Fields​
The following fields are returned by SELECT queries:
- get
- list
Information about the Exadata VM cluster on Exascale Infrastructure
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata VM cluster on Exascale Infrastructure. |
availabilityDomain | string | The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located. |
backupNetworkNsgIds | array | A list of the [OCIDs](/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see [Security Rules](/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems. |
backupSubnetId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure. |
clusterName | string | The cluster name for Exadata VM cluster on Exascale Infrastructure. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. |
clusterPlacementGroupId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Exadata Infrastructure. |
compartmentId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment. |
dataCollectionOptions | object | Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. |
definedTags | object | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). |
displayName | string | The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique. |
domain | string | A domain name used for the Exadata VM cluster on Exascale Infrastructure. If the Oracle-provided internet and VCN resolver is enabled for the specified subnet, then the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. Applies to Exadata Database Service on Exascale Infrastructure only. |
enabledECpuCount | integer (int32) | The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure. |
exascaleDbStorageVaultId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. |
freeformTags | object | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"} |
giVersion | string | A valid Oracle Grid Infrastructure (GI) software version. |
gridImageId | string | Grid Setup will be done using this grid image id. The grid image ID can be obtained using the API /20160918/giVersions/{majorVersion}/minorVersions?compartmentId=<compartmentId>&shapeFamily=EXADB_XS&availabilityDomain=<AD name>. The list of supported major versions can be obtained using the API /20160918/giVersions?compartmentId=<compartmentId>&shape=ExaDbXS&availabilityDomain=<AD name> |
gridImageType | string | The type of Grid Image (RELEASE_UPDATE, CUSTOM_IMAGE) |
hostname | string | The hostname for the Exadata VM cluster on Exascale Infrastructure. The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). For Exadata systems, the maximum length of the hostname is 12 characters. The maximum length of the combined hostname and domain is 63 characters. Note: The hostname must be unique within the subnet. If it is not unique, then the Exadata VM cluster on Exascale Infrastructure will fail to provision. |
iormConfigCache | object | The IORM settings of the Exadata DB system. |
lastUpdateHistoryEntryId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the last maintenance update history entry. This value is updated when a maintenance update starts. |
licenseModel | string | The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE. (LICENSE_INCLUDED, BRING_YOUR_OWN_LICENSE) |
lifecycleDetails | string | Additional information about the current lifecycle state. |
lifecycleState | string | The current state of the Exadata VM cluster on Exascale Infrastructure. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS) |
listenerPort | integer (int64) | The port number configured for the listener on the Exadata VM cluster on Exascale Infrastructure. |
memorySizeInGBs | integer | The memory that you want to be allocated in GBs. Memory is calculated based on 11 GB per VM core reserved. |
nodeCount | integer (int32) | The number of nodes in the Exadata VM cluster on Exascale Infrastructure. |
nsgIds | array | The list of [OCIDs](/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](/Content/Network/Concepts/securityrules.htm). |
privateZoneId | string | The private zone ID in which you want DNS records to be created. |
scanDnsName | string | The FQDN of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. |
scanDnsRecordId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. |
scanIpIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the Exadata VM cluster on Exascale Infrastructure. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. Note: For a single-node DB system, this list is empty. |
scanListenerPortTcp | integer | The TCP Single Client Access Name (SCAN) port. The default port is 1521. |
scanListenerPortTcpSsl | integer | The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port. The default port is 2484. |
securityAttributes | object | Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm). Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}} |
shape | string | The shape of the Exadata VM cluster on Exascale Infrastructure resource |
shapeAttribute | string | The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later (SMART_STORAGE, BLOCK_STORAGE) |
snapshotFileSystemStorage | object | Storage Details on the Exadata VM cluster. |
sshPublicKeys | array | The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure. |
subnetId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure. |
subscriptionId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. |
systemTags | object | System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). |
systemVersion | string | Operating system version of the image. |
timeCreated | string (date-time) | The date and time that the Exadata VM cluster on Exascale Infrastructure was created. |
timeZone | string | The time zone to use for the Exadata VM cluster on Exascale Infrastructure. For details, see [Time Zones](/Content/Database/References/timezones.htm). |
totalECpuCount | integer (int32) | The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure. |
totalFileSystemStorage | object | Storage Details on the Exadata VM cluster. |
vipIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the Exadata VM cluster on Exascale Infrastructure. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the Exadata Cloud Service instance to enable failover. If one node fails, then the VIP is reassigned to another active node in the cluster. |
vmFileSystemStorage | object | Storage Details on the Exadata VM cluster. |
zoneId | string | The OCID of the zone with which the Exadata VM cluster on Exascale Infrastructure is associated. |
Details of the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.<br />
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata VM cluster on Exascale Infrastructure. |
availabilityDomain | string | The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located. |
backupNetworkNsgIds | array | A list of the [OCIDs](/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see [Security Rules](/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems. |
backupSubnetId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure. |
clusterName | string | The cluster name for Exadata VM cluster on Exascale Infrastructure. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. |
clusterPlacementGroupId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Exadata Infrastructure. |
compartmentId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment. |
dataCollectionOptions | object | Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. |
definedTags | object | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). |
displayName | string | The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique. |
domain | string | A domain name used for the Exadata VM cluster on Exascale Infrastructure. If the Oracle-provided internet and VCN resolver is enabled for the specified subnet, then the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. Applies to Exadata Database Service on Exascale Infrastructure only. |
enabledECpuCount | integer (int32) | The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure. |
exascaleDbStorageVaultId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. |
freeformTags | object | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: {"Department": "Finance"} |
giVersion | string | A valid Oracle Grid Infrastructure (GI) software version. |
gridImageId | string | Grid Setup will be done using this grid image id. The grid image ID can be obtained using the API /20160918/giVersions/{majorVersion}/minorVersions?compartmentId=<compartmentId>&shapeFamily=EXADB_XS&availabilityDomain=<AD name>. The list of supported major versions can be obtained using the API /20160918/giVersions?compartmentId=<compartmentId>&shape=ExaDbXS&availabilityDomain=<AD name> |
gridImageType | string | The type of Grid Image (RELEASE_UPDATE, CUSTOM_IMAGE) |
hostname | string | The hostname for the Exadata VM cluster on Exascale Infrastructure. The hostname must begin with an alphabetic character, and can contain alphanumeric characters and hyphens (-). For Exadata systems, the maximum length of the hostname is 12 characters. The maximum length of the combined hostname and domain is 63 characters. Note: The hostname must be unique within the subnet. If it is not unique, then the Exadata VM cluster on Exascale Infrastructure will fail to provision. |
lastUpdateHistoryEntryId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the last maintenance update history entry. This value is updated when a maintenance update starts. |
licenseModel | string | The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE. (LICENSE_INCLUDED, BRING_YOUR_OWN_LICENSE) |
lifecycleDetails | string | Additional information about the current lifecycle state. |
lifecycleState | string | The current state of the Exadata VM cluster on Exascale Infrastructure. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS) |
listenerPort | integer (int64) | The port number configured for the listener on the Exadata VM cluster on Exascale Infrastructure. |
memorySizeInGBs | integer | The memory that you want to be allocated in GBs. Memory is calculated based on 11 GB per VM core reserved. |
nodeCount | integer (int32) | The number of nodes in the Exadata VM cluster on Exascale Infrastructure. |
nsgIds | array | The list of [OCIDs](/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](/Content/Network/Concepts/securityrules.htm). |
privateZoneId | string | The private zone ID in which you want DNS records to be created. |
scanDnsName | string | The FQDN of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. |
scanDnsRecordId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the Exadata VM cluster on Exascale Infrastructure. |
scanIpIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the Exadata VM cluster on Exascale Infrastructure. SCAN IP addresses are typically used for load balancing and are not assigned to any interface. Oracle Clusterware directs the requests to the appropriate nodes in the cluster. Note: For a single-node DB system, this list is empty. |
scanListenerPortTcp | integer | The TCP Single Client Access Name (SCAN) port. The default port is 1521. |
scanListenerPortTcpSsl | integer | The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port. The default port is 2484. |
securityAttributes | object | Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm). Example: {"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}} |
shape | string | The shape of the Exadata VM cluster on Exascale Infrastructure resource |
shapeAttribute | string | The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later (SMART_STORAGE, BLOCK_STORAGE) |
snapshotFileSystemStorage | object | Storage Details on the Exadata VM cluster. |
sshPublicKeys | array | The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure. |
subnetId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure. |
subscriptionId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. |
systemTags | object | System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). |
systemVersion | string | Operating system version of the image. |
timeCreated | string (date-time) | The date and time that the Exadata VM cluster on Exascale Infrastructure was created. |
timeZone | string | The time zone to use for the Exadata VM cluster on Exascale Infrastructure. For details, see [Time Zones](/Content/Database/References/timezones.htm). |
totalECpuCount | integer (int32) | The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure. |
totalFileSystemStorage | object | Storage Details on the Exadata VM cluster. |
vipIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the Exadata VM cluster on Exascale Infrastructure. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the Exadata Cloud Service instance to enable failover. If one node fails, then the VIP is reassigned to another active node in the cluster. |
vmFileSystemStorage | object | Storage Details on the Exadata VM cluster. |
zoneId | string | The OCID of the zone with which the Exadata VM cluster on Exascale Infrastructure is associated. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | exadbVmClusterId, region | opc-request-id | Gets information about the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.<br /> |
list | select | compartmentId, region | limit, page, sortBy, sortOrder, lifecycleState, exascaleDbStorageVaultId, clusterPlacementGroupId, displayName, opc-request-id | Gets a list of the Exadata VM clusters on Exascale Infrastructure in the specified compartment. Applies to Exadata Database Service on Exascale Infrastructure only.<br /> |
create | insert | region, compartmentId, displayName, sshPublicKeys, gridImageId, hostname, subnetId, backupSubnetId, nodeCount, totalECpuCount, enabledECpuCount, vmFileSystemStorage, exascaleDbStorageVaultId, availabilityDomain, shape | opc-retry-token, opc-request-id | Creates an Exadata VM cluster on Exascale Infrastructure<br /> |
update | update | exadbVmClusterId, region | if-match, opc-request-id | Updates the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.<br /> |
delete | delete | exadbVmClusterId, region | if-match, opc-request-id | Deletes the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.<br /> |
add_dbnode_snapshots_for_exadb_vm_cluster | exec | exadbVmClusterId, region, name, sourceDbnodeIds | opc-retry-token, opc-request-id, if-match | Add a database node snapshots to the Exadb VM cluster..<br /> |
change_compartment | exec | exadbVmClusterId, region, compartmentId | opc-retry-token, opc-request-id, if-match | Moves a Exadata VM cluster on Exascale Infrastructure and its dependent resources to another compartment. Applies to Exadata Database Service on Exascale Infrastructure only.<br /> |
change_exadb_vm_cluster_subscription | exec | exadbVmClusterId, region | opc-retry-token, opc-request-id, if-match | Associate a Exadata VM cluster on Exascale Infrastructure with a different subscription.<br /> |
remove_virtual_machine_from_exadb_vm_cluster | exec | exadbVmClusterId, region, dbNodes | opc-retry-token, opc-request-id, if-match | Remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Cloud instances only.<br /> |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
compartmentId | string | The compartment [OCID](/Content/General/Concepts/identifiers.htm). |
exadbVmClusterId | string | The Exadata VM cluster [OCID](/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
clusterPlacementGroupId | string | A filter to return only resources that match the given cluster placement group ID exactly. |
displayName | string | A filter to return only resources that match the entire display name given. The match is not case sensitive. |
exascaleDbStorageVaultId | string | A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given Exascale Database Storage Vault ID. |
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. |
lifecycleState | string | A filter to return only Exadata VM clusters on Exascale Infrastructure that match the given lifecycle state exactly. |
limit | integer | The maximum number of items to return per page. |
opc-request-id | string | Unique identifier for the request. |
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). |
page | string | The pagination token to continue listing from. |
sortBy | string | The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. |
sortOrder | string | The sort order to use, either ascending (ASC) or descending (DESC). |
SELECT examples​
- get
- list
Gets information about the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.<br />
SELECT
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
clusterName,
clusterPlacementGroupId,
compartmentId,
dataCollectionOptions,
definedTags,
displayName,
domain,
enabledECpuCount,
exascaleDbStorageVaultId,
freeformTags,
giVersion,
gridImageId,
gridImageType,
hostname,
iormConfigCache,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
nodeCount,
nsgIds,
privateZoneId,
scanDnsName,
scanDnsRecordId,
scanIpIds,
scanListenerPortTcp,
scanListenerPortTcpSsl,
securityAttributes,
shape,
shapeAttribute,
snapshotFileSystemStorage,
sshPublicKeys,
subnetId,
subscriptionId,
systemTags,
systemVersion,
timeCreated,
timeZone,
totalECpuCount,
totalFileSystemStorage,
vipIds,
vmFileSystemStorage,
zoneId
FROM oci.database.exadb_vm_clusters
WHERE exadbVmClusterId = '{{ exadbVmClusterId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;
Gets a list of the Exadata VM clusters on Exascale Infrastructure in the specified compartment. Applies to Exadata Database Service on Exascale Infrastructure only.<br />
SELECT
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
clusterName,
clusterPlacementGroupId,
compartmentId,
dataCollectionOptions,
definedTags,
displayName,
domain,
enabledECpuCount,
exascaleDbStorageVaultId,
freeformTags,
giVersion,
gridImageId,
gridImageType,
hostname,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
nodeCount,
nsgIds,
privateZoneId,
scanDnsName,
scanDnsRecordId,
scanIpIds,
scanListenerPortTcp,
scanListenerPortTcpSsl,
securityAttributes,
shape,
shapeAttribute,
snapshotFileSystemStorage,
sshPublicKeys,
subnetId,
subscriptionId,
systemTags,
systemVersion,
timeCreated,
timeZone,
totalECpuCount,
totalFileSystemStorage,
vipIds,
vmFileSystemStorage,
zoneId
FROM oci.database.exadb_vm_clusters
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortBy = '{{ sortBy }}'
AND sortOrder = '{{ sortOrder }}'
AND lifecycleState = '{{ lifecycleState }}'
AND exascaleDbStorageVaultId = '{{ exascaleDbStorageVaultId }}'
AND clusterPlacementGroupId = '{{ clusterPlacementGroupId }}'
AND displayName = '{{ displayName }}'
AND opc-request-id = '{{ opc-request-id }}'
;
INSERT examples​
- create
- Manifest
Creates an Exadata VM cluster on Exascale Infrastructure<br />
INSERT INTO oci.database.exadb_vm_clusters (
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
clusterName,
compartmentId,
dataCollectionOptions,
definedTags,
displayName,
domain,
enabledECpuCount,
exascaleDbStorageVaultId,
freeformTags,
gridImageId,
hostname,
licenseModel,
nodeCount,
nsgIds,
privateZoneId,
scanListenerPortTcp,
scanListenerPortTcpSsl,
securityAttributes,
shape,
shapeAttribute,
sshPublicKeys,
subnetId,
subscriptionId,
systemVersion,
timeZone,
totalECpuCount,
vmFileSystemStorage,
region,
opc-retry-token,
opc-request-id
)
SELECT
'{{ availabilityDomain }}' /* required */,
'{{ backupNetworkNsgIds }}',
'{{ backupSubnetId }}' /* required */,
'{{ clusterName }}',
'{{ compartmentId }}' /* required */,
'{{ dataCollectionOptions }}',
'{{ definedTags }}',
'{{ displayName }}' /* required */,
'{{ domain }}',
{{ enabledECpuCount }} /* required */,
'{{ exascaleDbStorageVaultId }}' /* required */,
'{{ freeformTags }}',
'{{ gridImageId }}' /* required */,
'{{ hostname }}' /* required */,
'{{ licenseModel }}',
{{ nodeCount }} /* required */,
'{{ nsgIds }}',
'{{ privateZoneId }}',
{{ scanListenerPortTcp }},
{{ scanListenerPortTcpSsl }},
'{{ securityAttributes }}',
'{{ shape }}' /* required */,
'{{ shapeAttribute }}',
'{{ sshPublicKeys }}' /* required */,
'{{ subnetId }}' /* required */,
'{{ subscriptionId }}',
'{{ systemVersion }}',
'{{ timeZone }}',
{{ totalECpuCount }} /* required */,
'{{ vmFileSystemStorage }}' /* required */,
'{{ region }}',
'{{ opc-retry-token }}',
'{{ opc-request-id }}'
RETURNING
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
clusterName,
clusterPlacementGroupId,
compartmentId,
dataCollectionOptions,
definedTags,
displayName,
domain,
enabledECpuCount,
exascaleDbStorageVaultId,
freeformTags,
giVersion,
gridImageId,
gridImageType,
hostname,
iormConfigCache,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
nodeCount,
nsgIds,
privateZoneId,
scanDnsName,
scanDnsRecordId,
scanIpIds,
scanListenerPortTcp,
scanListenerPortTcpSsl,
securityAttributes,
shape,
shapeAttribute,
snapshotFileSystemStorage,
sshPublicKeys,
subnetId,
subscriptionId,
systemTags,
systemVersion,
timeCreated,
timeZone,
totalECpuCount,
totalFileSystemStorage,
vipIds,
vmFileSystemStorage,
zoneId
;
# Description fields are for documentation purposes
- name: exadb_vm_clusters
props:
- name: region
value: "{{ region }}"
description: Required parameter for the exadb_vm_clusters resource.
- name: availabilityDomain
value: "{{ availabilityDomain }}"
description: |
The name of the availability domain in which the Exadata VM cluster on Exascale Infrastructure is located.
- name: backupNetworkNsgIds
value:
- "{{ backupNetworkNsgIds }}"
description: |
A list of the [OCIDs](/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see [Security Rules](/Content/Network/Concepts/securityrules.htm). Applicable only to Exadata systems.
- name: backupSubnetId
value: "{{ backupSubnetId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the backup network subnet associated with the Exadata VM cluster on Exascale Infrastructure.
- name: clusterName
value: "{{ clusterName }}"
description: |
The cluster name for Exadata VM cluster on Exascale Infrastructure. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive.
- name: compartmentId
value: "{{ compartmentId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment.
- name: dataCollectionOptions
description: |
Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS.
value:
isDiagnosticsEventsEnabled: {{ isDiagnosticsEventsEnabled }}
isHealthMonitoringEnabled: {{ isHealthMonitoringEnabled }}
isIncidentLogsEnabled: {{ isIncidentLogsEnabled }}
- name: definedTags
value: "{{ definedTags }}"
description: |
Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).
- name: displayName
value: "{{ displayName }}"
description: |
The user-friendly name for the Exadata VM cluster on Exascale Infrastructure. The name does not need to be unique.
- name: domain
value: "{{ domain }}"
description: |
A domain name used for the Exadata VM cluster on Exascale Infrastructure. If the Oracle-provided internet and VCN
resolver is enabled for the specified subnet, then the domain name for the subnet is used
(do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.
Applies to Exadata Database Service on Exascale Infrastructure only.
- name: enabledECpuCount
value: {{ enabledECpuCount }}
description: |
The number of ECPUs to enable for an Exadata VM cluster on Exascale Infrastructure.
- name: exascaleDbStorageVaultId
value: "{{ exascaleDbStorageVaultId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault.
- name: freeformTags
value: "{{ freeformTags }}"
description: |
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).
Example: `{"Department": "Finance"}`
- name: gridImageId
value: "{{ gridImageId }}"
description: |
Grid Setup will be done using this grid image id.
The grid image ID can be obtained using the API /20160918/giVersions/{majorVersion}/minorVersions?compartmentId=<compartmentId>&shapeFamily=EXADB_XS&availabilityDomain=<AD name>.
The list of supported major versions can be obtained using the API /20160918/giVersions?compartmentId=<compartmentId>&shape=ExaDbXS&availabilityDomain=<AD name>
- name: hostname
value: "{{ hostname }}"
description: |
The hostname for the Exadata VM cluster on Exascale Infrastructure. The hostname must begin with an alphabetic character, and
can contain alphanumeric characters and hyphens (-). For Exadata systems, the maximum length of the hostname is 12 characters.
The maximum length of the combined hostname and domain is 63 characters.
**Note:** The hostname must be unique within the subnet. If it is not unique,
then the Exadata VM cluster on Exascale Infrastructure will fail to provision.
- name: licenseModel
value: "{{ licenseModel }}"
description: |
The Oracle license model that applies to the Exadata VM cluster on Exascale Infrastructure. The default is BRING_YOUR_OWN_LICENSE.
valid_values: ['LICENSE_INCLUDED', 'BRING_YOUR_OWN_LICENSE']
- name: nodeCount
value: {{ nodeCount }}
description: |
The number of nodes in the Exadata VM cluster on Exascale Infrastructure.
- name: nsgIds
value:
- "{{ nsgIds }}"
description: |
The list of [OCIDs](/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](/Content/Network/Concepts/securityrules.htm).
- name: privateZoneId
value: "{{ privateZoneId }}"
description: |
The private zone ID in which you want DNS records to be created.
- name: scanListenerPortTcp
value: {{ scanListenerPortTcp }}
description: |
The TCP Single Client Access Name (SCAN) port. The default port is 1521.
- name: scanListenerPortTcpSsl
value: {{ scanListenerPortTcpSsl }}
description: |
The Secured Communication (TCPS) protocol Single Client Access Name (SCAN) port. The default port is 2484.
- name: securityAttributes
value: "{{ securityAttributes }}"
description: |
Security Attributes for this resource. Each key is predefined and scoped to a namespace.
For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).
Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}`
- name: shape
value: "{{ shape }}"
description: |
The shape of the Exadata VM cluster on Exascale Infrastructure resource
- name: shapeAttribute
value: "{{ shapeAttribute }}"
description: |
The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later
valid_values: ['SMART_STORAGE', 'BLOCK_STORAGE']
- name: sshPublicKeys
value:
- "{{ sshPublicKeys }}"
description: |
The public key portion of one or more key pairs used for SSH access to the Exadata VM cluster on Exascale Infrastructure.
- name: subnetId
value: "{{ subnetId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the subnet associated with the Exadata VM cluster on Exascale Infrastructure.
- name: subscriptionId
value: "{{ subscriptionId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.
- name: systemVersion
value: "{{ systemVersion }}"
description: |
Operating system version of the image.
- name: timeZone
value: "{{ timeZone }}"
description: |
The time zone to use for the Exadata VM cluster on Exascale Infrastructure. For details, see [Time Zones](/Content/Database/References/timezones.htm).
- name: totalECpuCount
value: {{ totalECpuCount }}
description: |
The number of Total ECPUs for an Exadata VM cluster on Exascale Infrastructure.
- name: vmFileSystemStorage
description: |
Storage Details on the Exadata VM cluster.
value:
totalSizeInGbs: {{ totalSizeInGbs }}
- name: opc-retry-token
value: "{{ opc-retry-token }}"
description: A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
description: A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
- name: opc-request-id
value: "{{ opc-request-id }}"
description: Unique identifier for the request.
description: Unique identifier for the request.
UPDATE examples​
- update
Updates the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.<br />
UPDATE oci.database.exadb_vm_clusters
SET
backupNetworkNsgIds = '{{ backupNetworkNsgIds }}',
dataCollectionOptions = '{{ dataCollectionOptions }}',
definedTags = '{{ definedTags }}',
displayName = '{{ displayName }}',
enabledECpuCount = {{ enabledECpuCount }},
freeformTags = '{{ freeformTags }}',
gridImageId = '{{ gridImageId }}',
licenseModel = '{{ licenseModel }}',
nodeCount = {{ nodeCount }},
nsgIds = '{{ nsgIds }}',
securityAttributes = '{{ securityAttributes }}',
sshPublicKeys = '{{ sshPublicKeys }}',
systemVersion = '{{ systemVersion }}',
totalECpuCount = {{ totalECpuCount }},
updateAction = '{{ updateAction }}',
vmFileSystemStorage = '{{ vmFileSystemStorage }}'
WHERE
exadbVmClusterId = '{{ exadbVmClusterId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match}}'
AND opc-request-id = '{{ opc-request-id}}'
RETURNING
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
clusterName,
clusterPlacementGroupId,
compartmentId,
dataCollectionOptions,
definedTags,
displayName,
domain,
enabledECpuCount,
exascaleDbStorageVaultId,
freeformTags,
giVersion,
gridImageId,
gridImageType,
hostname,
iormConfigCache,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
nodeCount,
nsgIds,
privateZoneId,
scanDnsName,
scanDnsRecordId,
scanIpIds,
scanListenerPortTcp,
scanListenerPortTcpSsl,
securityAttributes,
shape,
shapeAttribute,
snapshotFileSystemStorage,
sshPublicKeys,
subnetId,
subscriptionId,
systemTags,
systemVersion,
timeCreated,
timeZone,
totalECpuCount,
totalFileSystemStorage,
vipIds,
vmFileSystemStorage,
zoneId;
DELETE examples​
- delete
Deletes the specified Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Database Service on Exascale Infrastructure only.<br />
DELETE FROM oci.database.exadb_vm_clusters
WHERE exadbVmClusterId = '{{ exadbVmClusterId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match }}'
AND opc-request-id = '{{ opc-request-id }}'
;
Lifecycle Methods​
- add_dbnode_snapshots_for_exadb_vm_cluster
- change_compartment
- change_exadb_vm_cluster_subscription
- remove_virtual_machine_from_exadb_vm_cluster
Add a database node snapshots to the Exadb VM cluster..<br />
EXEC oci.database.exadb_vm_clusters.add_dbnode_snapshots_for_exadb_vm_cluster
@exadbVmClusterId='{{ exadbVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"definedTags": "{{ definedTags }}",
"freeformTags": "{{ freeformTags }}",
"name": "{{ name }}",
"sourceDbnodeIds": "{{ sourceDbnodeIds }}"
}'
;
Moves a Exadata VM cluster on Exascale Infrastructure and its dependent resources to another compartment. Applies to Exadata Database Service on Exascale Infrastructure only.<br />
EXEC oci.database.exadb_vm_clusters.change_compartment
@exadbVmClusterId='{{ exadbVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"compartmentId": "{{ compartmentId }}"
}'
;
Associate a Exadata VM cluster on Exascale Infrastructure with a different subscription.<br />
EXEC oci.database.exadb_vm_clusters.change_exadb_vm_cluster_subscription
@exadbVmClusterId='{{ exadbVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"isDefault": {{ isDefault }},
"subscriptionId": "{{ subscriptionId }}"
}'
;
Remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Cloud instances only.<br />
EXEC oci.database.exadb_vm_clusters.remove_virtual_machine_from_exadb_vm_cluster
@exadbVmClusterId='{{ exadbVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"dbNodes": "{{ dbNodes }}"
}'
;