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

Re: [HTCondor-users] FULL_HOSTNAME issue with multiple NIC



On 4/24/14 1:09 PM, Zachary Miller wrote:
On Wed, Apr 23, 2014 at 08:50:41PM -0400, Bockjoo Kim wrote:
Hi Todd,
If I add these
NETWORK_INTERFACE = <public IP>
BIND_ALL_INTERFACES=FALSE
PRIVATE_NETWORK_INTERFACE = <private IP>
PRIVATE_NETWORK_NAME = <private hostname>
to the condor-ce condor_config file which uses the port 9619 as the
collector port,
collector does not listen to 9619:

[root@cms ~]# netstat -ntl | grep 96
tcp        0      0 0.0.0.0:9618 0.0.0.0:*                   LISTEN
tcp        0      0 128.227.253.206:9620 0.0.0.0:*                   LISTEN
Some questions:

Can you add "-p" to netstat to show the pid/process for each of those entries?
netstat -ntlp | grep 96
tcp 0 0 0.0.0.0:9618 0.0.0.0:* LISTEN 14168/condor_collec tcp 0 0 128.227.253.206:9620 0.0.0.0:* LISTEN 14545/condor_shared

We have the regular condor collector (listening to 9618).
Are you configuring port 9619 by setting COLLECTOR_HOST?
Yes.

Are there any errors or indications in the MasterLog about failing to bind to
port 9619?  Also, look for any clues at the beginning of the CollectorLog.  It
should report which IP/port it is listening on... search for a line like:
   "DaemonCore: command socket at <A.B.C.D:P>"

MasterLog shows this:
04/24/14 15:00:09 Collector port not defined, will use default: 9618

It tries 9618 instead of 9619 in the config.
So, nothing is in the collector log.

Also, FYI, the "FULL_HOSTNAME" is a special config value... it cannot be
changed in the condor_config.  You can define your own value,
"MY_FULL_HOSTNAME" and search and replace in the config file if you wish to
override those entries.

Do you mean I can replace FULL_HOSTNAME with MY_FULL_HOSTNAME and define MY_FULL_HOSTNAME
in the condor config files?
Thanks,
Bockjoo
If you'd like to send more detailed information off-list, feel free to open
a ticket by emailing htcondor-admin@xxxxxxxxxxx and I will look at it there.


Cheers,
-zach

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/