Plan your Db2 pureScale Feature installation (Linux)

Planning your Db2 pureScale Feature installation consists of writing a plan with all the tasks required before, during, and after the installation of this feature.

Installing the Db2 pureScale Feature requires that you:
  1. Write a plan with all the tasks and details.
  2. Perform the required prerequisite and preinstallation tasks that you specified in your plan.
  3. Perform one of the installation methods that you chose in your plan.
  4. Perform the required post-installation tasks indicated in your plan.
  5. Perform any of the optional tasks.
Planning includes determining the high availability product that meets your needs, and the required network configuration and topology configurations to support them. There are different levels of pureScale installation present with the following key characteristics:
Characteristic Description
Transport
  • TCP/IP: Used for lower read/write ratios
    Note: 100GB recommended, but 10GB can be configured for very low-write percentage with low network requirements by setting up DB2_SD_ALLOW_SLOW_NETWORK
  • RDMA: Used for a higher Read/Write Ratio
IO Fencing
  • Slow IO Fencing: Used for lower recovery performance
  • Fast IO Fencing using SCI3PR: Used for higher recovery performance
DR solution
  • GDPC: Used for active-active DR solution in nearby locations
  • HADR: Used for active-passive DR solution in any location
  • GDPC and HADR common combinations
    • TCP/IP with Slow IO Fencing and no DR: Used for test and development environments
    • TCP/IP with Fast IO Fencing: Used for read-heavy scenarios (read/write ratio of 95/5 and higher read percentage)
    • RDMA, Fast IO Fencing: Used for write-heavy scenarios (read/write ratios of 90/10 or higher write percentage)
    • RDMA, Fast IO Fencing, HADR: Used for write-heavy scenarios (read/write ratios of 90/10 and higher write percentage) and active-passive DR
    • RDMA, Fast IO Fencing, GDPC: Used for write-heavy scenarios and active-active DR solution
The Db2 pureScale Feature provides continuous availability, disaster recovery, high availability, scalability, and consolidation considerations. Based on your particular environment, the type of workloads you handle, and disaster recovery requirements, Db2 provides continuous availability options to meet your specific needs:
  • Db2 pureScale Feature,
  • High availability disaster recovery (HADR) in Db2 pureScale environments.
If you have not already read about these availability options, read topic Introduction to a Db2 pureScale environment.
After determining the HA product that meets your needs, you need to review the prerequisites and pre-installation tasks to support your HA solution. These include:
  1. Hardware support: Network configuration includes a choice of these networks:
    • RDMA protocol over InfiniBand (IB) network,
    • RDMA protocol over Converged Ethernet (RoCE) network, or
    • TCP/IP protocol over Ethernet (TCP/IP) network.
    Configuration of adapters and switches is required for IB or RoCE networks.
  2. Associated software
    • Linux® distribution, kernel version levels, and required packages for either RHEL or SLES
      • Installing the Db2 pureScale Feature using the Db2 Setup wizard requires an X Window System (X11) to display the graphical user interface (GUI).
    • OFED or HPN packages
    • C++ runtime level
    • OpenSSH
    • Db2 installer automatically installs:
      • IBM Storage Scale,
      • Pacemaker
  3. Platform configuration
    • Hardware and firmware (including cables and switches for an IB or RoCE network)
    • SSH must validate access between all hosts
    • Disk space required for various directories
  4. A user name and group name (complete with passwords) is required to create the Db2 pureScale instance.

In pureScale environments, all hosts within the cluster must have the following /etc/hosts file format: <IP_Address> <fully_qualified_name> <short_name>

The following table lists all of the tasks required to ensure a successful new installation of the Db2 pureScale Feature:
Table 1.
Task Details
Meeting the hardware, software and platform configuration prerequisites, and performing configuration preinstallation tasks
Advanced pre-installation tasks:
Installation tasks Choose one of these installation methods:
Performing post-installation tasks