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
).
-
If it does not exist,
create a plugins directory in the $DIR_SYSEXE directory.
-
Log on to the SAP HANA
server as the root authority.
You can use one of these
commands.
su - root
sudo su -
-
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
-
Use this command to
change the user to the database administrator.
su - SIDadm
-
Stop the SAP HANA database
if it is running.
HDB stop
-
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
-
Copy the SASLINK AFL
files from the
/SASEPHome/SAS/SASTKInDatabaseServerForSAPHANA/9.4/sasexe
and
/SASEPHome/SAS/SASTKInDatabaseServerForSAPHANA/9.4/admin
directories
to the SASLINK AFL plugins directory.
cdexe
cd plugins/sas_afl_sdk_saslink
cp /SASEPHome/SAS/SASTKInDatabaseServerForSAPHANA/9.4/
sasexe/libaflsaslink.so .
cp /SASEPHome/SAS/SASTKInDatabaseServerForSAPHANA/9.4/
admin/saslink.lst .
cp /SASEPHome/SAS/SASTKInDatabaseServerForSAPHANA/9.4/
admin/saslink_area.pkg .
cp /SASEPHome/SAS/SASTKInDatabaseServerForSAPHANA/9.4/
admin/manifest .
Note: You can find the location
of
SASEPHome by using the following
command:
ls -l /usr/local/bin
-
Restart the SAP HANA
database.
HDB start