[torqueusers] How to restart pbs_mom daemon in torque 2.5.11?

Sreedhar Manchu sm4082 at nyu.edu
Wed Jun 27 16:15:10 MDT 2012


Hi Gareth,

If I add something to pbs_environment, is there a way to force torque to pick up the changes without restarting pbs_mom?

Thanks,
Sreedhar. 
--
Sent from my phone. Please excuse my brevity and any typos.

On Jun 27, 2012, at 18:01, <Gareth.Williams at csiro.au> wrote:

>> -----Original Message-----
>> From: John Keller [mailto:jwkeller at alaska.edu]
>> Sent: Tuesday, 26 June 2012 7:44 AM
>> To: Torque Users Mailing List
>> Subject: [torqueusers] How to restart pbs_mom daemon in torque 2.5.11?
>> 
>> Hi,
>> Can I restart pbs_mom on a compute node? I could not find a reference
>> to this in the Torque admin manual.
>> I made a change to the /var/spool/torque/mom_priv/config file, and so
>> I assume pbs_mom must be restarted, or the compute node has to be
>> rebooted.
>> Thanks,
>> John Keller
> 
> Hi John,
> 
> You can use momctl to make pbs_mom read a config file (-r option) without a restart.
> 
> Gareth
> 
>> momctl
>  no command specified
> USAGE:  momctl <ARGS>
>            [ -c {JOB|'all'} ]    // CLEAR STALE JOB
>            [ -C ]                // CYCLE
>            [ -d DIAGLEVEL ]      // DIAGNOSE (0 - 3)
>            [ -f HOSTFILE ]       // FILE CONTAINING HOSTLIST
>            [ -h HOST[,HOST]... ] // HOSTLIST
>            [ -p PORT ]           // PORT
>            [ -q ATTR ]           // QUERY ATTRIBUTE
>            [ -r FILE ]           // RECONFIG
>            [ -s ]                // SHUTDOWN
> 
> Only one of c, C, d, q, r, or s must be specified, but -q may
> be used multiple times. HOST may be a hostname or ":property".
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers


More information about the torqueusers mailing list