[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 3:16 PM, Zachary Miller wrote:
On Thu, Apr 24, 2014 at 03:08:08PM -0400, Bockjoo Kim wrote:
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
Hmm. So the collector is running but it seems like it's not honoring the config
you specified.
It honors in the sense the one running on 9618 is condor #1.
The collector that needs to run on 9619 is condor #2 ( so called condor-ce in OSG). It does not honor in the sense that if the hostname is not the public one, it picks 9618
and collide with condor #1.


   Can you double check that the condor_config is the one the
master is using (and that you don't have a local config file that is overriding
your values)?  Run this:

   condor_config_val -master COLLECTOR_HOST
[root@cms scramrc]# condor_config_val -master COLLECTOR_HOST # condor #1
cms.rc.ufl.edu
[root@cms scramrc]# condor_ce_config_val -master COLLECTOR_HOST # condor-ce
cms.rc.ufl.edu:9619


Do you mean I can replace FULL_HOSTNAME with MY_FULL_HOSTNAME and define
MY_FULL_HOSTNAME
in the condor config files?
Ok, I will check this later as I have other more urgent business.
I am settled for now with the 'hostname cms.rc.ufl.edu' within the machine.
Thanks,
Bockjoo

Yes.


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/