OPENTEXT 24.2 Install Upgrade
OPENTEXT 24.2 Install Upgrade
2
Installation and Upgrade
April 2024
Legal Notice
Copyright 2023-2024 Open Text
The only warranties for products and services of Open Text and its affiliates and licensors (“Open Text”) are as may be set
forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as
constituting an additional warranty. Open Text shall not be liable for technical or editorial errors or omissions contained
herein. The information contained herein is subject to change without notice.
2
Contents
Preface 7
About Retain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
For Documentation Feedback. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
To Join the Retain Idea Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
For Additional Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
To Contact Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
For Sales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
For Professional Services. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Contents 3
Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Installing Other Retain Components on Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Deploying Production-Use Worker Agents on Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Installing a Retain Message Router on Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Installing Other Retain Components on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Installing Additional Retain Workers on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Installing a Retain Message Router on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Starting and Stopping the Retain Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4 Contents
Upgrading MySQL on Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Contents 5
6
Preface
About Retain
Retain Unified Archiving
Archives email and text messages.
Catalogs them for search and retrieval.
For Sales
Go to the OpenText Contact page.
Preface 7
8 Preface
1 Installing Retain 24.2
1
1 If you are using IIS and it is not already installed, install it now along with the ISAPI Extensions
and Filters.
The ISAPI Extensions and Filters allow Retain to gather and manipulate information about
Internet traffic on the system.
MySQL
1. Download and install the latest MySQL server and client and configure according to local system
needs.
a. Install the server: rpm -ivh MySQL-server-version.sles11.x86_64.rpm
b. install the client: rpm -ivh MySQL-client-version.sles11.x86_64.rpm
c. Modify /usr/my.cnf, to move the database to a data volume, by adding the line datadir=/
path/to/where/you/want/the/MySQL/data
d. Find the root password in /root/.mysql_secret
cat /root/.mysql_secret
e. Start MySQL:
rcmysql start
f. Change the root password:
/usr/bin/mysql_secure_installation
2. Log in to MySQL using the client:
mysql -u root -p
3. Create the database: * This is critical. Not storing the database in UTF-8 format guarantees
irreparable corruption for non-US-ASCII characters. *
CREATE DATABASE retain DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE
utf8mb4_unicode_ci;
a. If you make a mistake, enter this command:
DROP DATABASE retain;
b. Then repeat step 3 to create the database.
4. This step depends on which version of MySQL you are using.
For MySQL 5.x: Retain needs to be configured with a user account that you grant full rights
to the Retain database.
ORACLE
Retain supports the usage of Oracle databases on all platforms. (For more information, see
“Database Platforms” in the OpenText Retain CE 24.2: Planning guide.)
However, it is the customer’s responsibility to employ an experienced Oracle DBA to install,
maintain, and tune Oracle.
The instructions below serve as a guideline, but may result in poorly performing, insecure
environments.
Oracle Installation instructions vary widely depending on the version, OS, storage configuration,
clustering, and so on. There is no one-size-fits-all.
This is also true of other SQL Server products, but especially for Oracle, which is why relying on a
DBA is so critical.
Using Oracle with Retain requires the following tasks:
“Installing the Oracle Server” on page 15
“Setting Up a TCPIP Listener” on page 15
“Creating a Database Named Retain” on page 15
“Creating a User Account to Access the Retain Database” on page 16
“Tuning Oracle” on page 17
Tuning Oracle
Tuning Oracle is well beyond the scope of this manual and requires Oracle's online guides, as well as
an experienced DBA or extensive training.
Postgres 10.9
When creating a PostgreSQL database for use by Retain, specify UTF8 encoding.
If the Retain Server is on a different machine, you must configure PostgreSQL to accept connections
from that machine's IP address.
1. Connect to PostgreSQL using its psql utility.
2. Create a new database and user for use by Retain. The example below creates a user named
"retainuser":
CREATE DATABASE retain WITH OWNER = retainuser ENCODING = 'UTF8' TABLESPACE = pg_default
CONNECTION LIMIT = -1;
While logged in to MariaDB, enter the following commands, replacing UserName and Password
with the desired user name and password
Both commands are needed. The ‘%’ is a wildcard. If you want to restrict the connection to a
specific IP address, specify the address instead of the ‘%’ sign.):
GRANT ALL PRIVILEGES ON retain.* TO 'UserName'@'%' IDENTIFIED BY
'Password';
MySQL
You should periodically optimize the Retain tables in order to achieve optimum query and update
performance. This can have a big impact on the performance of archive jobs, deletion jobs, etc. It is
also a good idea to optimize the memory settings for MySQL.
Optimizing Tables
WARNING: This should be done during a maintenance window because it locks the tables and can
take hours to complete (or days for larger databases).
The time required is a function of the number of records in the tables, the power of the underlying
hardware, and the RAM available. The more innodb_buffer_pool_size you can give to MySQL, the
more tablespace it can load into RAM as explained here (https://dev.mysql.com/doc/refman/5.5/en/
glossary.html#glos_buffer_pool).
Like hard disks, database tables' indexes can become fragmented resulting in poor performance.
Optimizing tables can dramatically improve archive job and deletion job performance.
At the command prompt, type: mysqlcheck -o -u root -p retain
"-o" instructs it to optimize all tables in the database.
"-u root" specifies the user "root".
"-p" causes it to prompt for the retain database password.
"retain" instructs it to run against the "retain" database (or whatever you named it during
installation - "retain" is the default).
The command above optimizes all Retain tables at once. However, many are static and would not
necessarily be subject to fragmentation issues.
NOTE: Retain uses the innoDB engine in MySQL, which does not support the optimize option;
however, running this option automatically performs a re-create action on the tables, which
eliminates the fragmentation. There might be better ways to accomplish this, so this information is
supplied to point you in the right direction.
For more detailed information and other mysqlcheck options, you may want to research this on the
Internet. For your convenience, here are a couple of helpful articles:
4.5.3. mysqlcheck - A Table Maintenance Program (http://dev.mysql.com/doc/refman/5.0/en/
mysqlcheck.html#option_mysqlcheck_analyze)
MySQL Back to Basics: Analyze, Check, Optimize, and Repair (http://www.pythian.com/blog/mysql-
back-to-basics-analyze-check-optimize-and-repair/) (written in 2008)
MySQL Reference Manual on getting a dump of a corrupted database (http://dev.mysql.com/doc/
refman/5.5/en/forcing-innodb-recovery.html) This is sometimes the only option for recovering data
from a corrupted INNODB database.
Memory Optimization
Memory for your innoDB can be configured in /etc/my.cnf (Linux) or on Windows, in the
[drive]:\Program Files\MySQL\MySQL Server 5.x/my.ini file (where "x" is the MySQL
version).
You'll find the following section in your my.cnf and there are identical lines in the my.ini on
Windows although they may not be in this same order. The settings you may want to consider
modifying are in red. This is followed by indented explanations in blue and are additional comments
made for this article - those additional comments are not found in the my.cnf or my.ini.
Be sure to stop tomcat “Starting and Stopping the Retain Server” on page 53 before working with
MySQL.
IMPORTANT: If you change this setting, it would be a good idea to flush the existing logs (ib_logfile0
and ib_logfile1). To do this, take the following steps:
a) Log into MySQL: mysql -u root -p
b) From the MySQL prompt, type: SET GLOBAL innodb_fast_shutdown=0;
Then type "quit" to log out of MySQL.
c) Shut down MySQL: rcmysql stop
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
To enable any one of those settings, remove the hash mark ("#") preceding it. The following is an
example for a typical system that has 16G of total RAM, where 2G is allocated for the Linux OS and
8G to Tomcat. The amount allocated to Tomcat versus the database varies per customer. A system
where a lot of queries/searches are made in Retain for items, or that runs multiple workers on the
Retain Server itself, allocates more memory to Tomcat, like in this example; otherwise, a customer
might want to favor MySQL a bit and give Tomcat a little less.
Changes to the my.cnf do not take affect until after MySQL is restarted. Again, if you changed the log
file size setting, you must follow the steps listed above or MySQL fails to load.
Once MySQL loads successfully, you can start tomcat “Starting and Stopping the Retain Server” on
page 53.
Successfully installing Retain and/or its components on Linux servers, requires the following:
An Apache Web Server: Installed and running on each Linux server as outlined in “Linux Web
Server” on page 10.
Access to the appropriate JDK running on the system: By default, the installer expects the
appropriate JDK to be running on the Linux system. (For Retain 23.4, this is JDK 17)
If the appropriate JDK is not found and the server is connected to the Internet, the install
automatically downloads and installs the JDK.
If the appropriate JDK is not found and an Internet connection is not available, you must type
the path to the appropriate JDK installation source files on the Linux server before the
installation will continue.
Synchronized server clock: Before you start the Retain install, the Linux server must be
synchronized with the time on your network. For example, if your organization uses NTP,
configure the server with your organization’s NTP settings.
Retain installs an embedded Tomcat. Consider removing any existing Tomcat installation prior to
installing Retain components.
1 If you have not already done so, download and prepare the target server with the Retain
installation files, as instructed in “Downloading and Preparing the Retain Installation Files on
Linux” on page 22.
2 Acting as root, access the server’s terminal prompt and enter the following command:
./RetainInstall.sh
3 Read and accept the license agreement.
Retain Server Install one instance of this on the main server in your deployment
Stubbing Server This only applies to GroupWise. See “Stubbing Server Overview” in OpenText
Retain CE 24.2 : Configuration and Administration.
Reporting and Generally, you should install this on the Retain server.
Monitoring Server
Retain Worker Generally, you should install a Worker on the Retain server. for troubleshooting
purposes.
Retain Message Router Install this in the DMZ. For instructions, see “Installing a Retain Message Router
on Linux” on page 50.
Prerequisites
Before running the Retain installer, you must first ensure that the following are installed and
working:
A Web Server: Installed and running on each Windows server as outlined in “Windows Web
Server” on page 10.
NOTE: IIS has a size limit restriction which limits uploads of message and attachment archiving
to 30MB, by default. Refer to the official microfost website for instructions on how to set up SSL
on IIS.
PowerShell 3.0 or higher: If PowerShell's execution policy is set too restrictively, the install fails.
See Set-ExecutionPolicy (https://docs.microsoft.com/en-us/powershell/module/
Microsoft.PowerShell.Security/Set-ExecutionPolicy?view=powershell-5.1).
Access to the appropriate JDK running on the system: For Retain 23.4, this is JDK 17.
If the appropriate JDK is not found and the server is connected to the Internet, the install
automatically downloads and installs the JDK.
If the appropriate JDK is not found and an Internet connection is not available, you must browse
to the appropriate JDK installation source files on the Windows server before the installation
will continue.
Synchronized server clock: Before you start the Retain install, the Windows server must be
synchronized with the time on your network.
4 The Wizard reminds you of the Software Requirements. Click ‘Next’ to continue.
7a. If you are upgrading, previously installed components are preselected and you can select
additional modules to install.
Welcome > File Path 1. Set the paths for Retain as planned in Storing data on separate volumes can
“Storage Planning” in OpenText Retain yield significant performance
CE 24.2: Planning. increases. Therefore, Retain lets you
By default, all data is stored as follows: specify where you want to store
archived data, indexes, and so on.
Linux: /var/opt/
beginfinite/retain If you are running Retain on a Windows
Server, Solr9 disallows the use of
Windows: C:\Retain
Windows SMB shares on the UNC
By default, zookeeper path is as follows: format, such
Linux: /var/opt/ as\\myhost\myshare\mypath. For
beginfinite/retain the indexer storage path, you are can
use a drive and mount later. As a
Windows: \Retain\zookeeper workaround, map the storage path in
Retain derives all file paths from this UNC format to a symbolic link folder on
base path. the local drive:
Retain derives all file paths from this 1. On the server where Retain is
base path. running, run the following
2. If you need to alter the base path, select command in the Windows
Custom in the drop-down list and Command Prompt: mklink /D
specify an alternate path. C:\myLink \\IP
address\c\Retain\Index In
IMPORTANT: As outlined in “Setting the above command,
Custom Storage Path Rights on C:\myLink corresponds to the
Linux” in OpenText Retain CE 24.2: linked folder on the local drive
Planning, specifying an alternate and \\IP
storage path on a Linux system address\c\Retain\Index
requires that you grant sufficient corresponds to the storage path
rights to Retain before running this in UNC format.
wizard.
2. Ensure that the Retain Tomcat
Ensure that the ownership of the service is running as a user who
base path is set to tomcat:www, has access to the shared folder. If
otherwise, the runtime Zookeeper not, please update the service
directory creation fails. For more and restart Tomcat.
information, see the Indexes
section in the OpenText Retain CE
24.2: Planning guide.
3. To customize the path for each item
(attachments, XML mappings, etc.), click
Advanced Settings and disable the
Derive all file locations from above
specified path? option.
4. When the path settings are complete,
click Continue.
Message Store 1. Enter the database connection This is the database that stores meta
Database information for the database you data for messages and other data
created in “Creating and Maintaining an archived in the datastore.
SQL Database” on page 11.
2. Click the Enable SSL check box to secure
the database connection to Retain.
Else, click Continue and proceed to
“Configuration Database” on page 37.
3. If the SSL is enabled and the database
type is MariaDB, MySQL, PostgreSQL,
and MSSQL, select one of the options
from the Choose Trust Mode dropdown
list.
Allow only trusted certificate: This
allows only trusted certificates and
you can upload the SSL certificate
created during SSL configuration.
Allow all certificate: if this option
is selected, and the SSL is
configured with the database, then
all the certificates are trusted.
If your database type is Oracle, the
Private Key and Certificate will be a
single file and you must provide an alias
name and password while uploading the
certificate .
4. Browse to and select the Database client
server’s Private Key and Certificate files
that you identified in “Securing the
Database Connection” in the OpenText
Retain CE 24.2: Planning guide.
Following are the supported and
certified files formats:
MSSQL - .pfx
Postgres - .pem and .crt
MariaDB -.pem and .crt
MySQL - .pem and .crt
Oracle - .p12
5. Based on the database type, the
certificates can be either a lone
certificate or a key pair. The certificate
name has to be unique else you will not
be able to upload the file. To create a key
pair, you must upload the cert.pem
first and then the key.pem. Ensure that
the alias name given for both the files
are same. Only self-signed certificates
need to be manually trusted. Registered
CA-signed certificates are automatically
trusted
36 Installing Retain 24.2 6. Click Continue.
Panel or Prompt Action Information
Configuration 1. Enter the database connection This is usually the same as the Message
Database information for the database you Store Database, so all connection
created in “Creating and Maintaining an information is carried forward to this
SQL Database” on page 11. dialog except the password.
2. Click Continue and continue with
“Administrator Account” on page 37
SMTP Notifications 1. Enter the following information: Retain uses an SMTP relay host for
SMTP Server: The DNS hostname sending notifications.
(preferred) or IP address of the The wizard attempts to send a test
SMTP server that Retain should use message.
for emailing notifications.
You shouldn’t proceed with setting up
From address: The From address
Retain until the SMTP test message is
shown on the messages that Retain
successfully delivered. If you see an
sends.
error, check firewall settings, including
To address: The address to which local application firewalls running on
Retain sends notifications through affected desktops and/or servers.
the SMTP server.
If no SMTP is present, you can skip this
Username: The username for
step by typing skip in the SMTP Mail
authenticating with the SMTP
Server field. This disables Retain’s
server.
notification services and is therefore
Password: The password for the not recommended for production
username. deployments.
Click Continue.
Indexing Engine 1. Enter the admin password you set The default port for indexer is 8081.
earlier. You can change the port if required.
2. Click Continue. By default, zookeeper path is as
The system initializes and connects to follows:
the indexing engine. Linux: /var/opt/
beginfinite/retain
Windows:
\Retain\zookeeper
Logging In as an Administrator
1 Enter the following URL in an administrative web browser.
http://Retain-Server-IP-or-DNS/RetainServer
2 Sign in as admin by using the password that you specified in the configuration wizard.
Users with administrative rights see the administrative console below. Non-administrators see
only the Search interface documented in “Using Retain’s Archives” in the OpenText Retain CE
24.2: User Guide.)
This provides access to all of the Retain server’s configuration and management dialogs. Panel items grow
dynamically as you add components to the Retain infrastructure,
For example, the Overview section initially has four entries: Documentation, Search Messages, Auditing, and
System Log. When you add a Reporting and Monitoring server, the entries expand to provide direct access to
those services.
Status Panel
The status panel has seven tabs: Jobs, Worker Group Jobs, Deletion, Worker, Server, Updates, and Archive
Stats.
When you open the Retain Console, the tab requiring the most attention displays.
For example, if a Server Error has occurred, the Server tab displays. If an update is available, the Update tab
displays, and so on.
Statistics in the tabs are for the current server session. They are cleared and start fresh each time the Retain
server (Apache Tomcat) starts/restarts.
Jobs Tab This shows the server’s archiving jobs and their status.
To see only active jobs, select the Show only active jobs option.
Worker Groups Jobs This displays the worker Group Jobs with workers and other statistics like
Tab Current Job began, Ended, their last active jobs, list of workers, totals etc.
There are options to see the last job details and deleted message details.
Deletion Tab This shows the server’s deletion jobs and their status, including the remaining
items marked for deletion in the database and file system.
To see only active jobs, select the Show only active jobs option.
Worker Tab The workers tab displays the workers and their last active jobs, connections, and
totals.
Server Tab The Server tab shows the basic status of the Server with the messages archived
and maintenance information.
Updates Tab The updates tab indicates that the latest version is installed or that there is a
later version available.
Archive Stats Tab This tab is deprecated and its functionality replaced by the Reporting and
Monitoring server.
Notifications
Retain uses its SMTP configuration to notify when data is moved because of a system migration, or
exporting, forwarding, restoring or publishing data.
To view the Notifications Center page, click the Welcome link at the top of the Admin Console page.
A lifted-flag icon indicates new notifications.
Licensing
About Retain Licenses
Retain comes with a 30-day trial license. This is a fully operational trial to see if Retain works with
your system.
When your licenses expire, Retain displays only the license page so that you can upload a valid
license.
There are two kinds of licenses: PEM and REST. PEM licenses are used for most functions. Some
functions require using the REST API, which requires a REST license as well.
Backing Up Retain
When you first set up Retain and dredge the email system you have two identical data sets.
When older items are deleted from the email system. That means Retain is the only repository of the
data. When it comes to backups: "Two is one, one is none." That means if one fails, a backup remains
or not. Depending on the type of your organization the legal ramifications of lost data can be
significant.
All message content and attachments to messages are stored on disk in the Retain storage area in a
directory off of the "archive" directory (Server Configuration | Storage | Advanced). Every message
and attachment gets assigned a "hash". Because the byte count of every message and file is unique,
Backing Up Retain
The archive directory consists of up to approximately 16.7+ million directories and the archives are
stored evenly across them. This makes it hard (if not impossible) for the traditional file-based backup
systems to back it up; thus, you either need a disk image (block level) backup or you need to use a
backup/restore solution of your choice.
The three most critical pieces that must be backed up are the archive data (specifically, the "archive"
directory), the Retain database and the configuration files. Losing even one of those pieces would
mean that your archive data is completely lost. They are interdependent. Indexes can be recreated,
although that takes time.
Virtual Machines
If you are running Retain on a VM and if you are using a purchased version of VMWare at any level,
the purchased version provides a disk backup utility. This can be used to back up Retain if the VM's
local disks are part of the VM guest itself. However, those backups can also take a lot of time as the
data grows, so even in those circumstances, you still may want to consider using a backup/restore
solution of your choice.
If the disks are external to the VM guest, then those disks need to be backed up. This article assumes
that the reader understands how disks work with VMs. If you do not fully understand virtual
machine concepts, we recommend that you consult with the person that set up and maintains your
VM environment.
NOTE: The information shown in the Storage tab in the Server Configuration screen is also stored in
the ASConfig.cfg file.
What to Back Up
Other than backing up the archive directory structure, there are a few areas of Retain that are
important to backup that would not require a disk image (block level) backup:
1. Configurations files
ASConfig.cfg
Indexer configuration files
2. Database (critical)
3. License
4. Index files (these can be rebuilt but that process can take days, weeks or months during which
time your searches cannot produce full results)
5. Office 365 address book CSV files.
General Maintenance
There are a few items of manual maintenance you need to do occasionally. Annually is usually
sufficient.
Remove old logs from the logs directory (Linux)/opt/beginfinite/retain/Tomcat[version]/logs or
(Windows) Program Files/beginfinite/retain/Tomcat[version]/logs
Un-installing Retain
To uninstall Retain, use the following general procedure. Actual locations may vary according to your
specific setup, storage location, and host operating system.
Linux
1. Shut Down Tomcat: “service retain-tomcat stop”
2. Shut Down Apache: “service apache2 stop”
3. (Optional) Remove the data storage files
Can be: /var/opt/beginfinite/retain. See the Retain Administration Guide section on storage to
see where your data actually is placed.
4. Remove the program files
Can be: /opt/beginfinite/retain
5. Remove the RetainWorker.xml, RetainServer.xml, RetainRouter.xml, and RetainStatsServer.xml
from Tomcat
Can be: /opt/beginfinite/retain/tomcat/conf/Catalina/localhost
6. Remove the directories under tomcat/work (but NOT work itself)
“rm –r /var/cache/retain-tomcat/work/*”
7. Remove references to Retain in httpd.conf
Can be: /etc/apache2/conf.d/retain-apache.conf
8. Remove tomcat service file: “rm /etc/init.d/retain-tomcat”
9. If Apache and Tomcat were not removed, restart them both to verify that they load without
problems.
Windows
1. Shut down Tomcat service
2. Remove Retain Tomcat service
Open a terminal as admin and type: “sc delete tomcat”
3. Remove the program files
Can be: C:\Program Files\Beginfinite\Retain
NOTE: This choice affects Tomcat start-up for the server and any workers that you installed
previously, not just the worker you are currently installing.
The installer completes the Worker configuration, displays information about accessing the
worker in a browser, and provides some brief troubleshooting tips.
8 Configure the Router in the Retain Server console under Configuration | Router Configuration.
See “Retain Message Router Configuration Page” in OpenText Retain CE 24.2 : Configuration and
Administration.
9 The Router can be accessed by browsing to (case-sensitive): http://[IPAddress or
HostName]/RetainRouter.
Prerequisite
Install the web server (IIS with ISAPI filter, as above).“Installing a Web Server” on page 10
Overview
In larger email systems, it can take a long time to dredge all the users especially if the users are on
multiple mail servers. You can install multiple workers that can run in parallel to speed up the
archiving process. We generally recommend one worker per mail server. The Retain installer can
install up to 10 workers on a single server. We recommend an additional 1GB for RAM per worker.
Workers are accessed by browsing to http://[IPAddress or HostName]/RetainWorkerN
The Retain installer allows you to install up to nine workers at once.
Procedure
1 Download and prepare the software on the Windows server as outlined in “Downloading and
Preparing the Retain Windows Installation Source Files” on page 24.
2 Run the RetainInstall.exe and install at least one Worker or upgrade the existing installation, if
you haven't already done so.
3 From the command line (run as Administrator), type RetainInstall.exe /AddWorker to start the
installer in Add Worker Mode.
4 Acknowledge the requirements.
There is a separate log file for each worker, found in C:\Program Files\Beginfinite\Retain\Tomcat
\logs\RetainWorkerN.yyyy-mm-dd.log unless otherwise specified in Configure Tomcat.
Install:
1 Download and prepare the software on the Windows server as outlined in “Downloading and
Preparing the Retain Windows Installation Source Files” on page 24.
2 Extract the archive.
3 Run the installer, RetainInstall.exe, as above.
4 When selecting the components to install. Select "Message Router" only.
5 Finish the install as normal.
6 Create a 10 GB data directory for the Router to use to temporarily store messages until they can
be transferred to the Retain Server.
NOTE: The Storage Path must not be the same as the Mobile Module Data path.
7 Configure the Router in the Retain Server console under Configuration | Router Configuration.
See “Retain Message Router Configuration Page” in OpenText Retain CE 24.2 : Configuration and
Administration.
8 The Router can be accessed by browsing to http://[IPAddress or HostName]/
RetainRouter.
Windows
In Windows, Retain runs as a service. Open Services, select the Retain service then start, stop, or
restart that service.
The following is a graphical overview of the upgrade path to Retain 23.4 and later.
IMPORTANT: The supported path is from Retain 4.11 or later to 23.4 and later.
Beginning with 23.4, Solr 9 is supported. For more information see the see the Updating to the
Solr 9 Indexing Engine section in the OpenText Retain CE 24.2: Installation and Upgrade guide.
If you are using Retain 4.11 or 4.11.0.1, before upgrading to 23.4 and later ensure that Solr
8 is the Active Index Engine and Solr 7 cleanup is performed.
On the Retain 23.4 and later upgraded setup, the zookeeper path by default will be on the
base path. For example,
Linux: /var/opt/beginfinite/retain
Windows: \Retain\zookeeper
1 Before you start upgrading, complete the instructions in “Preparing to Upgrade to 23.4 and
Later” on page 56.
Use the following instructions to upgrade to Retain 23.4 and later.
“Preparing to Upgrade to 23.4 and Later” on page 56
“Upgrading from 23.2 or 23.3 to 23.4 and Later” on page 58
“Upgrading from 4.11 to 23.4 and Later” on page 64
Linux Servers
Prepare your Linux Retain server by using the information in the row that matches your target
version.
1 On a workstation with an Internet connection, use the links in the following table to download
the linked Java version that applies to your upgrade target. Then refer to the Action column for
further instructions.
Linux 23.3, 23.4, and OpenJDK17U- 1. When prompted about the missing JDK
later jdk_x64_linux_hotspot_17.0.6 file, select option 3 and enter the path to
_10.tar.gz the folder containing the file that you
previously copied to the server.
2. Continue with the upgrade process.
2 After extracting the files, before running the Retain installer, edit the system’s Environment
Variables to reflect the values indicated for the version you are upgrading to.
RETAIN_JAVA_VERSION jdk-11.0.16+8
RETAIN_JAVA_VERSION jdk-11.0.17+8
RETAIN_JAVA_VERSION jdk-17.0.6_10
3 When you run the Retain installer, it recognizes that Java is already installed.
Task Details
Ensure that the Retain 1. Verify that the Retain server is connected to the Internet, so that the
server is connected to installer can install OpenJDK 17.
the Internet
If your server isn’t connected to the Internet, see “Installing Java on a Server
with no Internet Connection” on page 56.
Ensure that SMTP Is 1. The installer must be able to email status messages to the configured SMTP
Working in Retain account. Otherwise, it will stop and display an error message.
Get the 23.4 and later 1. Using your OpenText Customer Center account, download the latest version
software of the Retain installation.zip file.
2. Copy the file and unzip/extract it on the following:
The Retain server that you are upgrading.
Every server that is running a Retain Worker or other component.
3. (SLES) Open a terminal, navigate to the extracted folder, run the following
command to make the script files executable:
chmod +x *.sh
Ensure Adequate RAM 1. Make sure that the Retain server has at least 12 GB RAM.
Back up the Database The upgrade should run smoothly. However, best practice always dictates backing
and the Retain Server up systems before making major changes.
1. Back up your database and the Retain server immediately before starting
the upgrade.
Run the Retain 23.4 1. At the terminal prompt, navigate to the folder that you prepared in “Get the
and later Installation 23.4 and later software” on page 58, then enter the following command:
./RetainInstall.sh
License Agreement 1. Scroll through the license agreement, then type 1 and press Enter.
Software and RAM The Linux install lists the 23.4 and later software and RAM requirements.
Requirements
1. Press Enter to continue.
Retain Components The install displays the Retain components that are already installed on the server.
Selection Page
1. If you want to upgrade only the listed components, enter 1.
2. If you want to also install additional components, enter 2, then enter y for the
components you wish to add to the server.
Pre-requirements The install checks for OpenJDK 17 and an updated version of Tomcat 9. If they are
Status not installed, it installs and configures them for Retain.
NOTE: The Java and Tomcat verification/installation process can take a while, so be
patient while the installation works in the background.
The installation process extracts and installs Retain 23.4 and later.
1. When the system prompt displays, wait a few moments to make sure all the
components are running.
Dialog/Section Details
Stop Retain before 1. On the Retain server, click Start > Administrative Tools > Services (or the
Upgrading equivalent on your version of Windows Server).
2. Stop Retain by stopping the Retain Tomcat service.
Run the Retain 23.4 1. In the folder that you prepared in “Get the 23.4 and later software” on page 58,
and later Installation right click RetainInstall.exe and select Run as Administrator.
Software The install lists the 23.4 software and hardware requirements along with the
Requirements software that it will install
1. Click Next.
Select Destination 1. If you want to install the upgraded Retain components in a non-default
Location location, use the Browse button to change the path.
2. Click Next.
Retain Components The install displays the components that are already installed on the server.
Selection Page
1. If desired, you can select additional components for installation.
2. Click Next.
Pre-requirements 1. The install checks for OpenJDK 17 and an updated Tomcat 9. If they are not
Status installed, it indicates that they will be.
2. Click Next.
If needed, the install runs the OpenJDK 17 installation and updates Tomcat 9.
Click through any security alerts or other dialogs to allow the process to run to
completion.
1. Wait a few moments to make sure all components have finished installing.
2. Click Next.
1. Click Next.
NOTE: It can take some time for the Server Configuration page to load.
2 In Server Configuration > Index, click Configure in the Indexing Node column.
IMPORTANT: When you configure Solr 9, all delete jobs are disabled until Solr 8 clean-up is
completed.
NOTE:
If you are running Retain on a Windows Server, Solr 9 restricts the use of Windows SMB
shares on the UNC format, such as\\myhost\myshare\mypath. For the indexer storage
path, you can use a drive and mount it later. As a workaround, map the storage path in
UNC format to a symbolic link folder on the local drive:
1. On the server where Retain is running, run the following command in the Windows
Command Prompt: mklink /D C:\myLink \\IP address\c\Retain\Index In
the above command, C:\myLink corresponds to the linked folder on the local drive
and \\IP address\c\Retain\Index corresponds to the storage path in UNC
format.
2. Ensure that the Retain Tomcat service is running as a user who has access to the
shared folder. If not, please update the service and restart Tomcat.
If you are running Retain on a Linux Server, using a different path than the default, you
need to make sure the ownership is set to tomcat:www.
A disk check will run to make sure that there is enough space on your server to migrate the
indexer. The free space needed for the migration is 3 times the size of the current index. The
recommended free space is 3.5 times the current index size.
When the check passes, Solr 9 is configured and starts indexing. At this point, you can continue
with the next steps to switch to Solr 9 or you can wait for Solr 9 to finish indexing.
IMPORTANT: Once Solr 9 is configured, index optimization and backup are disabled until Solr 8
clean-up is completed.
IMPORTANT: If you switch to Solr 9 when the re-indexing is in progress, the search results in
Retain will not be accurate.
Ensure that Solr 9 works as expected. If not, select Re-index All Items and switch back to Solr 8.
5 Click Clean up Solr 8.
IMPORTANT: This deletes Solr 8 and all the Solr 8 data from the system. Before you perform
Solr 8 clean up, ensure that the Solr 9 is working as expected.
6 Click Ok to confirm.
Task Details
Ensure that the Solr 8 is Beginning with 23.4 only Solr 9 is supported. For more information, see “Updating
the Active Index Engine to the Solr 9 Indexing Engine” on page 61.
and Solr 7 cleanup is
performed.
Ensure that the Retain 1. Verify that the Retain server is connected to the Internet, so that the
server is connected to installer can install OpenJDK 17.
the Internet
If your server isn’t connected to the Internet, see “Installing Java on a Server
with no Internet Connection” on page 56.
Ensure that SMTP Is 1. The installer must be able to email status messages to the configured SMTP
Working in Retain account. Otherwise, it will stop and display an error message.
Get the 23.4 or later 1. Using your OpenText Customer Center account, download the latest version
software of the Retain installation .zip file.
2. Copy the file and unzip/extract it on the following:
The Retain server that you are upgrading.
Every server that is running a Retain Worker or other component.
3. (SLES) Open a terminal, navigate to the extracted folder, run the following
command to make the script files executable:
chmod +x *.sh
Ensure Adequate RAM 1. Make sure that the Retain server has at least 12 GB RAM.
Back up the Database The upgrade should run smoothly. However, best practice always dictates backing
and the Retain Server up systems before making major changes.
1. Back up your database and the Retain server immediately before starting
the upgrade.
Run the Retain 23.4 or 1. At the terminal prompt, navigate to the folder that you prepared in “Get the
later Installation 23.4 and later software” on page 58, then enter the following command:
./RetainInstall.sh
License Agreement 1. Scroll through the license agreement, then type 1 and press Enter.
Software and RAM The Linux install lists the 23.4 software and RAM requirements.
Requirements
1. Press Enter to continue.
Retain Components The install displays the Retain components that are already installed on the server.
Selection Page
1. If you want to upgrade only the listed components, enter 1.
2. If you want to also install additional components, enter 2, then enter y for the
components you wish to add to the server.
Pre-requirements The install checks for OpenJDK 17 and an updated version of Tomcat 9. If they are
Status not installed, it installs and configures them for Retain.
NOTE: The Java and Tomcat verification/installation process can take a while, so be
patient while the installation works in the background.
1. When the system prompt displays, wait a few moments to make sure all the
components are running.
Dialog/Section Details
Stop Retain before 1. On the Retain server, click Start > Administrative Tools > Services (or the
Upgrading equivalent on your version of Windows Server).
2. Stop Retain by stopping the Retain Tomcat service.
Run the Retain 23.4 1. In the folder that you prepared in “Get the 23.4 and later software” on page 58,
and later Installation right click RetainInstall.exe and select Run as Administrator.
Software The install lists the 23.4 software and hardware requirements along with the
Requirements software that it will install
1. Click Next.
Select Destination 1. If you want to install the upgraded Retain components in a non-default
Location location, use the Browse button to change the path.
2. Click Next.
Retain Components The install displays the components that are already installed on the server.
Selection Page
1. If desired, you can select additional components for installation.
2. Click Next.
Pre-requirements 1. The install checks for OpenJDK 17 and an updated Tomcat 9. If they are not
Status installed, it indicates that they will be.
2. Click Next.
If needed, the install runs the OpenJDK 17 installation and updates Tomcat 9.
Click through any security alerts or other dialogs to allow the process to run to
completion.
1. Wait a few moments to make sure all components have finished installing.
2. Click Next.
1. Click Next.
Overview
To move Retain, you must move 3 things:
Configuration files. Move the ASConfig.cfg, which is stored in a directory off of your Retain
installation:
Linux default: /opt/beginfinite/retain/RetainServer/WEB-INF/cfg
Windows default: [drive]:\Program Files\Beginfinite\Retain\RetainServer\WEB-INF\cfg
Indexer configuration files (the entire directory's contents):
Linux default: /opt/beginfinite/retain/RetainServer/WEB-INF/solrweb/WEB-INF/cfg
Windows default: [drive]:\Program Files\Beginfinite\Retain\RetainServer\WEB-
INF\solrweb\WEB-INF\cfg
Database. Unless it's on a separate server and you are not moving it.
Storage. In summary, the storage directories to be copied are:
archive (required)
backup (optional, although we recommend you skip this since having it on the old server is
backup enough until the next Retain maintenance performs a backup on he new server)
ebdb (optional)
export (optional)
index (required in Retain 4, recommended for Retain 3)
NOTE: If you've added storage partitions in the Retain admin web interface, you must make sure all
of those are copied correctly, too.
Preparation
1. Note where your Retain storage directory is located.
To determine what that directory is, log into the RetainServer web interface and click on Server
Configuration | Storage. The "Base Storage path" is your Retain storage directory (https://
www.novell.com/documentation/retain-24.2/config-admin/data/svr-cf-scfg-stor-
tab.html#storage-panel).
2. Download Retain to the new server and prepare it for the installation.
a. Create the download directory.
i. Make the directory for holding the software: md /software
ii. Change to that directory: cd /software
b. Download the latest version of Retain on the new server. For Retain 2.x customers, migrate
your data to Retain 3.x format first; then proceed with moving Retain
NOTE: You can use the wget command to download the software to the Linux server by
changing into the software directory you created in step 2.a and running this command:
wget '[url]'
i. Get the URL of the most current version of Retain from the Customer Center.
ii. Now use that URL with the wget command on the Linux server inside the software
directory you created.
c. Unzip the file and make the script files (.sh) executable.
i. unzip [retain zip file] -d [retain zip filename, excluding the ".zip" at the end]
Example: unzip Retainversion.zip -d retainversion
The "-d" option causes it to create Note how we kept the "r" in lowercase follwing the
"-d" option since Linux is case sensitive when changing directories.
ii. chmod +x *.sh
3. Install Apache2 to the new server.
a. Launch YaST | Software Management.
b. In the search window, type: Apache2.
c. Click on Apache2 (only), click on the Accept button, and accept the defaults.
4. (Optional) If you have edited the default properties files under the .../RetainWorker/WEB-INF/
classes/config, back up those files and restore them after the final step of the move.
Moving Retain
1. Disable archive jobs and, if applicable, deletion jobs on the old server.
Overview
To move Retain, you must move 3 things:
Configuration files. Move the ASConfig.cfg, which is stored in a directory off of your Retain
installation:
Linux default: /opt/beginfinite/retain/RetainServer/WEB-INF/cfg
Windows default: [drive]:\Program Files\Beginfinite\Retain\RetainServer\WEB-INF\cfg
Indexer configuration files (the entire directory's contents):
Linux default: /opt/beginfinite/retain/RetainServer/WEB-INF/solrweb/WEB-INF/cfg
NOTE: If you've added storage partitions in the Retain admin web interface, you must make sure all
of those are copied correctly, too.
Preparation
1. Note where your Retain storage directory is located. To determine what that directory is, log
into the RetainServer web interface and click on Server Configuration | Storage. The "Base
Storage path" is your Retain storage directory.
2. Download Retain to the new server and prepare it for the installation.
a. Prepare the download directory.
We recommend creating a directory called Software on the root of the drive. It is not
required and you may store the installation files wherever you desire, but if you do not
have a strong preference, storing it at [drive]:\Software makes it easier to find later,
especially for technical support.
b. Download the latest version of Retain on the new server. For Retain 2.x customers, you'll
first want to migrate your data to Retain 3.x format first; then proceed with moving Retain.
c. Unzip the file, allowing Windows to create a new subdirectory off of "Software" with the
same name as the zip file.
For example, if the zip file were named, "Retain4031ga_48.zip", Windows - by default -
creates a subdirectory called "Retain4031ga_48", so that the full path to the installation
files becomes [drive]:\Software\Retain4031ga_48.
3. (Optional) Configure NFS Services (https://support.microfocus.com/kb/doc.php?id=7020834)
on the new Windows server if you want to use Support's Retain Auxilliary Tool Set utility to copy
your Retain storage to your new server.
4. Install/Configure IIS (https://support.microfocus.com/kb/doc.php?id=7020584) on the new
server.
5. (Optional) If you have edited the default properties files under the Retain Worker directory(ies)
(.../RetainWorker/classes/config) such as attachment.properties or errors.properties, you may
want to back up those files to restore them after the final step of the move.
Because the Windows server is using NTFS as the disk format and Linux something different
(ext3, xfs, etc), you'll need to employ an approach where the data on these two distinct disk
formats can be read from and written to by the same process.
We recommend that you install NFS services on the new Windows server (https://
support.microfocus.com/kb/doc.php?id=7020834), share the new storage directories, and
mount from the old Linux server to the new shared storage directories.
Once that is done, you can now use rsync to copy the files from Retain storage directory on
LInux to the new Windows server. To help with this process, you may download and install
Support's utility for copying the archive directory.
5. Install Retain on the new server.
*DO NOT log into the WEB UI at this point, you could damage the database data that you've just
moved.
6. Shut down Tomcat on the new server.
7. Copy the configuration files from the old server to the new server and edit the paths referenced
in those files to reflect their new locations:
a. ASConfig.cfg, located in [drive]:\Program Files\Beginfinite\Retain\RetainServer\WEB-
INF\cfg.
b. Edit the ASConfig.cfg and change several parameters to reflect the storage paths on the
new server. Or, you can start tomcat, logon to the Retain Server web admin console, and
change the paths under Server Configuration | Storage. If editing the ASConfig.cfg directly,
look for these parameters for the storage paths:
<basepath>
<archivePath>
<xmlPath>
<indexPath>
<backupPath>
<licensePath>
<EBDBPath>
<exportPath>
Overview
To move Retain, you must move 3 things:
Configuration files. Move the ASConfig.cfg, which is stored in a directory off of your Retain
installation:
Linux default: /opt/beginfinite/retain/RetainServer/WEB-INF/cfg
Windows default: [drive]:\Program Files\Beginfinite\Retain\RetainServer\WEB-INF\cfg
Indexer configuration files (the entire directory's contents):
Linux default: /opt/beginfinite/retain/RetainServer/WEB-INF/solrweb/WEB-INF/cfg
NOTE: If you've added storage partitions in the Retain admin web interface, you must make sure all
of those are copied correctly, too.
Preparation
1. Make a note of where your Retain storage directory is located. To determine what that directory
is, log into the RetainServer web interface and click on Server Configuration | Storage. The
"Base Storage path" is your Retain storage directory.
2. Download Retain to the new server and prepare it for the installation.
a. Prepare the download directory.
We recommend creating a directory called Software on the root of the drive. It is not
required and you may store the installation files wherever you desire, but if you do not
have a strong preference, storing it at [drive]:\Software makes it easier to find later,
especially for technical support.
b. Download the latest version of Retain on the new server. For Retain 2.x customers, you'll
first want to migrate your data to Retain 3.x format first; then proceed with moving Retain.
c. Unzip the file, allowing Windows to create a new subdirectory off of "Software" with the
same name as the zip file.
For example, if the zip file were named, "Retain4031ga_48.zip", Windows - by default -
creates a subdirectory called "Retain4031ga_48", so that the full path to the installation
files becomes [drive]:\Software\Retain4031ga_48.
3. (Optional) Configure NFS Services (https://support.microfocus.com/kb/doc.php?id=7020834)
on the new Windows server if you want to use Support's Retain Auxilliary Tool Set utility to copy
your Retain storage to your new server.
4. Install/Configure IIS (https://support.microfocus.com/kb/doc.php?id=7020584) on the new
server.
5. (Optional) If you have edited the default properties files under the Retain Worker directory(ies)
(.../RetainWorker/classes/config) such as attachment.properties or errors.properties, you may
want to back up those files to restore them after the final step of the move.
7. Copy the configuration files from the old server to the new server and edit the paths referenced
in those files to reflect their new locations:
a. ASConfig.cfg, located in [drive]:\Program Files\Beginfinite\Retain\RetainServer\WEB-
INF\cfg.
b. Edit the ASConfig.cfg and change several parameters to reflect the storage paths on the
new server. Or, you can start tomcat, logon to the Retain Server web admin console, and
change the paths under Server Configuration | Storage. If editing the ASConfig.cfg directly,
look for these parameters for the storage paths:
<basepath>
<archivePath>
<xmlPath>
<indexPath>
<backupPath>
<licensePath>
<EBDBPath>
<exportPath>
c. RETAIN 4 ONLY:
a. Edit the path the index directory to reflect its new loation by opening the zoo.cfg file in
...\index\solrhome\
b. Copy everything from [drive]:\RetainServer\WEB-INF\solrweb\WEBINF\cfg.
8. Start Tomcat on the new server.
9. Login to the Retain Server web admin console.
Overview
In order to move Retain there are 3 things that are not optional that MUST be moved.
1. The ASConfig.cfg
2. The Database (unless it's on a separate server in which case it can stay there. That part is up to
you.)
3. The archive files. It is recommended that you also copy the indexes. It would be more work not
to and would be disruptive to searching.
Everything else can be re-created but can also be copied if you wish. In summary, here are the
storage directories to be copied:
archive (required)
index (recommended)
backup (optional)
ebdb (optional)
export (optional)
NOTE: If you've added storage partitions in the Retain admin web interface, you must make sure all
of those are copied correctly, too.
Preparation
1. Make a note of where your Retain storage directory is located.
To determine what that directory is, log into the RetainServer web interface and click on Server
Configuration | Storage. The "Base Storage path" is your Retain storage directory.
2. Download Retain to the new server and prepare it for the installation.
a. Create the download directory.
Make the directory for holding the software: md /software
Change to that directory: cd /software
b. Download the major Retain version you are currently using into the software directory you
created on the new server.
If Retain 2.x, download that version. It could be a newer build of that same major version.
What you want to avoid is downloading Retain 2.x when your old system is Retain 1.x or
downloading Retain 3.x when your old system is Retain 2.x.
Download the same major version of Retain that you are currently using from the
OpenText Customer Center, going with the latest build of that major version (where "major
version" is 2.x, 3.x, 4.x, etc):
NOTE: You can use the wget command to download the software to the Linux server by
changing into the software directory you created in step 2.a and running this command:
wget '[url]'
c. Unzip the file and make the script files (.sh) executable.
i. unzip [retain zip file] -d [retain zip filename, excluding the ".zip" at the end]
Example: unzip Retain3511ga_53.zip -d retain3511ga_53
The "-d" option causes it to create Note how we kept the "r" in lowercase follwing the
"-d" option since Linux is case sensitive when changing directories.
ii. chmod +x *.sh
3. Install Apache2 to the new server.
a. Launch YaST | Software Management.
b. In the search window, type: Apache2.
c. Click on Apache2 (only), click on the Accept button, and accept the defaults.
4. (Optional) If you have edited the default properties files under the .../RetainWorker/WEB-INF/
classes/config, you may want to back up those files to restore them after the final step of the
move. However, you could always access them from the original Retain server if needed.
NOTE: This step is made easy by a Linux utility created by GWAVA Support for this very purpose
called Retain Auxiliary Tool Set (http://support.microfocus.com/kb/doc.php?id=7019279)
(affectionately referred to as "RATS").
If you wish to manually do this (ok, so you like to do it the hard way), here are the steps:
a. Connect the existing server's storage directory to the new server; or, rsync supports
addressing the DNS hostname or IP address of the destination server if you wish to do it
that way.
If you decide to mount the new server's storage directory, one way to do this is to create an
"export" of the existing server's storage directory and create an NFS mount to a drive from
the new server over to the exported drive on the existing server. For sample instructions on
how to create an export and how to mount to it, see "How to 'Map' (Mount) Another
Server's Linux Directory to Your Server (https://support.microfocus.com/kb/
doc.php?id=7020700)".
b. Change the tomcat userid on the new server to match the tomcat userid on the old server
(if necessary).
File ownership and permissions are tied to a userid, not a user name; thus, if tomcat on
server A has a userid assignment of 110 and tomcat on new server B has 107, then the files
that get copied over come over as being owned by userid 110, not "tomcat". As the files
get stored on server B, it looks up userid 110 on its system. If that ID is assigned to another
NOTE: This should carry over the tomcat ownership and proper file permissions; however,
if they are not preserved during the copy process for some reason, you need to set them:
NOTE: If the storage directory on the new server is different from the old server, you must
open ASConfig.cfg and change several parameters to reflect the storage paths on the new
server:
<basepath>
<archivePath>
<xmlPath>
Server
The steps for moving a MySQL database are provided as a courtesy and are not officially supported
by OpenText; however, we do provide consulting services that can perform this for you. Contact your
local sales representative if interested.
“Linux to Linux” on page 83
“Linux or Windows to Windows” on page 84
Linux to Linux
1. Disable all archive and deletion jobs and stop Tomcat on the Retain server.
2. Perform a dump of the database.
3. Download MySQL onto the new server and un-tar it. Retain only needs the client and the server
RPM's, but it is simpler to download one bundle file then two separate files.
4. Install MySQL and configure the retain database on the new server.
At this point, you may want to configure MySQL memory allocation in the /etc/my.cnf file. Your
retain database uses the innoDB storage engine. The following should be researched and
considered:
innodb_buffer_pool_size
innodb_innodb_additional_mem_pool_size
innodb_log_file_size
innodb_log_buffer_size
If done correctly, this can enhance the performance of MySQL and Retain. You might want to
research this and experiment with those settings to find what works best for your system.
OpenText support cannot answer questions about or help customer's with their databases. That
is the customer's responsibility.
If you decide to change the innodb_log_file_size setting, you must take the following steps first:
a. Log into MySQL: mysql -u root -p
b. From the MySQL prompt, type: SET GLOBAL innodb_fast_shutdown=0;
Then type "quit" to log out of MySQL.
c. Shut down MySQL: rcmysql stop
d. Rename the ib_logfile0 and ib_logfile1 files.
e. Edit the /etc/my.cnf and change the logfile size.
c. Uninstall all instances of MySQL found in step b (if any) - but only the entries beginning
with "MySQL..."
rpm -e [current mysql rpm]
Based on the screenshot shown above in in sub-step "b", I would type:
rpm -e MySQL-server-community-5.1.72-1.sles11
This has to be done for each RPM discovered.
6. Delete or rename the entire "datadir" directory.
This is the mysql directory containing the ibdata1 database and the "retain" subdirectory. It is
no longer needed since you have already dumped the database. All of the files and
subdirectories are recreated without any loss of data as long as you have a good/current dump.
6. (Optional) Reboot the server to clear memory; otherwise, just start Tomcat.