Job resource manager

The part of OAR that is usually responsible for setting up and cleaning up the operating system of resources given to a job is the job resource manager.

This is a Perl script that is part of the OAR configuration files: located on the OAR server in /etc/oar (see oar.conf). The default one provided with the OAR is named: /etc/oar/job_resource_manager_cgroup.pl.

This Perl script is broadcasted (thanks to TakTuk) to be executed on all the nodes of a job to initialize the resources at the beginning (creating the job cgroups and more), and to clean-up the resources at the end (killing the remaining processes of the job, removing the job cgroups, and more).

This script can be modified or just augmented by admins: it is meant for that, despite exposing a good part of the complexity of OAR.

Notes: