Managing Serviceguard Extension for SAP, December 2007

Step-by-Step Cluster Conversion
Database Configuration
Chapter 3 187
IR980 Informix Database Step:
In Step IR490 you copied two files to the INFORMIX home directory of the
primary node. At this time, still as an INFORMIX user, customize these
files by replacing the string relocdb with your individual <relocdbci>
(or <relocdb> in case of database package).
For example:
.customer.sh:
.customer.csh:
####################### .customer.sh #########################
DBRELOC=relocdb; export DBRELOC
TEMP=`netstat -i | awk ' {print $4 }' | sort -u | \
TEMP=`netstat -i | awk ' {print $4 }' | sort -u | \
awk -F. '$1~/'$DBRELOC'/ {if (length($1) == length("'$DBRELOC'”)) "\
{print 1;exit}}'`
setenv INFORMIXSERVER ${DBRELOC}${INFORMIX_DBID}shm
##################.customer.csh############################### ##
setenv DBRELOC relocdb
setenv ONCONFIG onconfig.${DBRELOC}.${INFORMIX_DBID}
setenv TEMP `netstat -i | awk ' {print $4 }' | \
sort -u | awk -F. '$1~/'$DBRELOC'/ \
{if (length ($1) == length("'$DBRELOC'”)) {print 1;exit}}'`
if ( $TEMP == 1 ) then
Copy the .customer.sh and .customer.csh to all INFORMIX home
directories on all nodes including the application servers outside of the
cluster.