Changes between Version 1 and Version 2 of PSPInstall


Ignore:
Timestamp:
06/09/13 10:33:21 (11 years ago)
Author:
uaguest_SPatel1@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PSPInstall

    v1 v2  
    22 
    331.  The PSP writes data to the directory installed on grinnell. 
    4 2.  Group objects are created for each Grouper group (excluding the etc folder) in ou=grouper,ou=groups,dc=alaska,dc=edu. 
     42.  Group objects are created for each Grouper group (excluding the etc folder) in ou=grouper,ou=group,dc=alaska,dc=edu. 
    553.  The "bushy" structure is used. 
    66 
     7== Prepare LDAP == 
     8 
     91.  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 
     13Enter LDAP Password: 
     14dn: ou=grouper,ou=group,dc=alaska,dc=edu 
     15objectClass: organizationalUnit 
     16ou: grouper 
     17aci: (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 
     19adding new entry "ou=grouper,ou=group,dc=alaska,dc=edu" 
     20 
     21}}} 
    722 
    823== Install PSP == 
     
    3348edu.vt.middleware.ldap.bindCredential= 
    3449edu.vt.middleware.ldap.baseDn=dc=alaska,dc=edu 
    35 edu.internet2.middleware.psp.groupsBaseDn=ou=grouper,ou=groups,dc=alaska,dc=edu 
     50edu.internet2.middleware.psp.groupsBaseDn=ou=grouper,ou=group,dc=alaska,dc=edu 
    3651edu.internet2.middleware.psp.peopleBaseDn=ou=people,dc=alaska,dc=edu 
    3752}}} 
     
    6075    ldapPoolId="ldap" 
    6176    ldapPoolIdSource="spring"> 
    62     <!-- A <ConfigurationResource/> is required to instantiate the <Service/>, so supply a do-nothing resource. --> 
     77    <!- - A <ConfigurationResource/> is required to instantiate the <Service/>, so supply a do-nothing resource. - -> 
    6378    <ConfigurationResource 
    6479      file="/psp-vt-ldap-1.xml" 
     
    145160</beans> 
    146161}}} 
     162 
     1634.  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{{{ 
     166changeLog.consumer.psp.class = edu.internet2.middleware.psp.grouper.PspChangeLogConsumer 
     167changeLog.consumer.psp.quartzCron = 0 * * * * ? 
     168changeLog.psp.fullSync.class = edu.internet2.middleware.psp.grouper.PspChangeLogConsumer 
     169changeLog.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 
     177root      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 
     178root     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}}}