Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Enable database high availability using DB2 HADR and Tivoli SA MP in an SAP environment

Wayne Ha (ha@ca.ibm.com), IBM SAP Integration and Support Center, IBM
Wayne Ha is a member of the IBM SAP Integration and Support Center at the IBM Toronto Lab. His current activities are integration testing of SAP products with IBM DB2 for Linux, Unix and Windows (LUW) and helping customers with problem analysis and troubleshooting. He is also a customer advocate providing support for large customer accounts running SAP and DB2 for LUW. He can be reached at ha@ca.ibm.com.
Patrick Zeng (pzeng@ca.ibm.com), World Wide DB2 SAP Technical Sales Enablement and Support, IBM
Patrick Zeng is a member of World Wide DB2 SAP Technical Sales Enablement and Support team. He has many years experience of supporting SAP and DB2 customers. He is a Certified DB2 Solutions Expert and a Certified SAP Technology Consultant. He can be reached at pzeng@ca.ibm.com.

Summary:  Learn how to enable database high availability using IBM DB2 for Linux, UNIX, and Windows (DB2 V8 or DB2 9) High Availability and Disaster Recovery capability in an SAP ABAP and Java dual stack environment, as well as how to enable automatic failover using IBM Tivoli System Automation for Multiplatofrms in such an HA system.

Date:  30 Aug 2007
Level:  Introductory

Activity:  4930 views
Comments:  

Learn how to enable database high availability (HA) using IBM® Linux®,UNIX® and Windows® (DB2 V8 or DB2 9) High Availability and Disaster Recovery (HADR) capability in an SAP ABAP and Java™ dual stack environment, as well as how to enable automatic failover using IBM Tivoli® System Automation for Multiplatforms (SA MP) in such an HA system. This article takes you through the planning and preparation stages, and then gives instructions on installing this solution. Finally, there is detailed information that you'll need to implement this solution with SAP.

In this article

  • Introduction to DB2 HADR and Tivoli SA MP, and explanation of the approaches for SAP applications to reconnect to the new active database after a failover
  • Planning information, including configuration of the test system, hardware and software requirements
  • Preparation information, including network setup, file systems setup, and setting up user groups
  • Installation steps for all the various pieces of this solution
  • Detailed instructions for running SAP with DB2 HADR and Tivoli SA MP

Introduction

DB2 HADR is a database replication feature that provides a high availability solution for both partial and complete site failures. HADR protects against data loss by replicating data changes from a source database, called the primary, to a target database, called the standby. In case of a failure the takeover by the standby database only takes some seconds since the standby database server is already up and running. The only work to be done is to reconnect all clients to the standby server.

IBM Tivoli SA MP is a high-availability cluster solution which provides several monitoring mechanisms to detect system failures and a set of rules to initiate the correct action without any user intervention. The set of rules is called a policy, which describes the relationships between applications or resources. This provides SA MP with extensive up-to-date information about the system landscape so that it can restart the resource on the current node or move the whole application to another cluster node.

This article uses the scripts provided by SAP to set up the cluster on a DB2 HADR system. It also discusses two different approaches for SAP applications (ABAP+Java) to reconnect to the new active database after a failover. One approach is to use DB2 Automatic Client Reroute (ACR) feature, and the other approach is to use virtual host and IP address to the database server.

Details of procedures and examples of output are provided so that you can follow each step carefully and to compare with your own experiences.


Download

DescriptionNameSizeDownload method
PDF filedm-0708ha.pdf118KBHTTP

Information about download methods          Get Adobe® Reader®


Resources

Learn

Get products and technologies

  • Download IBM product evaluation versions and get your hands on application development tools and middleware products from DB2, Lotus®, Rational®, Tivoli®, and WebSphere®.

Discuss

Biographies

Wayne Ha is a member of the IBM SAP Integration and Support Center at the IBM Toronto Lab. His current activities are integration testing of SAP products with IBM DB2 for Linux, Unix and Windows (LUW) and helping customers with problem analysis and troubleshooting. He is also a customer advocate providing support for large customer accounts running SAP and DB2 for LUW. He can be reached at ha@ca.ibm.com.

Patrick Zeng is a member of World Wide DB2 SAP Technical Sales Enablement and Support team. He has many years experience of supporting SAP and DB2 customers. He is a Certified DB2 Solutions Expert and a Certified SAP Technology Consultant. He can be reached at pzeng@ca.ibm.com.

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=252398
SummaryTitle=Enable database high availability using DB2 HADR and Tivoli SA MP in an SAP environment
publish-date=08302007
author1-email=ha@ca.ibm.com
author1-email-cc=
author2-email=pzeng@ca.ibm.com
author2-email-cc=yeow@ca.ibm.com