on ‎2018 Apr 10 9:20 PM - last edited on ‎2024 Feb 04 5:21 AM by postmig_api_4
Hello All, Use case SAP ERP (IDOCS)--> Hybris DataHub --> Hybris (Backoffice 2 instances)
for the above use case would you need an external Load Balancer to integrate datahub with Hybris backoffice ? if not where would we need to specify the multiple instances of backoffice for Datahub to publish ?
Thanks
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
When DataHub publishes data to Commerce it only creates a task on the Commerce side. Then Task Engine picks this task, downloads the ImpEx file from DataHub and processes it. Task Engine can run on multiple backend nodes (backoffice) and ImpExes from DataHub can be processed on different backend nodes. In such case you don't need Load Balancer, just set the DataHub to communicate with one backend instance (this will only create the task on this particular node) and the processing by Task Engine should be done on all the configured nodes in cluster. Of course you can always use Load Balancer if you want to (just make sure that whenever DataHub calls Commerce for oauth token the next request with information about publication should also go to the same node). This applies to scenario when 2 backoffice instances are 2 nodes in cluster using one database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
same scenario here - 2 Nodes of Commerce, 1 datahub.
1 Node backoffice, 1 Node FrontEnd.
As datahub initialize the tasks, the import cronjob starts randomly on 1 of the 2 nodes - but we don't want to start import-Cronjobs on the FrontendNode.
btw: The both nodes have all services (BackOffice / FrontEnd, ...) enabled, so it's configured for a failover only. Loadbalancer moves all FrontEnd Users to the 2nd node, just for understanding.
How can i define:
a) Datahub-initiated Imports should only start on node 0 (is there a datahub.configuration i could not find) ?
b) configure 1 Node only to communicate with datahub
Thanks for any advice.
We ended up introducing an own implementation of "itemImportTaskRunningFacade" be implementing ItemImportTaskRunningFacade.
Please have a look into the OOTB implementation "DefaultItemImportTaskRunningFacade". Only thing you need is to call "setNodeGroup" with the node group that should executed the tasks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.