If you are not interested in preserving the job-id sequence and accounting logs , but only the configuration , then you can follow the below steps:
On the PBS Pro 13.x :
- qmgr -c “print server” > print_server.txt
- qmgr -c “print node @default” > print_node.txt
- qmgr -c “print sched @default” > print_sched.txt
- $PBS_HOME/server_priv/resourcedef # backup this file
- $PBS_HOME/sched_priv/sched_config # backup this file
- $PBS_HOME/server_priv/hooks #backup this file
- Take a backup of /etc/pbs.conf
Deploy PBS Pro 19.x on the test cluster
Make sure the PBS Server is up and running , so that you can import the configuration of PBS Pro 13.x as below into 19.x
a. qmgr < print_server.txt
b. qmgr < print_node.txt ( make sure the /etc/hosts file has all the hostname of the compute nodes)
c. qmgr < print_sched.txt
d. copy the $PBS_HOME/sched_priv/sched_config to the same location ( back-up the original)
e. adjust the attributes /etc/pbs.conf to suite the new cluster
d. restart the pbs services
Another way:
- Take a pgdump of the PBS Pro 13.x
- Install PBS Pro 19.x on the test cluster
- import the dump in the postgres
Hope this helps