+

Search Tips   |   Advanced Search


Transfer HCL WebSphere Portal 9.5 Container default database to IBM DB2

HCL WebSphere Portal 9.5 installs a copy of Derby as the default database. Administrator users can follow these steps to transfer the default database configuration detail to IBM DB2, if preferred for use as the relational database for HCL Digital Experience 9.5 Container deployment data.

The directions closely follow the Digital Experience database transfer steps provided for deployments to supported "on-premises" platforms, such as Windows, Linux, and AIX. The unique steps that account for differences in these instructions for use with an HCL Digital Experience 9.5 Docker container deployment as opposed to an on-premises Digital Experience installation will be highlighted.

The on-premises based HCL WebSphere Portal database transfer instructions can be viewed in this topic: DB2 worksheet: Transfer to multiple databases.

These container deployment instructions cover the transfer of the default Derby database running on an HCL WebSphere Portal Container Update CF_18 container image to an IBM DB2 Enterprise Version 11.1.0.0 database running on a Centos Linux release 7.71908 server. The IBM DB2 11.5 Standard and Enterprise database is also supported for these procedures. In these instructions, the IBM DB2 database is installed to a supported on-premises platform (see IBM DB2 System Support requirements for a list of supported platforms). The HCL WebSphere Portal 9.5 Docker container is deployed to a supported Docker or Kubernetes platform. The container version deployed in this example is Docker-ce version 19.0.3.8.

Video: HCL WebSphere Portal - Perform a Database Transfer on HCL WebSphere Portal 9.5


Prerequisites

  1. The HCL WebSphere Portal 9.5 container image is deployed, and loaded to your Docker repository using the following command:

      docker load < hcl-dx-core-image-v95_CF18_20200427-2055.tar.gz

    For instructions and latest list of HCL WebSphere Portal 9.5 Container image and file names, see the HCL WebSphere Portal 9.5 Deployment topic

  2. IBM DB2 is installed on an on-premises server with a DNS hostname that is available to the HCL WebSphere Portal 9.5 deployed container.


Start the HCL WebSphere Portal 9.5 Container in Docker

Execute the following command to start the DX 9.5 container:

Note:


Transfer the Database

First, ensure that the HCL WebSphere Portal 9.5 docker container can access the IBM DB2 on-premises platform server. Using the following command, one can simply "ping" the DNS name of the IBM DB2 database server and verify that it answers:

If this is not successful, consult with your platform administrator for other methods to debug the network issues between a Docker container and Servers running external to Docker in the environment.

Next, once connectivity is established, follow the directions for using the Configuration Wizard from the traditional (on-premises platform-based) Digital Experience database transfer steps to transfer the data from the default Derby database and configure the target IBM DB2 database server for use with the HCL WebSphere Portal 9.5 Docker container deployment.

One can access the Configuration Wizard from a browser on the HCL WebSphere Portal 9.5 container deployment via the URL http://{docker host server}:10200/hcl/wizard.

Proceed to the Digital Experience database transfer steps topic section Set Up a Stand-alone Server - Database Transfer.

Specify the fully qualified DNS name of the database server as set above in the --add-host directive in the docker run command.

Parent topic: Customization