ClusterProps
Properties for defining a Cluster
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ehpc-cluster
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ehpc;
new ClusterProps {
object EcsOrderComputeCount,
object EcsOrderComputeInstanceType,
object EcsOrderLoginCount,
object EcsOrderLoginInstanceType,
object EcsOrderManagerInstanceType,
object Name,
object OsTag,
object VSwitchId,
object AccountType = null,
object AdditionalVolumes = null,
object Application = null,
object AutoRenew = null,
object AutoRenewPeriod = null,
object ClientVersion = null,
object ComputeEnableHt = null,
object ComputeSpotPriceLimit = null,
object ComputeSpotStrategy = null,
object DeployMode = null,
object Description = null,
object EcsChargeType = null,
object EcsOrderManagerCount = null,
object EhpcVersion = null,
object HaEnable = null,
object ImageId = null,
object ImageOwnerAlias = null,
object InputFileUrl = null,
object IsComputeEss = null,
object JobQueue = null,
object KeyPairName = null,
object NetworkInterfaceTrafficMode = null,
object Password = null,
object Period = null,
object PeriodUnit = null,
object PostInstallScript = null,
object RamNodeTypes = null,
object RamRoleName = null,
object RemoteDirectory = null,
object RemoteVisEnable = null,
object ResourceGroupId = null,
object SccClusterId = null,
object SchedulerType = null,
object SecurityGroupId = null,
object SecurityGroupName = null,
object SystemDiskLevel = null,
object SystemDiskSize = null,
object SystemDiskType = null,
object VolumeId = null,
object VolumeMountpoint = null,
object VolumeProtocol = null,
object VolumeType = null,
object VpcId = null,
object WithoutElasticIp = null,
object ZoneId = null
};
Properties
Name | Type | Description |
---|---|---|
EcsOrderComputeCount |
object |
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99. |
EcsOrderComputeInstanceType |
object |
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications. |
EcsOrderLoginCount |
object |
Property ecsOrderLoginCount: Login node number can only be 1. |
EcsOrderLoginInstanceType |
object |
Property ecsOrderLoginInstanceType: Log cluster node instance specifications. |
EcsOrderManagerInstanceType |
object |
Property ecsOrderManagerInstanceType: Cluster control node instance specifications. |
Name |
object |
Property name: Cluster name. |
OsTag |
object |
Property osTag: Operating system image tag. |
VSwitchId |
object |
Property vSwitchId: VPC in switch ID. |
AccountType |
object |
Property accountType: The service type of the domain account. |
AdditionalVolumes |
object |
Property additionalVolumes:. |
Application |
object |
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query. |
AutoRenew |
object |
Property autoRenew: true: automatic renewals; |
AutoRenewPeriod |
object |
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True. |
ClientVersion |
object |
Property clientVersion: The version of the E-HPC client. |
ComputeEnableHt |
object |
Property computeEnableHt: Specifies whether the compute nodes support hyper-threading. |
ComputeSpotPriceLimit |
object |
Property computeSpotPriceLimit: Set an example of the highest price per hour, are floating-point values, in the range of the current price range. |
ComputeSpotStrategy |
object |
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo. |
DeployMode |
object |
Property deployMode: The mode in which the cluster is deployed. |
Description |
object |
Property description: Cluster description, 2 to 128 characters. |
EcsChargeType |
object |
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 |
object |
Property ecsOrderManagerCount: Control node number can be 1, 2. |
EhpcVersion |
object |
Property ehpcVersion: The version of E-HPC. |
HaEnable |
object |
Property haEnable: Specifies whether to enable the high availability feature. |
ImageId |
object |
Property imageId: Mirror Id, if ImageType a system, based on the image ID is determined only according OsTag; |
ImageOwnerAlias |
object |
Property imageOwnerAlias: Mirror type: system, self, others or marketplace. |
InputFileUrl |
object |
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket. |
IsComputeEss |
object |
Property isComputeEss: Specifies whether to enable auto scaling. |
JobQueue |
object |
Property jobQueue: The queue to which the compute nodes are added. |
KeyPairName |
object |
Property keyPairName: Key pair name. |
NetworkInterfaceTrafficMode |
object |
Property networkInterfaceTrafficMode: Communication mode of an elastic NIC. |
Password |
object |
Property password: Root password of jump server (login node). |
Period |
object |
Property period: The purchase of long resources, units: week \/ month \/ year. |
PeriodUnit |
object |
Property periodUnit: The purchase of long-resources unit. |
PostInstallScript |
object |
Property postInstallScript:. |
RamNodeTypes |
object |
Property ramNodeTypes: When authorizing instance configuration, the node type to which the RAM role is bound. |
RamRoleName |
object |
Property ramRoleName: The name of the Resource Access Management (RAM) role. |
RemoteDirectory |
object |
Property remoteDirectory: Mount shared storage remote directory. |
RemoteVisEnable |
object |
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC). |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group. |
SccClusterId |
object |
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 |
object |
Property schedulerType: The type of the scheduler. |
SecurityGroupId |
object |
Property securityGroupId: Security group ID. |
SecurityGroupName |
object |
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 |
object |
Property systemDiskLevel: The performance level of the ESSD that is created as the system disk. |
SystemDiskSize |
object |
Property systemDiskSize: The size of the system disk. |
SystemDiskType |
object |
Property systemDiskType: The type of the system disk. |
VolumeId |
object |
Property volumeId: The ID of the file system. |
VolumeMountpoint |
object |
Property volumeMountpoint: The mount target of the file system. |
VolumeProtocol |
object |
Property volumeProtocol: The type of the protocol that is used by the file system. |
VolumeType |
object |
Property volumeType: The type of the shared storage. |
VpcId |
object |
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs. |
WithoutElasticIp |
object |
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP). |
ZoneId |
object |
Property zoneId: Available area ID. |
EcsOrderComputeCount
Required
public object EcsOrderComputeCount { get; set; }
- Type: object
Property ecsOrderComputeCount: Computing node number, which ranges from: 0-99.
EcsOrderComputeInstanceType
Required
public object EcsOrderComputeInstanceType { get; set; }
- Type: object
Property ecsOrderComputeInstanceType: Cluster computing node instance specifications.
EcsOrderLoginCount
Required
public object EcsOrderLoginCount { get; set; }
- Type: object
Property ecsOrderLoginCount: Login node number can only be 1.
EcsOrderLoginInstanceType
Required
public object EcsOrderLoginInstanceType { get; set; }
- Type: object
Property ecsOrderLoginInstanceType: Log cluster node instance specifications.
EcsOrderManagerInstanceType
Required
public object EcsOrderManagerInstanceType { get; set; }
- Type: object
Property ecsOrderManagerInstanceType: Cluster control node instance specifications.
Name
Required
public object Name { get; set; }
- Type: object
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
public object OsTag { get; set; }
- Type: object
Property osTag: Operating system image tag.
You can call ListImages API to query.
VSwitchId
Required
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: VPC in switch ID.
Products currently only supports VPC network.
AccountType
Optional
public object AccountType { get; set; }
- Type: object
Property accountType: The service type of the domain account.
Valid values: nis ldap Default value: nis
AdditionalVolumes
Optional
public object AdditionalVolumes { get; set; }
- Type: object
Property additionalVolumes:.
Application
Optional
public object Application { get; set; }
- Type: object
Property application: Application software tag (SoftwareTag) list, You can call ListSoftwares API to query.
AutoRenew
Optional
public object AutoRenew { get; set; }
- Type: object
Property autoRenew: true: automatic renewals;
false: no automatic renewals.
AutoRenewPeriod
Optional
public object AutoRenewPeriod { get; set; }
- Type: object
Property autoRenewPeriod: Duration of each automatic renewals, AutoRenew take effect when AutoRenew is True.
ClientVersion
Optional
public object ClientVersion { get; set; }
- Type: object
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
public object ComputeEnableHt { get; set; }
- Type: object
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
public object ComputeSpotPriceLimit { get; set; }
- Type: object
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
public object ComputeSpotStrategy { get; set; }
- Type: object
Property computeSpotStrategy: Compute nodes bidding strategy, value NoSpot, SpotWithPriceLimit or SpotAsPriceGo.
DeployMode
Optional
public object DeployMode { get; set; }
- Type: object
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
public object Description { get; set; }
- Type: object
Property description: Cluster description, 2 to 128 characters.
EcsChargeType
Optional
public object EcsChargeType { get; set; }
- Type: object
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
public object EcsOrderManagerCount { get; set; }
- Type: object
Property ecsOrderManagerCount: Control node number can be 1, 2.
EhpcVersion
Optional
public object EhpcVersion { get; set; }
- Type: object
Property ehpcVersion: The version of E-HPC.
By default, the parameter is set to the latest version number.
HaEnable
Optional
public object HaEnable { get; set; }
- Type: object
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
public object ImageId { get; set; }
- Type: object
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
public object ImageOwnerAlias { get; set; }
- Type: object
Property imageOwnerAlias: Mirror type: system, self, others or marketplace.
InputFileUrl
Optional
public object InputFileUrl { get; set; }
- Type: object
Property inputFileUrl: The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
IsComputeEss
Optional
public object IsComputeEss { get; set; }
- Type: object
Property isComputeEss: Specifies whether to enable auto scaling.
Valid values: true: enables auto scaling false: disables auto scaling Default value: false
JobQueue
Optional
public object JobQueue { get; set; }
- Type: object
Property jobQueue: The queue to which the compute nodes are added.
KeyPairName
Optional
public object KeyPairName { get; set; }
- Type: object
Property keyPairName: Key pair name.
NetworkInterfaceTrafficMode
Optional
public object NetworkInterfaceTrafficMode { get; set; }
- Type: object
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
public object Password { get; set; }
- Type: object
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
public object Period { get; set; }
- Type: object
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
public object PeriodUnit { get; set; }
- Type: object
Property periodUnit: The purchase of long-resources unit.
Alternatively value Week / Month / year.
PostInstallScript
Optional
public object PostInstallScript { get; set; }
- Type: object
Property postInstallScript:.
RamNodeTypes
Optional
public object RamNodeTypes { get; set; }
- Type: object
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
public object RamRoleName { get; set; }
- Type: object
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
public object RemoteDirectory { get; set; }
- Type: object
Property remoteDirectory: Mount shared storage remote directory.
The final path to the mount point and mount the remote directory composition: NasMountpoint: / RemoteDirectory
RemoteVisEnable
Optional
public object RemoteVisEnable { get; set; }
- Type: object
Property remoteVisEnable: Specifies whether to enable Virtual Network Computing (VNC).
Valid values: true: enables VNC false: disables VNC Default value: false
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
You can call the ListResourceGroups operation to obtain the ID of the resource group.
SccClusterId
Optional
public object SccClusterId { get; set; }
- Type: object
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
public object SchedulerType { get; set; }
- Type: object
Property schedulerType: The type of the scheduler.
Valid values: pbs slurm opengridscheduler deadline Default value: pbs
SecurityGroupId
Optional
public object SecurityGroupId { get; set; }
- Type: object
Property securityGroupId: Security group ID.
SecurityGroupName
Optional
public object SecurityGroupName { get; set; }
- Type: object
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
public object SystemDiskLevel { get; set; }
- Type: object
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
public object SystemDiskSize { get; set; }
- Type: object
Property systemDiskSize: The size of the system disk.
Unit: GB Valid values: 40 to 500 Default value: 40
SystemDiskType
Optional
public object SystemDiskType { get; set; }
- Type: object
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
public object VolumeId { get; set; }
- Type: object
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
public object VolumeMountpoint { get; set; }
- Type: object
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
public object VolumeProtocol { get; set; }
- Type: object
Property volumeProtocol: The type of the protocol that is used by the file system.
Valid values: nfs smb Default value: nfs
VolumeType
Optional
public object VolumeType { get; set; }
- Type: object
Property volumeType: The type of the shared storage.
Only Apsara File Storage nas file systems are supported.
VpcId
Optional
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the virtual private cloud (VPC) to which the E-HPC cluster belongs.
WithoutElasticIp
Optional
public object WithoutElasticIp { get; set; }
- Type: object
Property withoutElasticIp: Specifies whether the logon node uses an elastic IP address (EIP).
Default value: false
ZoneId
Optional
public object ZoneId { get; set; }
- Type: object
Property zoneId: Available area ID.