asc:workbook_grid
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
asc:workbook_grid [2013/05/30 18:53] – external edit 127.0.0.1 | asc:workbook_grid [2023/10/04 19:04] (current) – asc | ||
---|---|---|---|
Line 16: | Line 16: | ||
<code bash setup.sh> | <code bash setup.sh> | ||
#!/bin/bash | #!/bin/bash | ||
- | export | + | export |
- | export TEST_AREA=$HOME/testarea | + | |
export ATLAS_LOCAL_ROOT_BASE=/ | export ATLAS_LOCAL_ROOT_BASE=/ | ||
source ${ATLAS_LOCAL_ROOT_BASE}/ | source ${ATLAS_LOCAL_ROOT_BASE}/ | ||
- | asetup | + | localSetupDQ2Client |
+ | voms-proxy-init -voms atlas -valid 96:00 | ||
</ | </ | ||
Put it in a file " | Put it in a file " | ||
- | |||
- | Then type: | ||
- | < | ||
- | localSetupDQ2Client | ||
- | voms-proxy-init -voms atlas -valid 96:00 | ||
- | </ | ||
Say " | Say " | ||
Line 43: | Line 37: | ||
- | Before starting using this, type: | ||
- | < | ||
- | voms-proxy-init -voms atlas | ||
- | </ | ||
- | or using the standard (proxy for 3 days): | + | In this example, we use |
< | < | ||
grid-proxy-init -valid | grid-proxy-init -valid | ||
Line 58: | Line 48: | ||
voms-proxy-info -all | voms-proxy-info -all | ||
</ | </ | ||
+ | |||
+ | If there is a problem run these commands to debug them: | ||
+ | |||
+ | < | ||
+ | setupATLAS | ||
+ | diagnostics | ||
+ | gridCert | ||
+ | </ | ||
+ | |||
Then check the location of your data: | Then check the location of your data: | ||
Line 73: | Line 72: | ||
- | ====== Using Pathena | + | ====== Using Pathena commands ====== |
Do the setup as above then then type: | Do the setup as above then then type: | ||
Line 83: | Line 82: | ||
The general ATLAS instructions for pathena can be found [[https:// | The general ATLAS instructions for pathena can be found [[https:// | ||
+ | Also look at: | ||
+ | [[https:// | ||
+ | (attention: do not setup dq2-get together with panda!) | ||
- | ====== Setting up Grid Certificates ====== | + | ===== Putting files on the grid ===== |
+ | (thanks to Taylor for checking) | ||
+ | Setup Atlas release. For SL6, source this code: | ||
- | * Request a DOE grid certificate using this site http://www.doegrids.org/pages/cert-request.html and list your Argonne collaborator when it asks for it (you must be using the same computer and browser you want to import the certificate on. Use IE or Firefox . | + | <code bash> |
- | * Once your request is approved, you'll be sent a link to retrieve your certificate. At the bottom of that page, there is a link to import your certificate | + | #!/bin/bash |
- | * Import your certificate and then you'll want to export | + | export AVERS=17.7.0 |
- | In Fuirefox, just go to " | + | export TEST_AREA=$HOME/testarea |
- | | + | export |
+ | source ${ATLAS_LOCAL_ROOT_BASE}/ | ||
+ | asetup | ||
+ | localSetupDQ2Client | ||
+ | voms-proxy-init -voms atlas -valid 96:00 | ||
+ | localSetupPandaClient --noAthenaCheck | ||
+ | </ | ||
- | The first time you need to use your certificate, | + | Then put files (assumes MWT2_UC_SCRATCHDISK): |
< | < | ||
- | openssl pkcs12 | + | dq2-put -d -L MWT2_UC_SCRATCHDISK |
- | openssl pkcs12 | + | |
</ | </ | ||
- | You will be asked several times for the password. Use the same as that when you made backup copy. | + | |
- | Then do: | + | You can also register it on the grid. |
< | < | ||
- | chmod 600 $HOME/.globus/ | + | dq2-register-dataset user.< |
- | chmod 644 $HOME/.globus/ | + | dq2-register-location user.< |
</ | </ | ||
- | You can test that the certificate is working correctly by typing "grid-proxy-init" | + | ====== Replicate data on the grid ====== |
- | If you are already a member of ATLAS, then you just need to join the Virtual Organization. The instructions can be found here [[http://www.usatlas.bnl.gov/twiki/ | + | Go to: https://rucio-ui.cern.ch/ |
- | Follow the instructions on that page exactly. When you get to the set where it redirects you to https:// | + | Use your X509 certificate |
- | You will be a candidate until they approve you and then you'll need to go back to [[https:// | + | (On top click) Data Transfer (R2D2) > Request new rules > click “List of DIDS” > copy your dataset list to the box and click Search > in step 2 use " |
- | Your grid will work only when you will get the email (usually takes 1-3 days): | ||
- | |||
- | < | ||
- | Dear VO Member, | ||
- | The membership status has been changed from New to Approved due to the following reason: Approved for your VOMRS atlas account with primary certificate: | ||
- | DN: / | ||
- | CA: / | ||
- | Please contact VO administrator if you have any questions. | ||
- | </ | ||
asc/workbook_grid.1369940005.txt.gz · Last modified: 2013/10/23 15:27 (external edit)