On 10/20/2025 11:51 AM, Dudu Handelman wrote:
Thanks Greg.
How would i get the ip and port for the service node?
David
Hi David -
Disclaimer: I only thought about this for 10 seconds, so this is just an idea, maybe not the best idea :)
The PRE script for the DAG node representing clients could do a condor_q of the job ad representing the service node, and this job ad likely will already contain the IP and Port for the service. Especially for the port, take a look in the condor_submit man
page at "condor_service_names" :
"....HTCondor will ask Docker to forward from a host port to the specified port inside the container. When Docker has done so, HTCondor will add an attribute to the job ad for each service, <service-name>HostPort, which contains the port number on the host
forwarding to the corresponding service."
Hope this helps,
Todd