Hybris Commerce的 Master Tenant和Netweaver的System Client
- 2020 年 2 月 26 日
- 筆記
Master tenant in Hybris
根據help.hybris.com的介紹,每個Hybris server只有1個master tenant,該tenant自動創建且不能刪除。

tenant資訊在admin console里查看:

所有其他tenant(成為slave tenant)的technical setting,也就是JVM的setting都默認繼承自master tenant:

但是和Netweaver一樣,Hybris里每個tenant允許定義自己的locale和timezone, currency, date format設置。

System client in Netweaver
SAP help里的介紹:
Special client in AS ABAP with the client ID 「000」. The system client is where system-specific system programs run. When you log on to the system client of a multitenancy AS ABAP, you are not subject to the restrictions caused by tenant isolation. Furthermore, other clients have read-only access to data stored there under the client ID of the system client. Client 000 is basically used as working client only when you do support pack upgrade or ABAP load generations (SGEN) and implementing additional languages, etc. Otherwise, client 000 should not be used as a working client. 以前做BYD時,成都開發團隊在dev系統上給客戶做好addon,然後把package好的content(其實就是一個.zip文件)安裝到測試系統上. 安裝流程就是首先登陸測試系統的client 000. 原則上system client不允許拿來做transaction處理,所以才有了下面的check:
