Scheduling
section
(Required) Defines the job scheduler to be used in the cluster along with characteristics of the compute instances managed by the job scheduler. The two job schedulers that can be used are Slurm and AWS Batch, each of which support distinct settings and properties.
Scheduling: Scheduler: slurm SlurmSettings: ScaledownIdletime:
integer
QueueUpdateStrategy:string
EnableMemoryBasedScheduling:integer
Dns: DisableManagedDns:boolean
HostedZoneId:string
UseEc2Hostnames:string
SlurmQueues: - Name:string
ComputeSettings: LocalStorage: RootVolume: Size:integer
Encrypted:boolean
VolumeType:string
Iops:integer
Throughput:string
EphemeralVolume: MountDir:string
CapacityType:string
Networking: SubnetIds: -string
AssignPublicIp:boolean
SecurityGroups: -string
AdditionalSecurityGroups: -string
PlacementGroup: Enabled:boolean
Id:string
Proxy: HttpProxyAddress:string
ComputeResources: - Name:string
InstanceType:string
MinCount:integer
MaxCount:integer
SpotPrice:float
DisableSimultaneousMultithreading:boolean
SchedulableMemory:integer
Efa: Enabled:boolean
GdrSupport:boolean
CustomActions: OnNodeStart: Script:string
Args: -string
OnNodeConfigured: Script:string
Args: -string
Iam: InstanceProfile:string
InstanceRole:string
S3Access: - BucketName:string
EnableWriteAccess:boolean
KeyName:string
AdditionalIamPolicies: - Policy:string
Image: CustomAmi:string
Scheduling: Scheduler: awsbatch AwsBatchQueues: - Name:
string
CapacityType:string
Networking: SubnetIds: -string
AssignPublicIp:boolean
SecurityGroups: -string
AdditionalSecurityGroups: -string
ComputeResources: # this maps to a Batch compute environment (initially we support only 1) - Name:string
InstanceTypes: -string
MinvCpus:integer
DesiredvCpus:integer
MaxvCpus:integer
SpotBidPercentage:float
Scheduling
Properties
Scheduler
(Required,String
)-
Specifies the scheduler used. Supported values are
slurm
andawsbatch
.Update policy: If this setting is changed, the update is not allowed.
AwsBatchQueues
(Optional) Settings for the AWS Batch queue. Only one queue is supported. This
section is required when Scheduler is
awsbatch
. For more information about the awsbatch
scheduler, see networking setup and AWS Batch (awsbatch).
AwsBatchQueues: - Name:
string
CapacityType:string
Networking: SubnetIds: -string
AssignPublicIp:boolean
SecurityGroups: -string
AdditionalSecurityGroups: -string
ComputeResources: # this maps to a Batch compute environment (initially we support only 1) - Name:string
InstanceTypes: -string
MinvCpus:integer
DesiredvCpus:integer
MaxvCpus:integer
SpotBidPercentage:float
Update policy: This setting can be changed during an update.
AwsBatchQueues
Properties
Name
(Required,String
)-
The name of the AWS Batch queue.
Update policy: If this setting is changed, the update is not allowed.
CapacityType
(Optional,String
)-
The type of the compute resources used in the AWS Batch queue. Supported values are
ONDEMAND
orSPOT
. The default value isONDEMAND
.Note When
CapacityType
is set toSPOT
, there must be anAWSServiceRoleForEC2Spot
service-linked role in your account. You can create this role with the following AWS CLI command:$
aws iam create-service-linked-role --aws-service-name spot.amazonaws.comFor more information, see Service-linked role for Spot Instance requests in the Amazon EC2 User Guide for Linux Instances.
Update policy: The compute fleet must be stopped for this setting to be changed for an update.
Networking
(Required) Defines the networking configuration for the AWS Batch queue.
Networking: SubnetIds: -
string
AssignPublicIp:boolean
SecurityGroups: -string
AdditionalSecurityGroups: -string
Networking
Properties
SubnetIds
(Required,[String]
)-
Specifies the ID of an existing subnet in which to provision the AWS Batch queue. Currently only one subnet is supported.
Update policy: The compute fleet must be stopped for this setting to be changed for an update.
AssignPublicIp
(Optional,String
)-
Creates or assigns a public IP address to the nodes in the AWS Batch queue. Supported values are
true
andfalse
. The default depends on the subnet specified.Update policy: If this setting is changed, the update is not allowed.
SecurityGroups
(Optional,[String]
)-
List of security groups to use for the AWS Batch queue. If no security groups are specified, AWS ParallelCluster will create new ones.
Update policy: This setting can be changed during an update.
AdditionalSecurityGroups
(Optional,[String]
)-
List of security groups to use for the AWS Batch queue.
Update policy: This setting can be changed during an update.
ComputeResources
(Required) Defines the ComputeResources configuration for the AWS Batch queue.
ComputeResources: # this maps to a Batch compute environment (initially we support only 1) - Name:
string
InstanceTypes: -string
MinvCpus:integer
DesiredvCpus:integer
MaxvCpus:integer
SpotBidPercentage:float
ComputeResources
Properties
Name
(Required,String
)-
Name for the compute environment for the AWS Batch queue.
Update policy: The compute fleet must be stopped for this setting to be changed for an update.
InstanceTypes
(Required,[String]
)-
Array of instance types to include in this AWS Batch compute environment. All of the instance types must use the
x86_64
architecture.Update policy: The compute fleet must be stopped for this setting to be changed for an update.
MinvCpus
(Optional,Integer
)-
The minimum number of VCPUs for the AWS Batch compute environment.
Update policy: This setting can be changed during an update.
DesiredVcpus
(Optional,Integer
)-
The desired number of VCPUs in the AWS Batch compute environment. AWS Batch will adjust this value between
MinvCpus
andMaxvCpus
, based on the demand in the job queue.Update policy: This setting is not analyzed during an update.
MaxvCpus
(Optional,Integer
)-
The maximum number of VCPUs for the AWS Batch compute environment. This can not be set to a lower value than
DesiredVcpus
.Update policy: This setting can't be decreased during an update.
SpotBidPercentage
(Optional,Float
)-
The maximum percentage that an EC2 Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. The default value is
100
(100%). The supported range is1
-100
.Update policy: This setting can be changed during an update.
SlurmQueues
(Optional) Settings for the Slurm queue. This section is required when
Scheduler is slurm
.
SlurmQueues: - Name:
string
ComputeSettings: LocalStorage: RootVolume: Size:integer
Encrypted:boolean
VolumeType:string
Iops:integer
Throughput:string
EphemeralVolume: MountDir:string
CapacityType:string
Networking: SubnetIds: -string
AssignPublicIp:boolean
SecurityGroups: -string
AdditionalSecurityGroups: -string
PlacementGroup: Enabled:boolean
Id:string
Proxy: HttpProxyAddress:string
ComputeResources: - Name:string
InstanceType:string
MinCount:integer
MaxCount:integer
SpotPrice:float
DisableSimultaneousMultithreading:boolean
SchedulableMemory:integer
Efa: Enabled:boolean
GdrSupport:boolean
CustomActions: OnNodeStart: Script:string
Args: -string
OnNodeConfigured: Script:string
Args: -string
Iam: InstanceProfile:string
InstanceRole:string
S3Access: - BucketName:string
EnableWriteAccess:boolean
KeyName:string
AdditionalIamPolicies: - Policy:string
Image: CustomAmi:string
SlurmQueues
Properties
Name
(Required,String
)-
The name of the Slurm queue.
Update policy: If this setting is changed, the update is not allowed.
CapacityType
(Optional,String
)-
The type of the compute resources used in the Slurm queue. Supported values are
ONDEMAND
orSPOT
. The default value isONDEMAND
.Note When
CapacityType
is set toSPOT
, there must be anAWSServiceRoleForEC2Spot
service-linked role in your account. You can create this role with the following AWS CLI command:$
aws iam create-service-linked-role --aws-service-name spot.amazonaws.comFor more information, see Service-linked role for Spot Instance requests in the Amazon EC2 User Guide for Linux Instances.
Networking
(Required) Defines the networking configuration for the Slurm queue.
Networking: SubnetIds: -
string
AssignPublicIp:boolean
SecurityGroups: -string
AdditionalSecurityGroups: -string
PlacementGroup: Enabled:boolean
Id:string
Proxy: HttpProxyAddress:string
Networking
Properties
SubnetIds
(Required,[String]
)-
Specifies the IDs of existing subnets in which to provision the Slurm queue. Currently only one subnet is supported.
AssignPublicIp
(Optional,String
)-
Creates or assigns a public IP address to the nodes in the Slurm queue. Supported values are
true
andfalse
. The default depends on the subnet specified; a subnet with public IPs will default to assigning public IP addresses.If you define a p4d instance type or another instance type that has multiple network interfaces or a network interface card, you must set HeadNode / Networking / ElasticIp to
true
to provide public access. AWS public IPs can only be assigned to instances launched with a single network interface. For this case, we recommend that you use a NAT gateway to provide public access to the cluster compute nodes. In this case, setAssignPublicIp
tofalse
. For more information on IP addresses, see Assign a public IPv4 address during instance launch in the Amazon EC2 User Guide for Linux Instances.Update policy: If this setting is changed, the update is not allowed.
SecurityGroups
(Optional,[String]
)-
List of security groups to use for the Slurm queue. If no security groups are specified, AWS ParallelCluster will create new ones.
Verify that the security groups are configured correctly for your SharedStorage systems.
Warning If you're enabling Efa for your compute instances, ensure that your EFA-enabled instances are members of a security group that allows all inbound and outbound traffic to itself.
Update policy: This setting can be changed during an update.
AdditionalSecurityGroups
(Optional,[String]
)-
List of additional security groups to use for the Slurm queue.
Update policy: This setting can be changed during an update.
PlacementGroup
(Optional)-
Specifies the placement group settings for the Slurm queue.
PlacementGroup: Enabled:
boolean
Id:string
Enabled
(Optional,Boolean
)-
Indicates whether a placement group is used for the Slurm queue. If this is not specified, the default value is
false
. Id
(Optional,String
)-
The placement group name for an existing cluster placement group used for the Slurm queue. Make sure you provide the placement group name and not the ID. If this is not specified, AWS ParallelCluster creates a new cluster placement group for each queue.
Proxy
(Optional)-
Specifies the proxy settings for the Slurm queue.
Proxy: HttpProxyAddress:
string
Image
(Optional) Specifies the image to use for the Slurm queue. To use the same AMI for all nodes, use the CustomAmi setting in the Image section.
Image: CustomAmi:
string
Image
Properties
CustomAmi
(Optional,String
)-
The AMI to use for the Slurm queue instead of the default AMIs. You can use the pcluster CLI command to view a list of the default AMIs.
pcluster list-official-images
If the custom AMI requires additional permissions for its launch, these permissions must be added to the head node policy.
For example, if a custom AMI has an encrypted snapshot associated with it, the following additional policies are required in the head node policies:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "kms:DescribeKey", "kms:ReEncrypt*", "kms:CreateGrant", "kms:Decrypt" ], "Resource": [ "arn:aws:kms:
<AWS_REGION>
:<AWS_ACCOUNT_ID>
:key/<AWS_KMS_KEY_ID>
" ] } ] }To troubleshoot custom AMI validation warnings, see Troubleshooting custom AMI issues.
ComputeResources
(Required) Defines the ComputeResources
configuration for the
Slurm queue.
ComputeResources: - Name:
string
InstanceType:string
MinCount:integer
MaxCount:integer
SpotPrice:float
DisableSimultaneousMultithreading:boolean
SchedulableMemory:integer
Efa: Enabled:boolean
GdrSupport:boolean
ComputeResources
Properties
Name
(Required,String
)-
Name for the compute environment for the Slurm queue.
Update policy: If this setting is changed, the update is not allowed.
InstanceType
(Required,String
)-
The instance type to use in this Slurm compute resource. All of the instance types in a cluster must use the same processor architecture, either
x86_64
orarm64
.If you define a p4d instance type or another instance type that has multiple network interfaces or a network interface card, you must set HeadNode / Networking / ElasticIp to
true
to provide public access. AWS public IPs can only be assigned to instances launched with a single network interface. For this case, we recommend that you use a NAT gateway to provide public access to the cluster compute nodes. For more information on IP addresses, see Assign a secondary private IPv4 address.Update policy: The compute fleet must be stopped for this setting to be changed for an update.
MinCount
(Optional,Integer
)-
The minimum number of instances for the Slurm compute resource. The default is 0.
Update policy: The compute fleet must be stopped for this setting to be changed for an update.
MaxCount
(Optional,Integer
)-
The maximum number of instances for the Slurm compute resource. The default is 10.
SpotPrice
(Optional,Float
)-
The maximum price that will be paid for an EC2 Spot Instance before instances are launched. The default value is the On-Demand price.
DisableSimultaneousMultithreading
(Optional,Boolean
)-
If
true
, disables hyperthreading on the nodes in the Slurm queue. The default value isfalse
.Not all instance types can disable hyperthreading. For a list of instance types that support disabling hyperthreading, see CPU cores and threads for each CPU core per instance type in the Amazon EC2 User Guide for Linux Instances.
Update policy: The compute fleet must be stopped for this setting to be changed for an update.
SchedulableMemory
(Optional,Integer
)-
The amount of memory in MiB configured in the Slurm parameter
RealMemory
for the compute nodes of a compute resource. This value is the upper limit for the node memory available to jobs when SlurmSettings / EnableMemoryBasedScheduling is enabled. The default value is 95 percent of the memory listed in Amazon EC2 Instance Typesand returned by the Amazon EC2 API DescribeInstanceTypes. Be sure to convert values given in GiB to MiB. Supported values:
1-EC2Memory
EC2Memory
is the memory (in MiB) that's listed in Amazon EC2 Instance Typesand returned by the Amazon EC2 API DescribeInstanceTypes. Be sure to convert values given in GiB to MiB. This option is most relevant when SlurmSettings / EnableMemoryBasedScheduling is enabled. For more information, see Slurm memory-based scheduling.
Note SchedulableMemory
is supported starting with AWS ParallelCluster version 3.2.0.Starting with version 3.2.0, by default, AWS ParallelCluster configures
RealMemory
for Slurm compute nodes to 95 percent of the memory returned by the Amazon EC2 APIDescribeInstanceTypes
. This configuration is independent of the value ofEnableMemoryBasedScheduling
. Efa
(Optional)-
Specifies the Elastic Fabric Adapter (EFA) settings for the nodes in the Slurm queue.
Efa: Enabled:
boolean
GdrSupport:boolean
Enabled
(Optional,Boolean
)-
Specifies that Elastic Fabric Adapter (EFA) is enabled. To view the list of EC2 instances that support EFA, see Supported instance types in the Amazon EC2 User Guide for Linux Instances. For more information, see Elastic Fabric Adapter. We recommend that you use a cluster SlurmQueues / Networking / PlacementGroup to minimize latencies between instances.
The default value is
false
.Warning If you're defining a custom security group in SecurityGroups, ensure that your EFA-enabled instances are members of a security group that allows all inbound and outbound traffic to itself.
GdrSupport
(Optional,Boolean
)-
(Optional) Starting with AWS ParallelCluster version 3.0.2, this setting has no effect. Elastic Fabric Adapter (EFA) support for GPUDirect RDMA (remote direct memory access) is always enabled if it's supported by the instance type for the Slurm compute resource and the operating system.
Note AWS ParallelCluster version 3.0.0 through 3.0.1: Specifies that support for GPUDirect RDMA is enabled for the Slurm compute resource. Support for GPUDirect RDMA is supported by specific instance types (
p4d.24xlarge
) on specific operating systems (Os isalinux2
,centos7
,ubuntu1804
, orubuntu2004
). The default value is false.
ComputeSettings
(Required) Defines the ComputeSettings
configuration for the
Slurm queue.
ComputeSettings
Properties
Specifies the properties of ComputeSettings
of the nodes in the Slurm queue.
ComputeSettings: LocalStorage: RootVolume: Size:
integer
Encrypted:boolean
VolumeType:string
Iops:integer
Throughput:string
EphemeralVolume: MountDir:string
LocalStorage
(Optional)-
Specifies the properties of
LocalStorage
of the nodes in the Slurm queue.LocalStorage: RootVolume: Size:
integer
Encrypted:boolean
VolumeType:string
Iops:integer
Throughput:string
EphemeralVolume: MountDir:string
RootVolume
(Optional)-
Specifies the details of the root volume of the nodes in the Slurm queue.
RootVolume: Size:
integer
Encrypted:boolean
VolumeType:string
Iops:integer
Throughput:string
Size
(Optional,Integer
)-
Specifies the root volume size in gibibytes (GiB) for the nodes in the Slurm queue. The default size comes from the AMI. Using a different size requires that the AMI supports
growroot
. Encrypted
(Optional,Boolean
)-
If
true
, the root volume of the nodes in the Slurm queue are encrypted. The default value isfalse
. VolumeType
(Optional,String
)-
Specifies the Amazon EBS volume type of the nodes in the Slurm queue. Supported values are
gp2
,gp3
,io1
,io2
,sc1
,st1
, andstandard
. The default value isgp3
.For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances.
Iops
(Optional,Boolean
)-
Defines the number of IOPS for
io1
,io2
, andgp3
type volumes.The default value, supported values, and
volume_iops
tovolume_size
ratio varies byVolumeType
andSize
.VolumeType
=io1
-
Default
Iops
= 100Supported values
Iops
= 100–64000 †Maximum
volume_iops
tovolume_size
ratio = 50 IOPS per GiB. 5000 IOPS requires avolume_size
of at least 100 GiB. VolumeType
=io2
-
Default
Iops
= 100Supported values
Iops
= 100–64000 (256000 forio2
Block Express volumes) †Maximum
Iops
toSize
ratio = 500 IOPS per GiB. 5000 IOPS requires aSize
of at least 10 GiB. VolumeType
=gp3
-
Default
Iops
= 3000Supported values
Iops
= 3000–16000 †Maximum
Iops
toSize
ratio = 500 IOPS per GiB for volumes with IOPS greater than 3000.
† Maximum IOPS is guaranteed only on Instances built on the Nitro System provisioned with more than 32,000 IOPS. Other instances guarantee up to 32,000 IOPS. Older
io1
volumes might not reach full performance unless you modify the volume.io2
Block Express volumes supportvolume_iops
values up to 256000 onR5b
instance types. For more information, seeio2
Block Express volumes in the Amazon EC2 User Guide for Linux Instances. Throughput
(Optional,Integer
)-
Defines the throughput for
gp3
volume types, in MiB/s. This setting is valid only whenVolumeType
isgp3
. The default value is125
. Supported values: 125–1000 MiB/sThe ratio of
Throughput
toIops
can be no more than 0.25. The maximum throughput of 1000 MiB/s requires that theIops
setting is at least 4000.
EphemeralVolume
(Optional,Boolean
)-
Specifies the settings for the ephemeral volume. The ephemeral volume is created by combining all instance store volumes into a single logical volume formatted with the
ext4
file system. The default is/scratch
. If the instance type does not have any instance store volumes then no ephemeral volume will be created. For more information, see Instance store volumes in the Amazon EC2 User Guide for Linux Instances.EphemeralVolume: MountDir:
string
CustomActions
(Optional) Specifies custom scripts to run on the nodes in the Slurm queue.
CustomActions: OnNodeStart: Script:
string
Args: -string
OnNodeConfigured: Script:string
Args: -string
CustomActions
Properties
OnNodeStart
(Optional,String
)-
Specifies a script to run on the nodes in the Slurm queue before any node deployment bootstrap action is started. For more information, see Custom Bootstrap Actions.
OnNodeConfigured
(Optional,String
)-
Specifies a script to run on the nodes in the Slurm queue after all of the node bootstrap actions are complete. For more information, see Custom Bootstrap Actions.
Iam
(Optional) Defines optional IAM settings for the Slurm queue.
Iam: S3Access: - BucketName:
string
EnableWriteAccess:boolean
KeyName:string
AdditionalIamPolicies: - Policy:string
InstanceProfile:string
InstanceRole:string
Update policy: This setting can be changed during an update.
Iam
Properties
InstanceProfile
(Optional,String
)-
Specifies an instance profile to override the default instance role or instance profile for the Slurm queue. You cannot specify both
InstanceProfile
andInstanceRole
. The format isarn:${Partition}:iam::${Account}:instance-profile/${InstanceProfileName}
.If this is specified, the
S3Access
andAdditionalIamPolicies
settings are ignored. We recommend that you useAdditionalIamPolicies
because features added to AWS ParallelCluster often require new permissions.Update policy: The compute fleet must be stopped for this setting to be changed for an update.
InstanceRole
(Optional,String
)-
Specifies an instance role to override the default instance role or instance profile for the Slurm queue. You cannot specify both
InstanceProfile
andInstanceRole
. The format isarn:${Partition}:iam::${Account}:role/${RoleName}
.If this is specified, the
S3Access
andAdditionalIamPolicies
settings are ignored. We recommend that you useAdditionalIamPolicies
because features added to AWS ParallelCluster often require new permissions.Update policy: This setting can be changed during an update.
S3Access
(Optional)-
Specifies a bucket for the Slurm queue. This is used to generate policies to grant the specified access to the bucket in the Slurm queue.
S3Access: - BucketName:
string
EnableWriteAccess:boolean
KeyName:string
Update policy: This setting can be changed during an update.
BucketName
(Required,String
)-
The name of the bucket.
Update policy: This setting can be changed during an update.
KeyName
(Optional,String
)-
The key for the bucket. The default value is
*
.Update policy: This setting can be changed during an update.
EnableWriteAccess
(Optional,Boolean
)-
Indicates whether write access is enabled for the bucket.
Update policy: This setting can be changed during an update.
AdditionalIamPolicies
(Optional)-
Specifies a list of Amazon Resource Names (ARNs) of IAM policies for Amazon EC2. This list is attached to the root role used for the Slurm queue in addition to the permissions required by AWS ParallelCluster.
An IAM policy name and its ARN are different. Names can't be used. If the
InstanceProfile
orInstanceRole
setting is specified, this setting is ignored. We recommend that you useAdditionalIamPolicies
becauseAdditionalIamPolicies
are added to the permissions that AWS ParallelCluster requires, and theInstanceRole
must include all permissions required. The permissions required often change from release to release as features are added.There is no default value.
AdditionalIamPolicies: - Policy:
string
Update policy: This setting can be changed during an update.
Policy
(Required,[String]
)-
List of IAM policies.
Update policy: This setting can be changed during an update.
SlurmSettings
(Optional) Defines the settings for Slurm that apply to the entire cluster.
SlurmSettings: ScaledownIdletime:
integer
QueueUpdateStrategy:string
EnableMemoryBasedScheduling:boolean
Dns: DisableManagedDns:boolean
HostedZoneId:string
UseEc2Hostnames:string
SlurmSettings
Properties
ScaledownIdletime
(Optional,Integer
)-
Defines the amount of time in minutes without a job, after which the Slurm node terminates.
The default value is
10
.Update policy: The compute fleet must be stopped for this setting to be changed for an update.
QueueUpdateStrategy
(Optional,String
)-
Specifies the replacement strategy for the SlurmQueues section parameters that have the following update policy:
The
QueueUpdateStrategy
value is used only when a cluster update process starts.Valid values:
COMPUTE_FLEET_STOP
|DRAIN
|TERMINATE
Default value:
COMPUTE_FLEET_STOP
DRAIN
-
Nodes in queues with changed parameter values are set to
DRAINING
. Nodes in this state don't accept new jobs and running jobs continue to completion.Once a node becomes
idle
(DRAINED
), if it's a static node, its replaced, and if it's a dynamic node, its terminated. Other nodes in other queues without changed parameter values aren't impacted.The time this strategy needs to replace all of the queue nodes with changed parameter values depends on the running workload.
COMPUTE_FLEET_STOP
-
The default value of the
QueueUpdateStrategy
parameter. With this setting, updating parameters under the SlurmQueues section requires you to stop the compute fleet before performing a cluster update:$
pcluster update-compute-fleet --status STOP_REQUESTED
TERMINATE
-
In queues with changed parameter values, running jobs are terminated and the nodes are powered down immediately.
Static nodes are replaced and dynamic nodes are terminated.
Other nodes in other queues without changed parameter values aren't impacted.
Update policy: This setting is not analyzed during an update.
Note QueueUpdateStrategy
is supported starting with AWS ParallelCluster version 3.2.0. EnableMemoryBasedScheduling
(Optional,Boolean
)-
If
true
, memory-based scheduling is enabled in Slurm. For more information, see SlurmQueues / ComputeResources / SchedulableMemory.The default value is
false
.Warning Enabling memory-based scheduling impacts the way the Slurm scheduler handles jobs and node allocation.
For more information, see Slurm memory-based scheduling.
Note EnableMemoryBasedScheduling
is supported starting with AWS ParallelCluster version 3.2.0.Update policy: The compute fleet must be stopped for this setting to be changed for an update.
Dns
(Optional) Defines the settings for Slurm that apply to the entire cluster.
Dns: DisableManagedDns:
boolean
HostedZoneId:string
UseEc2Hostnames:string
Dns
Properties
DisableManagedDns
(Optional,Boolean
)-
If
true
, the DNS entries for the cluster shouldn't be created. By default, AWS ParallelCluster creates a Route 53 hosted zone. The default value isfalse
. IfDisableManagedDns
is set totrue
, the hosted zone isn't created by AWS ParallelCluster.Warning A name resolution system is required for the cluster to operate properly. If
DisableManagedDns
is set totrue
, an additional name resolution system must also be provided.Update policy: If this setting is changed, the update is not allowed.
HostedZoneId
(Optional,String
)-
Defines a custom Route 53 hosted zone id to use for DNS name resolution for the cluster.
Update policy: If this setting is changed, the update is not allowed.
UseEc2Hostnames
(Optional,String
)-
Specifies the use of default EC2 hostnames.
Note When
UseEc2Hostnames
is set totrue
, the Slurm configuration file is set with the AWS ParallelClusterprolog
andepilog
scripts:-
prolog
runs to add nodes info to/etc/hosts
on compute nodes when each job is allocated. -
epilog
runs to clean contents written byprolog
.
To add custom
prolog
orepilog
scripts, add them to the/opt/slurm/etc/pcluster/prolog.d/
or/opt/slurm/etc/pcluster/epilog.d/
folders respectively.Update policy: If this setting is changed, the update is not allowed.
-