安装HANA Rules Framework(HRF)
1. 收集文档
1.1 SAP HANA Rules Framework by the SAP HANA Academy link
1.2 HANA Rules Framework (HRF) blog of blogs link
1.3 SAP HANA Rules Frameworklink
1.4 2455694 - SAP HANA Rules Framework 1.0 SPS 11 Release Note
SAP HRF Version | SAP HANA Releases | SAP HANA Studio Releases |
SAP HRF 1.0 SP11 Patch 0 to Patch 4 | SPS 12 rev 122.08, 122.09, 122.10 | 2.3.19, 2.3.22 |
SAP HANA 2.0 SPS00 Database Revision 002 (2.00.002.00) | 2.3.19 | |
SAP HRF 1.0 SP11 Patch 5 to Patch 9 | SPS 12 rev. 122.14, 122.15, 122.16, 122.17, 122.19, 122.21, 122.23, 122.25 |
2.3.31, 2.3.32, 2.3.34, 2.3.38, 2.3.39, 2.3.42, 2.3.44 |
SAP HANA 2.0 SPS02 Database Revision 23, 24, 24.01, 24.02,24.03, 24.05, 24.06, 24.07, 24.08, 24.09, 24.10 |
2.3.31, 2.3.33, 2.3.36, 2.3.37, 2.3.40, 2.3.41, 2.3.43, 2.3.45 | |
SAP HANA 2.0 SPS03 Database Revision 30, 31, 32, 33, 34, 35, 36, 37, 37.02 |
2.3.35, 2.3.39, 2.3.41, 2.3.42, 2.3.43, 2.3.45 | |
SAP HANA 2.0 SPS04 Database Revision 40, 41 |
2.3.43, 2.3.44 |
2. 下载软件
- Go to the SAP Software Download Center at https://support.sap.com/swdc
.
- Choose Software Downloads.
- Choose the Support Packages and Patches tab.
- Choose By Category SAP In-Memory (SAP HANA) SAP HANA Add-ons SAP HANA RULES FRAMEWORK SAP HANA RULES FRAMEWORK 1.0 Comprised Software Component Versions HANA RULES FRAMEWORK 1.0.
- Ensure that the following are selected:
- # OS INDEPENDENT
- SAP HANA DATABASE
- Download the relevant file, depending on the type of installation that you are performing:
3. Deploying the SAP HANA Rules Framework Software Component
3.1 Prerequisites
You have reviewed the software and hardware requirements and the release note for this release.
- You have installed the SAP HANA client.
For more information, see the SAP HANA Client Installation and Update Guide at http://help.sap.com/hana_platform.
- You have an SAP HANA database user.
- The SAP HANA sap.hana.xs.lm.roles::Administrator user role is assigned to your SAP HANA database user.
- You have downloaded the HRF software component from the SAP Support Portal.
3.2 Procedure
- Start a command line client and navigate to the directory in which hdbalm is located.
By default, hdbalm is located in the c:\Program Files\sap\hdbclient directory on Microsoft Windows and /usr/SAP/hdbclient(/usr/sap/S4D/hdbclient/) directory on Linux.
- Set the following environment variables:
Variable Description HDBALM_USER Name of your SAP HANA database user. HDBALM_PASSWD Password of your SAP HANA database user. HDBALM_HOST Full domain name of the SAP HANA XS engine. HDBALM_PORT Port number of the SAP HANA XS engine. The default port is 80+<instance number>.
Windows:
set HDBALM_USER=ADMIN
set HDBALM_PASSWD=******
set HDBALM_HOST=s4hanahost
set HDBALM_PORT=8010
set HTTP_PROXY=
set HTTPS_PROXY=
Linux:
export HDBALM_USER=ADMIN
export HDBALM_PASSWD=******
export HDBALM_HOST=s4hanahost
export HDBALM_PORT=8010
export HTTP_PROXY=
export HTTPS_PROXY=
3.3 Execute the hdbalm installation command with the required options, command options, or parameters to deploy the software component of SAP HANA rules framework.
ExampleC:\Program Files\SAP\hdbclient_101>hdbalm.bat -v install C:\TEMP\HCORULEFW05P_3.ZIP
/usr/sap/S4D/hdbclient/hdbalm -v install /hana/sapcd/HCORULEFW11P_9-20011528.ZIP 报错:
hbdadm@s4hana:/usr/sap/HBD/HDB10> /usr/sap/S4D/hdbclient/hdbalm -v install /hana/sapcd/HCORULEFW11P_9-20011528.ZIP
DEBUG:root:Request: GET /sap/hana/xs/lm/xsts/ping.xsjs
DEBUG:root:Opening http://boschs4hana:8010/sap/hana/xs/lm/xsts/ping.xsjs?HDBALM_VERSION=1.1.11
Http error: Forbidden
DEBUG:root:Finished with return code 1
解决过程:
Can you please set parameter webdispatcher.ini [profile] wdisp/system_auto_configuration to true?
Can you please run this statement from both, the SYSTEMDB and the tenant?
select *
from m_inifile_contents
where file_name = 'xsengine.ini'
and section = 'public_urls';
Also, please run this other statement from the SYSTEMDB:
select key, value, layer_name
from sys.m_inifile_contents
where file_name = 'webdispatcher.ini'
and section = 'profile'
and key like 'wdisp/system%';
And run this one from the tenant only:
select *
from "_SYS_XS"."RUNTIME_CONFIGURATION";
So I will be expecting 4 result sets in total. Please export the results in .csv format (you can right-click the result set in the Studio and select "Export Result...") and attach them to the incident.
4. Setting Up a Technical User
Procedure
- In SAP HANA studio, create a technical user with the name: HRF_TECH_USER
CREATE USER HRF_TECH_USER PASSWORD <password> NO FORCE_FIRST_PASSWORD_CHANGE;
ALTER USER HRF_TECH_USER DISABLE PASSWORD LIFETIME;
2. If you are consuming rule services via REST, XSJS Lib function call, or the SAP HRF web application, the HRF_TECH_USER must be granted the following:
execute and/or select privileges on the application runtime schema
select privilege on the schema where the data is located
3.As a result of the new user authorization mechanism provided in SAP HANA Rules Framework 1.0 SPS 07, when upgrading from SAP HANA Rules Framework 1.0 SPS 06 or before to this release, you must update the existing permissions of business users that perform editing tasks (create, update, or delete) to the various HRF resources (rules, rule services, vocabularies, and rule templates) so that they include the necessary privileges that permit the required CUD operations.
5.Configuring SAP HANA Rules Framework
Procedure
- Ensure that the sap.hrf.role.model::HrfAdmin role is assigned to your SAP HANA user in SAP HANA studio.
- In the navigation tree of the new system, go to Security Users.
- Right-click the user name in the navigation tree, and then select Open.
- In the Granted Roles tab, click
(Add).
- Search for the role sap.hrf.role.model::HrfAdmin and click OK.
- Click File Save.
2.Open a REST client in your application for interacting with HTTP APIs, for e.g., Postman. Enter the following request in the REST client to run the configuration script.
URL |
Enter the following URL in the REST client request: http://<full_domain_name>:80<instance_number>/sap/hrf/service/configurationhttp://boschs4hana:8010/sap/hrf/service/configuration |
Method |
Enter the following method in the REST client request: POST |
Authorization |
(Basic Authentication) Enter the user credentials of SAP HANA user to whom the sap.hrf.role.model::HrfAdmin role was assigned in Step 1. |
Body (Type: application/json) |
Enter the following request body in the REST client request: { The following table provides more information about these parameters. |
安装HANA Rules Framework(HRF)的更多相关文章
- Windows 8 下离线安装。net Framework 3.5
Windows 8 下安装.net Framework 3.5 1)可以将直接双击ISO (或放入光盘/U盘)(安装文件在F盘) 2)使用管理员权限运行命令行程序 3)dism.exe /online ...
- 使用本地光盘安装Microsoft .NET Framework 3.5 for Win8/WinServer2012
如何使用本地源安装Microsoft .NET Framework 3.5 作为SQL Server 2012的 必要组件,校验组件过程有个小BUG,即使没有安装也通过,但会卡在安装环节(enabli ...
- Windows查看电脑上安装的.Net Framework版本的五种方法(转)
1.查看安装文件判断Framwork版本号 打开资源管理器,比如我的电脑,再地址栏输入%systemroot%\Microsoft.NET\Framework后单击“转到”或者按回车. 在新文件夹中查 ...
- [RF] 安装好Robot Framework之后怎样让启动的界面后面不带命令行窗口,且图片以机器人显示
安装好Robot Framework之后,通过 C:\Python27\Scripts\ride.py 启动时会带上一个命令行窗口: 怎样让启动的界面后面不带这个命令行窗口,且图片以机器人显示? 方法 ...
- win7无法安装Microsoft .NET Framework 4.5\4.0
在安装一些软件的时候,要求安装环境下必须首先安装有Microsoft .NET Framework 4.5\4.0,可是下载了安装包却怎么也安装不了,安装到一定进度就失败了,反复安装重启,都没有成功, ...
- .NET/C# 检测电脑上安装的 .NET Framework 的版本
原文:.NET/C# 检测电脑上安装的 .NET Framework 的版本 如果你希望知道某台计算机上安装了哪些版本的 .NET Framework,那么正好本文可以帮助你解决问题. 本文内容 如何 ...
- 如何:确定已安装的 .NET Framework 版本
用户可在他们的计算机上安装和运行 .NET Framework 的多个版本. 当你开发或部署应用时,你可能需要知道用户的计算机上安装了哪些 .NET Framework 版本. .NET Framew ...
- Win 7无法安装Microsoft .NET Framework 4.6.2
造冰箱的大熊猫@cnblogs 2018/9/6 在Windows 7 64位计算机上安装某个软件时,安装程序提示需先安装Microsoft .NET Framework 4.6.2.本来以为小事一桩 ...
- 安装SQL Server 2008反复提示需要安装MICROSOFT NET FRAMEWORK 3 5 SP1的一个
在安装过.net framework 4的系统中,安装sql server 2008的安装前提之一MICROSOFT .NET FRAMEWORK 3.5 SP1时,可能已经安装并重启了,还是提示安 ...
随机推荐
- 安装DEDECMS出现Function ereg_replace()错误的解决方法
这个问题我记得以前有遇到的,是在本地调试dedecms整站程序的时候,从网上下载了一个整套程序包括模板到本地调试,导入数据库安装都正常,但是登陆 后台就出现"Deprecated: Func ...
- ROS学习笔记(二)
===================================================== QT工具箱sudo apt-get install ros-kinetic-rqtsudo ...
- 使用Scanner
在上个步骤中,每次要发不同的数据都需要修改代码 可以使用Scanner读取控制台的输入,并发送到服务端,这样每次都可以发送不同的数据了. 1 2 3 4 5 6 7 8 9 10 11 12 13 ...
- 【设备问题】罗技M590鼠标无法连接Macbook Pro问题解决
问题现象 罗技蓝牙鼠标连接的时候一直显示连接中,但是一直连接不上. 解决方法 长按那个切换模式的按钮,重置下,再点击连接,显示能够连接成功.
- Day1作业1:登陆接口(加入日志、注册功能)
流程图如下: 最先考虑使用python中的list,以能取到user_list中的用户信息,但中途发现没有比较好的方法截取取密码,还是新手的缘故,最终选择了使用dict,以方便截取用户名以及相应的密码 ...
- Flink 异步IO访问外部数据(mysql篇)
接上篇:[翻译]Flink 异步I / O访问外部数据 最近看了大佬的博客,突然想起Async I/O方式是Blink 推给社区的一大重要功能,可以使用异步的方式获取外部数据,想着自己实现以下,项目上 ...
- 【JS新手教程】LODOP打印复选框选中的任务或页数
之前的博文:[JS新手教程]LODOP打印复选框选中的内容关于任务:Lodop打印语句最基本结构介绍(什么是一个任务)关于本文用到的JS的eval方法:JS-JAVASCRIPT的eval()方法该文 ...
- CentOS6安装MySQL开启远程登录
Centos6安装MySQL 检测下系统有没有自带的mysql:yum list installed | grep mysql 如果已经有的话执行命令 yum -y remove mysql-libs ...
- mysql数据库建表授权操作
1.create schema [数据库名称] default character set utf8 collate utf8_general_ci;--创建数据库 采用create schema和c ...
- Andrew Ng机器学习课程7
回顾 通过定义训练集S={(x(i),y(i));i=1,2,...,m}与线性决策平面(w,b)之间的function margin γ^和geometric margin γ .好的分类决策平面特 ...