Changes for page Failover - Deploy Possibilities
Last modified by Erik Bakker on 2024/09/27 14:07
From version 28.81
edited by Danniar Firdausy
on 2024/09/25 20:51
on 2024/09/25 20:51
Change comment:
There is no comment for this version
To version 28.63
edited by Danniar Firdausy
on 2024/09/25 16:05
on 2024/09/25 16:05
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,32 +18,50 @@ 18 18 19 19 == 3.1 Deploy Architecture == 20 20 21 -After finishing up your configuration in the Createphase, you can thenmovetoyourDeploy>Architecture.Here,youwill seethenewroutercontainers,whichwehave seenin the Design>Architecture,to be added to yourexternalmachines.Whenyou press"StartEditing"inthis page,andthenpress"Applytoenvironment", you willbefacedwitha pop-up page thatinformsyouthatthese routercontainerswill becreatedfor thisspecific environmentasshowninthe screenshot below.21 +After finishing up your configuration in the Design phase, you can then go to the Settings page on the top right corner of the Create phase. In this page, under the "Failover systems" tab in the "Transfer settings from design" section, you will find the system connector(s) that you can transfer the failover settings from Design. Please check the screenshot below as an example. 22 22 23 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover- deploy-phase-router-containers.png]]23 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-create-phase-create-settings.png]] 24 24 25 - Onceyouhave applied the changes, when you go to the "Details" of each of those machines via right-clickingthem,then you canfind andsetforeachfailoverruntimethe preferred machine tobe the leader. As an exampleshowninthe screenshotbelow,thereare tworuntimesthat areenabledfor failoverand youcan selectwhether thatruntimerunning in that"External01" machine isthepreferredleader.Anotheroption istosettheruntime thatyouselect as the backup,or resetit back to"None" if you want. Next to that,notice thathereyoucan findthe"Internal IP address"and "Failoverport" fields,whichhavebeenpre-filled inwith property placeholders.Wewillcomeback tothesepropertieslaterin the following sections.25 +By pressing the "Transfer failover" button, eMagiz will regenerate the connector infra flow of that system as well as update the exit and entry flows connected to that system with the required settings. We will discuss these required settings and what components are affected in the following section. 26 26 27 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-deploy-phase-failover-preference.png]]27 +== 3.2 Flow Configurations == 28 28 29 - Whenyou havemadeyour decision,andassuming thatyourmachinesare alreadydeployedandrunning, then youcanmove to the otherpage discussed in the next29 +As mentioned just now, by pressing that button in Create>Settings, eMagiz will configure the correct settings for you, so then you do not have to configure them manually by yourself. With that being said, this section focuses on showing you the components that are affected and keep you informed of the required components for the failover functionality to work correctly. 30 30 31 - ==3.2DeploymentPlan==31 +The first setting that eMagiz configures for you takes place in the connector infra flow of the system that you enable for failover from the previous step. The configuration in this infra flow requires of at least three separate support objects. Two support objects will be added here, which are the Infinispan Cache Manager and Clustered Lock Registry. From the screenshot below, you can see that eMagiz, by default, will give the "Cluster name" in the Infinispan Cache Manager as {{code}}failover-<system technical name>{{/code}}. The other one that is also added is the Leader Initiator support object, which is required per unique group that you will have within the context of your runtime. eMagiz also automatically provides the "Role" name in this support object. It will be filled in with the same value as the "Cluster name" later when you have moved to the Deploy phase (e.g., {{code}}failover-xctnln{{/code}} in the example below). 32 32 33 - If this is the first time that you configureyour failover setup, thenthenextstepin Deploy is tocheck the Deployment Plan.e, youcan add a deployment step called "Balancefailover", which, whenexecuted, willtrigger thefailovercontainer(s) to berunningon itspreferred machine as you previouslyconfiguredthem in Deploy>Architecture. (Next tothat, you canalso find the"Group" deployment step. Discussthis step here.)33 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-create-phase-connector-infra.png]] 34 34 35 - ==3.3DeployRelease==35 +The second setting that eMagiz configures for you happens in the exit and entry flows that are connected to that system. Here, eMagiz configures for you (parts of) your flow(s) with the required setting to enable grouping for the failover functionality on the flow level. The configurations for grouping consist of the "Group" name and "Auto startup", which are available for all inbound components. See the screenshot below as an example of an inbound component that has its "Group" name and "Auto startup" configured by eMagiz automatically when enabling the failover functionality. 36 36 37 - Once youhaveconfigured your Deployment Plan, thenit is time to create anewreleasefor your updated flows inthe Deploy>Release page. As you might have noticed inthe Deploy>Architecture earlier whenopening the "Failover" tabinyourmachines' "Details", thereare properties regarding the machines' "InternalIP address"and "Failover port".It is thenbecomes natural that you first needto fill intheseproperty values in the environment that you are working on atthemoment (i.e., Testing, Acceptance,Production). Todothis, youcan clickthe "wrench" icon on the right hand sidebesidethe "Create phase" release and then press "New". In the pop-uppresented toyou, you can clickthe"Name" input field and thensearchfor the property placeholdernamesthat you sawearlier. Basedonthe example above,thenyoucan searchfor {{code}}external01.failover.{{/code}}. The screenshot below shows an example of the end result.37 +{{info}}The grouping functionality here is relevant when faced with maintenance and outages of systems connected to your model.{{/info}} 38 38 39 +[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-create-phase-exit-entry.png]] 40 + 41 +Again, in this part, you do not have to make any changes yourself. Once you are satisfied with the settings that eMagiz has configured for you, then you are finished in the Create phase and can move on to the Deploy phase that will be discussed in the next microlearning. 42 + 39 39 == 4. Key takeaways == 40 40 41 -... 45 +* Grouping is beneficial when external systems go through maintenance or downtime. 46 +* 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. 47 +* The role naming in both grouping and failover is crucial. The whole name needs to be matched fully to make it work. 48 +* For the infra configuration of the failover setup, we have a store item that you can use. 42 42 43 43 == 5. Suggested Additional Readings == 44 44 45 45 If you are interested in this topic and want more information, please read the help text provided by eMagiz and check out these links: 46 46 54 +* [[eMagiz Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]] 55 +** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]] 56 +*** [[Active/Passive Failover (Explanation)>>doc:Main.eMagiz Store.Accelerators.Active-Passive Failover.WebHome||target="blank"]] 57 +* [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 58 +** [[Crash Course Platform (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 59 +*** [[Support objects - Introduction (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] 60 +*** [[Promote flows to deploy (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-promote-flows-to-deploy||target="blank"]] 61 +* [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.WebHome||target="blank"]] 62 +** [[Grouping and Failover (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.WebHome||target="blank"]] 63 +*** [[Deploy Possibilities (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-deploy-possibilities.WebHome||target="blank"]] 64 +** [[eMagiz Cloud Management (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Cloud Management.WebHome||target="blank"]] 47 47 * [[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"]] 48 48 ))) 49 49 (((