Extremely new to PBS Pro and to the world of job scheduling.
I’m looking for something along the lines of a get started guide that includes installation and some sort of demo dummy system. Something that tells me how to setup a node or two and run a dummy job on them.
quick question to get my head around Q1. From what I’ve understood PBS Pro should allow me to submit a job to any of my (ex:10) machines depending on availability and machine load?
Q2. Perhaps that’s all there is to it? I was thinking something a little more “complex” w/ nodes and running a job depending on load (I guess if another job is currently running or high cpu loads - docker use case?)
the best approach is to create a VM running CentOS 7 using hypervisors ( VirtualBox or VMware)
make sure to turn off the firewalls , selinux , iptables ( reboot the system(VM) after making any changes)
give it a hostname and static IP address , so that everytime it boots up it gets the same IP, populate the same in the /etc/hosts (if there are 1 or more nodes all the nodes should have static IP / hostname and should be populated in the /etc/hosts of all the nodes of the PBS complex)
here we are installing all in one PBS complex, if you have 1 or more nodes, then you would need to setup common home directory and passwordless ssh for all the users , with stricthostchecking disabled + steps mentioned above
create a user account called “pbsdata” with some password
as root unzip the package and yum install pbspro-server*rpm
edit /etc/pbs.conf and update PBS_START_MOM=1 ( it will be PBS_START_MOM=0 )
/etc/init.d/pbs start
source /etc/profile.d/pbs.sh
qmgr -c ‘s s job_history_enable=true’
qmgr -c “s s flatuid=true”
qmgr -c “create queue workq queue_type=e, started=t, enabled=t”
qmgr -c “set server default_queue=workq”
qmgr -c “create node pbsserver” # e.g., pbsserver is the hostname of the compute node we are adding
su - pbsdata and submit a sleep job as below
qsub – /bin/sleep 100
qstat -answ1 # to monitor
Yes. PBS Professional will schedule your jobs based on the resources requested for your job and resource availability. If you have 1 node with 10 cores and 100GB memory and no jobs in the system, then
if you submit a job requesting 6 cores and 60GB memory , then the job will be run
if you submit a job requesting 5 cores and 40GB memory , then the job will be queued
if you submit a job with 2 cores 20GB memory, then job will run
if you submit a job with 2 cores 20GB memory , then the job will run
If you are comfortable follow the above instruction guide.
Instructions in the second link is not related to the PBS Pro OSS version / release.
It is not a requirement, you can compile the PBS Pro OSS source code to the operating system of your choice (please check this link https://github.com/PBSPro/pbspro/blob/master/INSTALL ). However, the pre-compiled installers/rpm are readily made available for CentOS7 and OpenSuse 15. This will get you going with a testbed ASAP. Otherwise, you would have to spend some time in compiling the sources.
Please note, all the qmgr commands are to be run by the root user
Please share us the output of this command (run as root user)
0. /etc/init.d/pbs restart
qstat -Bf
netstat -tunap | grep pbs
/etc/init.d/pbs status
If the “qstat” command does not work , then please run the below command and share us the contents of strace.txt. If you do not have strace command, then please install it using yum