[torqueusers] Preserve jobid count across Torque server re-install

Dr. Stephan Raub raub at uni-duesseldorf.de
Wed Mar 3 12:33:44 MST 2010


as far as I know, you just have to set the server attribute
"next_job_number" like

qmgr -c 'set server next_job_number = blabla'


| | Dr. rer. nat. Stephan Raub
| | Dipl. Chem.
| | Lehrstuhl für IT-Management / ZIM
| | Heinrich-Heine-Universität Düsseldorf Universitätsstr. 1 /
| | 25.41.O2.25-2
| | 40225 Düsseldorf / Germany
| |
| | Tel: +49-211-811-3911

Wichtiger Hinweis: Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse,
sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail
irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine
Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte
benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen

Important Note: This e-mail may contain trade secrets or privileged,
undisclosed or otherwise confidential information. If you have received this
e-mail in error, you are hereby notified that any review, copying or
distribution of it is strictly prohibited. Please inform us immediately and
destroy the original transmittal. Thank you for your cooperation.

> -----Ursprüngliche Nachricht-----
> Von: torqueusers-bounces at supercluster.org [mailto:torqueusers-
> bounces at supercluster.org] Im Auftrag von Gianfranco Sciacca
> Gesendet: Mittwoch, 3. März 2010 19:22
> An: torqueusers at supercluster.org
> Betreff: [torqueusers] Preserve jobid count across Torque server re-
> install
> I've just upgraded a machine running a Torque/Maui server
> (torque-server-2.1.11-1cri.x86_64) from SLC4 to SLC5. The Torque
> version
> itself hasn't changed after the upgrade, but the RPMs used are a new
> SLC5 build, from the same source RPM. After the upgrade I have restored
> /var/spool/pbs and /var/spool/maui, which I have done in the past
> across
> upgrades to pick up stats from where I had left.
> However, this time, pbs_server refuses to start:
> [root at farmpp server_priv]# service pbs_server start
> Starting TORQUE Server: PBS_Server: recov_attr, attr size too small
> PBS_Server: Success (0) in svr_recov, error on recovering server attr
> PBS_Server: pbsd_init, Unable to read server database
> PBS_Server: PBS_Server, pbsd_init failed
>                                                            [FAILED]
> It doesn't like the database. I can only start the server by copying
> back the new 'serverdb' file that was created after the new Torque RPM
> install, but this resets the jobid count to 100 (I thought it would be
> 1). Is there a way to change that value to an arbitrary value so that I
> can restore the jobid count to my wish? Alternatively, are there any
> steps I can take to try and restore the server database as it was prior
> to re-install. Maui has started fine and seems to have picked up all
> stats from before the re-install.
> Thanks,
> Gianfranco
> --
> Dr. Gianfranco Sciacca			Tel: +44 (0)20 7679 3044
> Dept of Physics and Astronomy		Internal: 33044
> University College London		D15 - Physics Building
> London WC1E 6BT
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers

More information about the torqueusers mailing list