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]

Setting up DB2 for UNIX and Linux on NFS mounted file systems

Issues and considerations

Felix Lee (felix@ca.ibm.com), DB2 Install Architect, EMC
Felix Lee is currently the DB2 Install Architect. He has been part of the DB2 Install Team since Version 5. Previous to moving to his current role, Felix managed the UNIX/Linux DB2 Install Team for DB2 9. Felix has written a number of articles previously on various install topics.

Summary:  With DB2 9 for Linux and UNIX, you can now run DB2 from NFS mounted code. While there are clear advantages to this configuration, such as simplified maintenance and decreased overall disk usage, there are a number of issues and potential problems to consider. This article takes you through the considerations and walks you through the manual steps that are necessary to properly set up DB2 9 to run from NFS mounted code.

Date:  21 Sep 2006
Level:  Introductory

Activity:  16396 views
Comments:  

With IBM® DB2® 9 for Linux® and UNIX®, you can now run DB2 from NFS mounted code. While there are clear advantages to this configuration, such as simplified maintenance and decreased overall disk usage, there are a number of issues and potential problems to consider. This article takes you through the considerations and walks you through the manual steps that are necessary to properly set up DB2 9 to run from NFS mounted code.

In this article

  • Performance and availablity impact
  • Licensing considerations
  • Issues with diagnosing NFS errors
  • Issues that require attention for DB2 setup and maintenance
  • Deploying a database container across NFS

Overview

On supported UNIX and Linux platforms, DB2 deployment can be divided into three fairly distinct parts:

  • The installed code
  • The instances (working environment) created against the installed code. There can be multiple instances associated with each installed copy of DB2.
  • The database containers. This is where the data for the database is stored.

In most installations, all three are set up and configured to reside locally on a machine. With multiple database partition instances (for example, multi-node Enterprise Server Edition), DB2 supports the physical creation of an instance on one machine and sharing the home directory of the instance owner via NFS to all participating nodes. In this case, the installed code and database files and containers are still local to all machines involved.

Previous to V9, DB2 did not support running off NFS mounted code. That is, for earlier versions, there is no support for the following:

  • Putting installation code on machine A
  • Exporting the file system where DB2 has been installed
  • NFS mounting this file system from machine B
  • Creating and running instances on machine B from this mounted copy of DB2

There have been a number of customers who have indicated great interest in having this configuration supported. The advantages to this configuration include simplified maintenance and a decrease in the overall disk usage requirement. However, there are a number of issues and potential problems that must be considered and addressed. In addition, there are a number of manual steps that are necessary to properly set up DB2 9 in such a configuration

This article focuses on setting up DB2 9 by accessing code installed remotely via NFS. Also included at the end is an Appendix that discusses NFS mounting of the database container.


Download

DescriptionNameSizeDownload method
Article in PDF formatDB2_on_NFS.pdf180 KBFTP|HTTP

Information about download methods          Get Adobe® Reader®


Resources

Learn

Get products and technologies

  • Download a free trial version of DB2 Enterprise 9.

  • Now you can use DB2 for free. Download DB2 Express-C, a no-charge version of DB2 Express Edition for the community that offers the same core data features as DB2 Express Edtion and provides a solid base to build and deploy applications.

Discuss

Biography

Felix Lee is currently the DB2 Install Architect. He has been part of the DB2 Install Team since Version 5. Previous to moving to his current role, Felix managed the UNIX/Linux DB2 Install Team for DB2 9. Felix has written a number of articles previously on various install topics.

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=161387
SummaryTitle=Setting up DB2 for UNIX and Linux on NFS mounted file systems
publish-date=09212006
author1-email=felix@ca.ibm.com
author1-email-cc=