Difference between revisions of "Testing a Dirac server"

From GridPP Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 6: Line 6:
 
</pre>
 
</pre>
 
then you can look at it at: https://localhost:12345
 
then you can look at it at: https://localhost:12345
* Setup a Dirac UI following the instructions [https://www.gridpp.ac.uk/wiki/Quick_Guide_to_Dirac here]. If you are doing this at Imperial just put it in your homedir on lx03/lx04. Remember to edit defaults-gridpp.cfg before running "dirac-configure defaults-gridpp.cfg". You need to change ConfigurationServer and Setup according to your dirac server, leave the rest unchanged.
+
* Setup a Dirac UI following the instructions [https://www.gridpp.ac.uk/wiki/Quick_Guide_to_Dirac here].
* Once you are done, make sure you have a dirac proxy for the VO you are aiming for (dteam in the example):
+
* Once you are done, make sure you have a dirac proxy for the VO you are aiming for (gridpp in the example):
 
<pre>
 
<pre>
dirac-proxy-init -g dteam_user
+
dirac-proxy-init -g gridpp_user
 
</pre>
 
</pre>
 
* Try uploading a file: dirac-dms-add-file -ddd /dteam/user/d/dbauer/testfile_d1.txt testfile_d.txt IMPERIAL-disk
 
* Try uploading a file: dirac-dms-add-file -ddd /dteam/user/d/dbauer/testfile_d1.txt testfile_d.txt IMPERIAL-disk
 
* Submit a job according to: [https://www.gridpp.ac.uk/wiki/Quick_Guide_to_Dirac#Create_a_JDL User guide]
 
* Submit a job according to: [https://www.gridpp.ac.uk/wiki/Quick_Guide_to_Dirac#Create_a_JDL User guide]
  
 +
A test suite for the GridPP production dirac can be found in [https://github.com/ic-hep/DIRAC-tools/tree/master/check_dirac github].
  
 
<hr>
 
<hr>
 
Back to the [https://www.gridpp.ac.uk/wiki/Dirac Dirac overview] page.
 
Back to the [https://www.gridpp.ac.uk/wiki/Dirac Dirac overview] page.

Latest revision as of 12:39, 21 October 2022

  • Does the Dirac Webinterface work ? Does it recognize your certificate ? Try the imperial test dirac.

(The structure for any dirac webinterface should be: https://dirachostname:8443.)

  • If you are looking at a dirac server setup on a CERN VM, try
ssh -L 12345:diractest.cern.ch:8443 dbauer@lxplus.cern.ch

then you can look at it at: https://localhost:12345

  • Setup a Dirac UI following the instructions here.
  • Once you are done, make sure you have a dirac proxy for the VO you are aiming for (gridpp in the example):
dirac-proxy-init -g gridpp_user
  • Try uploading a file: dirac-dms-add-file -ddd /dteam/user/d/dbauer/testfile_d1.txt testfile_d.txt IMPERIAL-disk
  • Submit a job according to: User guide

A test suite for the GridPP production dirac can be found in github.


Back to the Dirac overview page.