Difference between revisions of "Retain Linux Install"
From GWAVA Technologies Training
(→Install:) |
|||
Line 35: | Line 35: | ||
#* create a database, username and password | #* create a database, username and password | ||
# take the defaults | # take the defaults | ||
− | # Stop tomcat <code>rcretain-tomat7 stop</code> | + | # If using multiple disks: |
− | # Change ownership on ARCHIVE, INDEX and LOGS to <code>chown -R tomcat:tomcat /[volume]</code> | + | ## Stop tomcat <code>rcretain-tomat7 stop</code> |
− | # Change permissions on ARCHIVE, INDEX and LOGS to <code>chmod -R 774 /[volume]</code> | + | ## Change ownership on ARCHIVE, INDEX and LOGS to <code>chown -R tomcat:tomcat /[volume]</code> |
− | # Change ownership on DATA to <code>chown -R mysql:mysql /[volume]</code> | + | ## Change permissions on ARCHIVE, INDEX and LOGS to <code>chmod -R 774 /[volume]</code> |
− | # Change permissions on DATA to <code>chmod -R 774 /[volume]</code> | + | ## Change ownership on DATA to <code>chown -R mysql:mysql /[volume]</code> |
− | # Start tomcat <code>rcretain-tomat7 start</code> | + | ## Change permissions on DATA to <code>chmod -R 774 /[volume]</code> |
− | # go to the [retain server]/RetainServer to configure the server. | + | ## Start tomcat <code>rcretain-tomat7 start</code> |
+ | # Otherwise, go to the [retain server]/RetainServer to configure the server. | ||
+ | |||
+ | == Server Configuration == | ||
+ | |||
+ | # For a test system take the defaults. | ||
+ | # Set DB User to retain | ||
+ | # Set DB ROOT User to root | ||
+ | # Set Search engine to Lucene | ||
+ | |||
+ | == Retain Configuration == | ||
+ | |||
+ | # Module Configuration and set up a module | ||
+ | ## GroupWise | ||
+ | ### Go to GWAdmin | ||
+ | ### Go to System/Trusted Applications | ||
+ | #### Create new: Retain | ||
+ | #### Copy Trusted Application Key (save someplace safe) | ||
+ | ### Go to Retain/Module Configuration/GroupWise | ||
+ | #### SOAP: | ||
+ | ##### Copy Trusted Application Key to field | ||
+ | ##### Set POA Host name to IP|domain name of post office | ||
+ | ##### Test Connection | ||
+ | ##### Save Changes | ||
+ | |||
+ | # Reporting and Monitoring Configuration and set up R&M | ||
+ | ## Core Settings: | ||
+ | ### Enable: Disable the disk usage statistics | ||
+ | ### Enable: Disable the number of messages statistics | ||
+ | ## Connection: | ||
+ | ### Set server host names to IP or domain name, not localhost | ||
+ | ## Save bootstrap | ||
+ | ## Click on Reporting and install bootstrap | ||
+ | |||
+ | == Job Configuration == | ||
+ | # Create Initial Dredge Schedule | ||
+ | ## Single for Initial Dredge | ||
+ | ## Save Changes | ||
+ | # Create Initial Dredge Profile | ||
+ | ## Scope tab: | ||
+ | ### All Messages | ||
+ | ### Try to publish all messages (SLOW) | ||
+ | ### Enable Retention and Item Store Flag | ||
+ | ### Save Changes | ||
+ | # Create Worker | ||
+ | ## Local Worker is good, if the worker is remote name it after the server it is on. | ||
+ | ## Polling: | ||
+ | ### Poll for configuration every 60 minutes is usually enough | ||
+ | ## Logging: | ||
+ | ### Diagnostic (so we don't have to try to reproduce the issue, which may take hours) | ||
+ | ## Module specific | ||
+ | ### POA Host Name should be blank | ||
+ | ## Save Changes | ||
+ | ### Save Bootstrap | ||
+ | ### Open Worker web page (http://[Workerhost]/RetainWorker | ||
+ | ### Upload | ||
+ | # Create Initial Dredge Job | ||
+ | ## Core Settings: | ||
+ | ### Set Schedule, Profile and Worker as created above | ||
+ | ## Mailboxes: | ||
+ | ### Select Mail Server(s) to dredge | ||
+ | ## Notification: | ||
+ | ### Enable Mail when errors occur and Mail summary when job is complete | ||
+ | ## Save Changes | ||
+ | # Run Job | ||
+ | ## Go to Schedules and set the minutes back 1 min. | ||
+ | ## Go to Worker Web Console and click on "Refresh job cache now" | ||
+ | ## Go to Status and determine if job is running properly. |
Revision as of 18:21, 11 November 2015
Contents |
Prerequisites for Retain 3.5:
- Create disks for best practices
- OS
- ARCHIVE
- INDEX
- LOGS
- DATA
- Install http server (apache2) from YaST
- Set DNS to Exchange server, if applicable. YaST/Network Settings
- Create directories /software/retain and /software/mysql
- md /software/mysql directory and change to it
- download MySQL Community Server 5.5.42 [1] direct? [2] to that mysql directory
- Extract the MySQL client and MySQL server or just untar the whole thing
-
tar -xf MySQL-5.5.42-1.sles11.x86_64.rpm-bundle.tar
-
- md /software/retain[version] directory and change to it
- download the current version of Retain [3] or the beta.
- unzip Retain
-
chmod +x *.sh
Install:
-
./RetainInstall.sh
- install modules:
- Retain Server
- Reporting & Monitoring
- Worker
- setup database, using MySQL
- give it the path from above
- give mysql root user a password (remember this)
- create a database, username and password
- take the defaults
- If using multiple disks:
- Stop tomcat
rcretain-tomat7 stop
- Change ownership on ARCHIVE, INDEX and LOGS to
chown -R tomcat:tomcat /[volume]
- Change permissions on ARCHIVE, INDEX and LOGS to
chmod -R 774 /[volume]
- Change ownership on DATA to
chown -R mysql:mysql /[volume]
- Change permissions on DATA to
chmod -R 774 /[volume]
- Start tomcat
rcretain-tomat7 start
- Stop tomcat
- Otherwise, go to the [retain server]/RetainServer to configure the server.
Server Configuration
- For a test system take the defaults.
- Set DB User to retain
- Set DB ROOT User to root
- Set Search engine to Lucene
Retain Configuration
- Module Configuration and set up a module
- GroupWise
- Go to GWAdmin
- Go to System/Trusted Applications
- Create new: Retain
- Copy Trusted Application Key (save someplace safe)
- Go to Retain/Module Configuration/GroupWise
- SOAP:
- Copy Trusted Application Key to field
- Set POA Host name to IP|domain name of post office
- Test Connection
- Save Changes
- SOAP:
- GroupWise
- Reporting and Monitoring Configuration and set up R&M
- Core Settings:
- Enable: Disable the disk usage statistics
- Enable: Disable the number of messages statistics
- Connection:
- Set server host names to IP or domain name, not localhost
- Save bootstrap
- Click on Reporting and install bootstrap
- Core Settings:
Job Configuration
- Create Initial Dredge Schedule
- Single for Initial Dredge
- Save Changes
- Create Initial Dredge Profile
- Scope tab:
- All Messages
- Try to publish all messages (SLOW)
- Enable Retention and Item Store Flag
- Save Changes
- Scope tab:
- Create Worker
- Local Worker is good, if the worker is remote name it after the server it is on.
- Polling:
- Poll for configuration every 60 minutes is usually enough
- Logging:
- Diagnostic (so we don't have to try to reproduce the issue, which may take hours)
- Module specific
- POA Host Name should be blank
- Save Changes
- Save Bootstrap
- Open Worker web page (http://[Workerhost]/RetainWorker
- Upload
- Create Initial Dredge Job
- Core Settings:
- Set Schedule, Profile and Worker as created above
- Mailboxes:
- Select Mail Server(s) to dredge
- Notification:
- Enable Mail when errors occur and Mail summary when job is complete
- Save Changes
- Core Settings:
- Run Job
- Go to Schedules and set the minutes back 1 min.
- Go to Worker Web Console and click on "Refresh job cache now"
- Go to Status and determine if job is running properly.