Installing the SASLINK AFL Plugins on the Appliance (HANA SPS08)

The SASLINK Application Function Library (AFL) files are included with the server side components. These files must be copied to the SASLINK AFL plugins directory on the SAP HANA server.
Note: The SID referenced in these instructions is the SAP HANA system identifier (for example, HDB).
To install the SASLINK AFL plugins on the appliance (HANA SPS08), follow these steps:
  1. If it does not exist, create a plugins directory in the $DIR_SYSEXE directory.
    1. Log on to the SAP HANA server as the root authority.
      You can use one of these commands.
      su - root
      sudo su -
    2. If it does not exist, create the plugins directory.
      mkdir -p /usr/sap/SID/SYS/exe/hdb/plugins
      chown SIDadm:sapsys /usr/sap/SID/SYS/exe/hdb/plugins 
      chmod 750 /usr/sap/SID/SYS/exe/hdb/plugins
      exit
  2. Use one of these commands to change the user to the database administrator.
    su - SIDadm
    ssh SIDadm@server-name
  3. Stop the SAP HANA database if it is running.
    HDB stop
  4. If it does not exist, create the SASLINK AFL plugins directory.
    cdexe
    cd -P ..
    mkdir -p plugins/sas_afl_sdk_saslink_1.00.1.0.0_1
    cdexe
    mkdir -p plugins
    cd -P plugins
    ln -s ../../plugins/sas_afl_sdk_saslink_1.00.1.0.0_1 sas_afl_sdk_saslink
    
  5. Copy the SASLINK AFL files from the /EPInstallDir/SAS/SASTKInDatabaseServerForSAPHANA/9.43/sasexe and /EPInstallDir/SAS/SASTKInDatabaseServerForSAPHANA/9.43/admin directories to the SASLINK AFL plugins directory.
    cdexe
    cd plugins/sas_afl_sdk_saslink
    cp /EPInstallDir/SAS/SASTKInDatabaseServerForSAPHANA/9.43/
       sasexe/libaflsaslink.so .
    cp /EPInstallDir/SAS/SASTKInDatabaseServerForSAPHANA/9.43/
       admin/saslink.lst .
    cp /EPInstallDir/SAS/SASTKInDatabaseServerForSAPHANA/9.43/
       admin/saslink_area.pkg .
    cp /EPInstallDir/SAS/SASTKInDatabaseServerForSAPHANA/9.43/
       admin/manifest .
    Note: You can find the location of EPInstallDir by using the following command:
    ls -l /usr/local/bin
  6. Restart the SAP HANA database.
    HDB start