Add Cluster Configuration Files¶
Cluster configuration files describe each cluster a user may submit jobs to and login hosts the user can ssh to. Without cluster config files, the only apps that work are the Dashboard App and Files App apps, and Shell App if you only want to support ssh to localhost on the web host.
Apps that require proper cluster configuration include:
Shell App (connect to a cluster login node from the Dashboard App)
Active Jobs App (view a list of active jobs for the various clusters)
Job Composer App (submit jobs to various clusters)
All interactive apps such as Jupyter and RStudio
The cluster config files are where the Resource Manager Configuration configuration goes, which is necessary for enabling apps to submit batch jobs.
Create the default directory that the cluster configuration files reside under:
sudo mkdir -p /etc/ood/config/clusters.d
Create a cluster YAML configuration file for each HPC cluster you want to provide access to. They must have the
It is best to name the file after the HPC cluster it is defining. For example, we added the cluster configuration file
/etc/ood/config/clusters.d/oakley.ymlfor the Oakley cluster here at OSC.
The simplest cluster configuration file for an HPC cluster with only a login node and no resource manager looks like:
# /etc/ood/config/clusters.d/my_cluster.yml --- v2: metadata: title: "My Cluster" login: host: "my_cluster.my_center.edu"
hostis the SSH server host for the given cluster.
See Resource Manager Configuration for how to modify the cluster config so OnDemand works with your particular resource manager.