-
Notifications
You must be signed in to change notification settings - Fork 176
DIRAC Operations Tutorial
- Preparation of the VirtualBox VM
- Preparation of the DIRAC service host
- Installation of the minimal DIRAC service
- Installation of the Framework DIRAC services
- Installation of the WMS services
- Submit jobs
- Make jobs execute on an SSH Computing Element
- In VirtualBox Preferences -> Network -> Host-only Networks add vboxnet0 interface
- Import SLC6_tutorial_0.4.ova VM image (http://diracgrid.org/files/tutorial/SLC6_tutorial_0.4.ova)
- In VM Settings General -> Advanced set Shared Clipboard and Drag'n'drop to bidirectional
- In VM Settings Network Adapter 1 set to NAT, Adapter 2 set to Host-only Adapter Name: vboxnet0
- In VM Settings Shared Folders it can be convenient to define one shared folder
- Start the VM, install Guest Additions.
-
Start the VM and login as root, the su dirac
-
Check the host accessibility by ssh:
$ ifconfig
Note the IP address of the eth1 interface, e.g. 192.168.56.101 From the host terminal do:
$ ssh [email protected]
Edit /etc/hosts. Add
192.168.56.101 dirac.cern.ch dirac
-
Remove firewall restrictions in the VM - run as root:
$ system-config-firewall-tui
-
Follow instructions in /home/dirac/Tutorial/README file to prepare the host
-
Copy generated CA certificates to /opt/dirac/etc/grid-security/certificates
-
Copy generated host certificates to /opt/dirac/etc/grid-security
-
Do:
$ export X509_CERT_DIR=/opt/dirac/etc/grid-security/certificates
-
Hint: make a copy of the resulting /opt/dirac directory. If something goes wrong it will help to restart from this point.
-
Edit install_minimal.cfg configuration file
-
Install minimal set of the DIRAC services with:
$ ./install_site install_minimal.cfg
Hint: Populate /opt/dirac/.installCache with files in /home/dirac/Externals
-
Make DIRAC services start at boot time (See the Administrator Guide)
-
- Install /opt/dirac/sbin/runsvdir-start script
-
- Add file /etc/init/dirac.conf
-
Reboot the VM
-
Edit install_framework.cfg
-
Install framework services with
$ dirac-setup-site install_framework.cfg