SAP HANA DB: XS Administration Tools Not Accessible

Symptom
- You can no longer access the SAP HANA XS Administration Tools.
- Even the formlogin page is not loaded.


Other Terms
SAP HANA, SAP HANA XS, SAP HANA XS Admin, xs engine, formlogin


Reason and Prerequisites
Reason:
Due to a wrong configuration of logon methods for SAP standard content, content areas that should be accessible in a non authorized scope can't be loaded.
Prerequisites:
  • Runtime configuration has been adjusted manually
  • In _SYS_XS.RUNTIME_CONFIGURATION you'll find entries different than {"authentication":null} for package_id = sap.hana.xs.formLogin
  • In _SYS_XS.RUNTIME_CONFIGURATION you'll find entries different than {"authentication":null} for package_id = sap.ui5 or any the subpackages


Solution
Revert back to the standard configuration by executing the following SQL statements:
upsert _sys_xs.runtime_configuration values ('sap.hana.xs.admin','{"authentication":[{"method":"Form"},{"method":"Basic"}]}','SYSTEM',now()) where package_id = 'sap.hana.xs.admin';
upsert _sys_xs.runtime_configuration values ('sap.hana.xs.formLogin','{"authentication":null}','SYSTEM',now()) where package_id = 'sap.hana.xs.formLogin';
upsert _sys_xs.runtime_configuration values ('sap.ui5','{"authentication":null}','SYSTEM',now()) where package_id like 'sap.ui5%';
Then restart the xs engine.
### PCIeElastic Buffer 的概念与实现 Elastic BufferPCIe 协议中用于解决数据传输时钟域不匹配问题的关键组件。在 PCIe 链路中,发送端和接收端通常运行在不同的时钟域下,这可能导致数据进入缓冲区的速度与离开缓冲区的速度不同。为了应对这种差异,Elastic Buffer 被设计为能够在数据流速不一致的情况下维持数据的完整性。 当数据进入的时钟频率(由 CDR 恢复的时钟频率)小于数据出的时钟频率(本地时钟频率)时,数据会以更快的速度从缓冲区中移除,导致缓冲区中的数据量逐渐减少,甚至可能被掏空[^2]。为了避免这种情况发生,系统会在缓冲区中插入特殊的 SKP 符号,以填充缓冲区并确保其不会被完全清空。 相反地,如果数据进入缓冲区的速度快于离开的速度,则可能会导致缓冲区溢出。对于这种场景,Elastic Buffer 的设计不允许缓冲区读空,但允许一定程度的溢出。在这种情况下,其处理方式类似于 half-full 机制,即通过调整缓冲区的深度来适应时钟差异[^3]。 此外,当 PCIe 设备启用了 SRIS(Split Recovery Idle Sequence),SKP 符号的插入频率会增加,同时需要更大的弹性缓存深度以容纳更多的 SKP 符号。然而,较大的弹性缓存会导致延时增加,从而对性能产生一定的负面影响[^1]。 ### Elastic Buffer 的作用 1. **时钟域同步**:通过插入或移除 SKP 符号,Elastic Buffer 能够在不同时钟域之间实现数据的无缝传输。 2. **避免缓冲区掏空或溢出**:通过动态管理缓冲区中的数据量,Elastic Buffer 确保了链路的稳定性。 3. **支持高性能数据传输**:尽管增加了延时,但 Elastic Buffer 的设计能够有效减少因时钟差异导致的数据丢失或错误。 ```python # 示例代码:模拟 Elastic Buffer 插入 SKP 符号的逻辑 def elastic_buffer_simulation(data_stream, clock_in_rate, clock_out_rate): buffer = [] for data in data_stream: buffer.append(data) if len(buffer) < clock_out_rate / clock_in_rate: buffer.append("SKP") # 插入 SKP 符号以填充缓冲区 while len(buffer) > 0 and len(buffer) >= clock_out_rate / clock_in_rate: yield buffer.pop(0) # 输出数据 ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值