Administration Guide
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:
- One logical interface on the public network with its own IP
address and hostname
Remote clients should always use this IP address when connecting to
failover services, because the address is moved from one machine to another
machine during a failover.
- One or more disk groups
The disk group (or disk set) is a collection of physical disks that are
associated with the logical host. The disk group must be on disks that
are physically shared between the two machines in a cluster.
- One high availability service (that is, DB2).
The high availability service provides a set of scripts that Sun Cluster
2.1 can use to start, stop, and abort the service.
When a failover occurs, the high availability service from one machine
fails over to another machine. You must ensure that the physical
machine has enough CPU and memory resource to properly run the system after
the failover; otherwise, the services may fail.
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 66 shows an example of the components in a cluster.
Figure 66. 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 ]