cloud_vm_clusters
Creates, updates, deletes, gets or lists a cloud_vm_clusters resource.
Overview​
| Name | cloud_vm_clusters |
| Type | Resource |
| Id | oci.database.cloud_vm_clusters |
Fields​
The following fields are returned by SELECT queries:
- get
- list
Information about the cloud VM cluster.
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the cloud VM cluster. |
availabilityDomain | string | The name of the availability domain that the cloud Exadata infrastructure resource is located in. |
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 cloud VM cluster. Subnet Restriction: See the subnet restrictions information for subnetId. |
cloudExadataInfrastructureId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the cloud Exadata infrastructure. |
clusterName | string | The cluster name for cloud VM cluster. 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. |
compartmentId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment. |
computeModel | string | The compute model of the Base Database, Exadata Infrastructure, VM Cluster and Autonomous AI Database. (ECPU, OCPU) (x-default-description: Null used when unspecified.) |
cpuCoreCount | integer (int32) | The number of CPU cores enabled on the cloud VM cluster. |
dataCollectionOptions | object | Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. |
dataStoragePercentage | integer (int32) | The percentage assigned to DATA storage (user data and database files). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. |
dataStorageSizeInTBs | number (double) | The data disk group size to be allocated in TBs. |
dbNodeStorageSizeInGBs | integer | The local node storage to be allocated in GBs. |
dbServers | array | The list of DB servers. |
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). |
diskRedundancy | string | The type of redundancy configured for the cloud Vm cluster. NORMAL is 2-way redundancy. HIGH is 3-way redundancy. (HIGH, NORMAL) |
displayName | string | The user-friendly name for the cloud VM cluster. The name does not need to be unique. |
domain | string | The domain name for the cloud VM cluster. |
exascaleDbStorageVaultId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. |
fileSystemConfigurationDetails | array | Details of the file system configuration of the VM cluster. |
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"} |
giSoftwareImageId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of a grid infrastructure software image. This is a database software image of the type GRID_IMAGE. |
giVersion | string | A valid Oracle Grid Infrastructure (GI) software version. |
hostname | string | The hostname for the cloud VM cluster. |
iormConfigCache | object | The IORM settings of the Exadata DB system. |
isLocalBackupEnabled | boolean | If true, database backup on local Exadata storage is configured for the cloud VM cluster. If false, database backup on local Exadata storage is not available in the cloud VM cluster. |
isSparseDiskgroupEnabled | boolean | If true, sparse disk group is configured for the cloud VM cluster. If false, sparse disk group is not created. |
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 cloud VM cluster. The default is LICENSE_INCLUDED. (LICENSE_INCLUDED, BRING_YOUR_OWN_LICENSE) |
lifecycleDetails | string | Additional information about the current lifecycle state. |
lifecycleState | string | The current state of the cloud VM cluster. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS) |
listenerPort | integer (int64) | The port number configured for the listener on the cloud VM cluster. |
memorySizeInGBs | integer | The memory to be allocated in GBs. |
multiCloudIdentityConnectorConfigs | array | Details of the multi cloud identity connectors of the VM cluster. |
nodeCount | integer (int32) | The number of nodes in the cloud VM cluster. |
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). |
ocpuCount | number (float) | The number of OCPU cores to enable on the cloud VM cluster. Only 1 decimal place is allowed for the fractional part. |
recoStoragePercentage | integer (int32) | The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. |
scanDnsName | string | The FQDN of the DNS record for the SCAN IP addresses that are associated with the cloud VM cluster. |
scanDnsRecordId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the cloud VM cluster. |
scanIpIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the cloud VM cluster. 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. |
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 model name of the Exadata hardware running the cloud VM cluster. |
sparseStoragePercentage | integer (int32) | The percentage assigned to SPARSE storage (Exadata snapshots). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. |
sshPublicKeys | array | The public key portion of one or more key pairs used for SSH access to the cloud VM cluster. |
storageManagementType | string | Specifies the type of storage management for the Cloud VM Cluster if its ASM or Exascale. (ASM, EXASCALE) |
storageSizeInGBs | integer (int32) | The storage allocation for the disk group, in gigabytes (GB). |
subnetId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the subnet associated with the cloud VM cluster. Subnet Restrictions: - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and backup subnet. |
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. |
tdeKeyStoreType | string | TDE keystore type (AZURE, OCI) (x-default-description: null) |
timeCreated | string (date-time) | The date and time that the cloud VM cluster was created. |
timeZone | string | The time zone of the cloud VM cluster. For details, see [Exadata Infrastructure Time Zones](/Content/Database/References/timezones.htm). |
vipIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the cloud VM cluster. 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, the VIP is reassigned to another active node in the cluster. Note: For a single-node DB system, this list is empty. |
vmBackupStorageType | string | Specifies the type of VM Backups Storage and supported values are LOCAL and EXASCALE. - LOCAL if selected then VM Backups storage will be on DB Servers. - EXASCALE if selected then VM Backups storage will be on Exascale Storage Servers. Default Value is LOCAL (LOCAL, EXASCALE) |
vmFileSystemStorageType | string | Specifies the type of file system storage and supported values are LOCAL and EXASCALE. - LOCAL if selected then file system storage will be on DB Servers. - EXASCALE if selected then file system storage will be on Exascale Storage Servers. Default Value is LOCAL (LOCAL, EXASCALE) |
zoneId | string | The OCID of the zone the cloud VM cluster is associated with. |
Details of the cloud VM cluster. Applies to Exadata Cloud Service instances only.<br />
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the cloud VM cluster. |
availabilityDomain | string | The name of the availability domain that the cloud Exadata infrastructure resource is located in. |
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 cloud VM cluster. Subnet Restriction: See the subnet restrictions information for subnetId. |
cloudExadataInfrastructureId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the cloud Exadata infrastructure. |
clusterName | string | The cluster name for cloud VM cluster. 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. |
compartmentId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment. |
computeModel | string | The compute model of the Base Database, Exadata Infrastructure, VM Cluster and Autonomous AI Database. (ECPU, OCPU) (x-default-description: Null used when unspecified.) |
cpuCoreCount | integer (int32) | The number of CPU cores enabled on the cloud VM cluster. |
dataCollectionOptions | object | Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. |
dataStoragePercentage | integer (int32) | The percentage assigned to DATA storage (user data and database files). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. |
dataStorageSizeInTBs | number (double) | The data disk group size to be allocated in TBs. |
dbNodeStorageSizeInGBs | integer | The local node storage to be allocated in GBs. |
dbServers | array | The list of DB servers. |
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). |
diskRedundancy | string | The type of redundancy configured for the cloud Vm cluster. NORMAL is 2-way redundancy. HIGH is 3-way redundancy. (HIGH, NORMAL) |
displayName | string | The user-friendly name for the cloud VM cluster. The name does not need to be unique. |
domain | string | The domain name for the cloud VM cluster. |
exascaleDbStorageVaultId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. |
fileSystemConfigurationDetails | array | Details of the file system configuration of the VM cluster. |
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"} |
giSoftwareImageId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of a grid infrastructure software image. This is a database software image of the type GRID_IMAGE. |
giVersion | string | A valid Oracle Grid Infrastructure (GI) software version. |
hostname | string | The hostname for the cloud VM cluster. |
isLocalBackupEnabled | boolean | If true, database backup on local Exadata storage is configured for the cloud VM cluster. If false, database backup on local Exadata storage is not available in the cloud VM cluster. |
isSparseDiskgroupEnabled | boolean | If true, sparse disk group is configured for the cloud VM cluster. If false, sparse disk group is not created. |
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 cloud VM cluster. The default is LICENSE_INCLUDED. (LICENSE_INCLUDED, BRING_YOUR_OWN_LICENSE) |
lifecycleDetails | string | Additional information about the current lifecycle state. |
lifecycleState | string | The current state of the cloud VM cluster. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS) |
listenerPort | integer (int64) | The port number configured for the listener on the cloud VM cluster. |
memorySizeInGBs | integer | The memory to be allocated in GBs. |
multiCloudIdentityConnectorConfigs | array | Details of the multi cloud identity connectors of the VM cluster. |
nodeCount | integer (int32) | The number of nodes in the cloud VM cluster. |
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). |
ocpuCount | number (float) | The number of OCPU cores to enable on the cloud VM cluster. Only 1 decimal place is allowed for the fractional part. |
recoStoragePercentage | integer (int32) | The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. |
scanDnsName | string | The FQDN of the DNS record for the SCAN IP addresses that are associated with the cloud VM cluster. |
scanDnsRecordId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the DNS record for the SCAN IP addresses that are associated with the cloud VM cluster. |
scanIpIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the Single Client Access Name (SCAN) IP addresses associated with the cloud VM cluster. 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. |
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 model name of the Exadata hardware running the cloud VM cluster. |
sparseStoragePercentage | integer (int32) | The percentage assigned to SPARSE storage (Exadata snapshots). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage. |
sshPublicKeys | array | The public key portion of one or more key pairs used for SSH access to the cloud VM cluster. |
storageManagementType | string | Specifies the type of storage management for the Cloud VM Cluster if its ASM or Exascale. (ASM, EXASCALE) |
storageSizeInGBs | integer (int32) | The storage allocation for the disk group, in gigabytes (GB). |
subnetId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the subnet associated with the cloud VM cluster. Subnet Restrictions: - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and backup subnet. |
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. |
tdeKeyStoreType | string | TDE keystore type (AZURE, OCI) (x-default-description: null) |
timeCreated | string (date-time) | The date and time that the cloud VM cluster was created. |
timeZone | string | The time zone of the cloud VM cluster. For details, see [Exadata Infrastructure Time Zones](/Content/Database/References/timezones.htm). |
vipIds | array | The [OCID](/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the cloud VM cluster. 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, the VIP is reassigned to another active node in the cluster. Note: For a single-node DB system, this list is empty. |
vmBackupStorageType | string | Specifies the type of VM Backups Storage and supported values are LOCAL and EXASCALE. - LOCAL if selected then VM Backups storage will be on DB Servers. - EXASCALE if selected then VM Backups storage will be on Exascale Storage Servers. Default Value is LOCAL (LOCAL, EXASCALE) |
vmFileSystemStorageType | string | Specifies the type of file system storage and supported values are LOCAL and EXASCALE. - LOCAL if selected then file system storage will be on DB Servers. - EXASCALE if selected then file system storage will be on Exascale Storage Servers. Default Value is LOCAL (LOCAL, EXASCALE) |
zoneId | string | The OCID of the zone the cloud VM cluster is associated with. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | cloudVmClusterId, region | opc-request-id | Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br /> |
list | select | compartmentId, region | cloudExadataInfrastructureId, limit, page, sortBy, sortOrder, lifecycleState, displayName, opc-request-id | Gets a list of the cloud VM clusters in the specified compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br /> |
create | insert | region, compartmentId, displayName, cloudExadataInfrastructureId, cpuCoreCount, sshPublicKeys, giVersion, hostname, subnetId, backupSubnetId | opc-retry-token, opc-request-id | Creates a cloud VM cluster.<br /> |
update | update | cloudVmClusterId, region | if-match, opc-request-id | Updates the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br /> |
delete | delete | cloudVmClusterId, region | if-match, opc-request-id | Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br /> |
add_virtual_machine_to_cloud_vm_cluster | exec | cloudVmClusterId, region, dbServers | opc-retry-token, opc-request-id, if-match | Add Virtual Machines to the Cloud VM cluster. Applies to Exadata Cloud instances only.<br /> |
change_compartment | exec | cloudVmClusterId, region, compartmentId | opc-retry-token, opc-request-id, if-match | Moves a cloud VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br /> |
change_cloud_vm_cluster_subscription | exec | cloudVmClusterId, region | opc-retry-token, opc-request-id, if-match | Associate a cloud VM cluster with a different subscription.<br /> |
register_cloud_vm_cluster_pkcs | exec | cloudVmClusterId, region, tdeKeyStoreType | opc-retry-token, opc-request-id, if-match | Install the PKCS11 driver for given keystore type<br /> |
remove_virtual_machine_from_cloud_vm_cluster | exec | cloudVmClusterId, region, dbServers | opc-retry-token, opc-request-id, if-match | Remove Virtual Machines from the Cloud VM cluster. Applies to Exadata Cloud instances only.<br /> |
unregister_cloud_vm_cluster_pkcs | exec | cloudVmClusterId, region, tdeKeyStoreType | opc-retry-token, opc-request-id, if-match | Uninstall the PKCS11 driver for given keystore type<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 |
|---|---|---|
cloudVmClusterId | string | The cloud VM cluster [OCID](/Content/General/Concepts/identifiers.htm). |
compartmentId | string | The compartment [OCID](/Content/General/Concepts/identifiers.htm). |
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) |
cloudExadataInfrastructureId | string | If provided, filters the results for the specified cloud Exadata infrastructure. |
displayName | string | A filter to return only resources that match the entire display name given. The match is not case sensitive. |
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 cloud VM clusters 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 cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br />
SELECT
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
cloudExadataInfrastructureId,
clusterName,
compartmentId,
computeModel,
cpuCoreCount,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
diskRedundancy,
displayName,
domain,
exascaleDbStorageVaultId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
hostname,
iormConfigCache,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
multiCloudIdentityConnectorConfigs,
nodeCount,
nsgIds,
ocpuCount,
recoStoragePercentage,
scanDnsName,
scanDnsRecordId,
scanIpIds,
securityAttributes,
shape,
sparseStoragePercentage,
sshPublicKeys,
storageManagementType,
storageSizeInGBs,
subnetId,
subscriptionId,
systemTags,
systemVersion,
tdeKeyStoreType,
timeCreated,
timeZone,
vipIds,
vmBackupStorageType,
vmFileSystemStorageType,
zoneId
FROM oci.database.cloud_vm_clusters
WHERE cloudVmClusterId = '{{ cloudVmClusterId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;
Gets a list of the cloud VM clusters in the specified compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br />
SELECT
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
cloudExadataInfrastructureId,
clusterName,
compartmentId,
computeModel,
cpuCoreCount,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
diskRedundancy,
displayName,
domain,
exascaleDbStorageVaultId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
hostname,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
multiCloudIdentityConnectorConfigs,
nodeCount,
nsgIds,
ocpuCount,
recoStoragePercentage,
scanDnsName,
scanDnsRecordId,
scanIpIds,
securityAttributes,
shape,
sparseStoragePercentage,
sshPublicKeys,
storageManagementType,
storageSizeInGBs,
subnetId,
subscriptionId,
systemTags,
systemVersion,
tdeKeyStoreType,
timeCreated,
timeZone,
vipIds,
vmBackupStorageType,
vmFileSystemStorageType,
zoneId
FROM oci.database.cloud_vm_clusters
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND cloudExadataInfrastructureId = '{{ cloudExadataInfrastructureId }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortBy = '{{ sortBy }}'
AND sortOrder = '{{ sortOrder }}'
AND lifecycleState = '{{ lifecycleState }}'
AND displayName = '{{ displayName }}'
AND opc-request-id = '{{ opc-request-id }}'
;
INSERT examples​
- create
- Manifest
Creates a cloud VM cluster.<br />
INSERT INTO oci.database.cloud_vm_clusters (
backupNetworkNsgIds,
backupSubnetId,
cloudExadataInfrastructureId,
clusterName,
compartmentId,
cpuCoreCount,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
domain,
exascaleDbStorageVaultId,
fileSystemConfigurationDetails,
freeformTags,
giVersion,
hostname,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
licenseModel,
memorySizeInGBs,
nsgIds,
ocpuCount,
privateZoneId,
recoStoragePercentage,
securityAttributes,
sparseStoragePercentage,
sshPublicKeys,
subnetId,
subscriptionId,
systemVersion,
timeZone,
vmBackupStorageType,
vmFileSystemStorageType,
region,
opc-retry-token,
opc-request-id
)
SELECT
'{{ backupNetworkNsgIds }}',
'{{ backupSubnetId }}' /* required */,
'{{ cloudExadataInfrastructureId }}' /* required */,
'{{ clusterName }}',
'{{ compartmentId }}' /* required */,
{{ cpuCoreCount }} /* required */,
'{{ dataCollectionOptions }}',
{{ dataStoragePercentage }},
{{ dataStorageSizeInTBs }},
{{ dbNodeStorageSizeInGBs }},
'{{ dbServers }}',
'{{ definedTags }}',
'{{ displayName }}' /* required */,
'{{ domain }}',
'{{ exascaleDbStorageVaultId }}',
'{{ fileSystemConfigurationDetails }}',
'{{ freeformTags }}',
'{{ giVersion }}' /* required */,
'{{ hostname }}' /* required */,
{{ isLocalBackupEnabled }},
{{ isSparseDiskgroupEnabled }},
'{{ licenseModel }}',
{{ memorySizeInGBs }},
'{{ nsgIds }}',
{{ ocpuCount }},
'{{ privateZoneId }}',
{{ recoStoragePercentage }},
'{{ securityAttributes }}',
{{ sparseStoragePercentage }},
'{{ sshPublicKeys }}' /* required */,
'{{ subnetId }}' /* required */,
'{{ subscriptionId }}',
'{{ systemVersion }}',
'{{ timeZone }}',
'{{ vmBackupStorageType }}',
'{{ vmFileSystemStorageType }}',
'{{ region }}',
'{{ opc-retry-token }}',
'{{ opc-request-id }}'
RETURNING
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
cloudExadataInfrastructureId,
clusterName,
compartmentId,
computeModel,
cpuCoreCount,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
diskRedundancy,
displayName,
domain,
exascaleDbStorageVaultId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
hostname,
iormConfigCache,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
multiCloudIdentityConnectorConfigs,
nodeCount,
nsgIds,
ocpuCount,
recoStoragePercentage,
scanDnsName,
scanDnsRecordId,
scanIpIds,
securityAttributes,
shape,
sparseStoragePercentage,
sshPublicKeys,
storageManagementType,
storageSizeInGBs,
subnetId,
subscriptionId,
systemTags,
systemVersion,
tdeKeyStoreType,
timeCreated,
timeZone,
vipIds,
vmBackupStorageType,
vmFileSystemStorageType,
zoneId
;
# Description fields are for documentation purposes
- name: cloud_vm_clusters
props:
- name: region
value: "{{ region }}"
description: Required parameter for the cloud_vm_clusters resource.
- 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 cloud VM cluster.
- name: cloudExadataInfrastructureId
value: "{{ cloudExadataInfrastructureId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the cloud Exadata infrastructure resource.
- name: clusterName
value: "{{ clusterName }}"
description: |
The cluster name for cloud VM cluster. 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: cpuCoreCount
value: {{ cpuCoreCount }}
description: |
For fixed shapes, this is the total number of OCPUs to enable across the VM cluster.
- Exadata.Base.48 - Specify a multiple of 2, from 0 to 48.
- Exadata.Quarter3.100 - Specify a multiple of 2, from 0 to 100.
- Exadata.Half3.200 - Specify a multiple of 4, from 0 to 200.
- Exadata.Full3.400 - Specify a multiple of 8, from 0 to 400.
The API specification for fixed shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary
For flexible shapes X8M and X9M, this is the total number of OCPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
- Exadata.X8M - Specify a multiple of 2, from 2 to 50 per X8M database server.
- Exadata.X9M - Specify a multiple of 2, from 2 to 126 per X9M database server.
For flexible shapes X11M and higher, this is the total number of ECPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure.
- Exadata.X11M - Specify a multiple of 8, from 8 to 760 per X11M database server.
The API specification for flexible shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/FlexComponentSummary
- 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: dataStoragePercentage
value: {{ dataStoragePercentage }}
description: |
The percentage assigned to DATA storage (user data and database files). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage.
- name: dataStorageSizeInTBs
value: {{ dataStorageSizeInTBs }}
description: |
The data disk group size to be allocated in TBs.
- name: dbNodeStorageSizeInGBs
value: {{ dbNodeStorageSizeInGBs }}
description: |
The local node storage to be allocated in GBs.
- name: dbServers
value:
- "{{ dbServers }}"
description: |
The list of DB servers.
- 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 cloud VM cluster. The name does not need to be unique.
- name: domain
value: "{{ domain }}"
description: |
A domain name used for the cloud VM cluster. If the Oracle-provided internet and VCN
resolver is enabled for the specified subnet, 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 Cloud Service instances only.
- name: exascaleDbStorageVaultId
value: "{{ exascaleDbStorageVaultId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault.
- name: fileSystemConfigurationDetails
description: |
Details of the file system configuration of the VM cluster.
value:
- fileSystemSizeGb: {{ fileSystemSizeGb }}
mountPoint: "{{ mountPoint }}"
- 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: giVersion
value: "{{ giVersion }}"
description: |
A valid Oracle Grid Infrastructure (GI) software version.
- name: hostname
value: "{{ hostname }}"
description: |
The hostname for the cloud VM cluster. The hostname must begin with an alphabetic character, and
can contain alphanumeric characters and hyphens (-). The maximum length of the hostname is 16 characters for bare metal and virtual machine DB systems, and 12 characters for Exadata systems.
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,
the cloud VM Cluster will fail to provision.
- name: isLocalBackupEnabled
value: {{ isLocalBackupEnabled }}
description: |
If true, database backup on local Exadata storage is configured for the cloud VM cluster. If false, database backup on local Exadata storage is not available in the cloud VM cluster.
- name: isSparseDiskgroupEnabled
value: {{ isSparseDiskgroupEnabled }}
description: |
If true, the sparse disk group is configured for the cloud VM cluster. If false, the sparse disk group is not created.
- name: licenseModel
value: "{{ licenseModel }}"
description: |
The Oracle license model that applies to the cloud VM cluster. The default is BRING_YOUR_OWN_LICENSE.
valid_values: ['LICENSE_INCLUDED', 'BRING_YOUR_OWN_LICENSE']
- name: memorySizeInGBs
value: {{ memorySizeInGBs }}
description: |
The memory to be allocated in GBs.
- 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: ocpuCount
value: {{ ocpuCount }}
description: |
The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed for the fractional part.
- name: privateZoneId
value: "{{ privateZoneId }}"
description: |
The private zone id in which DNS records need to be created.
- name: recoStoragePercentage
value: {{ recoStoragePercentage }}
description: |
The percentage assigned to RECO storage (database redo logs, archive logs, and recovery manager backups). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage.
- 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: sparseStoragePercentage
value: {{ sparseStoragePercentage }}
description: |
The percentage assigned to SPARSE storage (Exadata snapshots). See [Storage Configuration](/Content/Database/Concepts/exaoverview.htm#Exadata) in the Exadata documentation for details on the impact of the configuration settings on storage.
- name: sshPublicKeys
value:
- "{{ sshPublicKeys }}"
description: |
The public key portion of one or more key pairs used for SSH access to the cloud VM cluster.
- name: subnetId
value: "{{ subnetId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the subnet associated with the cloud VM cluster.
- 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 cloud VM cluster. For details, see [Time Zones](/Content/Database/References/timezones.htm).
- name: vmBackupStorageType
value: "{{ vmBackupStorageType }}"
description: |
Specifies the type of VM Backups Storage and supported values are LOCAL and EXASCALE. - LOCAL if selected then VM Backups storage will be on DB Servers. - EXASCALE if selected then VM Backups storage will be on Exascale Storage Servers. Default Value is LOCAL
valid_values: ['LOCAL', 'EXASCALE']
default: LOCAL
- name: vmFileSystemStorageType
value: "{{ vmFileSystemStorageType }}"
description: |
Specifies the type of file system storage and supported values are LOCAL and EXASCALE. - LOCAL if selected then file system storage will be on DB Servers. - EXASCALE if selected then file system storage will be on Exascale Storage Servers. Default Value is LOCAL
valid_values: ['LOCAL', 'EXASCALE']
default: LOCAL
- 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 cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br />
UPDATE oci.database.cloud_vm_clusters
SET
backupNetworkNsgIds = '{{ backupNetworkNsgIds }}',
computeNodes = '{{ computeNodes }}',
cpuCoreCount = {{ cpuCoreCount }},
dataCollectionOptions = '{{ dataCollectionOptions }}',
dataStoragePercentage = {{ dataStoragePercentage }},
dataStorageSizeInTBs = {{ dataStorageSizeInTBs }},
dbNodeStorageSizeInGBs = {{ dbNodeStorageSizeInGBs }},
definedTags = '{{ definedTags }}',
displayName = '{{ displayName }}',
fileSystemConfigurationDetails = '{{ fileSystemConfigurationDetails }}',
freeformTags = '{{ freeformTags }}',
isLocalBackupEnabled = {{ isLocalBackupEnabled }},
isSparseDiskgroupEnabled = {{ isSparseDiskgroupEnabled }},
licenseModel = '{{ licenseModel }}',
memorySizeInGBs = {{ memorySizeInGBs }},
nsgIds = '{{ nsgIds }}',
ocpuCount = {{ ocpuCount }},
recoStoragePercentage = {{ recoStoragePercentage }},
securityAttributes = '{{ securityAttributes }}',
sparseStoragePercentage = {{ sparseStoragePercentage }},
sshPublicKeys = '{{ sshPublicKeys }}',
storageSizeInGBs = {{ storageSizeInGBs }},
updateDetails = '{{ updateDetails }}',
vmBackupStorageType = '{{ vmBackupStorageType }}'
WHERE
cloudVmClusterId = '{{ cloudVmClusterId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match}}'
AND opc-request-id = '{{ opc-request-id}}'
RETURNING
id,
availabilityDomain,
backupNetworkNsgIds,
backupSubnetId,
cloudExadataInfrastructureId,
clusterName,
compartmentId,
computeModel,
cpuCoreCount,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
diskRedundancy,
displayName,
domain,
exascaleDbStorageVaultId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
hostname,
iormConfigCache,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastUpdateHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
listenerPort,
memorySizeInGBs,
multiCloudIdentityConnectorConfigs,
nodeCount,
nsgIds,
ocpuCount,
recoStoragePercentage,
scanDnsName,
scanDnsRecordId,
scanIpIds,
securityAttributes,
shape,
sparseStoragePercentage,
sshPublicKeys,
storageManagementType,
storageSizeInGBs,
subnetId,
subscriptionId,
systemTags,
systemVersion,
tdeKeyStoreType,
timeCreated,
timeZone,
vipIds,
vmBackupStorageType,
vmFileSystemStorageType,
zoneId;
DELETE examples​
- delete
Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br />
DELETE FROM oci.database.cloud_vm_clusters
WHERE cloudVmClusterId = '{{ cloudVmClusterId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match }}'
AND opc-request-id = '{{ opc-request-id }}'
;
Lifecycle Methods​
- add_virtual_machine_to_cloud_vm_cluster
- change_compartment
- change_cloud_vm_cluster_subscription
- register_cloud_vm_cluster_pkcs
- remove_virtual_machine_from_cloud_vm_cluster
- unregister_cloud_vm_cluster_pkcs
Add Virtual Machines to the Cloud VM cluster. Applies to Exadata Cloud instances only.<br />
EXEC oci.database.cloud_vm_clusters.add_virtual_machine_to_cloud_vm_cluster
@cloudVmClusterId='{{ cloudVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"dbServers": "{{ dbServers }}"
}'
;
Moves a cloud VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.<br />
EXEC oci.database.cloud_vm_clusters.change_compartment
@cloudVmClusterId='{{ cloudVmClusterId }}' --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 cloud VM cluster with a different subscription.<br />
EXEC oci.database.cloud_vm_clusters.change_cloud_vm_cluster_subscription
@cloudVmClusterId='{{ cloudVmClusterId }}' --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 }}"
}'
;
Install the PKCS11 driver for given keystore type<br />
EXEC oci.database.cloud_vm_clusters.register_cloud_vm_cluster_pkcs
@cloudVmClusterId='{{ cloudVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"tdeKeyStoreType": "{{ tdeKeyStoreType }}"
}'
;
Remove Virtual Machines from the Cloud VM cluster. Applies to Exadata Cloud instances only.<br />
EXEC oci.database.cloud_vm_clusters.remove_virtual_machine_from_cloud_vm_cluster
@cloudVmClusterId='{{ cloudVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"dbServers": "{{ dbServers }}"
}'
;
Uninstall the PKCS11 driver for given keystore type<br />
EXEC oci.database.cloud_vm_clusters.unregister_cloud_vm_cluster_pkcs
@cloudVmClusterId='{{ cloudVmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"tdeKeyStoreType": "{{ tdeKeyStoreType }}"
}'
;