-
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
- Extra exercise: make jobs execute on an SSH Computing Element
Important : Use Administrator Guide . Help us to improve the documentation !
- 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
-
IMPORTANT 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
-
Install WMS components using the SystemAdministrator Console. Run as dirac_admin user:
$ dirac-admin-sysadmin-cli --host dirac.cern.ch
-
Install components using install command
-
Hint: The list of components to install can be looked up in the install_wms.cfg
- Add a dirac VO to the DIRAC Registry, make dirac_user group belong to this VO
- Submit jobs using the Web Portal Launchpad application as user in the dirac_user group
That's it !
- Configure an SSH Computing Element on the same host as the DIRAC server or on any other host accessible with an SSH account
- Create dirac_pilot group and a pilot user
- Configure the /Operations/Defaults/Pilot section
- Launch SiteDirector sending pilots to the SSH Computing Element