You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><strong>Note</strong>: Starting with ParallelCluster 3.10.0, you should use slurm/ParallelClusterConfig/<ahref="#slurmdbd">Slurmdbd</a> instead of slurm/ParallelClusterConfig/Database.
561
+
You cannot have both parameters.</p>
551
562
<p>Configure the Slurm database to use with the cluster.</p>
552
563
<p>This is created independently of the cluster so that the same database can be used with multiple clusters.</p>
553
-
<p>The easiest way to do this is to use the <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/tutorials_07_slurm-accounting-v3.html#slurm-accounting-db-stack-v3">CloudFormation template provided by ParallelCluster</a> and then to just pass
554
-
the name of the stack in <ahref="#databasestackname">DatabaseStackName</a>.
555
-
All of the other parameters will be pulled from the stack.</p>
564
+
<p>See <ahref="../deployment-prerequisites#create-parallelcluster-slurm-database">Create ParallelCluster Slurm Database</a> on the deployment prerequisites page.</p>
565
+
<p>If you used the <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/tutorials_07_slurm-accounting-v3.html#slurm-accounting-db-stack-v3">CloudFormation template provided by ParallelCluster</a>, then the easiest way to configure it is to pass
566
+
the name of the stack in slurm/ParallelClusterConfig/Database/<ahref="#databasestackname">DatabaseStackName</a>.
567
+
All of the other parameters will be pulled from the outputs of the stack.</p>
556
568
<p>See the <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/Scheduling-v3.html#Scheduling-v3-SlurmSettings-Database">ParallelCluster documentation</a>.</p>
557
569
<h5id="databasestackname">DatabaseStackName</h5>
558
570
<p>Name of the ParallelCluster CloudFormation stack that created the database.</p>
<p>Used with the Port to set the <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/Scheduling-v3.html#yaml-Scheduling-SlurmSettings-Database-Uri">Uri</a> of the database.</p>
<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the AdminUserName plaintext password.
579
591
This password is used together with AdminUserName and Slurm accounting to authenticate on the database server.</p>
580
592
<p>Sets the <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/Scheduling-v3.html#yaml-Scheduling-SlurmSettings-Database-PasswordSecretArn">PasswordSecretArn</a> parameter in ParallelCluster.</p>
<p>Security group that has permissions to connect to the database.</p>
583
-
<p>Required to be attached to the head node that is running slurmdbd so that the port connection to the database is allows.</p>
595
+
<p>Required to be attached to the head node that is running slurmdbd so that the port connection to the database is allowed.</p>
596
+
<h4id="slurmdbd">Slurmdbd</h4>
597
+
<p><strong>Note</strong>: This is not supported before ParallelCluster 3.10.0. If you specify this parameter then you cannot specify slurm/ParallelClusterConfig/<ahref="#database">Database</a>.</p>
598
+
<p>Optional</p>
599
+
<p>Configure an external Slurmdbd instance to use with the cluster.
600
+
The Slurmdbd instance provides access to the shared Slurm database.
601
+
This is created independently of the cluster so that the same database can be used with multiple clusters.</p>
602
+
<p>This is created independently of the cluster so that the same slurmdbd instance can be used with multiple clusters.</p>
603
+
<p>See <ahref="../deployment-prerequisites#create-slurmdbd-instance">Create Slurmdbd instance</a> on the deployment prerequisites page.</p>
604
+
<p>If you used the <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/external-slurmdb-accounting.html#external-slurmdb-accounting-step1">CloudFormation template provided by ParallelCluster</a>, then the easiest way to configure it is to pass
605
+
the name of the stack in slurm/ParallelClusterConfig/Database/<ahref="#slurmdbdstackname">SlurmdbdStackName</a>.
606
+
All of the other parameters will be pulled from the parameters and outputs of the stack.</p>
607
+
<p>See the <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/Scheduling-v3.html#Scheduling-v3-SlurmSettings-ExternalSlurmdbd">ParallelCluster documentation for ExternalSlurmdbd</a>.</p>
608
+
<h5id="slurmdbdstackname">SlurmdbdStackName</h5>
609
+
<p>Name of the ParallelCluster CloudFormation stack that created the Slurmdbd instance.</p>
610
+
<p>The following parameters will be set using the outputs of the stack:</p>
611
+
<ul>
612
+
<li>Host</li>
613
+
<li>Port</li>
614
+
<li>ClientSecurityGroup</li>
615
+
</ul>
616
+
<h5id="slurmdbd-host">Slurmdbd: Host</h5>
617
+
<p>IP address or DNS name of the Slurmdbd instance.</p>
618
+
<h5id="slurmdbd-port">Slurmdbd: Port</h5>
619
+
<p>Default: 6819</p>
620
+
<p>Port used by the slurmdbd daemon on the Slurmdbd instance.</p>
<p>The Slurm Database is required for configuring Slurm accounts, users, groups, and fair share scheduling.
176
-
It you need these and other features then you will need to create a ParallelCluster Slurm Database.
177
-
You do not need to create a new database for each cluster; multiple clusters can share the same database.
178
-
Follow the directions in this <ahref="https://docs.aws.amazon.com/parallelcluster/latest/ug/tutorials_07_slurm-accounting-v3.html#slurm-accounting-db-stack-v3">ParallelCluster tutorial to configure slurm accounting</a>.</p>
179
158
<h2id="create-the-cluster">Create the Cluster</h2>
180
159
<p>To install the cluster run the install script. You can override some parameters in the config file
181
160
with command line arguments, however it is better to specify all of the parameters in the config file.</p>
0 commit comments