Difference between revisions of "Retain Linux Install"
From GWAVA Technologies Training
(→Prerequisites) |
|||
Line 9: | Line 9: | ||
==Prerequisites == | ==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 ==== | ====Install MySQL ==== | ||
Line 23: | Line 20: | ||
#* <code>tar -xf MySQL-5.5.42-1.sles11.x86_64.rpm-bundle.tar</code> | #* <code>tar -xf MySQL-5.5.42-1.sles11.x86_64.rpm-bundle.tar</code> | ||
− | === | + | ===Webserver=== |
+ | All versions of Retain need a webserver installed, which tomcat will be installed onto. | ||
+ | |||
====Install HTTP Server==== | ====Install HTTP Server==== | ||
# Install http server (apache2) from YaST | # Install http server (apache2) from YaST |
Revision as of 17:04, 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 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, username and password
- take the defaults
- 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, configure the server.
Return to Retain Training