With pacemaker 2.0 master/slave resources where renamed to promoted resources.
The SAPHana resource is responsible for promoting the secondary Hana DB node to primary in case of a failure.
# pcs resource create SAPHana_HDB_00 SAPHana SID=HDB InstanceNumber=00 \
PREFER_SITE_TAKEOVER=true DUPLICATE_PRIMARY_TIMEOUT=7200 AUTOMATED_REGISTER=true \