Steps to configure the HEARTBEAT option so that UNIX UUJMA will verify connection with remote machine and reestablish connection if needed.
UUJMA
How to configure HEARTBEAT option on a UNIX UUJMA machine so that disconnect can be identified and reestablished.
You can put the heartbeat option into effect either by
The environment variables can be set at the command prompt before starting Unicenter or in a global profile. To set these at a command prompt, execute the following:
export CAI_CCI_RMTHEARTBEAT=1
export CAI_CCI_HBTIMEOUT=25
To unset the variables,
unset CAI_CCI_RMTHEARTBEAT
unset CAI_CCI_HBTIMEOUT
To set these in a global profile, add the following to the $CAIGLBL0000/cci/scripts/envsetlocal file. If this file does not exist, create it and add the following:
############################################################ # CAI_CCI_RMTHEARTBEAT: Enables heartbeat option for all # the nodes listed in ccirmtd.prf # CAI_CCI_HBTIMEOUT: Wait time for reply to the ping # (seconds) minimum and maximum values # being 15 and 45 respectively with a # default of 30 seconds. ############################################################ CAI_CCI_RMTHEARTBEAT=1 export CAI_CCI_RMTHEARTBEAT CAI_CCI_HBTIMEOUT=25 export CAI_CCI_HBTIMEOUT
Save the changes made to the envsetlocal file and appropriately set the permissions of this file:
chmod 555 $CAIGLBL0000/cci/scripts/envsetlocal
Activate this variable in your environment by sourcing the envsetlocal file by issuing following command:
$CAIGLBL0000/cci/scripts/envsetlocal
Ensure that the respective environment variable is set as desired before starting the Unicenter CCI component:
echo $CAI_CCI_RMTHEARTBEAT
echo $CAI_CCI_HBTIMEOUT