on ‎2018 Aug 03 7:51 PM
We encounter an issue every time we add a new model attribute (in clustering mode).
Let me start with the current configuration and an example then will explain in detail the issue.
-Current clustering Configuration :
In mode clustering we have 1 Back-office (BO) server and 5 Front-office servers (FO):
cluster.id=*clusterId of the server
cluster.broadcast.method.jgroups.tcp.bind_addr=*ip address of the server
cluster.broadcast.method.jgroups.tcp.bind_port=9999
cluster.broadcast.method.jgroups=de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod
cluster.broadcast.method.jgroups.channel.name=hybris-broadcast
cluster.broadcast.method.jgroups.configuration=jgroups-tcp.xml
clustermode=true
cluster.nodes.autodiscovery=true
cluster.node.groups=frontoffice
task.engine.loadonstartup=false
-The example :
we add a new attribute "testCluster" to the CMSSite Item:
<itemtype code="CMSSite" autocreate="false" generate="false">
...
...
<attribute qualifier="testCluster" type="java.lang.String">
<persistence type="property" />
<modifiers optional="true" />
</attribute>
-The Issue:
After performing the update system in the BO server only, we added a new value for e.g: 'testCluster = 5', the value in the front office application does not appear, even in the Backoffice interface of all FO servers remains null. (The check also is done by a flexible search).
we have doubts on the cache eviction, and tried to clear the hybris cache in hac for all servers, but did not work.
All suggestions are welcome.
Request clarification before answering.
Hi,
We stop the FOs and the BO
do the sys update on the BO (via ant as it is automated)
stll the nodes
If you want zero downtime
link help hybris :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Workaround: Start update system on the 5 Front-office servers (FO) with Localize types mark checked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.