Using Docker Containers to create a PBS cluster


#1

Hi all,

I’ve followed the current guide for using docker to instantiate PBS (https://pbspro.atlassian.net/wiki/spaces/PBSPro/pages/79298561/Using+Docker+to+Instantiate+PBS). This works for me. However, we would like to create a PBS cluster (Server node and and multiple compute nodes). The guide only illustrates how to create a single node cluster with docker.

  • Are there any docker files that set up the compute node to connect to the server node?
  • What steps do we need to create the compute node dockerfile?

Thanks,
Brian


#2

Please go through these links:

http://www.pbsworks.com/(X(1)S(lggil3u04jcaidcmxolshpdr))/ResLibDownload.aspx?file_id2=7190&from_page=ResourceLibrary.aspx%3Fkeywords%3DPBS%2BProfessional%2Bwith%2BDocker%2BIntegration

https://www.altair.com/RelatedCaseStudy.aspx?id=7154

Also, could you please let us know, why you would like to run Compute Node (PBS MOM) in a container and connect to PBS Server running in a container ?

Do you like to run PBS Server one container and then connect the PBS Mom running in many (each of them) containers to connect back to PBS Server.

I think , you can use the same guide to build a compute node, but disable PBS Server / Scheduler / Comm and only enable PBS MOM in the /etc/pbs.conf and ask it to connect to the PBS Server . Add this node in the PBS Server. ( note: networking/linking between the container might have to be setup )

 docker run -it --name pbsnode1 -h pbs pbspro/pbspro bash

Please update / correct, if there are changes.

Thank you