ClusterProps
Properties for defining a Cluster
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ehpc-cluster
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkehpc"
&alicloudroscdkehpc.ClusterProps {
EcsOrderComputeCount: interface{},
EcsOrderComputeInstanceType: interface{},
EcsOrderLoginCount: interface{},
EcsOrderLoginInstanceType: interface{},
EcsOrderManagerInstanceType: interface{},
Name: interface{},
OsTag: interface{},
VSwitchId: interface{},
AccountType: interface{},
AdditionalVolumes: interface{},
Application: interface{},
AutoRenew: interface{},
AutoRenewPeriod: interface{},
ClientVersion: interface{},
ComputeEnableHt: interface{},
ComputeSpotPriceLimit: interface{},
ComputeSpotStrategy: interface{},
DeployMode: interface{},
Description: interface{},
EcsChargeType: interface{},
EcsOrderManagerCount: interface{},
EhpcVersion: interface{},
HaEnable: interface{},
ImageId: interface{},
ImageOwnerAlias: interface{},
InputFileUrl: interface{},
IsComputeEss: interface{},
JobQueue: interface{},
KeyPairName: interface{},
NetworkInterfaceTrafficMode: interface{},
Password: interface{},
Period: interface{},
PeriodUnit: interface{},
PostInstallScript: interface{},
RamNodeTypes: interface{},
RamRoleName: interface{},
RemoteDirectory: interface{},
RemoteVisEnable: interface{},
ResourceGroupId: interface{},
SccClusterId: interface{},
SchedulerType: interface{},
SecurityGroupId: interface{},
SecurityGroupName: interface{},
SystemDiskLevel: interface{},
SystemDiskSize: interface{},
SystemDiskType: interface{},
VolumeId: interface{},
VolumeMountpoint: interface{},
VolumeProtocol: interface{},
VolumeType: interface{},
VpcId: interface{},
WithoutElasticIp: interface{},
ZoneId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
EcsOrderComputeCount |
interface{} |
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99. |
EcsOrderComputeInstanceType |
interface{} |
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications. |
EcsOrderLoginCount |
interface{} |
Property ecsOrderLoginCount: Login node number can only be 1. |
EcsOrderLoginInstanceType |
interface{} |
Property ecsOrderLoginInstanceType: Log cluster node instance specifications. |
EcsOrderManagerInstanceType |
interface{} |
Property ecsOrderManagerInstanceType: Cluster control node instance specifications. |
Name |
interface{} |
Property name: Cluster name. |
OsTag |
interface{} |
Property osTag: Operating system image tag. |
VSwitchId |
interface{} |
Property vSwitchId: VPC in switch ID. |
AccountType |
interface{} |
Property accountType: The service type of the domain account. |
AdditionalVolumes |
interface{} |
Property additionalVolumes:. |
Application |
interface{} |
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query. |
AutoRenew |
interface{} |
Property autoRenew: true: automatic renewals; |
AutoRenewPeriod |
interface{} |
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True. |
ClientVersion |
interface{} |
Property clientVersion: The version of the E-HPC client. |
ComputeEnableHt |
interface{} |
Property computeEnableHt: Specifies whether the compute nodes support hyper-threading. |
ComputeSpotPriceLimit |
interface{} |
Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range. |
ComputeSpotStrategy |
interface{} |
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo. |
DeployMode |
interface{} |
Property deployMode: The mode in which the cluster is deployed. |
Description |
interface{} |
Property description: Cluster description, 2 to 128 characters. |
EcsChargeType |
interface{} |
Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released. |
EcsOrderManagerCount |
interface{} |
Property ecsOrderManagerCount: Control node number can be 1, 2. |
EhpcVersion |
interface{} |
Property ehpcVersion: The version of E-HPC. |
HaEnable |
interface{} |
Property haEnable: Specifies whether to enable the high availability feature. |
ImageId |
interface{} |
Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag; |
ImageOwnerAlias |
interface{} |
Property imageOwnerAlias: Mirror type: system, self, others or marketplace. |
InputFileUrl |
interface{} |
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket. |
IsComputeEss |
interface{} |
Property isComputeEss: Specifies whether to enable auto scaling. |
JobQueue |
interface{} |
Property jobQueue: The queue to which the compute nodes are added. |
KeyPairName |
interface{} |
Property keyPairName: Key pair name. |
NetworkInterfaceTrafficMode |
interface{} |
Property networkInterfaceTrafficMode: Communication mode of an elastic NIC. |
Password |
interface{} |
Property password: Root password of jump server (login node). |
Period |
interface{} |
Property period: The purchase of long resources, units: week \/ month \/ year. |
PeriodUnit |
interface{} |
Property periodUnit: The purchase of long-resources unit. |
PostInstallScript |
interface{} |
Property postInstallScript:. |
RamNodeTypes |
interface{} |
Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound. |
RamRoleName |
interface{} |
Property ramRoleName: The name of the Resource Access Management (RAM) role. |
RemoteDirectory |
interface{} |
Property remoteDirectory: Mount shared storage remote directory. |
RemoteVisEnable |
interface{} |
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC). |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group. |
SccClusterId |
interface{} |
Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user. |
SchedulerType |
interface{} |
Property schedulerType: The type of the scheduler. |
SecurityGroupId |
interface{} |
Property securityGroupId: Security group ID. |
SecurityGroupName |
interface{} |
Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy. |
SystemDiskLevel |
interface{} |
Property systemDiskLevel: The performance level of the ESSD that is created as the system disk. |
SystemDiskSize |
interface{} |
Property systemDiskSize: The size of the system disk. |
SystemDiskType |
interface{} |
Property systemDiskType: The type of the system disk. |
VolumeId |
interface{} |
Property volumeId: The ID of the file system. |
VolumeMountpoint |
interface{} |
Property volumeMountpoint: The mount target of the file system. |
VolumeProtocol |
interface{} |
Property volumeProtocol: The type of the protocol that is used by the file system. |
VolumeType |
interface{} |
Property volumeType: The type of the shared storage. |
VpcId |
interface{} |
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs. |
WithoutElasticIp |
interface{} |
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP). |
ZoneId |
interface{} |
Property zoneId: Available area ID. |
EcsOrderComputeCount
Required
EcsOrderComputeCount interface{}
- Type: interface{}
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99.
EcsOrderComputeInstanceType
Required
EcsOrderComputeInstanceType interface{}
- Type: interface{}
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications.
EcsOrderLoginCount
Required
EcsOrderLoginCount interface{}
- Type: interface{}
Property ecsOrderLoginCount: Login node number can only be 1.
EcsOrderLoginInstanceType
Required
EcsOrderLoginInstanceType interface{}
- Type: interface{}
Property ecsOrderLoginInstanceType: Log cluster node instance specifications.
EcsOrderManagerInstanceType
Required
EcsOrderManagerInstanceType interface{}
- Type: interface{}
Property ecsOrderManagerInstanceType: Cluster control node instance specifications.
Name
Required
Name interface{}
- Type: interface{}
Property name: Cluster name.
2-64 characters in length, allowing only include Chinese, letters, numbers, dashes (-) and underscore (_), must begin with a letter or Chinese.
OsTag
Required
OsTag interface{}
- Type: interface{}
Property osTag: Operating system image tag.
You can call ListImages API to query.
VSwitchId
Required
VSwitchId interface{}
- Type: interface{}
Property vSwitchId: VPC in switch ID.
Products currently only supports VPC network.
AccountType
Optional
AccountType interface{}
- Type: interface{}
Property accountType: The service type of the domain account.
Valid values: nis ldap Default value: nis
AdditionalVolumes
Optional
AdditionalVolumes interface{}
- Type: interface{}
Property additionalVolumes:.
Application
Optional
Application interface{}
- Type: interface{}
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query.
AutoRenew
Optional
AutoRenew interface{}
- Type: interface{}
Property autoRenew: true: automatic renewals;
false: no automatic renewals.
AutoRenewPeriod
Optional
AutoRenewPeriod interface{}
- Type: interface{}
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True.
ClientVersion
Optional
ClientVersion interface{}
- Type: interface{}
Property clientVersion: The version of the E-HPC client.
By default, the parameter is set to the latest version number. You can call the ListCurrentClientVersion operation to query the current version of the E-HPC client.
ComputeEnableHt
Optional
ComputeEnableHt interface{}
- Type: interface{}
Property computeEnableHt: Specifies whether the compute nodes support hyper-threading.
Valid values: true: Hyper-threading is supported. false: Hyper-threading is not supported. Default value: true
ComputeSpotPriceLimit
Optional
ComputeSpotPriceLimit interface{}
- Type: interface{}
Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range.
ComputeSpotStrategy
Optional
ComputeSpotStrategy interface{}
- Type: interface{}
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo.
DeployMode
Optional
DeployMode interface{}
- Type: interface{}
Property deployMode: The mode in which the cluster is deployed.
Valid values: Standard: An account node, a scheduling node, a logon node, and multiple compute nodes are separately deployed. Simple: A management node, a logon node, and multiple compute nodes are deployed. The management node consists of an account node and a scheduling node. The logon node and compute nodes are separately deployed. Tiny: A management node and multiple compute nodes are deployed. The management node consists of an account node, a scheduling node, and a logon node. The compute nodes are separately deployed. Default value: Standard
Description
Optional
Description interface{}
- Type: interface{}
Property description: Cluster description, 2 to 128 characters.
EcsChargeType
Optional
EcsChargeType interface{}
- Type: interface{}
Property ecsChargeType: ECS instance payment type, PostPaid: Pay-As-You-Go.PrePaid: Subscription.If you choose PrePaid, automatic renewal will be enabled by default, and closed when node is released.
EcsOrderManagerCount
Optional
EcsOrderManagerCount interface{}
- Type: interface{}
Property ecsOrderManagerCount: Control node number can be 1, 2.
EhpcVersion
Optional
EhpcVersion interface{}
- Type: interface{}
Property ehpcVersion: The version of E-HPC.
By default, the parameter is set to the latest version number.
HaEnable
Optional
HaEnable interface{}
- Type: interface{}
Property haEnable: Specifies whether to enable the high availability feature.
Valid values: true: enables the high availability feature false: disables the high availability feature Default value: false Note If high availability is enabled, primary management nodes and secondary management nodes are used.
ImageId
Optional
ImageId interface{}
- Type: interface{}
Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag;
if self, others, or marketplace, ImageId is mandatory.
ImageOwnerAlias
Optional
ImageOwnerAlias interface{}
- Type: interface{}
Property imageOwnerAlias: Mirror type: system, self, others or marketplace.
InputFileUrl
Optional
InputFileUrl interface{}
- Type: interface{}
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
IsComputeEss
Optional
IsComputeEss interface{}
- Type: interface{}
Property isComputeEss: Specifies whether to enable auto scaling.
Valid values: true: enables auto scaling false: disables auto scaling Default value: false
JobQueue
Optional
JobQueue interface{}
- Type: interface{}
Property jobQueue: The queue to which the compute nodes are added.
KeyPairName
Optional
KeyPairName interface{}
- Type: interface{}
Property keyPairName: Key pair name.
NetworkInterfaceTrafficMode
Optional
NetworkInterfaceTrafficMode interface{}
- Type: interface{}
Property networkInterfaceTrafficMode: Communication mode of an elastic NIC.
Value values:
- Standard: The TCP communication mode is used.
- HighPerformance: Enables the Elastic RDMA Interface (ERI) and uses the RDMA communication mode.
Password
Optional
Password interface{}
- Type: interface{}
Property password: Root password of jump server (login node).
8 to 30 characters, must contain three (upper and lower case letters, numbers and special symbols). ! Supports the following special characters :() `~ @ # $% ^ & * - + = | {} []:; '<>, / Be sure to use the HTTPS protocol API call to avoid password leaks that may occur.?.
Period
Optional
Period interface{}
- Type: interface{}
Property period: The purchase of long resources, units: week \/ month \/ year.
When the value of the parameter EcsChargeType when PrePaid take effect and for the selected value will be.
PeriodUnit
Optional
PeriodUnit interface{}
- Type: interface{}
Property periodUnit: The purchase of long-resources unit.
Alternatively value Week / Month / year.
PostInstallScript
Optional
PostInstallScript interface{}
- Type: interface{}
Property postInstallScript:.
RamNodeTypes
Optional
RamNodeTypes interface{}
- Type: interface{}
Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound.
When the value of DeployMode is Standard, the value range: scheduler, account, login, compute. When the value of DeployMode is Simple, the value range: manager, login, compute. When the value of DeployMode is Tiny, the value range: manager, compute.
RamRoleName
Optional
RamRoleName interface{}
- Type: interface{}
Property ramRoleName: The name of the Resource Access Management (RAM) role.
You can call the ListRoles operation provided by RAM to query the created RAM roles.
RemoteDirectory
Optional
RemoteDirectory interface{}
- Type: interface{}
Property remoteDirectory: Mount shared storage remote directory.
The final path to the mount point and mount the remote directory composition: NasMountpoint: / RemoteDirectory
RemoteVisEnable
Optional
RemoteVisEnable interface{}
- Type: interface{}
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC).
Valid values: true: enables VNC false: disables VNC Default value: false
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
You can call the ListResourceGroups operation to obtain the ID of the resource group.
SccClusterId
Optional
SccClusterId interface{}
- Type: interface{}
Property sccClusterId: When SCC models, if you pass this field, then the specified SccCluster create Scc instance, otherwise it will create an instance for the user.
SchedulerType
Optional
SchedulerType interface{}
- Type: interface{}
Property schedulerType: The type of the scheduler.
Valid values: pbs slurm opengridscheduler deadline Default value: pbs
SecurityGroupId
Optional
SecurityGroupId interface{}
- Type: interface{}
Property securityGroupId: Security group ID.
SecurityGroupName
Optional
SecurityGroupName interface{}
- Type: interface{}
Property securityGroupName: If you do not use an existing security group (SecurityGroupId is empty), then use this name to create a new security group, the default policy.
Format Requirements Reference ECS security group name.
SystemDiskLevel
Optional
SystemDiskLevel interface{}
- Type: interface{}
Property systemDiskLevel: The performance level of the ESSD that is created as the system disk.
Valid values: PL0: A single ESSD can deliver up to 10,000 input/output operations per second (IOPS) of random read/write. PL1: A single ESSD can deliver up to 50,000 IOPS of random read/write. PL2: A single ESSD can deliver up to 100,000 IOPS of random read/write. PL3: A single ESSD can deliver up to 1,000,000 IOPS of random read/write. Default value: PL1
SystemDiskSize
Optional
SystemDiskSize interface{}
- Type: interface{}
Property systemDiskSize: The size of the system disk.
Unit: GB Valid values: 40 to 500 Default value: 40
SystemDiskType
Optional
SystemDiskType interface{}
- Type: interface{}
Property systemDiskType: The type of the system disk.
Valid values: cloud_efficiency: ultra disk. cloud_ssd: SSD. cloud_essd: ESSD. Default value: cloud_ssd
VolumeId
Optional
VolumeId interface{}
- Type: interface{}
Property volumeId: The ID of the file system.
If you leave the parameter empty, a Performance NAS file system is created by default.
VolumeMountpoint
Optional
VolumeMountpoint interface{}
- Type: interface{}
Property volumeMountpoint: The mount target of the file system.
Take note of the following information: If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
VolumeProtocol
Optional
VolumeProtocol interface{}
- Type: interface{}
Property volumeProtocol: The type of the protocol that is used by the file system.
Valid values: nfs smb Default value: nfs
VolumeType
Optional
VolumeType interface{}
- Type: interface{}
Property volumeType: The type of the shared storage.
Only Apsara File Storage nas file systems are supported.
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs.
WithoutElasticIp
Optional
WithoutElasticIp interface{}
- Type: interface{}
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP).
Default value: false
ZoneId
Optional
ZoneId interface{}
- Type: interface{}
Property zoneId: Available area ID.