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

Re: [Condor-users] condor_status -direct hostname : why can't I use IP number instead of hostname?



What is the output of condor_status -l | grep -i name

That will tell you what the name of your startd's are
and what name will work in condor_status -direct.
It all depends on the daemon name.
On a multi-slot machine, the same startd can be accessed
by any of slot1@host, slot2@host, and give info for all.

condor_status -direct 23-4 should work too.

IP numbers don't work because they have nothing to do
with daemon names.

Again, condor_status -direct has very limited use.
I had used condor for 4 years and this is the first I had
ever heard of it.

Steve Timm


On Mon, 20 Jul 2009, Rob wrote:



Hello,

I'd like to add another example to my previous email on this issue.

I have two Windows pool PCs in my condor network: one dual slot, one single.


$ condor_status

Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime

slot1@23-4         WINNT51    INTEL  Owner     Idle     0.050  1010  0+00:25:04
slot2@23-4         WINNT51    INTEL  Owner     Idle     0.000  1010  0+00:25:05
pm37               WINNT51    INTEL  Owner     Idle     0.250  1023  0+00:00:13



Then the following is quite confusing:

$ condor_status -direct slot1@23-4

Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime

slot1@23-4         WINNT51    INTEL  Owner     Idle     0.000  1010  0+00:29:21
slot2@23-4         WINNT51    INTEL  Owner     Idle     0.090  1010  0+00:29:21

$ condor_status -direct slot2@23-4

Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime

slot1@23-4         WINNT51    INTEL  Owner     Idle     0.080  1010  0+00:29:52
slot2@23-4         WINNT51    INTEL  Owner     Idle     0.000  1010  0+00:29:52

$ condor_status -direct pm37
condor_status: unknown host pm37

At least there's an inconsistency here.
Why does "slot1@23-4" and "slot2@23-4" work, but "pm37" doesn't ?

=========================================

However, when I add on the linux master PC an entry in /etc/hosts:

10.1.1.35  pm37


Then
$ condor_status -direct pm37

Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime

pm37               WINNT51    INTEL  Owner     Idle     0.020  1023  0+00:09:08


Is there a way I can get the last command work, without the need of modifying /etc/hosts ?


And again: why can't I use the IP number after the "-direct" ?
Most Windows PCs in my pool do not have a proper hostname,
but always have an unique IP number....

Thanks,
Rob.



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

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


--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.