Changes between Version 84 and Version 85 of InstallingUsingRPMS
- Timestamp:
- 11/01/11 22:38:36 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallingUsingRPMS
v84 v85 193 193 {{{#!default 194 194 # 195 # 1. install grid-mapfile generator from PL-Grid repository195 # 1. install qcg grid-mapfile generator 196 196 # 197 yum install plggridmapfilegenerator197 yum install qcg-gridmapfilegenerator 198 198 # 199 # 2. install cron job that updates QCG gridmapfile 200 # 201 cd /etc/cron.hourly/ 202 wget http://www.qoscosgrid.org/trac/qcg-computing/downloads/qcg-gridmapfile.cron 203 chmod a+x qcg-gridmapfile.cron 204 # 205 # 3. configure gridmapfilegenerator - remember to change 199 # 2. configure gridmapfilegenerator - remember to change 206 200 # * url property to your local ldap replica 207 201 # * search base 208 202 # * filter expression 209 203 # * security context 210 cat > /opt/plgrid/qcg/etc/qcg-comp/plggridmapfilegenerator.conf << EOF 211 212 [ldap] 213 url=ldap://your.ldap.replica 214 #search base 215 #e.g. base=ou=People,dc=pcss,dc=plgrid,dc=pl 216 base=ou=People,dc=your-unit,dc=plgrid,dc=pl 217 #filter, specifies which users should be processed 218 # e.g. filter=(&(plgridX509CertificateDN=*)(plgridAccessService=QCG_ACCESS_PCSS)) 219 filter=(&(plgridX509CertificateDN=*)(plgridAccessService=QCG_ACCESS_YOUR_SUFFIX)) 220 #timeout for execution of ldap queries 221 timeout=10 222 #optional username and password 223 #username=<username> 224 #password=<password> 225 tls=false 226 disable_cert_checking=false 227 #cacertdir=/etc/grid-security/certificates/ 228 #cacertfile=/etc/grid-security/certificates/8a661490.0 229 230 [filter] 231 blacklist_file=/etc/grid-security/grid-mapfile.deny.db 232 233 [output] 234 format=^plgridX509CertificateDN, uid 235 EOF 204 vim /opt/plgrid/qcg/etc/qcg-comp/plggridmapfilegenerator.conf 236 205 # 237 # 4. run the cron job in order to generate gridmapfile now206 # 3. run the cron job in order to generate gridmapfile now 238 207 # 239 / etc/cron.hourly/qcg-gridmapfile.cron208 /bin/sh /etc/cron.d/qcg-gridmapfilegenerator.cron 240 209 }}} 241 210 }}}