HP Serviceguard Toolkits for Database Replication Solutions manual Using the DB2 Hadr toolkit

Page 35

Installing and uninstalling HP Serviceguard Toolkits for Database Replication Solutions

DB2 HADR toolkit is part of the HP Serviceguard Toolkits for Database Replication Solutions and is available on installing the HP Serviceguard Toolkits for Database Replication Solutions.

NOTE: The product name used for the depot is “Serviceguard Disaster Recovery Toolkits for Databases”. However, the product name was changed to “HP Serviceguard Toolkits for Database Replication Solutions” to match the functionality delivered.

To install the HP Serviceguard Toolkits for Database Replication Solutions:

1.Run the command:

# swinstall -s <depot path>

The “SD Install - Software Selection” user interface appears where you can select the product that you want to install.

2.On the “SD Install - Software Selection” screen, mark the product, “T2259AA”.

3.To mark the product for installation:

a.Select Action > Mark For Install(m).

b.To install only a specific toolkit in “T2259AA”, see the options by pressing enter and then select as appropriate.

4.Select Action >Install to initiate the installation.

To verify the installation completion, run the command:

# swlist -l product T2259AA

This command returns the list of toolkits that you selected during installation.

To uninstall the HP Serviceguard Toolkits for Database Replication Solutions, run the # swremove T2259AA command.

Using the DB2 HADR toolkit

Supported configuration

This section explains the supported configuration for DB2 HADR toolkit. It includes the configuration under the following scenarios:

Installing and uninstalling HP Serviceguard Toolkits for Database Replication Solutions 35

Image 35
Contents HP Part Number Published August Edition Page Contents Glossary Index Introduction Advantages OverviewSingle-instance Oracle database Supported configurationDependencies Cmmakepkg -i pkgasciifile -m modulefilename outputfilename RAC environment RAC environmentServiceguard toolkit for Oracle Data Guard Data Guard replication between RAC primary and RAC standby Continentalclusters environment Continentalclusters environment Metrocluster and extended distance cluster environments Supported configuration Data Guard setup in an EDC environment Three data center configuration Multiple Data Guard instances in each Serviceguard cluster Configuring multiple instances of Oracle Data GuardHigh availability for data guard broker Setting up Oracle Data Guard toolkitInstalling and uninstalling Oracle Data Guard toolkit # swinstall -s depot path# swlist -l product T2259AA Files for the ADF module Activestandby Package attributes Configuring Oracle Data Guard toolkitFor example, /etc/cmcluster/pkg/dgpkg Single-instance environmentSetting up Oracle Data Guard toolkit #ecmt/oracle/oracle/LISTENERRESTART Servicefailfastenabled no servicehalttimeout For example, /etc/cmluster/pkg/racdgpkg RAC environmentWhere ocmnp is the Smnp package for Oracle CLusterware Maintaining Oracle Data Guard toolkit Adding the package to the Serviceguard clusterSingle-instance environment Cluster verification for Oracle Data Guard toolkitLimitations TroubleshootingPkg.conf command Startstandbyasprimary to yes Prerequisites Supported configuration Using the DB2 Hadr toolkitEvent 1 Standby database or Hadr goes down When primary and standby packages are in the same clusterEvent 2 Primary package fails Primary and Standby Packages in Different Clusters When primary and standby packages are in different clustersCmmakepkg -m ecmt/db2/db2 -m tkit/db2hadr/db2hadr pkg.conf Creating packagesTo provide high availability only to primary database Go to the /etc/cmcluster/hadrprimary directoryInstancename Hadrip And, $ cmmodpkg -e hadrpkg Managing packagesRunning packages Maintaining packages# cmhaltpkg packagename Halting packagesHost key verification failed. Lost connection Limitations Information to collect before contacting HP How to contact HPRelated information Typographic conventions Warranty informationHP authorized resellers Documentation feedbackTIP Node2# /usr/bin/ssh-keygen -t rsa Db2 get db cfg for db2 database name grep -i hardNode3# /usr/bin/ssh-keygen -t rsa Node3# /usr/bin/ssh-keygen -t dsaPage To add a new key to/home/user/.ssh/knownhosts Page Glossary Index