cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hybris version 6.4 Clustering aware issue.

alimouni
Explorer
0 Likes
1,072

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

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 :

Rolling update

rolling update in a clustered environment

alimouni
Explorer
0 Likes

Hi,

Thank you for replying.

All the Suggested solutions are welcomed, but the current automated scripts do not allow to do so.(we need a platform fix)

Before in the hybris version 5, it was working fine.

Former Member
0 Likes

Workaround: Start update system on the 5 Front-office servers (FO) with Localize types mark checked.

alimouni
Explorer
0 Likes

, this is actually what we do and would like to stop doing it 😉 .

Thanks for replying.