Escolar Documentos
Profissional Documentos
Cultura Documentos
Systems
Benefit from the shared disk architecture of DB2 pureScale
09 Sep 2010
The DB2® pureScale™ feature for Enterprise Server Edition builds on familiar and
proven design features from the IBM® DB2 for z/OS® database software. This article
describes different deployment methods of the DB2 pureScale feature on IBM Power
Systems™ and how the hardware pieces come together to create a pureScale
cluster.
Introduction
The DB2(R) pureScale(TM) feature helps reduce the risk and cost of business
growth by providing nearly unlimited capacity, continuous availability, and application
transparency. DB2 pureScale benefits from a low latency interconnect, such as
InfiniBand, and is built on top of a shared disk architecture. To achieve the low
latency, the Power Systems InfiniBand Host Channel Adapters (HCA) and switches
are used, and a fiber channel SAN provides access to shared disks.
Figure 1 shows a high-level view of a DB2 pureScale instance with four members
and two CFs. It shows DB2 clients connected to the data server. DB2 members are
processing database requests, and PowerHA pureScale servers provide centralized
synchronization services. Data is stored on shared-disk storage, which is accessible
by all members.
The servers are POWER6 or POWER7 computers with AIX Logical Partitions
(LPAR) on which DB2 pureScale binaries are deployed. A minimum of two members
and two PowerHA pureScale servers are advised. It is recommended that each
member and PowerHA pureScale server be deployed on its own LPARs and across
a minimum of two POWER6 or POWER7 computers. Currently, the following
POWER systems are supported:
• POWER6 550
• POWER6 595
• POWER7 710
• POWER7 720
• POWER7 730
• POWER7 740
• POWER7 750
• POWER7 755
• POWER7 770
• POWER7 780
• POWER7 795
Fiber Channel SAN storage, switches, and HBA
Fiber Channel-attached SAN storage is shared among all DB2 members. DB2
pureScale benefits from storage with SCSI3-Persistent Reserve support. DB2
pureScale uses this technology to quickly fence off errant members from the storage
in case of a failure, which ensures that the database files remain consistent. For a
list of storage with SCSI3-PR support that has been tested and is supported by
GPFS, see the online GPFS FAQ in Resources.
Because the shared data is at the heart of a DB2 pureScale system, a RAID
configuration is recommended to provide maximum redundancy and availability.
Some of the more fault-tolerant RAID levels, such as RAID10 and RAID6, help
provide an extra assurance that the storage subsystem can survive various disk
failures.
SAN switches are typically used to connect the servers to the storage controller. For
a DB2 pureScale deployment, SAN switches should be redundant and also
connected to different power supplies for maximum availability.
Host Bus Adapter (HBA) is used to connect the servers to the SAN storage, typically
by using a SAN switch using Fiber Channel cables. Redundant HBAs on each DB2
member and the use of multipath software, such as IBM AIX MPIO, or device drivers
that support multipath access to LUNS is recommended. Note that load balancing is
available for some such multipath drivers that would increase the throughput when
Ethernet adapters
Ethernet adapters are typically connected to the corporate network and enable DB2
clients to connect with the DB2 pureScale instance, such as EtherChannel or
Network Interface Backup technology. DB2 pureScale feature automatically routes
connection requests to the member with the lowest workload. Alternatively, you can
specify that DB2 clients are to connect to specific active members in the DB2
pureScale instance.
The IBM GX++ HCA is installed in the POWER system servers, which are used as
part of the DB2 pureScale cluster. DB2 pureScale supports only the GX++ HCA
adapters. The list of supported adapters with the feature codes is shown Table 1.
The HCAs are connected to the IB switch using a 12x to 4x IB cable, such as the 10
meter copper cable under FC 1854, or using a 4x to 4x IB cable, such as the FC
3246 (4x to 4x cable only for FC 5266).
There are multiple ways to connect the LPARs, depending on how many LPARs
there are and how many HCAs are supported for that server model. Some of the
options include the following:
InfiniBand switch
At the center of the InfiniBand fabric is the IB switch, which ties all of the DB2
pureScale servers into a subnet. The IBM line of 7874 IB switches provides a wide
range of port counts from 24 to 240.
• Two-server deployment
• Three-server deployment
• Four-and-more-server deployment
Table 3 shows the configurations for the three models.
Two-server deployment
To maintain high availability (HA) characteristics, two servers are the minimum
configuration. In such a configuration, each server would have two LPARs (one DB2
LPAR, one PowerHA pureScale server LPAR). The loss of one physical server in
this configuration enables the DB2 pureScale instance to continue to be available,
because one DB2 member and one PowerHA pureScale server will be available on
the surviving physical server.
Three-server deployment
Four-and-more-server deployment
The configuration is the same as for the three-server deployment except that an
additional LPAR and a member on the additional servers are added. It is also
possible to deploy one LPAR per server, in which case DB2 pureScale members
and the PowerHA pureScale server use dedicated HCA/HBA. Figure 4 shows this
configuration.
Conclusion
The IBM DB2 pureScale feature and IBM POWER servers provide a tightly coupled
solution that addresses business growth and continuous availability needs. This
article has shown various sample deployment models, which are built from
industry-standard components. Various deployment models illustrate a flexible
infrastructure, which can be as small as a 2-member cluster up to a 128-member
cluster, and thus satisfy various business requirements.
Resources
Learn
• Get more information about GPFS in the General Parallel File system FAQs in
the IBM Cluster Information Center.
• Refer to the DB2 for Linux, UNIX, and Windows Information Center for more
information about the DB2 pureScale feature.
• Read "InfiniBand usage " for more information about InfiniBand usage on IBM
POWER servers.
• Scan through "IBM HMC" for complete information about IBM Hardware
Management Console.
• Explore "IBM Qlogic" for more information on the IBM Qlogic IB switch.
• Learn more about Information Management at the developerWorks Information
Management zone. Find technical documentation, how-to articles, education,
downloads, product information, and more.
• Stay current with developerWorks technical events and webcasts.
• Follow developerWorks on Twitter.
Get products and technologies
• Build your next development project with IBM trial software, available for
download directly from developerWorks.
Discuss
• Participate in the discussion forum for this content.
• Check out the developerWorks blogs and get involved in the developerWorks
community.