Enabling the SAP high availability Connector

After System Automation for Multiplatforms is installed on all cluster nodes, the SAP high availability Connector must be configured in the SAP profiles. It is sufficient to enter the required entries into the default profile.

Enable the SAP high availability connector. Otherwise, all start or stop commands of all SAP tools, for example sapcontrol or SAP MC, are reversed by System Automation for Multiplatforms.

Depending on whether you have an AIX or Linux platform, or you are running SAP HANA on Power Linux, add the following entries to the default profile of your SAP system. Replace <SAPSID> with the SAPSID of your SAP System:
AIX
#----------------------------------------------------------------------- 
# SAP high availability connector 
#---------------------------------------------------------------------- 
service/halib = /usr/sap/<SAPSID>/SYS/exe/uc/rs6000_64/saphascriptco.o  
service/halib_cluster_connector = /usr/sbin/rsct/sapolicies/sap/bin/sap_tsamp_cluster_connector
LINUX
Replace <your platform> with the appropriate directory name:
#----------------------------------------------------------------------- 
# SAP high availability connector 
#----------------------------------------------------------------------- 
service/halib = /usr/sap/<SAPSID>/SYS/exe/uc/<your platform>/saphascriptco.so  
service/halib_cluster_connector = /usr/sbin/rsct/sapolicies/sap/bin/sap_tsamp_cluster_connector 
SAP HANA on Power Linux
#-----------------------------------------------------------------------  
# SAP high availability connector 
#-----------------------------------------------------------------------  
service/halib = /usr/sap/<SAPSID>/SYS/exe/hdb/saphascriptco.so  
service/halib_cluster_connector = /usr/sbin/rsct/sapolicies/sap/bin/sap_tsamp_cluster_connector

Refer to SAP Note 1693245 - "SAP high availability Script Connector Library" for details about the latest patch level for the SAP high availability Script Connector Library.

Note: For SAP HANA instances: If the file /usr/sap/<SAPSID>/SYS/exe/hdb/saphascriptco.so is not included in the HANA installation, extract the file from a Power LINUX SAP Kernel Part I package manually:
  1. Identify SAP Kernel version (00 - default HANA instance number), enter
    sapcontrol -nr 00 -function GetVersionInfo
  2. Download SAP Kernel Part I package. Use the highest patch level SAPEXE_<patch_level>-<number>.SAR. You can find the patch on the SAP Support Portal.
  3. Extract saphascriptco.so from SAR file, enter
    SAPCAR -xvf SAPEXE_<patch_level>-<number>.SAR saphascriptco.so
  4. Copy saphascriptco.so to HANA installation, enter
    cp saphascriptco.so /usr/sap/<SAPSID>/SYS/exe/hdb/saphascriptco.so
  5. Use the HANA installation path in the profile, enter
    service/halib = /usr/sap/<SAPSID>/SYS/exe/hdb/saphascriptco.so
  6. Add the halib_cluster_connector parameter in the profile, enter
    service/halib_cluster_connector = /usr/sbin/rsct/sapolicies/sap/bin/sap_tsamp_cluster_connector
Note: It is required to setup non-root user security for the <SID>adm user. The sapstartsrv process calls the HA connector by using the <SID>adm user.