ABAP Netweaver和Hybris Commerce的部署策略
我们都知道Netweaver经典的三层架构,既能部署在Linux/Unix上也能部署在Windows OS上.
https://help.sap.com/doc/1080eced90cf4c7a94858c56e8203257/CURRENT_VERSION/en-US/SystemCopy_70X_win_aj.pdf
tcode SM51能看到一个逻辑的application server比如AG3后面的物理server instance:
这些物理server instance共享同一个DB.
Hybris的部署方式有三种,单instance,多instance和多tenant。
下图的cluster mode就对应上图的AG3这种部署方式,而Multi-tenant mode就对应C4C的部署方式,唯一区别就是Hybris里不同客户拥有自己的tenant,数据是通过database table prefix隔离的,而C4C里数据隔离是通过client做的。
对于成都开发团队来说,开发环境肯定采取的是最简单的单instance mode.
开发环境里有一个嵌入的tomcat server:
我们直接执行tomcat里这个bat启动tomcat:
这个bat里会首先检测当前os类型,然后执行对应的执行文件:
在我的laptop上,执行这个x86的exe:
使用如下的命令行安装CloudFoundry命令行插件:
$ cf install-plugin multiapps-plugin.win64 -f
遇到如下错误消息:
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Plugin multiapps v2.2.1 could not be installed as it contains commands with names and aliases that are already used: bg-deploy, deploy, download-mta-op-logs, mta, mta-ops, mtas, purge-mta-config, undeploy, dmol. FAILED
google发现,因为我现有的CloudFoundry插件,其提供的命令和即将安装的插件出现冲突了,比如两者都提供cf deploy命令。因此要先将已安装的插件卸载。
Google找到卸载插件的做法:
cf uninstall-plugin MtaPlugin
卸载旧的插件之后,安装成功。
- 点赞
- 收藏
- 关注作者
评论(0)