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

Re: [Condor-users] adding second shedd for remote submission ?



Hi,

Michael figured it out so we can close this thread.  This worked:

condor_q -pool condor.heprc.uvic.ca -name condor.heprc.uvic.ca

Thanks for your help !

regards,
Asoka

On 2012-04-05, at 3:03 PM, Asoka De Silva wrote:

> Hi,
> 
> Thanks - it is as Michael replied in his earlier mail - I needed to use the port number and the remote site also needed the mapping for the user.  
> 
> [apf@lcgtest5 ~]$ condor_submit -remote condor.heprc.uvic.ca:443 ./test.jdl
> Submitting job(s).
> 1 job(s) submitted to cluster 5768.
> 
> Still not working perfectly as the collector does not seem to know about the job:
> 
> [apf@lcgtest5 ~]$ condor_q -name condor.heprc.uvic.ca:443 
> Error: Collector has no record of schedd/submitter
> 
> [apf@lcgtest5 ~]$ condor_q -name condor.heprc.uvic.ca
> Error: Collector has no record of schedd/submitter
> 
> 
> regards,
> Asoka
> 
> On 2012-04-05, at 2:48 PM, Lukas Slebodnik wrote:
> 
>> I suppose that you want to create second schedd on your local machine
>> "lcgtest5", but you could not override name of MACHINE with next line
>> (it will be ignored)
>> SCHEDD.Q2.MACHINE = condor.heprc.uvic.ca
>> 
>> But you could set specific name(alias) with SCHEDD_NAME
>> SCHEDD.Q2.SCHEDD_NAME = Q2@xxxxxxxxxxxxxxxxxxxx
>> 
>> So with command "condor_status -schedd", you should see all schedulers on your
>> pool.
>> 
>> If you want to submit job to second schedd on local machine you can replace
>> argument "-remote" with "-name". And you should call condor_submit with
>> arguments:
>> condor_submit -remote Q2condor.heprc.uvic.ca ./test.jdl
>> 
>> Regards,
>> Lukas
>> 
>> On Thu, Apr 05, 2012 at 10:24:31AM -0700, Asoka De Silva wrote:
>>> Hi,
>>> 
>>> I am running condor 7.6.6-1 (OS : SL5.7) and have some difficulty configuring it for a new requirement;   I need to be able to do 2 types of job submissions:
>>> - submissions to grid CEs (this works for a long time now)
>>> - and the new requirement -  submission to a remote schedd (ie with condor_submit -remote  …)
>>> 
>>> It seems I need to define a new (second ?) schedd for "condor_submit -remote" to work.  Towards this end, I've tried 
>>> 
>>> -------
>>> SCHEDD2 = $(SCHEDD)
>>> SCHEDD2_ARGS = -f -local-name Q2
>>> SCHEDD2_LOG = $(LOG)/ScheddLog.2
>>> SCHEDD2_SPOOL = $(SPOOL)/2
>>> SCHEDD.Q2.MACHINE = condor.heprc.uvic.ca
>>> SCHEDD.Q2.SCHEDD_NAME = Q2@xxxxxxxxxxxxxxxxxxxx
>>> SCHEDD.Q2.SPOOL = $(SCHEDD2_SPOOL)
>>> SCHEDD.Q2.SCHEDD_LOG = $(SCHEDD2_LOG)
>>> SCHEDD.Q2.SCHEDD_ADDRESS_FILE = $(SCHEDD2_SPOOL)/.schedd_address
>>> 
>>> DAEMON_LIST = $(DAEMON_LIST), SCHEDD2
>>> 
>>> VALID_SPOOL_FILES = $(VALID_SPOOL_FILES), 2
>>> -------
>>> 
>>> which does not work (but log file looks does not have errors); if I look at the .schedd_address  file:
>>> 
>>> [root@lcgtest5 spool]# cat   2/.schedd_address 
>>> <206.12.1.60:24489>
>>> $CondorVersion: 7.6.6 Jan 17 2012 BuildID: 401976 $
>>> $CondorPlatform: x86_64_rhap_5 $
>>> 
>>> The IP there is that of my machine instead of the remote machine and also,
>>> 
>>> 
>>> [apf@lcgtest5 ~]$  condor_submit -remote condor.heprc.uvic.ca ./test.jdl
>>> 
>>> ERROR: Can't find address of schedd condor.heprc.uvic.ca
>>> 
>>> 
>>> Does anyone have any suggestions as to how I need to configure this second schedd ?
>>> 
>>> Thanks in advance for your help !
>>> 
>>> regards,
>>> Asoka
>>> 
>>> _______________________________________________
>>> 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/
>>> 
>> _______________________________________________
>> 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/
>> 
> 
> -----------------------------------------------------------------------
> Adr:    ATLAS Tier-1, TRIUMF,  4004 Wesbrook Mall,
>        Vancouver B.C. V6T 2A3, Canada
> Url:    http://trshare.triumf.ca/~desilva/Personal
> Tel:    (604) 222-7496
> Fax:    (604) 222-1074
> -----------------------------------------------------------------------
> 
> _______________________________________________
> 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/
> 

-----------------------------------------------------------------------
Adr:    ATLAS Tier-1, TRIUMF,  4004 Wesbrook Mall,
        Vancouver B.C. V6T 2A3, Canada
Url:    http://trshare.triumf.ca/~desilva/Personal
Tel:    (604) 222-7496
Fax:    (604) 222-1074
-----------------------------------------------------------------------