SAP R/3 系统的 R 和 3 分别代表什么含义,负载均衡的实现原理

1972 年,SAP 诞生,推出了 RF 系统(实时财务会计系统), 后来命名为 R1。
R 指 Real time。3 既指第三代系统,又代表 3 层架构。
三层架构分别为下图的 Presentation server Layer,Application server layer 和 Database server layer。

值得一提的是,时光之轮已经驶入了 2019 年的猪年,presentation server 层除了上图传统的 SAPGUI 外,也支持其他的技术:
ABAP In Eclipse
ABAP in WebIDE
ABAP in Visual Studio Code
在我 微信公众号“汪子熙”里曾经发表过一篇公众号文章:那些年我用过的 SAP IDE

里面介绍过上述提到的不同的 presentation layer(展现层)的实现技术。
下图是在 Eclipse 里进行 ABAP 开发:

在浏览器里进行 ABAP 开发:

在微软的 Visual Studio Code 里开发:

再看中间的应用服务器层:

这里能看出应用服务器层是支持负载均衡的,SAPGUI 的使用者会指定消息服务器 Message Server 的地址,

用户通过 SAPGUI 登录时,消息服务器会将用户请求分配到负载最小的应用服务器实例上。
下图含义为在任意一个 SAP 系统的服务器实例里,使用事务码 SM51 都可以查看该系统所有的应用服务器实例。

而数据库服务器的实例,从菜单 System-Status 里可以得到。

SAP Netweaver 应用服务器可以连接多个数据库,每个数据库可以来自不同的数据库提供商。
使用事务码 DBCO 在 Netweaver 应用服务器上维护指向数据库服务器的连接明细:

从 DBMS 这个字段能得到所有 NetWeaver 支持的数据库服务器,比如 MaxDB,Infomix,微软的 SQL Server,Oracle DB 等。
版权声明: 本文为 InfoQ 作者【Jerry Wang】的原创文章。
原文链接:【http://xie.infoq.cn/article/f36e37be218ee21b4625c082e】。文章转载请联系作者。
评论