create_cloud_vm_cluster
async
¶
create_cloud_vm_cluster(
cloud_exadata_infrastructure_id: ResourceIdOrArn,
cpu_core_count: int,
display_name: ResourceDisplayName,
gi_version: str,
hostname: Hostname,
ssh_public_keys: StringList,
odb_network_id: ResourceIdOrArn,
*,
config_overrides: Optional[AsyncodbClientConfig] = None,
exascale_db_storage_vault_id: Optional[ResourceIdOrArn] = None,
vm_file_system_storage_type: Optional[VmStorageType] = None,
vm_backup_storage_type: Optional[VmStorageType] = None,
file_system_configuration_details: Optional[
FileSystemConfigurationDetailsList
] = None,
cluster_name: Optional[ClusterName] = None,
data_collection_options: Optional[DataCollectionOptions] = None,
data_storage_size_in_t_bs: Optional[float] = None,
db_node_storage_size_in_g_bs: Optional[int] = None,
db_servers: Optional[StringList] = None,
tags: Optional[RequestTagMap] = None,
is_local_backup_enabled: Optional[bool] = None,
is_sparse_diskgroup_enabled: Optional[bool] = None,
license_model: Optional[LicenseModel] = None,
memory_size_in_g_bs: Optional[int] = None,
system_version: Optional[str] = None,
time_zone: Optional[str] = None,
client_token: Optional[GeneralInputString] = None,
scan_listener_port_tcp: Optional[int] = None,
) -> CreateCloudVmClusterOutput
Creates a VM cluster on the specified Exadata infrastructure.
Parameters:
-
cloud_exadata_infrastructure_id(ResourceIdOrArn) –The unique identifier of the Exadata infrastructure for this VM cluster.
-
exascale_db_storage_vault_id(Optional[ResourceIdOrArn], default:None) –The unique identifier or Amazon Resource Name (ARN) of the Exascale storage vault to use for the VM cluster. Specify this value to create a VM cluster that uses Exascale storage on dedicated Exadata infrastructure.
-
vm_file_system_storage_type(Optional[VmStorageType], default:None) –The type of storage to use for the VM file systems. Specify
EXASCALEto store the VM file systems in Exascale storage on the storage servers, orLOCALto store them on the database servers. -
vm_backup_storage_type(Optional[VmStorageType], default:None) –The type of storage to use for VM backups. Specify
EXASCALEto store VM backups in Exascale storage on the storage servers, orLOCALto store them on the database servers. -
file_system_configuration_details(Optional[FileSystemConfigurationDetailsList], default:None) –The list of file system configurations for the VM cluster. Each entry specifies the mount point of a file system and its size, in gigabytes (GB).
-
cpu_core_count(int) –The number of CPU cores to enable on the VM cluster.
-
display_name(ResourceDisplayName) –A user-friendly name for the VM cluster.
-
gi_version(str) –A valid software version of Oracle Grid Infrastructure (GI). To get the list of valid values, use the
ListGiVersionsoperation and specify the shape of the Exadata infrastructure.Example:
19.0.0.0 -
hostname(Hostname) –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.
-
-
ssh_public_keys(StringList) –The public key portion of one or more key pairs used for SSH access to the VM cluster.
-
odb_network_id(ResourceIdOrArn) –The unique identifier of the ODB network for the VM cluster.
-
cluster_name(Optional[ClusterName], default:None) –A name for the Grid Infrastructure cluster. The name isn't case sensitive.
-
data_collection_options(Optional[DataCollectionOptions], default:None) –The set of preferences for the various diagnostic collection options for the VM cluster.
-
data_storage_size_in_t_bs(Optional[float], default:None) –The size of the data disk group, in terabytes (TBs), to allocate for the VM cluster.
-
db_node_storage_size_in_g_bs(Optional[int], default:None) –The amount of local node storage, in gigabytes (GB), to allocate for the VM cluster.
-
db_servers(Optional[StringList], default:None) –The list of database servers for the VM cluster.
-
tags(Optional[RequestTagMap], default:None) –The list of resource tags to apply to the VM cluster.
-
is_local_backup_enabled(Optional[bool], default:None) –Specifies whether to enable database backups to local Exadata storage for the VM cluster.
-
is_sparse_diskgroup_enabled(Optional[bool], default:None) –Specifies whether to create a sparse disk group for the VM cluster.
-
license_model(Optional[LicenseModel], default:None) –The Oracle license model to apply to the VM cluster.
Default:
LICENSE_INCLUDED -
memory_size_in_g_bs(Optional[int], default:None) –The amount of memory, in gigabytes (GB), to allocate for the VM cluster.
-
system_version(Optional[str], default:None) –The version of the operating system of the image for the VM cluster.
-
time_zone(Optional[str], default:None) –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
-
client_token(Optional[GeneralInputString], default:None) –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.
-
scan_listener_port_tcp(Optional[int], default:None) –The port number for TCP connections to the single client access name (SCAN) listener.
Valid values:
1024–8999with the following exceptions:2484,6100,6200,7060,7070,7085, and7879Default:
1521
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.
-
ConflictException–Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.
-
InternalServerException–Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.
-
ResourceNotFoundException–The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request has failed validation because it is missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_odb/_services/async_odb.py
4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 | |