Retain Linux Install
From GWAVA Technologies Training
				
								
				
				
																
				
				
								
				| 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.shRetain 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
