简体   繁体   English

导丝聚类

[英]Guidewire Clustering

I am trying to enable clustering in one of the higher environments.我正在尝试在更高的环境之一中启用集群。 The changes which I did was enabling the clustering flag to true in context.xml and added the server roles in the java properties class in the server.我所做的更改是在context.xml中启用集群标志为 true,并在服务器的 java 属性类中添加服务器角色。 Apart from this do we need to add anything?除此之外,我们还需要添加什么吗? I am not able to access the application via load balancing ip.我无法通过负载平衡 ip 访问应用程序。 Also, I am getting rolling/full upgrade exception while starting one of the server.此外,在启动其中一台服务器时,我遇到了滚动/完全升级异常。

You don't specify GW module and version.您没有指定 GW 模块和版本。 You can look up the documentation here https://docs.guidewire.com/portal/secure/doc/pc/PolicyCenter_8.0.4/doc/System%20Administration%20Guide/wwhelp/wwhimpl/js/html/wwhelp.htm#href=clustering.08.07.html您可以在此处查看文档https://docs.guidewire.com/portal/secure/doc/pc/PolicyCenter_8.0.4/doc/System%20Administration%20Guide/wwhelp/wwhimpl/js/html/wwhelp.htm#href =clustering.08.07.html

If you doesn't have GW User, same documentation are in GW Module Folder/doc如果您没有 GW 用户,则相同的文档位于 GW 模块文件夹/文档中文档文件夹

I am trying to enable clustering in one of the higher environments.我正在尝试在更高的环境之一中启用集群。 The changes which I did was enabling the clustering flag to true in context.xml and added the server roles in the java properties class in the server.我所做的更改是在 context.xml 中启用集群标志为 true,并在服务器的 java 属性类中添加服务器角色。

I guess you mean to say config.xml file.我猜你的意思是说 config.xml 文件。 As per documentation you should enable clustering and configuration verification per env selected (I guess you did since you were getting the other error).根据文档,您应该为每个选定的环境启用集群和配置验证(我猜您是这样做的,因为您遇到了另一个错误)。

Apart from this do we need to add anything?除此之外,我们还需要添加什么吗?

If you have added the registry for your node names with roles, then you should have the nodes have proper server ID flag set.如果您已为具有角色的节点名称添加注册表,那么您应该让节点设置正确的服务器 ID 标志。 If you don't have the registry in your config.xml though you can have the roles defined on the server id JVM flag with sufix #roles_list for example policycenter-online0#workqueue,messaging .如果您的 config.xml 中没有注册表,尽管您可以在服务器 id JVM 标志上定义角色,并带有后缀#roles_list例如policycenter-online0#workqueue,messaging

I am not able to access the application via load balancing ip.我无法通过负载平衡 ip 访问应用程序。

Well this sounds like LB issue, your LB should be smart enough to have you stick to single node for sticky session.好吧,这听起来像是 LB 问题,您的 LB 应该足够聪明,可以让您坚持使用单个节点进行粘性会话。 You should check the logs and analyze where the requests get to and if there are any exception thrown if it gets to GW.您应该检查日志并分析请求到达的位置以及如果到达 GW 是否会引发任何异常。

Also, I am getting rolling/full upgrade exception while starting one of the server.此外,在启动其中一台服务器时,我遇到了滚动/完全升级异常。

This one sounds like this single node is trying to start on code that's not matching what the other nodes run on.这听起来像这个单个节点正在尝试启动与其他节点运行的代码不匹配的代码。 (verifying the data model changes - that's when your server mode is TEST or hight, and then the configuration changes - that's the verify configuration flag in config.xml). (验证数据模型更改 - 即您的服务器模式为 TEST 或 hight,然后配置更改 - 这是 config.xml 中的验证配置标志)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM