Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2014

    Unanswered: Can I run 2 different major versions of DB2 on the same server?

    Can I run 2 different major versions of DB2 on the same AIX server?

    I am running on AIX 7.1 DB2 and I would like to know if I can install DB2 and run that in a separate instance?

    My installation of V10.1.0.4 complained about shared libraries needing to be unlinked. This started me thinking I can't run both major versions on the same server.

    If I run the db2rmln will that break my existing DB2 server which is currently running?

    Error below:

    Operating system information: AIX 7.1
    WARNING: DBI1004W /usr/lib/libdb2.a detected. This DB2 copy may encounter problems
    loading its libraries.


    The db2ln command was run from another DB2 copy which creates symlinks
    in /usr/lib. These symlinks interfere with multiple DB2 copies running
    on the same system, whether those copies are the same version at
    different fixpacks, or different versions.

    User response:

    From the installation path where the db2ln command was run, run the
    db2rmln command to remove these links.

    Thanks in advance for any help.

  2. #2
    Join Date
    Apr 2012
    Provided Answers: 17
    Yes you can run a db2-version 9.7 instance on the same AIX lpar as a db2-version 10.1 instance.
    You will need separate file-systems (for instance-home-directory, data storage pools, txnlogs etc), separate instance-owners , best to have separate fenced accounts, separate groups etc for isolation from each other.
    Refer to the knowledge-centre for details...

  3. #3
    Join Date
    Jun 2003
    Toronto, Canada
    Provided Answers: 1
    Removing the symlinks won't affect the DB2 instance, but it may affect applications that expect libraries in /usr/lib only. For those applications you'll need to make sure their environment contains the profile ($INSTANCE_HOME/sqllib/db2profile) from the appropriate instance.

    More info: IBM Knowledge Center
    "It does not work" is not a valid problem statement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts