Stat Server for PBSPro

Follow the PBS Pro Design Document Guidelines.

  • Link to discussion on Developer Forum: <link to your project's discussion>
  • Link to issue: <issue link if available>
  • Link to pull request: <PR link if available>

Overview

This change will enable the admin to configure a separate stat-server which can serve all the stat requests offloading them from the main execution server. stat server can be used to read the status of jobs, reservation, node, queue, server and scheduler.

Details

Stat server will store up to date data in its main memory. Upon receiving a stat request it will fetch the delta (what it does not have in memory but in the database) and update the objects in its cache. For this, the main server will keep flushing the data to the database more often.


How to configure?

Stat server should be started using "pbs_server -r " indicating it's in read-only mode. PBS_CONF_FILE of the corresponding clients has to be updated to indicate the stat server as the new PBS_SERVER value. Stat-server will discard any other commands other than qstat, pbs_rstat, pbsnodes and qmgr print commands.



OSS Site Map

Project Documentation Main Page

Developer Guide Pages