| 7 | == Prepare LDAP == |
| 8 | |
| 9 | 1. Create the base DN that we're using to store groups in LDAP. |
| 10 | |
| 11 | {{{ |
| 12 | [oracle@grinnell ~]$ ldapmodify -a -h localhost -p 1389 -D "cn=directory manager" -W |
| 13 | Enter LDAP Password: |
| 14 | dn: ou=grouper,ou=group,dc=alaska,dc=edu |
| 15 | objectClass: organizationalUnit |
| 16 | ou: grouper |
| 17 | aci: (targetattr="*") (version 3.0; acl "Grouper Write Access";allow (add,delete,read,write,search,compare) (userdn="ldap:///uid=grouper03,ou=resource,dc=alaska,dc=edu" and ip="127.0.0.1");) |
| 18 | |
| 19 | adding new entry "ou=grouper,ou=group,dc=alaska,dc=edu" |
| 20 | |
| 21 | }}} |
| 162 | |
| 163 | 4. Find the following properties in /srv/grouper/grouper.api-2.1.4/conf/grouper-loader.properties and update the values. Properties need to be uncommented. |
| 164 | |
| 165 | {{{ |
| 166 | changeLog.consumer.psp.class = edu.internet2.middleware.psp.grouper.PspChangeLogConsumer |
| 167 | changeLog.consumer.psp.quartzCron = 0 * * * * ? |
| 168 | changeLog.psp.fullSync.class = edu.internet2.middleware.psp.grouper.PspChangeLogConsumer |
| 169 | changeLog.psp.fullSync.quartzCron = 0 0 5 * * ? |
| 170 | }}} |
| 171 | |
| 172 | == Restart Grouper Daemon == |
| 173 | |
| 174 | {{{ |
| 175 | [root@grinnell ~]# cd /srv/grouper/grouper.api-2.1.4 |
| 176 | [root@grinnell grouper.api-2.1.4]# ps -ef | grep edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper |
| 177 | root 5226 5225 0 08:51 pts/3 00:00:22 java -Xms64m -Xmx750m -Dgrouper.home=/srv/grouper/grouper.api-2.1.4/ -classpath /srv/grouper/grouper.api-2.1.4/conf:/srv/grouper/grouper.api-2.1.4/dist/lib/grouper.jar:/srv/grouper/grouper.api-2.1.4/lib/grouper/*:/srv/grouper/grouper.api-2.1.4/lib/custom/*:/srv/grouper/grouper.api-2.1.4/lib/jdbcSamples/*:/srv/grouper/grouper.api-2.1.4/lib/ant/*:/srv/grouper/grouper.api-2.1.4/lib/test/*:/srv/grouper/grouper.api-2.1.4/dist/lib/test/*:/srv/grouper/grouper.api-2.1.4/src/resources: edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper -loader |
| 178 | root 10073 5202 0 09:38 pts/3 00:00:00 grep edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper |
| 179 | [root@grinnell grouper.api-2.1.4]# kill -9 5226 |
| 180 | [root@grinnell grouper.api-2.1.4]# nohup ./bin/gsh.sh -loader & |
| 181 | [1] 2217 |
| 182 | [root@grinnell grouper.api-2.1.4]# nohup: ignoring input and appending output to `nohup.out' |
| 183 | }}} |