Validate the JSON configuration files before creating a Slurm cluster on HyperPod
To validate the JSON configuration files before submitting a cluster creation request,
use the configuration validation script validate-config.py
create_cluster.json
and provisioning_parameters.json
files
from the Start
with base lifecycle scripts provided by HyperPod
section, run the validation script as follows.
python3 validate-config.py --cluster-config
create_cluster.json
--provisioning-parametersprovisioning_parameters.json
The following is an example output of a successful validation.
✔️ Validated instance group name worker-group-1 is correct ... ✔️ Validated subnet subnet-012345abcdef67890 ... ✔️ Validated security group sg-012345abcdef67890 ingress rules ... ✔️ Validated security group sg-012345abcdef67890 egress rules ... ✔️ Validated FSx Lustre DNS name fs-012345abcdef67890.fsx.us-east-1.amazonaws.com ✔️ Validated FSx Lustre mount name abcdefgh ✅ Cluster Validation succeeded