Wiki source code of Deploy Possibilities

Version 46.11 by Danniar Firdausy on 2024/09/18 21:39

Hide last authors
Erik Bakker 10.1 1 {{container}}
2 {{container layoutStyle="columns"}}
3 (((
Erik Bakker 43.1 4 eMagiz flows, or more specifically, the flow's inbound component(s), can be grouped. Configuring 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.
eMagiz 1.1 5
Erik Bakker 43.1 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 relevant not only in cases of server maintenance but also in that it can 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).
Erik Bakker 14.1 7
Erik Bakker 43.1 8 This microlearning will focus on configuring the deployment plan to control various inbound components in a typical group and failover configuration.
Erik Bakker 14.1 9
Erik Bakker 43.1 10 If you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
eMagiz 1.1 11
12 == 1. Prerequisites ==
13
14 * Intermediate knowledge of the eMagiz platform
15
16 == 2. Key concepts ==
17
Erik Bakker 43.1 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 and allows you to have a fallback option on an active connection.
eMagiz 1.1 19
Danniar Firdausy 46.2 20 == 3. Deploy Possibilities ==
21 === 3.1. Group Deployment Step ===
eMagiz 1.1 22
Erik Bakker 43.1 23 To configure a Group deployment step, add a new one and choose Step type "Group". More information is required to configure the step. A container should be selected 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. The options for a "Group" deployment step are to start or stop the inbound components within the group. Optionally, a description can be added.
Erik Bakker 11.1 24
Bouke Reitsma 27.1 25 [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-group-deployment-step.png]]
Erik Bakker 14.1 26
Erik Bakker 43.1 27 {{info}}Note that when you activate the stop action in a failover setup (on the leader container), it will trigger the failover behavior on the follower container{{/info}}
Bouke Reitsma 37.1 28
Danniar Firdausy 46.2 29 === 3.2. Failover Deployment Step ===
Erik Bakker 14.1 30
Danniar Firdausy 46.2 31 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 with single-node leaders (See 3.2.1).
Bouke Reitsma 31.1 32
33 [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-disabled-failover.png]]
34
Erik Bakker 43.1 35 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 would be stopped.
eMagiz 1.1 36
Bouke Reitsma 31.1 37 [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-failover-deployment-step.png]]
Bouke Reitsma 30.1 38
Danniar Firdausy 46.2 39 === 3.2.1 Failover Status Explained ===
Erik Bakker 39.1 40
Erik Bakker 43.1 41 Within a failover setup, each inbound can have one of the distinct states listed below. This section explains briefly the meaning of each state.
Erik Bakker 39.1 42
Danniar Firdausy 46.2 43 ==== 3.2.1.1 Leader Status ====
Bouke Reitsma 40.1 44
Erik Bakker 43.1 45 If the leader status is shown, it means that this container is the Leader of this group. As a result, all inbound components with the same group name in this container are actively running.
Bouke Reitsma 40.1 46
Danniar Firdausy 46.2 47 ==== 3.2.1.2 Follower Status ====
Bouke Reitsma 40.1 48
Erik Bakker 43.1 49 The follower status is closely tied to the leader status. Inbounds with this status act as the backup. When the active Leader stops, the followers will take the Leader status. By default, the starting status of these inbounds is stopped (grey lightbulb).
Bouke Reitsma 40.1 50
Danniar Firdausy 46.2 51 ==== 3.2.1.3 Disabled Status ====
Bouke Reitsma 41.1 52
Erik Bakker 43.1 53 If the container inbounds have the status disabled, the failover is inactive. This means that the components are stopped (grey lightbulb) but will not react if the Leader stops working. To continue failover behavior, please use the steps above in Deploy -> Architecture.
Bouke Reitsma 41.1 54
Danniar Firdausy 46.2 55 ==== 3.2.1.4 Leader (single node) Status ====
Bouke Reitsma 41.1 56
Erik Bakker 43.1 57 The last possible status is Leader (single node). This means the inbound acts as a separate normal inbound with no (failover) connectivity to other containers with a similar configured group name. Suppose this status occurs in a failover setup. In that case, there is a problem in the inbounds' configuration, most likely in the cache manager or port configuration.
Bouke Reitsma 41.1 58
Danniar Firdausy 46.2 59 == 4. Key takeaways ==
eMagiz 1.1 60
Erik Bakker 17.1 61 * Grouping is beneficial when external systems go through maintenance or downtime.
Danniar Firdausy 46.11 62 * 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.
Bouke Reitsma 34.1 63 * The role naming in both grouping and failover is crucial. The group name needs to match **exactly** to make it work.
Bouke Reitsma 41.1 64 * You can control group and failover steps from the deployment plan.
65 * Container inbounds can have a different failover status.
eMagiz 1.1 66
Danniar Firdausy 46.2 67 == 5. Suggested Additional Readings ==
eMagiz 1.1 68
Danniar Firdausy 46.3 69 If you are interested in this topic and want more information, please read the help text provided by eMagiz and check out these links:
70
Danniar Firdausy 46.8 71 * [[eMagiz Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]]
72 ** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]]
73 *** [[Active/Passive Failover (Explanation)>>doc:Main.eMagiz Store.Accelerators.Active-Passive Failover.WebHome||target="blank"]]
Carlijn Kokkeler 44.1 74 * [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]]
75 ** [[Crash Course Platform (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]]
Carlijn Kokkeler 46.1 76 *** [[Deploy a release (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-deploy-execute-deployment-plan-gen3.WebHome||target="blank"]]
Danniar Firdausy 46.4 77 *** [[Setting up a deployment plan (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-deploy-setup-deployment-plan-gen3||target="blank"]]
Danniar Firdausy 46.9 78 * [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]]
Danniar Firdausy 46.6 79 ** [[Grouping and Failover (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.WebHome||target="blank"]]
80 *** [[Flow Configuration (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-flow-configuration.WebHome||target="blank"]]
Danniar Firdausy 46.4 81 * [[Failover (Search Results)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&l_space_facet=10&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22Failover%22||target="blank"]]
82
83 )))
Erik Bakker 10.1 84 (((
85 {{toc/}}
86 )))
87 {{/container}}
88 {{/container}}