...
You can SSH into the head node to issue commands. To do this, locate your instance in the Resources tab of the CloudFormation stack, and connect to the EC2 instance.
...
Before you start managing from the Head Node, establish the connection with the following command:
Code Block |
---|
export HEADNODE="http://192.0.7.76:5000" |
To manage profiles, navigate to the following directory: /xcompute/slurm/aws/xcompute-daemon/data/profiles
.
...
After updating the profile, submit the changes with a PUT request using
curl
:
Code Block |
---|
curl -X PUT $HEADNODEhttp://localhost:5000/v1/profile \ -H 'Content-Type: application/json' \ -d @profile.json |