IBM Books

Administration Guide


Cluster Components

Each cluster consists of the following components and resources:

Physical machine
Each physical machine has one public network interface, one or more private network interfaces on the public network, a set of shared disks, and a disk for the operating system. Each cluster can contain up to four physical machines.

Logical host
The logical host essentially borrows the CPU or (CPUs) and memory from the physical machine, and migrates from machine to machine during a failover situation. Each logical host consists of the following resources:

You can have as many logical hosts as you want on a machine, but for administrative reasons, it is recommended that you assign no more than one to a machine. The following is an example of the layout for a logical host filesystem for Sun Cluster 2.1 with DB2. The name of the logical host in this example is snap, and the DB2 instance is DB2INST:

/snap/
The logical host filesystem (needed for Sun Cluster 2.1).

/snap/home/DB2INST
The place to put the high availability instance home directory.

/snap/disks/DB2INST
The place to put SMS filesystems.

You only need to set up the directories /logical_host_name/home/DB2_instance and /logical_host_name/disks/DB2_instance on one logical host in the cluster.

Private network
Private networks are used for communicating between two nodes. Heartbeat messages as well as Remote Procedure Calls (RPCs) travel over these networks to keep the two nodes in synchronous operation so that they can back up each other in the event of a failover.

Public networks
The public network includes all the primary and logical network interfaces and IP addresses. The logical network interfaces or logical hosts should be referred to when communicating with DB2 on the cluster.

Disk group
Disk groups contain one or more shared disks and a list of hosts which can access these disks. Only one host can own the disk sets for exclusive use at a time.

Disk mirroring
It is highly recommended that you mirror disks to increase disk availability.

Figure 82 shows an example of the components in a cluster.

Figure 82. Components in a Cluster


Components in a Cluster

The following sections describe the different types of failover support, and how to implement them.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]