Appendix G High AvailabilityHPSS Installation Guide September 2002 559Release 4.5, Revision 2HACMP is able to control HPSS by using a set of scripts that are included in the HPSS installationunder $HPSS_ROOT/tools/ha (by default, /opt/hpss/tools/ha):hpss_environmenthpss_start.kshhpss_stop.kshhpss_sync.kshhpss_verify.kshhpss_snapshot.kshhpss_notify.kshhpss_aix_error.kshhpss_cluster_notify.kshThese scripts need to be stored locally on each node’s internal disks, not on shared storage. Theywill also have to be customized to operate within any particular HA HPSS environment. To readythe scripts, take the following steps:1. Copy the scripts to a directory on the rootvg of one of the HA HPSS nodes (we’ll call thisnode 1 for the remainder of these steps). We’ll assume that the scripts are copied to /var/hahpss.2. Customize the hpss_environment file. Pay special attention to the following fields:HAHPSS_HPSSADM_SUPPORT - Must be set to off. This option is not yet supported.HAHPSS_PATH - Must be set to the absolute path to the directory containing these scripts.This would be /var/hahpss in this example.3. Customize the script paths to the hpss_environment file. Each script file must be able tofind the hpss_environment file to pick up configuration settings. However, there is noguarantee that the scripts will be called from any particular directory, therefore they haveto know the absolute pathname of the hpss_environment file in order to find it reliably. Editall the .ksh files, and update the path in the following line:. /usr/sbin/cluster/events/hpss/hpss_environmentFor example, the updated line will most likely be:. /var/hahpss/hpss_environment4. Customize hpss_notify.ksh if desired. This file is called when an event occurs that may beinteresting to a system administrator. The default script outputs the information to a file(default: hpss_notify_hist). However, the intent is that sites may modify this file to sendemail or page administrators when messages come through.The script is called with two arguments. The first is a text string relaying the basic message,and the second contains particular details. For example, the first string may say, “A harddisk has failed.” While the second might say, “hdisk2”.5. Change the owner and mode bits.% cd /var/hpss% chown root:hpss *% chmod u+x *.ksh