Changes for page Failover - Deploy Possibilities
Last modified by Erik Bakker on 2024/09/27 14:07
From version 14.1
edited by Erik Bakker
on 2024/03/01 09:38
on 2024/03/01 09:38
Change comment:
There is no comment for this version
To version 28.79
edited by dfirdausy
on 2024/09/25 20:34
on 2024/09/25 20:34
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 - Flow Configuration1 +Setting up Failover - Deploy Phase - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.dfirdausy - Content
-
... ... @@ -1,65 +1,49 @@ 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. The effect is that you can later in [[Deploy>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-flow-configuration.WebHome||target="blank"]], control them as one entity. This is mainly beneficial when faced with substantial maintenance or outage of systems connected to your eMagiz model. 5 5 6 - Buildingonthisfunctionality,you canevenconfigurethegrouptorun inanactive/passive failovermodewhenyou activate the multipleruntimesoptionon yourruntime,andeachseparateruntimeisdeployedonanothermachine.Thefailover functionality isnotonlyrelevantincasesofservermaintenance.It canalsoassistyouwhenyou wanttoexchangedatawith asystemthat allowsonly oneactive connection.Shouldthis connectionbebusiness-critical,youcanuse thisfailoverfunctionalityto createapassivefailover situationthatwilltakeoverwhentheactiveconnection breaksdown (regardlessofthe reason).5 +In the previous microlearning, we discussed what needs to be done in the Create phase to enable failover for systems that are configured to have them in the Design phase. Next to that, we also discussed that setting up this failover functionality in your model requires you to execute some steps in your Design, Create, and lastly Deploy phase. Picking up from what we have toggled in the Create phase, in this microlearning, we will focus on the steps and configurations that you have to make in the Deploy phase to activate the active/passive failover functionality. 7 7 8 -In this microlearning, we will focus on configuring the flow to group various inbound components and configure the flow (including the infra) if you want to activate the active/passive failover configuration. 9 - 10 10 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 11 11 12 12 == 1. Prerequisites == 13 13 14 -* Intermediate knowledge of the eMagiz platform 11 +* Intermediate knowledge of the eMagiz platform. 15 15 16 16 == 2. Key concepts == 17 17 18 -This microlearning describes howtoconfigure (partsof)yourflow(s)to set upthegrouping and,if needed, the failover functionality on theflowlevel. 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.15 +This microlearning describes what configuration that you will have to do in the Deploy phase, based on what you have configured in the Design and Create phase, to enable failover for systems connecting with your model. The grouping and failover 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 ==17 +== 3. Deploy Phase Configuration == 21 21 22 -== 3.1 Grouping==19 +== 3.1 Deploy Architecture == 23 23 24 - To configuregrouping,weneedto opentheflowdesigneroftheflowinCreate.Wewantto edit andenter "Start Editing"mode. On theinboundcomponent(s)in theflow,wenowhave an "Advanced"tabthatallows you to configure thegroupinginformation.21 +After finishing up your configuration in the Create phase, you can then move to your Deploy>Architecture. Here, you will see the new router containers, which we have seen in the Design>Architecture, to be added to your external machines. When you press "Start Editing" in this page, and then press "Apply to environment", you will be faced with a pop-up page that informs you that these router containers will be created for this specific environment as shown in the screenshot below. 25 25 26 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover- flow-configuration-starting-point.png]]23 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-deploy-phase-router-containers.png]] 27 27 28 - {{info}}Note that theoptions above areavailablein allinbound components.The onechosenaboveissimplyan illustration ofhowto configure.{{/info}}25 +Once you have applied the changes, when you go to the "Details" of each of those machines via right-clicking them, then you can find and set for each failover runtime the preferred machine to be the leader. As an example shown in the screenshot below, there are two runtimes that are enabled for failover and you can select whether that runtime running in that "External 01" machine is the preferred leader. Another option is to set the runtime that you select as the backup, or reset it back to "None" if you want. 29 29 30 - Onceon the"Advanced" tab, youmust define thegroupname. You candeterminethegroupname ifthis is the first flow you arechanging. Inall subsequent flows,you want toadd tothesame group, you must usethe**same** groupname.27 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-deploy-phase-failover-preference.png]] 31 31 32 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-define-group-name.png]]29 +When you have made your decision, and assuming that your machines are already deployed and running, then you can move to the other page discussed in the next section. 33 33 34 - Oncefilledin,ensure that the auto startupconfiguration is set to Yes to ensurethat,on default,all flows withinthe group start up when the container is started.31 +== 3.2 Deployment Plan == 35 35 36 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-define-auto-startup.png]]33 +If this is the first time that you configure your failover setup, then the next step in Deploy is to check the Deployment Plan. Here, you can add a deployment step called "Balance failover", which, when executed, will trigger the failover container(s) to be running on its preferred machine as you previously configured them in Deploy>Architecture. (Next to that, you can also find the "Group" deployment step. Discuss this step here.) 37 37 38 - Withinaruntimecontext, you can add multiple groups that can be stopped and started separatelyfromeach other. In this example, we wouldalso liketo have a group for our exits to stop them if the connecting system undergoes maintenance or is down to store the messages in the queue.35 +== 3.3 Deploy Release == 39 39 40 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-starting-point-exit.png]] 41 - 42 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-other-group.png]] 43 - 44 -== 3.2 Failover == 45 - 46 -When choosing this option, you will see the following pop-up (assuming the machine still needs to be configured). In this pop-up, you must choose between Linux and Windows as OS. Depending on the server OS you previously installed Docker, you must select Linux or Windows. 47 - 48 -[[image:Main.Images.Microlearning.WebHome@emagiz-runtime-management--intermediate-runtime-management-os-selection.png]] 49 - 50 -Once you have selected the correct OS for you, the next step is to press "Save." This action will lead you to another pop-up showing the command that needs to be executed (with administrator rights) on the host machine. This way, the deploy agent is activated on the host machine. 51 -== 3.3 Failover Infra == 52 -[[image:Main.Images.Microlearning.WebHome@emagiz-runtime-management--intermediate-runtime-management-deploy-agent-command.png]] 53 - 54 -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. 55 - 56 56 == 4. Key takeaways == 57 57 58 - * The eMagiz Docker agent needs to be installed to allow runtime to be installed on the on-premises server39 +... 59 59 60 60 == 5. Suggested Additional Readings == 61 61 62 -There are no suggested additional readings for this microlearning.))) 43 +If you are interested in this topic and want more information, please read the help text provided by eMagiz and check out these links: 44 + 45 +* [[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"]] 46 +))) 63 63 ((( 64 64 {{toc/}} 65 65 )))