~ubuntu-branches/ubuntu/saucy/lcmaps-plugins-jobrep/saucy

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Package Import Robot
  • Author(s): Dennis van Dok
  • Date: 2013-05-23 11:38:59 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130523113859-j3aprq5imdokjunw
Tags: 1.5.3-1
New upstream release ; this includes recording the GATEKEEPER_JM_ID
so jobs can be linked to credentials

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Date: August 31, 2012
2
 
Author: Oscar Koeroo
3
 
 
4
 
 
5
 
QUICK INSTALL GUIDE for the LCMAPS Jobrepository plug-in
6
 
========================================================
7
 
 
8
 
Packages to install
9
 
-------------------
10
 
mysql-connector-odbc
11
 
mysql-server
12
 
mysql
13
 
unixODBC
14
 
unixODBC-libs
15
 
lcmaps
16
 
 
17
 
Tested front-end tools and services
18
 
-----------------------------------
19
 
gLExec
20
 
globus-gridftp-server
21
 
globus-gatekeeper
22
 
 
23
 
Possible other front-end tools and services
24
 
-------------------------------------------
25
 
SCAS
26
 
lcmaps-rest
27
 
gsi-openssh-server
28
 
 
29
 
Front-ends that will likely NOT work
30
 
------------------------------------
31
 
WMProxy
32
 
StoRM backend
33
 
 
34
 
Motivation:
35
 
The front-ends which do not use an LCMAPS interface that provides certificates
36
 
can currently not be  supported.   It is a requirement for the 1.5 version to
37
 
be able to work from a certificate chain.
38
 
 
39
 
 
40
 
Example LCMAPS configuration
41
 
----------------------------
42
 
jobrep      = "lcmaps_jobrep.mod"
43
 
              "--dsn MySQL-test"
44
 
              "--username root"
45
 
              "--password worteltjes"
46
 
 
47
 
example_plugin_policy:
48
 
verifyproxy -> vomslocalgroup
49
 
vomslocalgroup -> vomspoolaccount
50
 
vomspoolaccount -> tracking_groupid
51
 
tracking_groupid -> jobrep
52
 
jobrep -> posix_enf
53
 
 
54
 
 
55
 
Example /etc/odbc.ini file
56
 
--------------------------
57
 
[MySQL-test]
58
 
Description = MySQL test database
59
 
Driver      = MySQL
60
 
SERVER      = 127.0.0.1
61
 
PORT        = 3306
62
 
DATABASE    = jobrepository
63
 
 
64
 
 
65
 
Database connection test
66
 
------------------------
67
 
To test the connection from the jobrep plug-in to the database use the "--test" option. The plug-in will not log any information, but it will test if the configured DSN name is available on the system and if the database connection can be established using the odbc.ini file details.
68
 
 
69
 
Example:
70
 
jobrep      = "lcmaps_jobrep.mod"
71
 
              "--test"
72
 
              "--dsn MySQL-test"
73
 
              "--username root"
74
 
              "--password worteltjes"
75
 
 
76
 
Note on the lcmaps.db and odbc.ini configuration
77
 
------------------------------------------------
78
 
1.) Notice the --dsn <value> matches the DSN shown in the .ini section header.
79
 
2.) Also notice that the posix_enf plug-in is executed _after_ the jobrep
80
 
    plug-in. The motivation is to be able to use privilege separation and with 
81
 
    that protect the database password.
82
 
 
83