Installing the product manually
You can manually extract the IBM® Product Master package and then install the Product Master application manually with scripts. Make sure to set your environment variables, your runtime properties, your database drivers, and the application server settings.
Before you begin
-
- Ensure you have downloaded and extracted the Product Master 14.0 installation disk from the IBM Passport Advantage® website. For more information, see Downloading and extracting Product Master 14.0.
- Run the following command to give executable permission to the mdmui
directory.
chmod -R 755 mdmui/
- Optional
- Free text Search - If enabled, you must install and configure the Hazelcast and Elasticsearch. For more information, see Installing Hazelcast and Installing the Elasticsearch.
- Digital Asset Management - If enabled, you must install MongoDB. For more information, see Installing MongoDB.
- Machine learning (ML) services - If enabled, you must install and configure MongoDB. For more information, see Installing MongoDB. For more information on installing Python and machine learning modules, see and dependencies on the AIX, Ubuntu, RHEL, or CentOS, see Installing Python and machine learning modules.
Procedure
- Set your environment variables.
- Create the env_settings.ini file.
- Validate the environment.
- Configure the installation.
- Run the compatibility scripts.
- Configure the WebSphere® Application Server.
- Configure a cluster environment.
- Deploy the product in a cluster environment.
- Configure runtime properties.
- Run schema creation scripts.
- Configure GDS feature.
Set your environment variables
You must set up specific environment variables for Product Master to run successfully.
The configuration parameters are specified in the file <install
dir>/bin/conf/env_settings.ini. You can create an env_settings.ini
file by using <install dir>/bin/conf/env_settings.ini.default
template.
Procedure
- Set and export the following environment variables in to the
.bashrc
file of the Product Master user.TOP = <install_dir>PERL5LIB = <install_dir>/bin/perllib
for example, en_US
LANG=<locale value>
Note: LocaleC
should not be set as a default since that can cause problems when you use Perl. - Logout and log in as the Product Master user to pick up
the changes to
.bashrc
file.
Create the env_settings.ini file
For more information, see Creating the env_settings.ini file.
Validate the environment
- Go to the
<install_dir>
directory. - Run the
<install_dir>/setup.sh
script to,- Check whether the database client is configured.
- Validate the Perl installation and notify if any Perl modules are missing.
Configuring the installation
For more information, see Running configuration scripts.
Running the compatibility scripts
Use the compatibility scripts to add some of the old environment variables that are used in previous versions of Product Master. The variables include $TOP, $CCD_DB, and $JAVA_RT.
Procedure- Add the following compatibility script lines to the .bashrc file:
rootDir=`perl $PERL5LIB/getTop.pl`
source $rootDir/bin/compat.sh
Configure the WebSphere Application Server
For more information, see Configuring the WebSphere Application Server.
Configure a cluster environment
For more information, see Configuring a cluster environment.
Deploy the product in a cluster environment
For more information, see Deploying on a clustered environment.
Configuring runtime properties
You must set a few runtime properties in the common.properties file as part of configuring IBM Product Master. For more information about these parameters, see the comments in the common.properties file.
Procedure- If you are using FTP, set the directory for using FTP for import operations by specifying the FTP_root_dir parameter.
- Set the temporary directory by specifying a value for the tmp_dir parameter. The directory /tmp is the default.
Run schema creation scripts
For more information, see Run schema creation scripts.
Configure GDS feature
For more information, see Configuring GDS feature.