db2cptsa - Install or update Db2 HA scripts command
Installs or updates the Db2 high availability (HA) scripts in /usr/sbin/rsct/sapolicies/db2 on UNIX and Linux® operating systems. You need these Db2 HA scripts to use IBM® Tivoli® System Automation for Multiplatforms (SA MP) with the Db2 High Availability Feature.
Authorization
Root user authority
Required connection
None
Command syntax
Command parameters
- -c
- Verifies that the Db2 HA scripts exist in /usr/sbin/rsct/sapolicies/db2, and that they are at the proper level.
- -f
- Forces a reinstall
of the Db2 HA scripts in /usr/sbin/rcst/sapolicies/db2. Without this
argument, if the version of the Db2 HA scripts
that are already installed is the same as or higher than the version of the scripts being installed,
then the installed scripts are not overwritten.
When there are multiple versions of Db2 installed on the same server and one of them is using IBM Tivoli System Automation for Multiplatforms Base Component (SA MP Base Component) with the Db2 HA feature, then during db2 install, the HA scripts are overwritten by the new db2 installation in /usr/sbin/rcst/sapolicies/db2.
These Db2 HA scripts are needed to use the IBM Tivoli System Automation for Multiplatforms Base Component (SA MP Base Component) with the Db2 HA feature.
To put back the previous version for HA scripts, use this option.
- -r
- Removes the directory /usr/sbin/rsct/sapolicies/db2. This directory is where the Db2 HA scripts for SA MP are located. These scripts and this directory will only be removed if SA MP is not installed.
- -h | -?
- Displays help information.
Usage notes
By default, this utility installs the Db2 HA scripts in /usr/sbin/rsct/sapolicies/db2 if they aren't already installed there, or if the version of the scripts already installed is older than the version of the scripts being installed. This utility installs or updates the Db2 HA scripts if and only if SA MP is already installed.
- aix for Db2 for AIX 5L
- linux for Db2 for Linux on 32-bit AMD and Intel systems (x86)
- linuxamd64 for Db2 for Linux on AMD64 and Intel EM64T systems (x64)
- linuxppc for Db2 for Linux on POWER® (System i and IBM Power Systems) systems
- linux390 for Db2 for Linux on System z9® and zSeries