Issue: Need to migrate Torque to a new server, yet continue the job numbering
Affected Version: All Versions
Problem: The server running Torque is being replaced, and the job numbering needs to continue rather than start over.
Solution: The steps to migrate Torque include capturing the configuration, and separately capturing the next job ID, then restoring those to the new server. Here’s the procedure:
-
On the older server, capture the qmgr settings from the output of: qmgr -c 'p s'
-
Shut down pbs_server (again on the old server) and view the <Torque Home>/server_priv/serverdb file. Note the value for the “<nextjobid>” XML element.
-
Once Torque has been installed on the new server, bring up pbs_server and redirect the output from step 1 into qmgr (with pbs_server running).
-
Shut down pbs_server (via qterm or init script)
-
Edit the file <Torque Home>/server_priv/serverdb -- change the <nextjobid> element to the job ID you recorded from the old server.
-
Start pbs_server
Note that this procedure does not address migrating jobs. That is covered in another KB article.