- Overview
- Supported Platforms
- Prerequisites
- Limitations
- Quick start
- Post-install verification
- Remove the Container Platform Installation Tool
- Troubleshooting
- Storage
- Db2 License
- Known Issues
- ECM product info
- Support
The all-in-one installation tool for containers installs all the required software and configuration information needed to deploy FileNet P8 Platform in a container environment. This tool quickly creates functional P8 Platform environments for demo or non-production purposes only.
In a standard container deployment, you use your existing database and directory server installations, or create new ones, to support the content management services containers. With the container platform installation tool, however, those supporting software prerequisites are installed and configured by the tool. The result is a complete container platform that is ready to use in a very short amount of time.
Because this complete platform relies on OpenLDAP and a generic DB2 database configuration, this installation method is not appropriate for production-level use. You can use this platform installation tool to create environments for demonstration or testing purposes, or to try out the P8 Platform system in a container environment before you move to containers.
The platform installation tool requires library files and service containers from a number of different locations. Before you begin, verify that you have valid login credentials for the following image sources:
The Docker Hub
The IBM Github repository
IBM Passport Advantage
This utility contains scripts to set up an IBM FileNet Content Manager container environment by performing the following tasks:
- Configure and start all the required containers.
- Create the LDAP users and groups
- Create and configure DB2 databases
- Create a FileNet P8 Domain, object store and workflow system.
- Create an IBM Content Navigator repository and desktop.
The Container Platform Installation Tool is only supported on these operating systems:
- Ubuntu Linux 18.04.5 LTS or 20.04.01 LTS
- MacOS 10.15.x
- Minimum configuration: 2 CPU cores, 8 GB RAM, 50GB free space
- Network with internet access
- Docker CE or EE 20.10.2
- OpenLDAP 1.4.0 container from Docker Hub
- IBM Db2 11.5.5.0 container from Docker Hub
- IBM Content Platform Engine v5.5.6 and IBM Content Navigator v3.0.9 container images from IBM Passport Advantage
- ECM Container PIT installer from GitHub
NOTE: Container PIT scripts cannot be used to upgrade from earlier versions of the Content Platform Engine and Content Navigator containers. A clean environment is required to run the Container PIT scripts.
This utility requires administrative privileges to install system packages, so it must be run as the "root" user.
If there are multiple system accounts on the target machine and you are unable to login as root (especially on MacOS), then you should check the account user ids and login with the account that has a user id 501. Otherwise you will have DB2 permission issues. Most often the user account created first will be assigned a user id 501.
The command to check the user id is: id $user_name
E.g., id root
will print the root id info like below:
uid=0(root) gid=0(root) groups=0(root)
If you are using MacOS, manual interaction is required at two points during installation. First you need to manually dismiss a dialog during the first launch of Docker. Second, you need to manually adjust the memory allocated to Docker.
During the Docker installation, there will be a welcome dialog during first launch and after that it requires an operating system password to get privileged access. You have to manually input the password to complete the Docker installation.
After the installation of Docker, you need to manually adjust the allocated memory for Docker, by default it is 2 GB, we require it to be at least 4 GB. To adjust, click the Docker icon on the menu bar, then click Preferences -> Advanced; increase the number to 4 GB memory, then click Apply & Restart. For more information, check this documentation.
The global password parameter used for all LDAP and database user accounts only supports lowercase, uppercase alphabetic characters and numbers. No symbols are allowed.
Stopping and starting the containers does not destroy any data. However, if you delete the containers, you will lose all data in the environment.
-
On your target server, install the Docker libraries for a container platform. Procedures vary by server platform. See the following links for detailed instructions:
NOTE: For MacOS ONLY - Install Python3 for Mac
-
Download the OpenLDAP container from the Docker Hub (Tag: latest)
-
Download the IBM Db2 container from the Docker Hub (Tag: latest)
NOTE: The Db2 container licensing has changed. Please refer to the Db2 License section below for details.
-
Create a directory on your target server for the ECM container downloads.
-
Download the following containers from IBM Passport Advantage and save them to your download directory.
- IBM Content Platform Engine V5.5.6 container (Part Number: CC8SVML)
- IBM Content Navigator V3.0.9 container (Part Number: CC8SJML)
-
Download the container platform installation tool from the Github repository and save it to your download directory.
-
Extract the contents of the container platform installation tool archive file.
-
Review both the license agreement files:
FNCS_License.txt
andICN_License.txt
-
Open the
setProperties.sh
file for editing, and update the following information:- Set the GLOBAL_PASSWORD
- Set the DOWNLOAD_LOCATION parameter value to the location (full path) of the directory you created in step 4:
DOWNLOAD_LOCATION=<path to downloaded container image (.tgz) files>
- Set the LICENSE_ACCEPTED parameter value after reviewing both license files:
LICENSE_ACCEPTED=true
- Update the DB2 and OpenLDAP container image names and tags.
To obtain this information use the command:
sudo docker images
- Update other required parameter values if needed.
- Save your changes.
-
From the command line, in the same directory as the tool:
- Add execute permissions to the executable script file:
sudo chmod u+x ./cpit.sh
- Run the container platform installation tool command:
sudo ./cpit.sh
-
After the tool completes, review the output log file
cpit_log.log
-
Run the command
docker ps
to make sure the following docker containers are up and running:- ldap
- db2
- cpe
- icn
-
Verify the container deployment by logging in to the following applications:
NOTE: Starting with release v5.5.6, only SSL connections are supported.
- Administration Console for Content Platform Engine: https://<hostname>:9443/acce
- User name: P8Admin
- Password: GLOBAL_PASSWORD
- IBM Content Navigator: https://<hostname>:9444/navigator
- User name: P8Admin
- Password: GLOBAL_PASSWORD
-
To remove the software components installed by the Container PIT, run the command:
sudo install-scripts/cleanup.sh
-
Delete the folder containing the extracted Container PIT archive
The Content Navigator initialization scripts will fail if the hostname cannot be resolved.
To resolve this issue do the following:
- Determine the hostname using the command:
uname -n
- Edit the file
/etc/hosts
and add the hostname as follows:
127.0.0.1 hostname
The mount volumes specified in the setProperties.sh
file will be created under the home folder of the user that is currently logged in.
E.g., if you login as root and the mount volume for CPE is set to CPE_CONFIGFILES_LOC=~/cpit_data/cpe_data
, then during execution it will be modified to CPE_CONFIGFILES_LOC=/root/cpit_data/cpe_data
and the folder /root/cpit_data/cpe_data
will be created to store all the configuration files.
The Db2 docker container supports 3 Db2 editions - Community, Standard, and Advanced. It is licensed with a Community license, which has limitations on CPU, memory, and database size. More details are available here: https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.db2.luw.qb.server.doc/doc/r0006748.html
You can change the license for the docker container by executing these commands:
- Copy license key file to container
docker cp <NEW LICENSE KEY> db2:/database/config
where the new license activation key is the *.lic file
- Add license key
docker exec -ti db2 bash -c "/opt/ibm/db2/V11.5/adm/db2licm -r db2dec && /opt/ibm/db2/V11.5/adm/db2licm -a /database/config/<NEW LICENSE KEY>"
where the new license activation key is the *.lic file, which was copied into the container filesystem in the earlier step
The container also contains a Db2 90-day trial license, which when applied removes the limitations of the CPU/Memory/Database size and activates a 90-day trial. The license is /var/db2/db2trial.lic and is available on the container filesystem.
To apply this license, run the following command:
docker exec -ti db2 bash -c "/opt/ibm/db2/V11.5/adm/db2licm -r db2dec && /opt/ibm/db2/V11.5/adm/db2licm -a /var/db2/db2trial.lic"
The Db2 Developer-C Edition container has the following table space limitations:
- User-defined SMS and DMS table spaces are not supported.
- When creating an auto-resize table space without specifying MAXSIZE, the maximum table space size is implicitly set to the remaining capacity of the defined storage limit.
- Altering a table space that is larger than the defined storage limit is not allowed.
Due to these limiations the following exception is seen when trying to add and configure the IBM Content Search Services container to the environment:
com.filenet.api.exception.EngineRuntimeException: FNRCD0009E: DB_ERROR: Database access failed with the following error: Error Code -286, message 'A table space could not be found with a page size of at least "8192" that authorization ID "DB2INST1" is authorized to use.. SQLCODE=-286, SQLSTATE=42727, DRIVER=4.13.80' ObjectStore: "P8ObjectStore", SQL: ""DECLARE GLOBAL TEMPORARY TABLE SESSION.TMPe8a21922cf5e583 (queried_object_id varchar(16) for bit data , rank double , summary vargraphic(1024) , index_id varchar(16) for bit data , continue_from vargraphic(36) , highlight_blob varchar(2050) for bit data , seqnum integer ) ON COMMIT PRESERVE ROWS ""
The Db2 container - shows the following exception in the container logs:
(*) Cataloging existing databases
ls: cannot access /database/data/db2inst1/NODE0000: No such file or directory
(*) Applying Db2 license ...
This exception can be ignored as it does not affect the funtionality of the DB2, CPE or Content Navigator containers.
Support can be obtained at IBM® Support Forums
Use the tag #FileNetContentManager