PP-660: Add support to PBS init script to act on any PBS daemon individually

Site Map

Developer Guide Pages

Interface: New optional argument to PBS init script to act on individual PBS daemons

  • Visibility: Public
  • Change Control: Stable
  • SynopsisPBS init script should be able to start, stop, restart and give status of individual daemons (pbs_server, pbs_sched, pbs_mom, pbs_comm)
  • Details: New optional command line argument is added to PBS init script which can be one of daemon names: “server”, “sched”, “mom” and “comm”. This argument is used to start or stop or restart or get status of specified PBS daemon instead of acting on all PBS daemons, as done currently.
    Only single daemon name needs to be mentioned. No multiple options allowed as argument. The existing behaviour would be the same of init script, only if any daemon name is provided, the action will be taken would be restricted to that daemon alone.

Below is the usage:

Usage: pbs --version

Usage: pbs {start|stop|restart|status} [server|sched|mom|comm]