I've installed Sap Hana Express edition from binary in a VM (4 cores and 8GB of RAM) when I run HDB info
it give me
当我运行HDB信息时,我已经在VM(4核和8GB RAM)中安装了二进制的Sap Hana Express版本它给了我
USER PID PPID %CPU VSZ RSS COMMAND
hxeadm 12253 12252 0.0 115512 2024 -bash
hxeadm 12305 12253 0.0 113256 1616 \_ /bin/sh /usr/sap/HXE/HDB01/HDB info
hxeadm 12340 12305 0.0 151060 1804 \_ ps fx -U hxeadm -o user,pid,ppid,pcpu,vsz,rss,args
hxeadm 4641 1 0.0 23044 1708 sapstart pf=/usr/sap/HXE/SYS/profile/HXE_HDB01_amds-bd
hxeadm 4788 4641 0.0 232064 36552 \_ /usr/sap/HXE/HDB01/amds-bd/trace/hdb.sapHXE_HDB01 -d -nw -f /usr/sap/HXE/HDB01/amds-bd/daemon.ini pf=/usr/sap/HXE/SYS/profile/H
hxeadm 5239 4788 6.2 3184688 2271760 \_ hdbnameserver
hxeadm 10672 4788 1.1 1121576 416644 \_ hdbcompileserver
hxeadm 10681 4788 0.2 1028188 297320 \_ hdbpreprocessor
hxeadm 10826 4788 0.3 1336672 519228 \_ hdbwebdispatcher
hxeadm 3562 1 0.0 432156 26000 /usr/sap/HXE/HDB01/exe/sapstartsrv pf=/usr/sap/HXE/SYS/profile/HXE_HDB01_amds-bd -D -u hxeadm
as you can see, the hdbindexserver is not started, and to be more sure I've checked the port number 30015, ant it's not used at all.
正如你所看到的,hdbindexserver没有启动,更确定我已经检查了端口号30015,蚂蚁根本就没用过。
I've tried with the Virtual machine provisionned by Sap Hana installer, but I've got the same results.
我尝试过使用Sap Hana安装程序配置的虚拟机,但我得到了相同的结果。
My question is how to start the index server?
我的问题是如何启动索引服务器?
Thank you in advance.
先谢谢你。
3 个解决方案
#1
1
Yes, that's ok. HXE is installed as MDC system by default (with tenants disabled if I remember it right). In the system DB the nameserver takes over the task of the index server. Check those links:
是的,没关系。默认情况下,HXE安装为MDC系统(如果我没记错,租户将被禁用)。在系统DB中,名称服务器接管索引服务器的任务。检查这些链接:
#2
1
It was a RAM problem,
这是一个RAM问题,
I added some more RAM, now with 18GB of RAM everything is fine.
我添加了一些RAM,现在有18GB的内存,一切都很好。
#3
0
Since you have an OS level access, you can try to start it manually:
由于您具有操作系统级别访问权限,因此可以尝试手动启动它:
/usr/sap/HXE/HDB01/exe/hdbindexserver
and see why it fails in logs, which are located at
并查看为什么它在位于的日志中失败
/usr/sap/HXE/HDB01/<name_of_your_server>/trace/indexserver_alert_sixtb.trc
You can check other files in the same folder as well.
您也可以检查同一文件夹中的其他文件。
It is also possible to start indexserver from HANA Studio. Right click on the instance (with SYSTEM user) --> Configuration and Monitoring --> Open Administration --> Landscape
也可以从HANA Studio启动indexserver。右键单击实例(使用SYSTEM用户) - >配置和监控 - >打开管理 - >横向
The logs are available under --> Diagnosis Files in the Administration.
日志位于“管理”中的“>诊断文件”下。
#1
1
Yes, that's ok. HXE is installed as MDC system by default (with tenants disabled if I remember it right). In the system DB the nameserver takes over the task of the index server. Check those links:
是的,没关系。默认情况下,HXE安装为MDC系统(如果我没记错,租户将被禁用)。在系统DB中,名称服务器接管索引服务器的任务。检查这些链接:
#2
1
It was a RAM problem,
这是一个RAM问题,
I added some more RAM, now with 18GB of RAM everything is fine.
我添加了一些RAM,现在有18GB的内存,一切都很好。
#3
0
Since you have an OS level access, you can try to start it manually:
由于您具有操作系统级别访问权限,因此可以尝试手动启动它:
/usr/sap/HXE/HDB01/exe/hdbindexserver
and see why it fails in logs, which are located at
并查看为什么它在位于的日志中失败
/usr/sap/HXE/HDB01/<name_of_your_server>/trace/indexserver_alert_sixtb.trc
You can check other files in the same folder as well.
您也可以检查同一文件夹中的其他文件。
It is also possible to start indexserver from HANA Studio. Right click on the instance (with SYSTEM user) --> Configuration and Monitoring --> Open Administration --> Landscape
也可以从HANA Studio启动indexserver。右键单击实例(使用SYSTEM用户) - >配置和监控 - >打开管理 - >横向
The logs are available under --> Diagnosis Files in the Administration.
日志位于“管理”中的“>诊断文件”下。