Difference between revisions of "Retain Linux Install"
From GWAVA Technologies Training
(→Prerequisites) |
(→Install Retain) |
||
Line 42: | Line 42: | ||
===Install Retain=== | ===Install Retain=== | ||
# <code>./RetainInstall.sh</code> Retain 4 requires extensive resources the lab doesn't have, see your mentor about provisioning. | # <code>./RetainInstall.sh</code> Retain 4 requires extensive resources the lab doesn't have, see your mentor about provisioning. | ||
− | # | + | # Install typical modules: |
#* Retain Server | #* Retain Server | ||
#* Reporting & Monitoring | #* Reporting & Monitoring | ||
Line 48: | Line 48: | ||
#* Skip Stubbing as very few customers use that functionality | #* Skip Stubbing as very few customers use that functionality | ||
#* Skip the Router as that should be installed on its own server in the network DMZ | #* Skip the Router as that should be installed on its own server in the network DMZ | ||
− | # | + | # Setup database, using MySQL |
#* give it the path from above | #* give it the path from above | ||
#* give mysql root user a password (remember this) | #* give mysql root user a password (remember this) | ||
− | #* create a database, username and password | + | #* create a database (retain), username (retain) and password |
− | # | + | # Take the defaults and finish the install |
# If using multiple disks: | # If using multiple disks: | ||
## Stop tomcat <code>rcretain-tomat7 stop</code> | ## Stop tomcat <code>rcretain-tomat7 stop</code> | ||
Line 62: | Line 62: | ||
## Change permissions on ARCHIVE to <code>chmod -R 777 /ARCHIVE </code> | ## Change permissions on ARCHIVE to <code>chmod -R 777 /ARCHIVE </code> | ||
### Start tomcat <code>rcretain-tomat7 start</code> | ### Start tomcat <code>rcretain-tomat7 start</code> | ||
− | # Otherwise, configure the server. | + | # Otherwise, browse to the RetainServer and configure the server. |
Return to [[Retain Training]] | Return to [[Retain Training]] |
Revision as of 17:07, 8 June 2016
Contents |
Multiple Disks
Create multiple disks to follow Retain best practices. This is optional but recommended.
- Create the disks in the VM software
- Format the disks in the VM itself using YaST/Partitioner, these values should be large enough for a few million small messages
- ARCHIVE (60-80GB)
- INDEX (15-30GB)
- LOGS (6-15GB)
- DATABASE (20-40GB)
Prerequisites
Database
For Retain 3.x you need to manually download and install a database. Retain 4.x will automatically download and install MySQL 5.6.
Install MySQL
- Create a directory and download it
- 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
Webserver
All versions of Retain need a webserver installed, which tomcat will be installed onto.
Install HTTP Server
- Install http server (apache2) from YaST
- If connecting to Exchange:
- Set DNS to Exchange server, in YaST/Network Settings
The Retain installer will download Java and MySQL if you wish.
Install
Download Retain
- Create Retain download directory
- 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 Retain
-
./RetainInstall.sh
Retain 4 requires extensive resources the lab doesn't have, see your mentor about provisioning. - Install typical modules:
- Retain Server
- Reporting & Monitoring
- Worker
- Skip Stubbing as very few customers use that functionality
- Skip the Router as that should be installed on its own server in the network DMZ
- Setup database, using MySQL
- give it the path from above
- give mysql root user a password (remember this)
- create a database (retain), username (retain) and password
- Take the defaults and finish the install
- If using multiple disks:
- Stop tomcat
rcretain-tomat7 stop
- Change ownership on INDEX and LOGS to
chown -R tomcat:tomcat /[volume]
- Change permissions on INDEX and LOGS to
chmod -R 774 /[volume]
- Change ownership on DATABASE to
chown -R mysql:mysql /DATABASE
- Change permissions on DATABASE to
chmod -R 774 /DATABASE
- Change ownership on ARCHIVE to
chown -R tomcat:tomcat /ARCHIVE
- Change permissions on ARCHIVE to
chmod -R 777 /ARCHIVE
- Start tomcat
rcretain-tomat7 start
- Start tomcat
- Stop tomcat
- Otherwise, browse to the RetainServer and configure the server.
Return to Retain Training