[torqueusers] how can i change mom_log directory

Sarah Williams saewill at iupui.edu
Wed Jul 30 12:03:04 MDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you want to have a local copy and a remote copy of your logs, you
could replace your system syslog with syslog-ng. This can use a file as
a logging source and send your logs to an aggregator.

Glen Beane wrote:
| I have a local /var/spool/torque directory on each node and remotely
mount a
| directory with the executables. I assume this is how almost everyone else
| does it.
|
|
| If you really want your logs all in one place then on each computer you
| could symlink /var/spool/torque/mom_logs to /raida/PBS/hostname/mom_logs
| where hostname is the name of the host you are creating the symlink
on.  so
| you are setting up node10 you would ssh to node10 and symlink
| /var/spool/torque/mom_logs to /raida/PBS/node10/mom_logs
|
| you can also specify the path to a log file for pbs_mom on the command
line,
| so if you want your logs written to your NFS mounted directory you could
| specify a path for the log file.  Note that if you do this you will
not get
| a new log file every day, you'll have one log file that keeps getting
bigger
| and bigger so you will want to setup log rolling (pbs_mom can do the log
| rolling if you set some parameters in the config file)
|
|
|
| I still think this is all a bad idea. I would have local directories
for the
| mom logs though, I would not write the logs to NFS
|
|
|
| On Wed, Jul 30, 2008 at 1:24 PM, Yanan Sun <nancyprc at gmail.com> wrote:
|
|> so you mean if i don't copy the whole thing on each computer, it can
|> not have seperate jobs directory and log files?
|>
|> On Wed, Jul 30, 2008 at 1:15 PM, Glen Beane <glen.beane at gmail.com> wrote:
|>> I would have a local pbs spool directory (like /var/spool/torque) on
each
|>> compute node.  I think it is a bad idea to mount them remotely.  You'll
|> run
|>> into problems with sharing the mom_priv/jobs directory too I think.
|>>
|>>
|>>
|>>
|>>
|>> On Wed, Jul 30, 2008 at 1:03 PM, Yanan Sun <nancyprc at gmail.com> wrote:
|>>> hi, there
|>>>
|>>> i have torque/maui installed in our cluster system. the headnode is
|>>> running fine and i am trying to add more nodes. the files already
|>>> mounted on each nodes, but for the way how it mounted, the mom_log
|>>> file is read only. i don't want to change the way mount files on every
|>>> nodes, soi am trying to change the directory of the log file goes to.
|>>> now everything goes to /usr/PBS_spool/mom_logs, i want to change to
|>>> /raida/PBS/$hostname/mom_logs
|>>> how can i change it?
|>>> thanks.
|>>>
|>>> Yanan
|>>> _______________________________________________
|>>> torqueusers mailing list
|>>> torqueusers at supercluster.org
|>>> http://www.supercluster.org/mailman/listinfo/torqueusers
|>>
|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| torqueusers mailing list
| torqueusers at supercluster.org
| http://www.supercluster.org/mailman/listinfo/torqueusers


- --
Sarah Williams
saewill at iupui.edu
(317) 274-0595
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3E6F7BBA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIkKzY2j+lnz5ve7oRApe0AJ96a1z24lWWQu9O79urgEG4iZqBiwCeKKAC
JTlpuHxJCOvJrFPf8qGZY5k=
=po7h
-----END PGP SIGNATURE-----


More information about the torqueusers mailing list