Good. Copying in Matt, who has moved.
Steve
On 02/03/2014 12:58 PM, Jonathan Perkin wrote:
> Hi Steve,
>
> I've edited it to resolve the server names (since the identifiers I
> used are bespoke) and make the password file path generic [in
> principle you should change the file path as well as the password with
> each new long-term proxy]
>
> Cheers
>
> Jon
>
> On 03/02/14 12:03, Stephen Jones wrote:
>> All,
>>
>> I've just put in a wiki document for myproxy and file transfers
>> (almost verbatim) here:
>>
>> https://www.gridpp.ac.uk/wiki/Long_running_jobs_using_myproxy
>>
>> I've actioned myself to test it some time. GridPPers can find it (or
>> change it) as so:
>>
>> Go to GridPP wiki (https://www.gridpp.ac.uk/wiki/)
>>
>> Scroll to "Getting up and running on the grid - users" section.
>>
>> Under there is a (messy) "Job management - managing the life-cycle of
>> jobs", where
>> the new entry resides.
>>
>> That will do for now - someday I hope to give "managing the
>> life-cycle of jobs" a
>> good cleaning up.
>>
>> Many thanks,
>>
>> Cheers,
>>
>> Steve
>>
>>
>>
>>
>> On 02/01/2014 11:36 AM, Christopher J. wrote:
>>> As a side note, the script came from CMS originally.
>>>
>>> On a train so can't check, but MYPROXY_SERVER is probably in your
>>> environment already, but lcg-infosites myproxy can tell you the
>>> answer if it isn't
>>>
>>> I guess you can do similar for the fts.
>>>
>>> Chris
>>>
>>> Sent from my iPad
>>>
>>>> On 31 Jan 2014, at 12:56, Stephen Jones <[log in to unmask]>
>>>> wrote:
>>>>
>>>> Gentlemen,
>>>>
>>>> I'm just going over this before putting it in the wiki. Matt has a
>>>> requirement at SNO+ to prevent proxies expiring and causing file
>>>> transfers to fail, and Jon proposes the solution
>>>> below.
>>>>
>>>> I assume this has been tested and is known to work OK. There are
>>>> quite a few variables in here that we should (maybe) resolve to
>>>> real names so it works out of the box for someone else. Let me know
>>>> their values, and I'll test it myself and make a wiki entry out of
>>>> it on your behalf.
>>>>
>>>> Cheers,
>>>>
>>>> Steve s
>>>>
>>>> Manually delegate your proxy to the FTS servers by running the
>>>> following script every 8 hrs via cron:
>>>>
>>>> #!/bin/bash
>>>>
>>>> # Set environment, depending on your site conventions
>>>> # source /home/perkin/t2k/GRID/nd280Computing/data_scripts/cronGRID.sh
>>>>
>>>> echo "Refreshing credentials"
>>>>
>>>> # Destroy any existing voms credentials (optional)
>>>> # voms-proxy-destroy -debug
>>>>
>>>> # Retrieve a new short term proxy to my UI from the myproxy server
>>>> with password
>>>> myproxy-get-delegation -v -d -s $MYPROXY_SERVER_RAL -k renew
>>>> --stdin_pass < ~/.glite/myproxy
>>>>
>>>> # Stamp the delegated credentials with voms attributes
>>>> voms-proxy-init -voms t2k.org:/t2k.org/Role=production -valid 24:0
>>>> -noregen
>>>>
>>>> # Delegate the short term voms proxy to the FTS server(s)
>>>> glite-delegation-init -f -s $FTS_DELEGATION -e 840
>>>> glite-delegation-init -f -s $FTS3_DELEGATION -e 840
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> On 01/30/2014 06:03 PM, Christopher J. Walker wrote:
>>>>> Steve,
>>>>> You seem much better than I do at getting this sort of
>>>>> thing on
>>>>> the wiki.
>>>>>
>>>>> How to renew a proxy on the wms in this case...
>>>>>
>>>>> Chris...
>>>>>
>>>>> Not at all, it is derived from this ticket:
>>>>> https://ggus.eu/ws/ticket_info.php?ticket=72358
>>>>>
>>>>>
>>>>>
>>>>>>>> Hi Matt,
>>>>>>>>
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Matt
>>>>>>>>
>>>>>>>> ___________________________________________________________________________
>>>>>>>>
>>>>>>>> Jonathan Perkin Department of Physics, University of
>>>>>>>> Sheffield.
>>>>>>>> +44 (0)1142 223547 Hicks Building, Hounsfield Road, Sheffield;
>>>>>>>> S3 7RH.
>>>>>>>> Times Higher Education University of the
>>>>>>>> Year 2011
>>>>> ___________________________________________________________________________
>>>>>
>>>>> Jonathan Perkin Department of Physics, University of Sheffield.
>>>>> +44 (0)1142 223547 Hicks Building, Hounsfield Road, Sheffield; S3
>>>>> 7RH.
>>>>> Times Higher Education University of the Year
>>>>> 2011
>>>>
>>>> --
>>>> Steve Jones [log in to unmask]
>>>> System Administrator office: 220
>>>> High Energy Physics Division tel (int): 42334
>>>> Oliver Lodge Laboratory tel (ext): +44 (0)151 794 2334
>>>> University of Liverpool http://www.liv.ac.uk/physics/hep/
>>>>
>>>>
>>>>
>>
>>
>
> --
> ________________________________________________________________________
> Jonathan Perkin Department of Physics, University of Sheffield.
> +44 (0)1142 223547 Hicks Building, Hounsfield Road, Sheffield; S3 7RH.
> *Times Higher Education University of the Year 2011*
> **
--
Steve Jones [log in to unmask]
System Administrator office: 220
High Energy Physics Division tel (int): 42334
Oliver Lodge Laboratory tel (ext): +44 (0)151 794 2334
University of Liverpool http://www.liv.ac.uk/physics/hep/
|