Difference between revisions of "Dirac Development"

From GridPP Wiki
Jump to: navigation, search
(Preliminaries)
(Replaced content with "This page is left empty in protest at not being able to delete it. <hr> [https://www.gridpp.ac.uk/wiki/Dirac Back] to the Dirac overview page.")
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Official Documentation ==
+
This page is left empty in protest at not being able to delete it.
[https://github.com/DIRACGrid/DIRAC/wiki/GitSetup GitSetup] <br>
+
[http://diracgrid.org/files/docs/DeveloperGuide/DevelopmentEnvironment/DeveloperInstallation/index.html DeveloperInstallation] <br>
+
[http://diracgrid.org/files/docs/DeveloperGuide/AddingNewComponents/index.html AddingNewComponents] <br>
+
  
== Preliminaries ==
+
<hr>
* Setup yourself up with a hostcert and a EMI UI, eg by following [https://www.gridpp.ac.uk/wiki/Dirac_on_a_vm_at_cern these] instructions.
+
[https://www.gridpp.ac.uk/wiki/Dirac Back] to the Dirac overview page.
* Install git (and emacs ;-).
+
* Make a dirac user and copy the hostcert/key into .globus
+
* You also need the ssh key you use on github
+
* To save you from typos (the script does not deal well with that :-D ) use "ssh-add -t 1h"
+
* wget http://www.hep.ph.ic.ac.uk/~dbauer/dirac/dirac_in_a_box.py
+
* <pre> ./dirac_in_a_box.py /opt/dirac/ git@github.com:ic-hep </pre>
+
* Ignore "Exception _mysql_exceptions.ProgrammingError" errors
+
 
+
== Get the code ==
+
* You need a github account and be a member of the ic-hep organization. Please contact Simon F. directly if you need access.
+
 
+
* Then you need to [https://help.github.com/articles/fork-a-repo fork the repo]
+
 
+
* In the example I'm using my own github login 'marianne013'(*) as I like to be able to do cut-and-paste when following my own instructions. 
+
 
+
* As the dirac user do: <pre>git clone git@github.com:marianne013/DIRAC.git</pre> (from git page ssh). This will only work if the dirac user has a copy of your ssh key :-D
+
 
+
* <pre> DIRAC/Core/scripts/dirac-deploy-scripts.py </pre>
+
 
+
* <pre> wget http://www.hep.ph.ic.ac.uk/~dbauer/dirac/full_sanitized.cfg </pre>
+
 
+
* edit full_sanitized.cfg <br>
+
# Normal machine set-up (symlinking /etc/grid-security/certificates, etc...)
+
# Checkout DIRAC
+
DIRAC/Core/scripts/dirac-deploy-scripts.py
+
wget http://www.hep.ph.ic.ac.uk/~dbauer/dirac/full_sanitized.cfg
+
#Edit full_sanitized.cfg
+
## Set Release = integration
+
## Set UseVersionsDir = no
+
## Edit TargetPath = /srv/localstage/ddirac
+
## Set ExtraModules = DIRACWeb
+
## Set SiteName etc...
+
## Comment Out WorkloadManagement/InputDataAgent
+
## Comment Out WorkloadManagement/TaskQueueDirector
+
## Turn off web interface
+
## Set DB Passwords
+
 
+
<pre>
+
scripts/dirac-install -t server -X full_sanitized.cfg
+
source bashrc
+
dirac-configure -F full_sanitized.cfg
+
dirac-install-mysql
+
dirac-setup-site
+
</pre>
+
 
+
(*) The first hit when putting Marianne013 into google entitled: "Marianne 013: Kühe in Ketten und Strapsen" which translates into "Cows in chains and suspenders." It's all downhill from there.
+

Latest revision as of 14:07, 12 June 2024

This page is left empty in protest at not being able to delete it.


Back to the Dirac overview page.