Wiki source code of Deploy Possibilities
Version 30.1 by Bouke Reitsma on 2024/03/08 14:51
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{container}} | ||
2 | {{container layoutStyle="columns"}} | ||
3 | ((( | ||
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 | |||
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 | |||
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 | |||
10 | Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. | ||
11 | |||
12 | == 1. Prerequisites == | ||
13 | |||
14 | * Intermediate knowledge of the eMagiz platform | ||
15 | |||
16 | == 2. Key concepts == | ||
17 | |||
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 | |||
20 | == 3. Group Deployment Step == | ||
21 | |||
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 | |||
24 | [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-group-deployment-step.png]] | ||
25 | |||
26 | == 4. Failover Deployment Step == | ||
27 | |||
28 | The configuration of a failover deployment step is similar as for the Group deployment step. The only difference is the action you can activate. The stop group actions make the inbounds of the currently selected container stop. If this group is the leader of the failover group. It will deactivate this group and start orignal follower group. However it disables failover, therefore from this point were are running in a dubble setup in which we have single node leaders. | ||
29 | |||
30 | |||
31 | The start group step with failover will activate the current container as the leader of the failover setup. Therefore, resembling group names on other containers will become the followers. If these flows were running, they will be stopped. | ||
32 | |||
33 | |||
34 | |||
35 | == 5. Key takeaways == | ||
36 | |||
37 | * Grouping is beneficial when external systems go through maintenance or downtime. | ||
38 | * 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 | ||
39 | * The role naming in both grouping and failover is crucial. The whole name needs to be matched fully to make it work. | ||
40 | * For the infra configuration of the failover setup, we have a store item that you can use. | ||
41 | |||
42 | == 6. Suggested Additional Readings == | ||
43 | |||
44 | There are no suggested additional readings for this microlearning.))) | ||
45 | ((( | ||
46 | {{toc/}} | ||
47 | ))) | ||
48 | {{/container}} | ||
49 | {{/container}} |