IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Installation Guides > High Availability Guide for Distributed Systems

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


Predefined scripts

The following scripts are located in the itm6/BuildScripts directory, in the itm6.sam.policies-2.0.tar file.

The mkitmcluster.sh script calls the scripts listed in Table 1. The mkitmcluster.sh script creates the following resources:

Where the first parameter is the tiebreaker type. If the second parameter is specified, then the DB2 resources are also created.

In certain cases, you might already have these resources defined, or you might want to define them separately. Table 1 includes a description of each script. If you need to define any of the resources differently, you can create your own scripts based on the provided ones.

The scripts depend on the variables defined in itm6/BuildScripts/clustervariables.sh , so be sure to edit this file, and run itm6/BuildScripts/generateclusterfiles.sh. If a command-line parameter is specified, it overrides the variable's value from itm6/BuildScripts/clustervariables.sh.

After running the scripts to create the resources, start the resource group with the following commands:


Predefined scripts

Script Command line Prereqs Variables used
mkitmdomain.sh

Creates the cluster domain

    mkitmdomain.sh node1
     node2 domain_name

    mkitmddomain.sh node1
     node2

    mkitmdomain.sh node1

    mkitmddomain.sh

preprpnode must be run on both nodes before running this command

$CLUSTER_NODE1

$CLUSTER_NODE2

$CLUSTER
_DOMAIN
_ NAME

mkitmrg.sh

Creates the cluster resource group

    mkitmrg.sh rg_name
     domain_name

    mkitmrg.sh rg_name

    mkitmrg.sh

The domain must already be created and started before running this command

$CLUSTER
_RESOURCE
_ GROUP

$CLUSTER
_DOMAIN
_ NAME

mkitmtb.sh

Creates the cluster tiebreaker, and sets it as the active tiebreaker

    mkitmtb.sh net|scsi|disk|
    eckd domain_name

    mkitmtb.sh net|scsi|disk|
    eckd

The domain must already be created and started before running this command

$CLUSTER
_DOMAIN
_ NAME

mkitmbasicresources.sh

Creates the file system and virtual IP resources, and adds them to the resource group

    mkitmbasicresources.sh 
    rg_name domain_name

    mkitmbasicresources.sh 
    rg_name

    mkitmbasicresources.sh

The domain must already be created and started, and the resource group must be created, before running this command

$CLUSTER
_RESOURCE
_ GROUP

$CLUSTER
_DOMAIN
_ NAME

mkitmdb2resources.sh

Creates the DB2 resource, and adds it to the resource group

    mkitmdb2resources.sh
     rg_name domain_name

    mkitmdb2resources.sh 
    rg_name

    mkitmdb2resources.sh

The domain must already be created and started, and the resource group must be created, before running this command  

When the resources have been created by the scripts, or by some other means, you must then install the Tivoli Monitoring components, and add their resources to the resource group. Use the commands that are described in Table 2 to add the Tivoli Monitoring resources.

Again, you might want to modify them to fit your environment.

Before running these scripts, take the resource group offline with the following command:

After running the scripts to create the resources, start the resource group with the following command:


Commands

Script Command line Prerequisites Variables Used
temsrscbuild.sh

Creates the Tivoli Monitoring hub resource, and adds it to the resource group

    temsrscbuild.sh

The domain must be created and started, and the resource group must be created and must be offline.

The ITMIP resource must exist, which is created in the mkitmbasicresources.sh script.

$CLUSTER_RESOURCE_ GROUP
tepsrscbuild.sh

Creates the Tivoli Monitoring portal server resource, and adds it to the resource group

    tepsrscbuild.sh

The domain must be created and started, and the resource group must be created and must be offline.

The ITMDB2 resource must exist, which is created in the mkitmdb2resources.sh script.

$CLUSTER_RESOURCE_ GROUP
spagentrscbuild.sh

Creates the Tivoli Monitoring Summarization and Pruning Agent resource, and adds it to the resource group

    spagentrscbuild.sh

The domain must be created and started, and the resource group must be created and must be offline.

The ITMDB2 resource must exist, which is created in the mkitmdb2resources.sh script.

$CLUSTER_RESOURCE_ GROUP
tdwproxyrscbuild.sh

Creates the Tivoli Monitoring Tivoli Data Warehouse Proxy Agent resource, and adds it to the resource group

    tdwproxyrscbuild.sh

The domain must be created and started, and the resource group must be created and must be offline.

The ITMDB2 resource must exist, which is created in the mkitmdb2resources.sh script.

$CLUSTER_RESOURCE_ GROUP
allrscbuild.sh

Calls the above four scripts to create all of the resources, and adds them to the resource group

    allrscbuild.sh

See above descriptions. See above descriptions.



+

Search Tips   |   Advanced Search