[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Port ranges for collector and negotiator?



On Wed, 4 May 2005 12:40:58 -0500  Zachary Miller wrote:

> > By "any port you like" you presumably mean any port in the range Sonny 
> > gives above?  So, for instance, the following would *not* be valid:
> > 
> > COLLECTOR_HOST = $(CONDOR_HOST):222
> > NEGOTIATOR_HOST = $(CONDOR_HOST):222

not only because the ports are < 1024, but because they're the same!  

> > COLLECTOR_HOST = $(CONDOR_HOST):7229
> > NEGOTIATOR_HOST = $(CONDOR_HOST):7229
> 
> specifying an explict port will work, even if it is outside of the
> (LOWPORT,HIGHPORT) range.

true.  but, trying to have the collector and negotiator (totally
seperate daemons) bind to the same port will never work.

in other related news...  

starting in v6.7.5, the negotiator publishes its own classad to the
collector to advertise where it's listening (among other things).  so,
for 6.7.5 and greater, you don't need to specify a fixed port for the
negotiator at all.  just comment out the "NEGOTIATOR_HOST" setting in
your config file(s) and when you startup condor, the negotiator will
bind to any available port within your LOWPORT/HIGHPORT range, and any
part of condor that needs to contact it can find the port it ended up
on via the negotiator's classad.

-derek