Puppet Class: server
- Defined in:
- manifests/jobsched/server.pp
Overview
Job scheduler server
A generic configuration is defined in ``puppet-hpc/hieradata/common.yaml", in your own hiera files you could just redefine, the following values:
Common
slurm_primary_server: "%{hiera('cluster_prefix')}%{::my_jobsched_server}1"
slurm_secondary_server: "%{hiera('cluster_prefix')}%{::my_jobsched_server}2"
SlurmDBD
slurmdbd_slurm_db_password: 'SLURM_PASSWORD_OVERRIDEME_IN_EYAML'
slurmdbd_slurmro_db_password: 'SLURMRO_PASSWORD_OVERRIDEME_IN_EYAML'
slurm::dbd::config_options:
DbdHost: "%{hiera('slurm_primary_server')}"
DbdBackupHost: "%{hiera('slurm_secondary_server')}"
SlurmUser: "%{hiera('profile::jobsched::slurm_user')}"
StorageHost: 'localhost'
StorageUser: 'slurm'
StoragePass: "%{hiera('slurmdbd_slurm_db_password')}"
slurm::dbd::db_options:
db:
hosts: 'localhost'
user: 'debian-sys-maint'
password: "%{hiera('mariadb::mysql_root_pwd')}"
passwords:
slurm: "%{hiera('slurmdbd_slurm_db_password')}"
slurmro: "%{hiera('slurmdbd_slurmro_db_password')}"
hosts:
controllers: "%{hiera('slurm_primary_server')},%{hiera('slurm_secondary_server')}"
admins: "%{hiera('cluster_prefix')}admin1"
Hiera
- profiles::jobsched::slurm_config_options (
hiera_hash
) Content of the slurm configuration file. - profiles::jobsched::server::ceph::keys (
hiera_hash
) Keys to define on this node for CephFS kernel mounts - profiles::jobsched::server::ceph::mounts (
hiera_hash
) Mounts to use for CephFS space