Configuring custom SlurmDBD settings in AWS PCS - AWS PCS

Configuring custom SlurmDBD settings in AWS PCS

Slurm's database daemon (slurmdbd) manages accounting data, data retention policies, and privacy controls. AWS PCS lets you customize slurmdbd.conf settings at the cluster level through the SlurmdbdCustomSettings property of SlurmConfiguration during cluster creation or update.

Configuring slurmdbd settings

Slurmdbd custom settings can be configured through the AWS Console, CLI, or SDKs during cluster creation or modified later through update operations.

AWS Management Console

Navigate to Additional scheduler settings in the create or edit page for a cluster resource.

To add a new setting
  1. Choose Add new setting.

  2. Select a Parameter name from the dropdown (which includes brief parameter descriptions).

  3. Provide the corresponding value.

To unset a custom setting
  1. Choose Remove next to the relevant parameter/value pair.

  2. Create or update the resource.

AWS CLI

For programmatic management of slurmdbd settings, use the SlurmdbdCustomSettings field in create or update cluster operations.

Example– Setting TrackWCKey on a cluster
aws pcs update-cluster --cluster-identifier my-cluster \ --slurm-configuration \ 'SlurmdbdCustomSettings=[{parameterName=TrackWCKey,parameterValue="yes"}]'

Supported slurmdbd settings for clusters

The following custom slurmdbd settings are supported at the cluster level: