Installing and configuring an IBM Db2 database
Before you begin
Obtain the necessary software and images for IBM Db2 and Docker from the IBM website. HCL does not distribute or provide IBM Db2 software, licenses, or Docker images.
Follow these steps to download the required software:
- Log in to the My HCLSoftware portal(MHS) website.
- Download the DB2 Enterprise Edition 12.1.x Multiplatform Multilingual package package.
- Ensure that you have the necessary license entitlement certificates for activation.
Procedure
Use the following steps to install Db2.
- Run the installer for your operating system (Linux, UNIX, or Windows). Follow the installation wizard or command-line instructions provided by IBM.
- Apply the license entitlement certificate included in the downloaded package. For more information, see Applying Db2 licenses.
Preparing an IBM Db2 Database for HCL Commerce
Before using Db2 with Commerce+, you need to prepare the database. This step is essential for preparing the IBM Db2 database database to work with Commerce+. The create_database.sh script automates the creation and configuration of the database, including setting up the necessary schemas, tables, and user permissions. Without executing this step, the database will not be properly initialized, and Commerce+ will be unable to store or retrieve critical data, rendering the platform non-functional.
-
Create a dedicated system user account named (by default,
wcs) to manage the database. You will use this account will to load the database schema and bootstrap data for Commerce+. -
Run the create_database.sh Script.