IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Installation Guides > High Availability Guide for Distributed Systems > Create clusters with Tivoli Monitoring components in an HACMP environment > Define the base cluster for Tivoli Monitoring
IBM Tivoli Monitoring, Version 6.3 Fix Pack 2
Add the database to the base cluster
To add the database to the base cluster, complete the following procedure:
Procedure
- Add the database to cluster resource group.
- Take the basic resource group offline using smit hacmp.
- Create a start/stop script (or two scripts, one for each purpose) in the same local directory on each cluster node.
The following examples show how the start/stop scripts can be created:
db2start.sh DB2BINDIR=/opt/IBM/db2/V9.7/bin su db2inst1 "-c $DB2BINDIR/db2 db2start"
db2stop.sh DB2BINDIR=/opt/IBM/db2/V9.7/bin su db2inst1 "-c $DB2BINDIR/db2 db2stop"
Ensure that the scripts have the executable flag set.
- Create an application server resource for the DB2 using smit hacmp.
- Add the application server resource to the basic cluster resource.
- Synchronize the cluster.
- Bring the cluster resource group online.
Results
DB2 now runs under the control of the HACMPâ„¢, and you are now ready to install the portal server, data warehouse, or Summarization and Pruning Agent.
Parent topic:
Define the base cluster for Tivoli Monitoring