09.09.2016 Views

SAP HANA R Integration Guide

2c9H5is

2c9H5is

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. On the <strong>SAP</strong> <strong>HANA</strong> system, do the following:<br />

a. In the connection string (cer_rserve_addresses parameter), add the authentication mode, either<br />

plain or crypted, as in the following example:<br />

host1:port1:crypted<br />

If no authentication mode is specified, no authentication is required.<br />

b. Store the user name and password for connecting to Rserve in the <strong>SAP</strong> <strong>HANA</strong> secure internal<br />

credential store, by executing the following SQL as a user with the system privilege CREDENTIAL<br />

ADMIN:<br />

CREATE CREDENTIAL FOR COMPONENT 'RINTEGRATION' PURPOSE<br />

'' TYPE 'PASSWORD' USING<br />

':'<br />

Replace and with the user and password of the user who is connecting to the<br />

Rserve.<br />

Example<br />

You have a running Rserve on the IP address 1.2.3.4 port 9999, and you want to use authentication with<br />

encrypted passwords.<br />

In the Rserve, set the following parameters in your /etc/Rserv.conf file:<br />

auth required<br />

plaintext disable<br />

pwdfile /home/ruser/passwordfile<br />

The Rserve file /home/ruser/passwordfile contains the following user and password:<br />

myRserveUserName myRservePW<br />

On <strong>SAP</strong> <strong>HANA</strong>, in the indexserver.ini calcEngine cer_rserve_addresses configuration parameter,<br />

enter the address 1.2.3.4:9999:crypted. Then, execute the following SQL statement (as a user with<br />

system privilege CREDENTIAL ADMIN):<br />

CREATE CREDENTIAL FOR COMPONENT 'RINTEGRATION' PURPOSE '1.2.3.4:9999:crypted'<br />

TYPE 'PASSWORD' USING 'myRserveUserName:myRservePW'<br />

Related Information<br />

<strong>SAP</strong> <strong>HANA</strong> Security <strong>Guide</strong><br />

14<br />

P U B L I C<br />

© 2016 <strong>SAP</strong> SE or an <strong>SAP</strong> affiliate company. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> R <strong>Integration</strong> <strong>Guide</strong><br />

Installing and Configuring R

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!