SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 64004: You encounter slow performance when you use SAS/ACCESS® Interface to the PI System under Linux to connect to PI Servers

DetailsHotfixAboutRate It

With SAS® 9.4M5 (TS1M5), you might encounter slow connection times to PI Servers when you run a LIBNAME statement under Linux to connect to PI servers. 

This problem occurs because of the way that SAS checks the authentication method. The PI System Web API supports the authentication methods listed below (in addition to the SSL certificate check):

  • None: No user name or password is required.
  • Basic: A user name and password are required (This method is currently not implemented for this engine).
  • Kerberos: Kerberos or GSS authentication is used.

By default, the SAS engine checks the authentication methods in the following order until a valid method is found: none, basic, Kerberos. This behavior might cause significant delay (10+ seconds) while you wait for the denial for methods that are not supported.  

Click the Hot Fix tab in this note to access the hot fix for this issue.

Post Hot-Fix Instructions

To avoid the performance delay, you can set the SAS_PI_WEB_AUTH environment variable if you know that your PI Web API server requires Kerberos authentication.

For example, if your site uses Kerberos as the authentication method, you can set the SAS option as shown here before running the LIBNAME statement:

options set=SAS_PI_WEB_AUTH "KERBEROS";

Or, you can add the line below to your sasenv_local file:

export SAS_PI_WEB_AUTH="KERBEROS"

This SAS_PI_WEB_AUTH environment variable is available only for SAS 9.4M5 with this hot fix installed and for SAS® 9.4M6 (TS1M6) and later versions.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to the PI System64-bit Enabled AIX9.439.449.4 TS1M59.4 TS1M6
64-bit Enabled Solaris9.439.449.4 TS1M59.4 TS1M6
HP-UX IPF9.439.449.4 TS1M59.4 TS1M6
Linux for x649.439.449.4 TS1M59.4 TS1M6
Solaris for x649.439.449.4 TS1M59.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.