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 40.1
edited by BoukeReitsma
on 2024/03/29 09:14
on 2024/03/29 09:14
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 -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). 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,47 @@ 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 +{{info}}Note that when you activate the stop action in a failover setup (on the leader container), it will activate the failover behaviour on the follower container{{/info}} 27 27 28 - {{info}}Notethatthe options aboveareavailablein all inbound components.Theone chosen above is simplyan illustration of how to configure.{{/info}}28 +== 4. Failover Deployment Step == 29 29 30 - Once on the"Advanced"tab,you mustdefine thegroupname.You candeterminethe groupnameifthisisthefirstflowyouare changing. Inall subsequent flows,you want to addto thesamegroup,youmust use the**same**groupname.30 +The configuration for a failover deployment step is the same as for the group deployment step. The only difference is the action you can activate. The stop group action stops the inbounds of the selected container. It will also disable the failover, so if a follower is configured, it will **not** take over. Instead, from this point, we are running in a standard multi-container setup in which we have single-node leaders (See 4.1). 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-deploy-disabled-failover.png]] 33 33 34 - Oncefilledin,ensurethat theauto startupconfigurationissettoYestoensure that,ondefault,all flowswithinthegroupstartupwhen thecontainerisstarted.34 +The start group step with failover will activate the current container as the leader of the failover setup. Therefore, group names resembling those on other containers will become the followers. If these flows were running, they will be stopped. 35 35 36 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover- flow-configuration-define-auto-startup.png]]36 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-failover-deployment-step.png]] 37 37 38 - Withinaruntime context, you can add multiple groups that can bestopped and startedseparately from each other. In thisexample, we wouldalso like to have a group for our exits to stop them if the connecting system undergoesmaintenance or is down to store the messages in the queue.38 +=== 4.1 Failover Status Explained === 39 39 40 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-starting-point-exit.png]]40 +Within a failover setup, the inbounds can have mulitple states depended on the configured or executed behaviour within the deployment plan. This section explains briefly the meaning on each of the states. 41 41 42 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-other-group.png]]42 +=== 4.1.1 Leader Status === 43 43 44 -== 3.2Failover ==44 +=== 4.1.1 Folower Status === 45 45 46 - Incaseyou want to expand the grouping functionality to include a active/passive failover component you need to changethe settings on the inbound component. Apart fromspecifyingthe name of the group you need to configure the auto-startup option on "No" so the failover configuration can take the correct actions in all situations.46 +=== 4.1.1 Disabled Status === 47 47 48 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-failover-example-group.png]]48 +=== 4.1.1 Leader (single node) Status === 49 49 50 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-failover-other-group.png]]50 +== 5. Key takeaways == 51 51 52 -{{info}}Note that each group within a single runtime that you want to treat differently needs to have a **unique** name.{{/info}} 52 +* Grouping is beneficial when external systems go through maintenance or downtime. 53 +* 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 54 +* The role naming in both grouping and failover is crucial. The group name needs to match **exactly** to make it work. 55 +* You can control group and failover steps from the deployment plan 53 53 54 -== 3.3FailoverInfra ==57 +== 6. Suggested Additional Readings == 55 55 56 -The configuration of the infra flow of the runtime for which you want to configure the failover is detailed and only works in case you configured all support objects correctly. Although we explain the various steps here in the documentation we advise to utilize the store item that we created for this that will guide you in setting this up correctly. 57 - 58 -The configuration consists of at least three seperate support objects. Two of them are needed once (infinispan cache manager and clustered lock registry) were the other is needed 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. 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]] 62 - 63 -Once the agent is installed, eMagiz can manage the machine to deploy new runtimes or update runtimes as needed. Also, the container runtime can be controlled with start, stop, and reset commands. Please consult this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-emagiz-runtime-management-interpret-on-premise-logging.WebHome||target="blank"]] to inspect the on-premises runtime logs. 64 - 65 -== 4. Key takeaways == 66 - 67 -* The eMagiz Docker agent needs to be installed to allow runtime to be installed on the on-premises server 68 - 69 -== 5. Suggested Additional Readings == 70 - 71 71 There are no suggested additional readings for this microlearning.))) 72 72 ((( 73 73 {{toc/}}