vm_clusters
Creates, updates, deletes, gets or lists a vm_clusters resource.
Overview​
| Name | vm_clusters |
| Type | Resource |
| Id | oci.database.vm_clusters |
Fields​
The following fields are returned by SELECT queries:
- get
- list
Information about the Exadata Cloud@Customer VM cluster.
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the VM cluster. |
availabilityDomain | string | The name of the availability domain that the VM cluster is located in. |
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.) |
cpusEnabled | integer | The number of enabled CPU cores. |
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. |
dataStorageSizeInGBs | number (double) | Size of the DATA disk group in GBs. |
dataStorageSizeInTBs | number (double) | Size, in terabytes, of the DATA disk group. |
dbNodeStorageSizeInGBs | integer | The local node storage allocated in GBs. |
dbServers | array | The list of Db server. |
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 Cloud@Customer VM cluster. The name does not need to be unique. |
exadataInfrastructureId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. |
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 | The Oracle Grid Infrastructure software version for the VM cluster. |
isLocalBackupEnabled | boolean | If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. |
isSparseDiskgroupEnabled | boolean | If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. |
lastPatchHistoryEntryId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. |
licenseModel | string | The Oracle license model that applies to the 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 VM cluster. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS) |
memorySizeInGBs | integer | The memory allocated in GBs. |
ocpusEnabled | number (float) | The number of enabled OCPU cores. |
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. |
shape | string | The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. |
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 VM cluster. |
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 VM cluster was created. |
timeZone | string (x-obmcs-time-zone) | The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](/Content/Database/References/timezones.htm). |
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) |
vmClusterNetworkId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the VM cluster network. |
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) |
Details of the Exadata Cloud@Customer VM cluster.<br />
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the VM cluster. |
availabilityDomain | string | The name of the availability domain that the VM cluster is located in. |
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.) |
cpusEnabled | integer | The number of enabled CPU cores. |
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. |
dataStorageSizeInGBs | number (double) | Size of the DATA disk group in GBs. |
dataStorageSizeInTBs | number (double) | Size, in terabytes, of the DATA disk group. |
dbNodeStorageSizeInGBs | integer | The local node storage allocated in GBs. |
dbServers | array | The list of Db server. |
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 Cloud@Customer VM cluster. The name does not need to be unique. |
exadataInfrastructureId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. |
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 | The Oracle Grid Infrastructure software version for the VM cluster. |
isLocalBackupEnabled | boolean | If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. |
isSparseDiskgroupEnabled | boolean | If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. |
lastPatchHistoryEntryId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. |
licenseModel | string | The Oracle license model that applies to the 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 VM cluster. (PROVISIONING, AVAILABLE, UPDATING, TERMINATING, TERMINATED, FAILED, MAINTENANCE_IN_PROGRESS) |
memorySizeInGBs | integer | The memory allocated in GBs. |
ocpusEnabled | number (float) | The number of enabled OCPU cores. |
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. |
shape | string | The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. |
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 VM cluster. |
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 VM cluster was created. |
timeZone | string (x-obmcs-time-zone) | The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](/Content/Database/References/timezones.htm). |
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) |
vmClusterNetworkId | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the VM cluster network. |
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) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | vmClusterId, region | opc-request-id | Gets information about the VM cluster. Applies to Exadata Cloud@Customer instances only.<br /> |
list | select | compartmentId, region | exadataInfrastructureId, limit, page, sortBy, sortOrder, lifecycleState, displayName, opc-request-id | Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only.<br />To list the cloud VM clusters in an Exadata Cloud Service instance, use the [ListCloudVmClusters ](#/en/database/latest/CloudVmCluster/ListCloudVmClusters) operation.<br /> |
create | insert | region, compartmentId, displayName, exadataInfrastructureId, cpuCoreCount, vmClusterNetworkId, sshPublicKeys, giVersion | opc-retry-token, opc-request-id | Creates an Exadata Cloud@Customer VM cluster.<br /> |
update | update | vmClusterId, region | if-match, opc-request-id | Updates the specified VM cluster. Applies to Exadata Cloud@Customer instances only.<br /> |
delete | delete | vmClusterId, region | if-match, opc-request-id | Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only.<br /> |
add_virtual_machine_to_vm_cluster | exec | vmClusterId, region, dbServers | opc-retry-token, opc-request-id, if-match | Add Virtual Machines to the VM cluster. Applies to Exadata Cloud@Customer instances only.<br /> |
change_compartment | exec | vmClusterId, region, compartmentId | opc-retry-token, opc-request-id, if-match | Moves a VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only.<br />To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the [ChangeCloudVmClusterCompartment ](#/en/database/latest/CloudVmCluster/ChangeCloudVmClusterCompartment) operation.<br /> |
remove_virtual_machine_from_vm_cluster | exec | vmClusterId, region, dbServers | opc-retry-token, opc-request-id, if-match | Remove Virtual Machines from the VM cluster. Applies to Exadata Cloud@Customer 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). |
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) |
vmClusterId | string | The VM cluster [OCID](/Content/General/Concepts/identifiers.htm). |
displayName | string | A filter to return only resources that match the entire display name given. The match is not case sensitive. |
exadataInfrastructureId | string | If provided, filters the results for the given Exadata Infrastructure. |
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 resources 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 VM cluster. Applies to Exadata Cloud@Customer instances only.<br />
SELECT
id,
availabilityDomain,
compartmentId,
computeModel,
cpusEnabled,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
exadataInfrastructureId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastPatchHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
memorySizeInGBs,
ocpusEnabled,
recoStoragePercentage,
shape,
sparseStoragePercentage,
sshPublicKeys,
systemTags,
systemVersion,
timeCreated,
timeZone,
vmBackupStorageType,
vmClusterNetworkId,
vmFileSystemStorageType
FROM oci.database.vm_clusters
WHERE vmClusterId = '{{ vmClusterId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;
Lists the VM clusters in the specified compartment. Applies to Exadata Cloud@Customer instances only.<br />To list the cloud VM clusters in an Exadata Cloud Service instance, use the [ListCloudVmClusters ](#/en/database/latest/CloudVmCluster/ListCloudVmClusters) operation.<br />
SELECT
id,
availabilityDomain,
compartmentId,
computeModel,
cpusEnabled,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
exadataInfrastructureId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastPatchHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
memorySizeInGBs,
ocpusEnabled,
recoStoragePercentage,
shape,
sparseStoragePercentage,
sshPublicKeys,
systemTags,
systemVersion,
timeCreated,
timeZone,
vmBackupStorageType,
vmClusterNetworkId,
vmFileSystemStorageType
FROM oci.database.vm_clusters
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND exadataInfrastructureId = '{{ exadataInfrastructureId }}'
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 an Exadata Cloud@Customer VM cluster.<br />
INSERT INTO oci.database.vm_clusters (
compartmentId,
cpuCoreCount,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
exadataInfrastructureId,
fileSystemConfigurationDetails,
freeformTags,
giVersion,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
licenseModel,
memorySizeInGBs,
ocpuCount,
recoStoragePercentage,
sparseStoragePercentage,
sshPublicKeys,
systemVersion,
timeZone,
vmBackupStorageType,
vmClusterNetworkId,
vmFileSystemStorageType,
region,
opc-retry-token,
opc-request-id
)
SELECT
'{{ compartmentId }}' /* required */,
{{ cpuCoreCount }} /* required */,
'{{ dataCollectionOptions }}',
{{ dataStoragePercentage }},
{{ dataStorageSizeInGBs }},
{{ dataStorageSizeInTBs }},
{{ dbNodeStorageSizeInGBs }},
'{{ dbServers }}',
'{{ definedTags }}',
'{{ displayName }}' /* required */,
'{{ exadataInfrastructureId }}' /* required */,
'{{ fileSystemConfigurationDetails }}',
'{{ freeformTags }}',
'{{ giVersion }}' /* required */,
{{ isLocalBackupEnabled }},
{{ isSparseDiskgroupEnabled }},
'{{ licenseModel }}',
{{ memorySizeInGBs }},
{{ ocpuCount }},
{{ recoStoragePercentage }},
{{ sparseStoragePercentage }},
'{{ sshPublicKeys }}' /* required */,
'{{ systemVersion }}',
'{{ timeZone }}',
'{{ vmBackupStorageType }}',
'{{ vmClusterNetworkId }}' /* required */,
'{{ vmFileSystemStorageType }}',
'{{ region }}',
'{{ opc-retry-token }}',
'{{ opc-request-id }}'
RETURNING
id,
availabilityDomain,
compartmentId,
computeModel,
cpusEnabled,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
exadataInfrastructureId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastPatchHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
memorySizeInGBs,
ocpusEnabled,
recoStoragePercentage,
shape,
sparseStoragePercentage,
sshPublicKeys,
systemTags,
systemVersion,
timeCreated,
timeZone,
vmBackupStorageType,
vmClusterNetworkId,
vmFileSystemStorageType
;
# Description fields are for documentation purposes
- name: vm_clusters
props:
- name: region
value: "{{ region }}"
description: Required parameter for the vm_clusters resource.
- name: compartmentId
value: "{{ compartmentId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment.
- name: cpuCoreCount
value: {{ cpuCoreCount }}
description: |
The number of ECPUs (X11M and higher) or number of OCPUs (X10M and earlier) to enable for the VM cluster.
- 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: dataStorageSizeInGBs
value: {{ dataStorageSizeInGBs }}
description: |
The data disk group size to be allocated in GBs.
- 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 server.
- 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 VM cluster. The name does not need to be unique.
- name: exadataInfrastructureId
value: "{{ exadataInfrastructureId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure.
- 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: |
The Oracle Grid Infrastructure software version for the VM cluster.
- name: isLocalBackupEnabled
value: {{ isLocalBackupEnabled }}
description: |
If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster.
- name: isSparseDiskgroupEnabled
value: {{ isSparseDiskgroupEnabled }}
description: |
If true, the sparse disk group is configured for the VM cluster. If false, the sparse disk group is not created.
- name: licenseModel
value: "{{ licenseModel }}"
description: |
The Oracle license model that applies to the 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: ocpuCount
value: {{ ocpuCount }}
description: |
The number of OCPU cores to enable for the VM cluster. Only one decimal place is allowed for the fractional part.
- 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: 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 VM cluster.
- name: systemVersion
value: "{{ systemVersion }}"
description: |
Operating system version of the image.
- name: timeZone
value: "{{ timeZone }}"
description: |
The time zone to use for the VM cluster. For details, see [DB System 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: vmClusterNetworkId
value: "{{ vmClusterNetworkId }}"
description: |
The [OCID](/Content/General/Concepts/identifiers.htm) of the VM cluster network.
- 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 VM cluster. Applies to Exadata Cloud@Customer instances only.<br />
UPDATE oci.database.vm_clusters
SET
cpuCoreCount = {{ cpuCoreCount }},
dataCollectionOptions = '{{ dataCollectionOptions }}',
dataStoragePercentage = {{ dataStoragePercentage }},
dataStorageSizeInGBs = {{ dataStorageSizeInGBs }},
dataStorageSizeInTBs = {{ dataStorageSizeInTBs }},
dbNodeStorageSizeInGBs = {{ dbNodeStorageSizeInGBs }},
definedTags = '{{ definedTags }}',
fileSystemConfigurationDetails = '{{ fileSystemConfigurationDetails }}',
freeformTags = '{{ freeformTags }}',
isLocalBackupEnabled = {{ isLocalBackupEnabled }},
isSparseDiskgroupEnabled = {{ isSparseDiskgroupEnabled }},
licenseModel = '{{ licenseModel }}',
memorySizeInGBs = {{ memorySizeInGBs }},
ocpuCount = {{ ocpuCount }},
recoStoragePercentage = {{ recoStoragePercentage }},
sparseStoragePercentage = {{ sparseStoragePercentage }},
sshPublicKeys = '{{ sshPublicKeys }}',
updateDetails = '{{ updateDetails }}',
version = '{{ version }}',
vmBackupStorageType = '{{ vmBackupStorageType }}'
WHERE
vmClusterId = '{{ vmClusterId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match}}'
AND opc-request-id = '{{ opc-request-id}}'
RETURNING
id,
availabilityDomain,
compartmentId,
computeModel,
cpusEnabled,
dataCollectionOptions,
dataStoragePercentage,
dataStorageSizeInGBs,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
definedTags,
displayName,
exadataInfrastructureId,
fileSystemConfigurationDetails,
freeformTags,
giSoftwareImageId,
giVersion,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
lastPatchHistoryEntryId,
licenseModel,
lifecycleDetails,
lifecycleState,
memorySizeInGBs,
ocpusEnabled,
recoStoragePercentage,
shape,
sparseStoragePercentage,
sshPublicKeys,
systemTags,
systemVersion,
timeCreated,
timeZone,
vmBackupStorageType,
vmClusterNetworkId,
vmFileSystemStorageType;
DELETE examples​
- delete
Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only.<br />
DELETE FROM oci.database.vm_clusters
WHERE vmClusterId = '{{ vmClusterId }}' --required
AND region = '{{ region }}' --required
AND if-match = '{{ if-match }}'
AND opc-request-id = '{{ opc-request-id }}'
;
Lifecycle Methods​
- add_virtual_machine_to_vm_cluster
- change_compartment
- remove_virtual_machine_from_vm_cluster
Add Virtual Machines to the VM cluster. Applies to Exadata Cloud@Customer instances only.<br />
EXEC oci.database.vm_clusters.add_virtual_machine_to_vm_cluster
@vmClusterId='{{ vmClusterId }}' --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 VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only.<br />To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the [ChangeCloudVmClusterCompartment ](#/en/database/latest/CloudVmCluster/ChangeCloudVmClusterCompartment) operation.<br />
EXEC oci.database.vm_clusters.change_compartment
@vmClusterId='{{ vmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"compartmentId": "{{ compartmentId }}"
}'
;
Remove Virtual Machines from the VM cluster. Applies to Exadata Cloud@Customer instances only.<br />
EXEC oci.database.vm_clusters.remove_virtual_machine_from_vm_cluster
@vmClusterId='{{ vmClusterId }}' --required,
@region='{{ region }}' --required,
@opc-retry-token='{{ opc-retry-token }}',
@opc-request-id='{{ opc-request-id }}',
@if-match='{{ if-match }}'
@@json=
'{
"dbServers": "{{ dbServers }}"
}'
;