11.1.1. intra-mart Accel Platform的分布式环境(无集群树脂构建) ¶
项目
- 总览
- 步骤
- 编辑<%Juggling project%/ conf / storage-config.xml>
- 编辑<%Juggling project%/ resin-web.xml>
- 编辑<%Juggling project%/ conf / data-source-mapping-config.xml>
- 编辑<%Juggling project%/ conf / network-agent-config.xml>
- 安装Session管理 模块
- conf / hazelcast-config.xml设置
- 编辑<%RESIN_HOME%/ conf / resin.properties>文件
- 启动Web应用程序服务器
- 部署应用
11.1.1.1. 概述¶
描述不使用Resin的集群功能而构建intra-mart Accel Platform的分布式环境的过程。
11.1.1.2. 程序¶
11.1.1.2.4. 编辑<%Juggling project%/ conf / network-agent-config.xml>¶
通过参考“ 服务规范分布式环境构建 ”来编辑<%Juggling project%/ conf / network-agent-config.xml>。
11.1.1.2.5. 安装会话管理模块¶
如果不使用Resin的群集功能,则无法执行Resin的Session故障转移。因此,使用“ Session管理 模块 ”来实现Session故障转移。
IM-Juggling ,选择“ Session管理 模块 ( 模块ID : jp.co.intra_mart.im_session_store )”“ Session管理嵌入式Hazelcast合作( 模块ID : jp.co.intra_mart.im_session_store_hazelcast_em )”。
![]()
注解
“ Session管理 模块 ”和“ Session管理嵌入式Hazelcast集成”可以在更高版本中使用,包括intra-mart Accel Platform 2017 Spring (波特兰)。注解
使用从intra-mart Accel Platform 2014 Spring (格拉纳达)到intra-mart Accel Platform 2016 Winter (Olga)的版本时,“ Session管理 模块简介 ”中的“ session_store_module.zip”中通过使用“ Session管理 模块 ”的用户模块和“ Session管理嵌入式Hazelcast集成”功能可以替代。
11.1.1.2.6.conf / hazelcast-config.xml设置¶
请参阅“ intra-mart Accel Platform设置指南Session管理 模块 ”并编辑<%Juggling project%/ conf / hazelcast-config.xml>。
11.1.1.2.7. 编辑<%RESIN_HOME%/ conf / resin.properties>文件¶
修改下面的1和2。
- 在app_servers中仅设置您自己的IP地址
- 注释掉elastic_cloud_enable
例如,对于“ 192.168.0.1”,“ 192.168.0.2”和“ 192.168.0.3”的三单元配置,设置如下。
<192.168.0.1”上的<%RESIN_HOME%/ conf / resin.properties>文件
app_servers:192.168.0.1#仅设置“ 192.168.0.1”#elastic_cloud_enable:true#注释掉<%RESIN_HOME%/ conf / resin.properties>文件位于“ 192.168.0.2”上
app_servers:192.168.0.2#仅设置“ 192.168.0.2”#elastic_cloud_enable:true#注释掉<%RESIN_HOME%/ conf / resin.properties>文件位于“ 192.168.0.3”上
app_servers:192.168.0.3#仅设置“ 192.168.0.3”#elastic_cloud_enable:true#注释掉