SUSE/SAPHanaSR

SAPHanaTopology - DIR_PROFILE usage ?

Opened this issue · 0 comments

function header claims DIR_PROFILE is set .. what is the purpose, as this variable is not used in this RA?

# function: sht_init - initialize variables for the resource agent
# globals:  DIR_EXECUTABLE(w), SAPSTARTSRV(w), SAPCONTROL(w), DIR_PROFILE(w), SAPSTARTPROFILE(w), LD_LIBRARY_PATH(w), PATH(w), nodelist(w)

if [ -z "$OCF_RESKEY_DIR_PROFILE" ]
then
DIR_PROFILE="/usr/sap/$SID/SYS/profile"
else
DIR_PROFILE="$OCF_RESKEY_DIR_PROFILE"
fi