How do I migrate server settings to a new server, and retain the job numbering?


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:

  1. On the older server, capture the qmgr settings from the output of: qmgr -c 'p s'

  2. 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.

  3. 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).

  4. Shut down pbs_server (via qterm or init script)

  5. Edit the file <Torque Home>/server_priv/serverdb -- change the <nextjobid> element to the job ID you recorded from the old server.

  6. Start pbs_server

Note that this procedure does not address migrating jobs.  That is covered in another KB article. 

Last update:
2018-01-19 19:54
Author:
Rob Greenbank
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags