cloud_vm_clusters
Creates, updates, deletes, gets or lists a cloud_vm_clusters resource.
Overview
| Name | cloud_vm_clusters |
| Type | Resource |
| Id | aws.odb.cloud_vm_clusters |
Fields
The following fields are returned by SELECT queries:
- get_cloud_vm_cluster
- list_cloud_vm_clusters
| Name | Datatype | Description |
|---|---|---|
cloud_exadata_infrastructure_arn | string | The Amazon Resource Name (ARN) of the Exadata infrastructure that this VM cluster belongs to. (pattern: <code>arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-z0-9-_]{6,64}</code>) |
cloud_exadata_infrastructure_id | string | The unique identifier of the Exadata infrastructure that this VM cluster belongs to. |
cloud_vm_cluster_arn | string | The Amazon Resource Name (ARN) of the VM cluster. |
cloud_vm_cluster_id | string | The unique identifier of the VM cluster. (pattern: <code>[a-zA-Z0-9_~.-]+</code>) |
cluster_name | string | The name of the Grid Infrastructure (GI) cluster. |
compute_model | string | The OCI model compute model used when you create or clone an instance: ECPU or OCPU. An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled. (ECPU, OCPU) |
cpu_core_count | integer | The number of CPU cores enabled on the VM cluster. |
created_at | string (date-time) | The date and time when the VM cluster was created. |
data_collection_options | object | The set of diagnostic collection options enabled for the VM cluster. |
data_storage_size_in_tbs | number (double) | The size of the data disk group, in terabytes (TB), that's allocated for the VM cluster. |
db_node_storage_size_in_gbs | integer | The amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster. |
db_servers | array | The list of database servers for the VM cluster. |
disk_redundancy | string | The type of redundancy configured for the VM cluster. NORMAL is 2-way redundancy. HIGH is 3-way redundancy. (HIGH, NORMAL) |
display_name | string | The user-friendly name for the VM cluster. |
domain | string | The domain of the VM cluster. |
gi_version | string | The software version of the Oracle Grid Infrastructure (GI) for the VM cluster. |
hostname | string | The host name for the VM cluster. |
iam_roles | array | The Amazon Web Services Identity and Access Management (IAM) service roles associated with the VM cluster. |
iorm_config_cache | object | The ExadataIormConfig cache details for the VM cluster. |
is_local_backup_enabled | boolean | Indicates whether database backups to local Exadata storage is enabled for the VM cluster. |
is_sparse_diskgroup_enabled | boolean | Indicates whether the VM cluster is configured with a sparse disk group. |
last_update_history_entry_id | string | The Oracle Cloud ID (OCID) of the last maintenance update history entry. |
license_model | string | The Oracle license model applied to the VM cluster. (BRING_YOUR_OWN_LICENSE, LICENSE_INCLUDED) |
listener_port | integer | The port number configured for the listener on the VM cluster. |
memory_size_in_gbs | integer | The amount of memory, in gigabytes (GB), that's allocated for the VM cluster. |
node_count | integer | The number of nodes in the VM cluster. |
oci_resource_anchor_name | string | The name of the OCI resource anchor for the VM cluster. |
oci_url | string | The HTTPS link to the VM cluster in OCI. |
ocid | string | The OCID of the VM cluster. |
odb_network_arn | string | The Amazon Resource Name (ARN) of the ODB network associated with this VM cluster. (pattern: <code>arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-z0-9-_]{6,64}</code>) |
odb_network_id | string | The unique identifier of the ODB network for the VM cluster. (pattern: <code>(arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-zA-Z0-9_ |
percent_progress | number (float) | The amount of progress made on the current operation on the VM cluster, expressed as a percentage. |
scan_dns_name | string | The fully qualified domain name (FQDN) of the DNS record for the Single Client Access Name (SCAN) IP addresses that are associated with the VM cluster. |
scan_dns_record_id | string | The OCID of the DNS record for the SCAN IP addresses that are associated with the VM cluster. |
scan_ip_ids | array | The OCID of the SCAN IP addresses that are associated with the VM cluster. |
shape | string | The hardware model name of the Exadata infrastructure that's running the VM cluster. |
ssh_public_keys | array | The public key portion of one or more key pairs used for SSH access to the VM cluster. |
status | string | The current status of the VM cluster. (AVAILABLE, FAILED, PROVISIONING, TERMINATED, TERMINATING, UPDATING, MAINTENANCE_IN_PROGRESS) |
status_reason | string | Additional information about the status of the VM cluster. |
storage_size_in_gbs | integer | The amount of local node storage, in gigabytes (GB), that's allocated to the VM cluster. |
system_version | string | The operating system version of the image chosen for the VM cluster. |
time_zone | string | The time zone of the VM cluster. |
vip_ids | array | The virtual IP (VIP) addresses that are associated with the VM cluster. Oracle's Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the VM cluster to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. |
| Name | Datatype | Description |
|---|---|---|
cloud_exadata_infrastructure_arn | string | The Amazon Resource Name (ARN) of the Exadata infrastructure that this VM cluster belongs to. (pattern: <code>arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-z0-9-_]{6,64}</code>) |
cloud_exadata_infrastructure_id | string | The unique identifier of the Exadata infrastructure that this VM cluster belongs to. |
cloud_vm_cluster_arn | string | The Amazon Resource Name (ARN) of the VM cluster. |
cloud_vm_cluster_id | string | The unique identifier of the VM cluster. (pattern: <code>[a-zA-Z0-9_~.-]+</code>) |
cluster_name | string | The name of the Grid Infrastructure (GI) cluster. |
compute_model | string | The OCI model compute model used when you create or clone an instance: ECPU or OCPU. An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled. (ECPU, OCPU) |
cpu_core_count | integer | The number of CPU cores enabled on the VM cluster. |
created_at | string (date-time) | The date and time when the VM cluster was created. |
data_collection_options | object | Information about the data collection options enabled for a VM cluster. |
data_storage_size_in_tbs | number (double) | The size of the data disk group, in terabytes (TB), that's allocated for the VM cluster. |
db_node_storage_size_in_gbs | integer | The amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster. |
db_servers | array | The list of database servers for the VM cluster. |
disk_redundancy | string | The type of redundancy configured for the VM cluster. NORMAL is 2-way redundancy. HIGH is 3-way redundancy. (HIGH, NORMAL) |
display_name | string | The user-friendly name for the VM cluster. |
domain | string | The domain of the VM cluster. |
gi_version | string | The software version of the Oracle Grid Infrastructure (GI) for the VM cluster. |
hostname | string | The host name for the VM cluster. |
iam_roles | array | The Amazon Web Services Identity and Access Management (IAM) service roles associated with the VM cluster in the summary information. |
iorm_config_cache | object | The IORM settings of the Exadata DB system. |
is_local_backup_enabled | boolean | Indicates whether database backups to local Exadata storage is enabled for the VM cluster. |
is_sparse_diskgroup_enabled | boolean | Indicates whether the VM cluster is configured with a sparse disk group. |
last_update_history_entry_id | string | The Oracle Cloud ID (OCID) of the last maintenance update history entry. |
license_model | string | The Oracle license model applied to the VM cluster. (BRING_YOUR_OWN_LICENSE, LICENSE_INCLUDED) |
listener_port | integer | The port number configured for the listener on the VM cluster. |
memory_size_in_gbs | integer | The amount of memory, in gigabytes (GB), that's allocated for the VM cluster. |
node_count | integer | The number of nodes in the VM cluster. |
oci_resource_anchor_name | string | The name of the OCI resource anchor for the VM cluster. |
oci_url | string | The HTTPS link to the VM cluster in OCI. |
ocid | string | The OCID of the VM cluster. |
odb_network_arn | string | The Amazon Resource Name (ARN) of the ODB network associated with this VM cluster. (pattern: <code>arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-z0-9-_]{6,64}</code>) |
odb_network_id | string | The unique identifier of the ODB network for the VM cluster. (pattern: <code>(arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-zA-Z0-9_ |
percent_progress | number (float) | The amount of progress made on the current operation on the VM cluster, expressed as a percentage. |
scan_dns_name | string | The fully qualified domain name (FQDN) of the DNS record for the Single Client Access Name (SCAN) IP addresses that are associated with the VM cluster. |
scan_dns_record_id | string | The OCID of the DNS record for the SCAN IP addresses that are associated with the VM cluster. |
scan_ip_ids | array | The OCID of the SCAN IP addresses that are associated with the VM cluster. |
shape | string | The hardware model name of the Exadata infrastructure that's running the VM cluster. |
ssh_public_keys | array | The public key portion of one or more key pairs used for SSH access to the VM cluster. |
status | string | The current status of the VM cluster. (AVAILABLE, FAILED, PROVISIONING, TERMINATED, TERMINATING, UPDATING, MAINTENANCE_IN_PROGRESS) |
status_reason | string | Additional information about the status of the VM cluster. |
storage_size_in_gbs | integer | The amount of local node storage, in gigabytes (GB), that's allocated to the VM cluster. |
system_version | string | The operating system version of the image chosen for the VM cluster. |
time_zone | string | The time zone of the VM cluster. |
vip_ids | array | The virtual IP (VIP) addresses that are associated with the VM cluster. Oracle's Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the VM cluster to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_cloud_vm_cluster | select | region | Returns information about the specified VM cluster. | |
list_cloud_vm_clusters | select | region | Returns information about the VM clusters owned by your Amazon Web Services account or only the ones on the specified Exadata infrastructure. | |
create_cloud_vm_cluster | insert | region, cloudExadataInfrastructureId, cpuCoreCount, displayName, giVersion, hostname, sshPublicKeys, odbNetworkId | Creates a VM cluster on the specified Exadata infrastructure. | |
delete_cloud_vm_cluster | delete | region | Deletes the specified VM cluster. | |
reboot_db_node | exec | region, dbNodeId | Reboots the specified DB node in a VM cluster. | |
start_db_node | exec | region, dbNodeId | Starts the specified DB node in a VM cluster. | |
stop_db_node | exec | region, dbNodeId | Stops the specified DB node in a VM cluster. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_cloud_vm_cluster
- list_cloud_vm_clusters
Returns information about the specified VM cluster.
SELECT
cloud_exadata_infrastructure_arn,
cloud_exadata_infrastructure_id,
cloud_vm_cluster_arn,
cloud_vm_cluster_id,
cluster_name,
compute_model,
cpu_core_count,
created_at,
data_collection_options,
data_storage_size_in_tbs,
db_node_storage_size_in_gbs,
db_servers,
disk_redundancy,
display_name,
domain,
gi_version,
hostname,
iam_roles,
iorm_config_cache,
is_local_backup_enabled,
is_sparse_diskgroup_enabled,
last_update_history_entry_id,
license_model,
listener_port,
memory_size_in_gbs,
node_count,
oci_resource_anchor_name,
oci_url,
ocid,
odb_network_arn,
odb_network_id,
percent_progress,
scan_dns_name,
scan_dns_record_id,
scan_ip_ids,
shape,
ssh_public_keys,
status,
status_reason,
storage_size_in_gbs,
system_version,
time_zone,
vip_ids
FROM aws.odb.cloud_vm_clusters
WHERE region = '{{ region }}' -- required
;
Returns information about the VM clusters owned by your Amazon Web Services account or only the ones on the specified Exadata infrastructure.
SELECT
cloud_exadata_infrastructure_arn,
cloud_exadata_infrastructure_id,
cloud_vm_cluster_arn,
cloud_vm_cluster_id,
cluster_name,
compute_model,
cpu_core_count,
created_at,
data_collection_options,
data_storage_size_in_tbs,
db_node_storage_size_in_gbs,
db_servers,
disk_redundancy,
display_name,
domain,
gi_version,
hostname,
iam_roles,
iorm_config_cache,
is_local_backup_enabled,
is_sparse_diskgroup_enabled,
last_update_history_entry_id,
license_model,
listener_port,
memory_size_in_gbs,
node_count,
oci_resource_anchor_name,
oci_url,
ocid,
odb_network_arn,
odb_network_id,
percent_progress,
scan_dns_name,
scan_dns_record_id,
scan_ip_ids,
shape,
ssh_public_keys,
status,
status_reason,
storage_size_in_gbs,
system_version,
time_zone,
vip_ids
FROM aws.odb.cloud_vm_clusters
WHERE region = '{{ region }}' -- required
;
INSERT examples
- create_cloud_vm_cluster
- Manifest
Creates a VM cluster on the specified Exadata infrastructure.
INSERT INTO aws.odb.cloud_vm_clusters (
cloudExadataInfrastructureId,
cpuCoreCount,
displayName,
giVersion,
hostname,
sshPublicKeys,
odbNetworkId,
clusterName,
dataCollectionOptions,
dataStorageSizeInTBs,
dbNodeStorageSizeInGBs,
dbServers,
tags,
isLocalBackupEnabled,
isSparseDiskgroupEnabled,
licenseModel,
memorySizeInGBs,
systemVersion,
timeZone,
clientToken,
scanListenerPortTcp,
region
)
SELECT
'{{ cloudExadataInfrastructureId }}' /* required */,
{{ cpuCoreCount }} /* required */,
'{{ displayName }}' /* required */,
'{{ giVersion }}' /* required */,
'{{ hostname }}' /* required */,
'{{ sshPublicKeys }}' /* required */,
'{{ odbNetworkId }}' /* required */,
'{{ clusterName }}',
'{{ dataCollectionOptions }}',
{{ dataStorageSizeInTBs }},
{{ dbNodeStorageSizeInGBs }},
'{{ dbServers }}',
'{{ tags }}',
{{ isLocalBackupEnabled }},
{{ isSparseDiskgroupEnabled }},
'{{ licenseModel }}',
{{ memorySizeInGBs }},
'{{ systemVersion }}',
'{{ timeZone }}',
'{{ clientToken }}',
{{ scanListenerPortTcp }},
'{{ region }}'
RETURNING
cloud_vm_cluster_id,
display_name,
status,
status_reason
;
# 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: cloudExadataInfrastructureId
value: "{{ cloudExadataInfrastructureId }}"
description: |
The unique identifier of the Exadata infrastructure for this VM cluster.
- name: cpuCoreCount
value: {{ cpuCoreCount }}
description: |
The number of CPU cores to enable on the VM cluster.
- name: displayName
value: "{{ displayName }}"
description: |
A user-friendly name for the VM cluster.
- name: giVersion
value: "{{ giVersion }}"
description: |
A valid software version of Oracle Grid Infrastructure (GI). To get the list of valid values, use the ListGiVersions operation and specify the shape of the Exadata infrastructure. Example: 19.0.0.0
- name: hostname
value: "{{ hostname }}"
description: |
The host name for the VM cluster. Constraints: Can't be "localhost" or "hostname". Can't contain "-version". The maximum length of the combined hostname and domain is 63 characters. The hostname must be unique within the subnet.
- name: sshPublicKeys
value:
- "{{ sshPublicKeys }}"
description: |
The public key portion of one or more key pairs used for SSH access to the VM cluster.
- name: odbNetworkId
value: "{{ odbNetworkId }}"
description: |
The unique identifier of the ODB network for the VM cluster.
- name: clusterName
value: "{{ clusterName }}"
description: |
A name for the Grid Infrastructure cluster. The name isn't case sensitive.
- name: dataCollectionOptions
description: |
The set of preferences for the various diagnostic collection options for the VM cluster.
value:
isDiagnosticsEventsEnabled: {{ isDiagnosticsEventsEnabled }}
isHealthMonitoringEnabled: {{ isHealthMonitoringEnabled }}
isIncidentLogsEnabled: {{ isIncidentLogsEnabled }}
- name: dataStorageSizeInTBs
value: {{ dataStorageSizeInTBs }}
description: |
The size of the data disk group, in terabytes (TBs), to allocate for the VM cluster.
- name: dbNodeStorageSizeInGBs
value: {{ dbNodeStorageSizeInGBs }}
description: |
The amount of local node storage, in gigabytes (GB), to allocate for the VM cluster.
- name: dbServers
value:
- "{{ dbServers }}"
description: |
The list of database servers for the VM cluster.
- name: tags
value: "{{ tags }}"
description: |
The list of resource tags to apply to the VM cluster.
- name: isLocalBackupEnabled
value: {{ isLocalBackupEnabled }}
description: |
Specifies whether to enable database backups to local Exadata storage for the VM cluster.
- name: isSparseDiskgroupEnabled
value: {{ isSparseDiskgroupEnabled }}
description: |
Specifies whether to create a sparse disk group for the VM cluster.
- name: licenseModel
value: "{{ licenseModel }}"
description: |
The Oracle license model to apply to the VM cluster. Default: LICENSE_INCLUDED
valid_values: ['BRING_YOUR_OWN_LICENSE', 'LICENSE_INCLUDED']
- name: memorySizeInGBs
value: {{ memorySizeInGBs }}
description: |
The amount of memory, in gigabytes (GB), to allocate for the VM cluster.
- name: systemVersion
value: "{{ systemVersion }}"
description: |
The version of the operating system of the image for the VM cluster.
- name: timeZone
value: "{{ timeZone }}"
description: |
The time zone for the VM cluster. For a list of valid values for time zone, you can check the options in the console. Default: UTC
- name: clientToken
value: "{{ clientToken }}"
description: |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.
- name: scanListenerPortTcp
value: {{ scanListenerPortTcp }}
description: |
The port number for TCP connections to the single client access name (SCAN) listener. Valid values: 1024–8999 with the following exceptions: 2484, 6100, 6200, 7060, 7070, 7085, and 7879 Default: 1521
DELETE examples
- delete_cloud_vm_cluster
Deletes the specified VM cluster.
DELETE FROM aws.odb.cloud_vm_clusters
WHERE region = '{{ region }}' --required
;
Lifecycle Methods
- reboot_db_node
- start_db_node
- stop_db_node
Reboots the specified DB node in a VM cluster.
EXEC aws.odb.cloud_vm_clusters.reboot_db_node
@region='{{ region }}' --required
@@json=
'{
"cloudVmClusterId": "{{ cloudVmClusterId }}",
"exadbVmClusterId": "{{ exadbVmClusterId }}",
"dbNodeId": "{{ dbNodeId }}"
}'
;
Starts the specified DB node in a VM cluster.
EXEC aws.odb.cloud_vm_clusters.start_db_node
@region='{{ region }}' --required
@@json=
'{
"cloudVmClusterId": "{{ cloudVmClusterId }}",
"exadbVmClusterId": "{{ exadbVmClusterId }}",
"dbNodeId": "{{ dbNodeId }}"
}'
;
Stops the specified DB node in a VM cluster.
EXEC aws.odb.cloud_vm_clusters.stop_db_node
@region='{{ region }}' --required
@@json=
'{
"cloudVmClusterId": "{{ cloudVmClusterId }}",
"exadbVmClusterId": "{{ exadbVmClusterId }}",
"dbNodeId": "{{ dbNodeId }}"
}'
;