Changes for page Grouping - Deploy Possibilities
Last modified by dfirdausy on 2024/09/27 09:18
From version 16.1
edited by Erik Bakker
on 2024/03/01 11:59
on 2024/03/01 11:59
Change comment:
There is no comment for this version
To version 28.1
edited by BoukeReitsma
on 2024/03/01 15:56
on 2024/03/01 15:56
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - FlowConfiguration1 +Deploy Possibilities - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.BoukeReitsma - Content
-
... ... @@ -1,11 +1,11 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}} 3 3 ((( 4 -eMagiz flows, or more specifically, the flow's inbound component(s), can be grouped. Theeffect isthatyoucanlaterin [[Deploy>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-flow-configuration.WebHome||target="blank"]],control them asone entity.Thisismainly beneficial when faced with substantial maintenance or outage of systems connected to your eMagiz model.4 +eMagiz flows, or more specifically, the flow's inbound component(s), can be grouped. How to configure this is explained [[here>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-flow-configuration.WebHome||target="blank"]]. This functionality is mainly beneficial when faced with substantial maintenance or outage of systems connected to your eMagiz model. 5 5 6 6 Building on this functionality, you can even configure the group to run in an active/passive failover mode when you activate the multiple runtimes option on your runtime, and each separate runtime is deployed on another machine. The failover functionality is not only relevant in cases of server maintenance. It can also assist you when you want to exchange data with a system that allows only one active connection. Should this connection be business-critical, you can use this failover functionality to create a passive failover situation that will take over when the active connection breaks down (regardless of the reason). 7 7 8 -In this microlearning, we will focus on configuring the flowtogroupvarious inbound componentsand configure the flow (includingtheinfra)if you wantto activatetheactive/passivefailover configuration.8 +In this microlearning, we will focus on configuring the deployment plan to control various inbound compoments in a normal and in a failover configuration. 9 9 10 10 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 11 11 ... ... @@ -15,59 +15,73 @@ 15 15 16 16 == 2. Key concepts == 17 17 18 -This microlearning describes how to configure (parts of) your flow(s)to set up the grouping and, if needed, the failover functionalityon the flow level. The grouping functionality is relevant when faced with maintenance and outages of systems connected to your model. The failover functionalitynot onlyassists in that casebutalsoallows you to have a fallback option on an active connection.18 +This microlearning describes how to configure (parts of) your deployment plan to set up the grouping and, if needed, the failover functionality. The grouping functionality is relevant when faced with maintenance and outages of systems connected to your model. The failover functionality assists in that case and allows you to have a fallback option on an active connection. 19 19 20 -== 3. FlowConfiguration==20 +== 3. Group Deployment Step == 21 21 22 - ==3.1Grouping==22 +To configure a Group deployment step, you need to add a new deployment step and choose Step type "Group". To configure the step more information is required. A container should be chosen for which the inbounds will be stopped. The second requirement is the **exact** name of the group that should be affected by the deployment step. An action should be picked for the selected group. For a "Group" deployment step the options are to start or to stop the inbound components within the groupname. Optionally, a description can be added. 23 23 24 - To configuregrouping, weneed to open the flow designerof the flow in Create.Wewant toeditandenter"Start Editing" mode. On the inbound component(s)intheflow, we now havean "Advanced" tab that allowsyouto configurethegrouping information.24 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-group-deployment-step.png]] 25 25 26 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-starting-point.png]]26 +== 4. Failover Deployment Step == 27 27 28 - {{info}}Notethatthe optionsabove areavailablein allinbound components.Theonechosenaboveissimplyan illustration ofhowto configure.{{/info}}28 +If you want to expand the grouping functionality to include an active/passive failover component, you need to change the settings on the inbound component. Apart from specifying the group name, you need to configure the auto-startup option on "No" so the failover configuration can take the correct actions in all situations. 29 29 30 - Onceon the"Advanced" tab, youmust define thegroupname. You candeterminethegroupname ifthis is thefirstflowyou arechanging. In all subsequent flows, you wanttoadd tothesame group, you must usethe **same**groupname.30 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-failover-example-group.png]] 31 31 32 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration- define-group-name.png]]32 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-failover-other-group.png]] 33 33 34 - Oncefilledin, ensurethattheautostartupconfigurationissetto Yestoensurethat,ondefault,allflowswithin thegroup startup whenthecontainer is started.34 +{{info}}Note that each group within a single runtime that you want to treat differently needs to have a **unique** name.{{/info}} 35 35 36 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-define-auto-startup.png]]36 +== 3.3 Failover Infra == 37 37 38 - Withinaruntimecontext,youcanaddmultiplegroupsthatcanbe stoppedandstartedseparatelyfrom eachother.In this example,wewouldalsoliketohave agroupfor ourexitstostopthemiftheconnectingsystemundergoesmaintenanceorisdown tostore themessagesin thequeue.38 +The configuration of the infra flow of the runtime for which you want to configure the failover is detailed and only works if you configure all support objects correctly. Although we explain the various steps in the documentation, we advise utilizing the store item we created for this that will guide you in setting this up correctly. 39 39 40 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-starting-point-exit.png]]40 +The configuration consists of at least three separate support objects. Two are needed once (infinispan cache manager and clustered lock registry), whereas the other is required per unique group you have defined within the context of your runtime. So, if you have two unique group names within the runtime, you need two leader initiator support objects. 41 41 42 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-other-group.png]]42 +=== 3.3.1 Infinispan Cache Manager === 43 43 44 - ==3.2Failover ==44 +Given this, let us first look at the Infinispan cache manager. You can add this support object in the [[standard manner>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] by searching for "infinispan cache manager." 45 45 46 - In caseyou want toexpand thegroupingfunctionality to include a active/passivefailovercomponent you need to change the settings ontheinbound component. Apart fromspecifying the name ofthegroupyou need to configure the auto-startup optionon "No" so thefailoverconfigurationcantakethe correctactionsin all situations.46 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-cache-manager-search-result.png]] 47 47 48 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-failover-example-group.png]]48 +Once found, give it a name and fill in a cluster name. 49 49 50 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration- failover-other-group.png]]50 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-cache-manager-basic.png]] 51 51 52 - {{info}}Note that eachgroupwithinasingleruntimethatyouwanttotreatdifferentlyneedstohavea**unique**name.{{/info}}52 +Once done, switch to the "Advanced" tab, select the option "TCP Ping," and fill in the "Host address" and "Other host addresses". Once filled in, press Save to keep your changes. 53 53 54 - == 3.3 FailoverInfra==54 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-cache-manager-advanced.png]] 55 55 56 - Theconfigurationof the infra flow of the runtime for which you want to configure the failover isdetailed and only works in caseyou configuredall support objectscorrectly. Although we explain the varioussteps here in the documentation we advise to utilize the store item that we created for this that will guideyouin setting this up correctly.56 +=== 3.3.2 Clustered Lock Registry === 57 57 58 - The configuration consists ofat leastthreeseperatesupport objects.Two of them areneeded once (infinispancachemanager andclustered lock registry)were theotherisneededper uniquegroupyouhavedefinedwithinthecontextofyourruntime.Soif youhavetwouniquegroupnameswithintheruntime youneedtwoleaderinitiatorsupportobjects.58 +Now that we have the cache manager, we can configure the next support object on our list, the clustered lock registry. You can add this support object in the [[standard manner>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] by searching for "lock registry." 59 59 60 -Given this let us first look at the infinispan cache manager 61 -[[image:Main.Images.Microlearning.WebHome@emagiz-runtime-management--intermediate-runtime-management-deploy-agent-command.png]] 60 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-lock-registry-search-result.png]] 62 62 63 -Once the agent is installed, eMagiz can manage the machine todeploy new runtimes or update runtimes as needed. Also,the container runtimecan be controlled withstart, stop, andreset commands. Pleaseconsult this [[microlearning>>doc:Main.eMagizAcademy.Microlearnings.IntermediateLevel.eMagiz Runtime Management.intermediate-emagiz-runtime-management-interpret-on-premise-logging.WebHome||target="blank"]]toinspecttheon-premisesruntimelogs.62 +Once found, name it and select the cache manager support object you created. 64 64 65 - == 4.Keytakeaways==64 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-lock-registry-basic.png]] 66 66 67 - *TheeMagiz Dockeragent needs to beinstalled to allow runtime to be installed ontheon-premisesserver66 +=== 3.3.3 Leader Initiator === 68 68 69 - ==5.SuggestedAdditionalReadings==68 +Lastly, we need to configure a leader initiator for each **unique** group we have defined within the context of the runtime, and that uses the failover functionality. You can add this support object in the [[standard manner>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] by searching for "leader." 70 70 70 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-leader-initiator-search-result.png]] 71 + 72 +Once found, give it a name, define the role name (which should **exactly** match the name you gave in the inbound components), and link it to the lock registry. 73 + 74 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-leader-initiator-basic.png]] 75 + 76 +== 5. Key takeaways == 77 + 78 +* Grouping is beneficial when external systems go through maintenance or downtime. 79 +* Failover can have the additional benefit of having a fallback scenario while still adhering to the requirement that there can only be one active connection at a time 80 +* The role naming in both grouping and failover is crucial. The whole name needs to be matched fully to make it work. 81 +* For the infra configuration of the failover setup, we have a store item that you can use. 82 + 83 +== 6. Suggested Additional Readings == 84 + 71 71 There are no suggested additional readings for this microlearning.))) 72 72 ((( 73 73 {{toc/}}