IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Installation Guides > High Availability Guide for Distributed Systems > Create clusters with Tivoli Monitoring components in a Microsoft Cluster Server environment > Set up the portal server in a Microsoft Cluster Server > Install and set up DB2 on a Microsoft Cluster Server

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


Transforming the DB2 instance into a clustered instance


The DB2 instances (by default, DB2) on both cluster nodes must be transformed into a clustered instance by using a set of commands that are provided by DB2 in Windows. You must also specify a directory for the DB2 instance on the shared drive R.

To transform the instance, complete the following steps:


Procedure

  1. Ensure that the cluster is switched to clusternode1 so that the shared disk drive is accessible on clusternode1.

  2. Stop all DB2 services if they are not already stopped.

  3. Create a directory on the shared drive R, such as \db2Teps, to hold the shared DB2 instance information.

  4. Open a command-line window, and type the following command:

      db2iclus migrate /i:db2 /c:<clustername> /m:<clusternode1> /p:r:\db2Teps

    You do not need to specify the cluster name; the cluster you are currently in is the default cluster.

    You should see the following CLI output:

    • DBI1912I The DB2 Cluster command was successful.

    • Explanation: The user request was successfully processed.

    • User Response: No action required.

  5. Add the second cluster node to the DB2 cluster by running the following command, again on clusternode1:

    • db2iclus add /i:db2 /m:<clusternode2>

    • /u:<db2adminName>,<password>

    You should see the following CLI output:

    • DBI1912I The DB2 Cluster command was successful.

    • Explanation: The user request was successfully processed.

    • User Response:No action required.


Results

You are now ready to configure the DB2 resource in the Cluster Administrator.

Instructions for how to migrate DB2 in a Microsoft Cluster Server are also available in the Migrate DB2 servers in Microsoft Cluster Server environments topic at the DB2 for Linux, UNIX, and Windows information center (http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.uprun.doc/doc/t0022647.htm).


Parent topic:

Install and set up DB2 on a Microsoft Cluster Server

+

Search Tips   |   Advanced Search