Question
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
JCS Lanit - BPM
RU
Last activity: 25 Aug 2016 4:36 EDT
How does Pega 7 use Hazelcast?
Hi,
Does anybody know which features of Pega 7 platform leverages Hazelcast in multi-node configuration?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
Hello Alexander,
Under the covers, 71ML7 incorporates two big architectural changes - elastic search and hazelcast.
Traditionally, PRPC clustering was 'loosely coupled' - PRPC nodes did not communicate directly with each other by default; they simply shared the database. The only cross-node communication normally implemented were SOAP calls to the Lucene Index owning node, and the SOAP calls were often set using a proxy or load balance URL. PRPC did not open ports or directly talk cross-node.
In ML7, PRPC clusters are tightly coupled.
a- Lucene search has been replaced by elastic search. With elastic search, the indexing nodes open a communication port for communicate with both index-client and other indexer nodes.
b- Hazelcast has been added as a core engine component. It is currently used for DSM and agent management but later will replace use of database for lock management. Each PRPC node opens a unique port for hazelcast communication to other PRPC nodes.
By default, elastic looks for an available listen port in 9300-9399 range. You must validate that ports 9300-9399 are unblocked / available. There are system settings to override the elastic port range.
I believe Hazelcast looks for an available port in the 5700-5800 range (have not verified). You must validate that ports 5700-5800 are unblocked / available. I believe there are system settings to override the hazelcast port range.
Hello Alexander,
Under the covers, 71ML7 incorporates two big architectural changes - elastic search and hazelcast.
Traditionally, PRPC clustering was 'loosely coupled' - PRPC nodes did not communicate directly with each other by default; they simply shared the database. The only cross-node communication normally implemented were SOAP calls to the Lucene Index owning node, and the SOAP calls were often set using a proxy or load balance URL. PRPC did not open ports or directly talk cross-node.
In ML7, PRPC clusters are tightly coupled.
a- Lucene search has been replaced by elastic search. With elastic search, the indexing nodes open a communication port for communicate with both index-client and other indexer nodes.
b- Hazelcast has been added as a core engine component. It is currently used for DSM and agent management but later will replace use of database for lock management. Each PRPC node opens a unique port for hazelcast communication to other PRPC nodes.
By default, elastic looks for an available listen port in 9300-9399 range. You must validate that ports 9300-9399 are unblocked / available. There are system settings to override the elastic port range.
I believe Hazelcast looks for an available port in the 5700-5800 range (have not verified). You must validate that ports 5700-5800 are unblocked / available. I believe there are system settings to override the hazelcast port range.
PRPC servers must be able to cross-communicate via TCP/IP. There will likely be firewall changes needed in production and cloud environments. I do not believe that PegaCloud has the hazelcast and elastic port blocks open by default.
Two new columns are added to pr_sys_Statusnodes - pyclusteraddress holds the hazelcast IP address/port, pyindexeraddress holds the elastic address/port.
Kindly let me know if this information might helped you.
Regards,
Mahesh
Updated: 20 May 2016 9:15 EDT
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
JCS Lanit - BPM
RU
One of usages is DSM. In DSM installation guide 7.2 it is stated that Hazelcast is used to build a cluster of D-nodes.
What else?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
In addition to DSM ( Decision Management), Pega uses Hazelcast distributed clustering technology to share data and send events between server nodes
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
JCS Lanit - BPM
RU
Hi Arvind,
Could you please clarify which data is shared and what events are sent between nodes using Hazelcast?
Best regards,
Alexander.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
PEG
PL
The installation guide has some basic info: https://docs-previous.pega.com/pega-719-platform-installation-guide-oracle-websphere
Both hazlecast and elastic search are little bit explained.
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
JCS Lanit - BPM
RU
Hi Rajeev,
Thank you for your reply. Unfortunately, explanation provided in the installation guide is rather depthless, that is way I decide to raise this question on Mesh.
Best regards,
Alexander.
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
Hello Alexander,
Under the covers, 71ML7 incorporates two big architectural changes - elastic search and hazelcast.
Traditionally, PRPC clustering was 'loosely coupled' - PRPC nodes did not communicate directly with each other by default; they simply shared the database. The only cross-node communication normally implemented were SOAP calls to the Lucene Index owning node, and the SOAP calls were often set using a proxy or load balance URL. PRPC did not open ports or directly talk cross-node.
In ML7, PRPC clusters are tightly coupled.
a- Lucene search has been replaced by elastic search. With elastic search, the indexing nodes open a communication port for communicate with both index-client and other indexer nodes.
b- Hazelcast has been added as a core engine component. It is currently used for DSM and agent management but later will replace use of database for lock management. Each PRPC node opens a unique port for hazelcast communication to other PRPC nodes.
By default, elastic looks for an available listen port in 9300-9399 range. You must validate that ports 9300-9399 are unblocked / available. There are system settings to override the elastic port range.
I believe Hazelcast looks for an available port in the 5700-5800 range (have not verified). You must validate that ports 5700-5800 are unblocked / available. I believe there are system settings to override the hazelcast port range.
Hello Alexander,
Under the covers, 71ML7 incorporates two big architectural changes - elastic search and hazelcast.
Traditionally, PRPC clustering was 'loosely coupled' - PRPC nodes did not communicate directly with each other by default; they simply shared the database. The only cross-node communication normally implemented were SOAP calls to the Lucene Index owning node, and the SOAP calls were often set using a proxy or load balance URL. PRPC did not open ports or directly talk cross-node.
In ML7, PRPC clusters are tightly coupled.
a- Lucene search has been replaced by elastic search. With elastic search, the indexing nodes open a communication port for communicate with both index-client and other indexer nodes.
b- Hazelcast has been added as a core engine component. It is currently used for DSM and agent management but later will replace use of database for lock management. Each PRPC node opens a unique port for hazelcast communication to other PRPC nodes.
By default, elastic looks for an available listen port in 9300-9399 range. You must validate that ports 9300-9399 are unblocked / available. There are system settings to override the elastic port range.
I believe Hazelcast looks for an available port in the 5700-5800 range (have not verified). You must validate that ports 5700-5800 are unblocked / available. I believe there are system settings to override the hazelcast port range.
PRPC servers must be able to cross-communicate via TCP/IP. There will likely be firewall changes needed in production and cloud environments. I do not believe that PegaCloud has the hazelcast and elastic port blocks open by default.
Two new columns are added to pr_sys_Statusnodes - pyclusteraddress holds the hazelcast IP address/port, pyindexeraddress holds the elastic address/port.
Kindly let me know if this information might helped you.
Regards,
Mahesh
-
GAURAV GUPTA (GG_Coforge)
Updated: 23 May 2016 3:49 EDT
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
![](https://accounts.pega.com/sites/default/files/pega-user-image/31/REG-30717.png?source=PUMINIT)
JCS Lanit - BPM
RU
Hello Mahesh,
Thanks a lot for your reply and detailed explanation.
Could you please provide some extra details on how Hazelcast is used for agent management?
Best regards,
Alexander.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Optum
IN
One more question is does this Hazelcast affect single node environment or only affects multinode systems?
-
GAURAV GUPTA (GG_Coforge)