Blame SOURCES/bz1168251-SAPHana-agents-update3.patch

261ad6
--- a/heartbeat/SAPHana	2015-05-07 07:47:41.654914103 -0500
261ad6
+++ b/heartbeat/SAPHana	2015-05-07 07:47:06.164755744 -0500
261ad6
@@ -1733,8 +1733,8 @@
261ad6
                         analyze_hana_sync_status
261ad6
                         ;;
261ad6
                 esac
261ad6
-                rem_role=$(get_hana_attribute ${remoteHost} ${ATTR_NAME_HANA_ROLES[@]})
261ad6
-                rem_clone_status=$(get_hana_attribute ${remoteHost} ${ATTR_NAME_HANA_CLONE_STATE[@]})
261ad6
+                rem_role=$(get_hana_attribute ${remoteNode} ${ATTR_NAME_HANA_ROLES[@]})
261ad6
+                rem_clone_status=$(get_hana_attribute ${remoteNode} ${ATTR_NAME_HANA_CLONE_STATE[@]})
261ad6
                 if [ "$promote_attr" = "DEMOTED" -a "$rem_clone_status" = "PROMOTED" ]; then
261ad6
                    case "$rem_role" in
261ad6
                        [234]:P:* ) # dual primary, but other instance marked as PROMOTED by the cluster