Newer
Older
Simon Michnowicz
committed
THis role sets up trigger events on your slurm cluster.
What you want the triggers to do is up to you, so you will probably modify the templated shell files.
Copy the role to a local role directory?
Triggers used in this role as it stands
- primary_slurmctld_failure
- primary_slurmctld_resumed_operation.sh
- node down
USAGE:
- hosts: 'ManagementNodes'
tasks:
- include_vars: vars/slurm.yml
- hosts: 'ManagementNodes'
roles:
- slurm_trigger
The role uses several variables that need to be defined:
{{ slurm_dir }} The directory of slurm install. Shell scripts are copied to sbin
{{ admin_email }} Email address (defined in slurm.yml, or defined some other way) to send alerts to
Each trigger has 2 files. One to respond to a trigger. And one to reset the trigger. The role calls the last one to start the process.