Changes for page Failover - Configuration
Last modified by Erik Bakker on 2024/09/27 14:06
From version 28.21
edited by Danniar Firdausy
on 2024/09/27 09:24
on 2024/09/27 09:24
Change comment:
There is no comment for this version
To version 5.1
edited by Erik Bakker
on 2023/02/07 13:45
on 2023/02/07 13:45
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Failover- Configuration1 +eMagiz Deploy agent - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -Main.eMagiz Academy.Microlearnings.Intermediate Level. Groupingand Failover.WebHome1 +Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. dfirdausy1 +XWiki.ebakker - Content
-
... ... @@ -1,67 +1,33 @@ 1 -{{container}} 2 -{{container layoutStyle="columns"}} 3 -((( 4 -eMagiz flows, or more specifically, the flows' inbound components, can be grouped. The benefit from this is that you can later in [[Deploy>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-deploy-possibilities.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. 1 +{{container}}{{container layoutStyle="columns"}}((( 5 5 6 - Building on this functionality, you caneven configure the group to runinan active/passive failovermode when youactivate the multiple runtimesoption on your runtime,andeach separate runtimeis deployed onanother machine. The failover functionalityis not onlyrelevantin casesofservermaintenance. It can alsoassistyou when you wanttoxchangedata with asystemthatallows onlyoneactiveconnection.Shouldthisconnection bebusiness-critical, youcanuse thisfailoverfunctionalitytocreatea passivefailover situationthat will takeover whentheactiveconnection breaksdown (regardlessof theeason).3 +eMagiz runtimes can run on local, on-premises servers. Main reason is that some systems are only accessible from within the client's infrastructure. In such scenario's that on-premises server needs to be equipped with a linux based Docker installation. 7 7 8 -Setting up this failover functionality in your model requires you to first execute some steps in your Design, Create, and lastly Deploy phase. In this microlearning, we will focus on configuring your setup in the Design phase 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 .9 +* Intermediate knowledge of the eMagiz platform 15 15 16 16 == 2. Key concepts == 17 17 18 -This microlearning describes how t o configure(partsof) ofyourDesignphaseto enable failoverforsystemsconnectingwith yourmodel.Thegroupingandfailoverfunctionalityisrelevantwhenfacedwithmaintenance and outages ofsystemsconnectedto yourmodel. Thefailoverfunctionalityassistsin thatcasellowsyouavea fallback optiononan activenection.13 +This microlearning describes how the eMagiz Deploy agent is installed on the on-premises server where a eMagiz runtime should run on. Please note that the eMagiz Deploy agent requires a valid Docker installation on the on-premises server. The detailed install guide can be found in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-onpremises-server-installguide.WebHome||target="blank"]]. 19 19 20 -== 3. Design Phase Configuration == 21 21 22 -== 3. 1SolutionDesign ==16 +== 3. eMagiz Docker agent installation == 23 23 24 - To configurefailoverforsystems thatareconnectingwithyourmodel, we firstedtogo to theDesignphase.Inyour Design>SolutionDesign,findand open thedetailsofthe systemthat you wanttoenablefailover for. Onceyou dothat, thenyou need to makesurethat "Multiple runtimes" option is selectedfor this system,whichs logical sincewe wanttohaveasecond runtimerunning in caseof failoversituations(e.g.,outage,maintenance,etc.).Afterward,youwillseethe"Numberofruntimes"and"Runin failover"fields.Toenablefailover,makesurethatyou fillin2as the"Numberofruntimes",beforelectingthe"Runin failover"checkbox.See thescreenshotbelow asanexample.18 +eMagiz needs to install a specific agent in the Docker instance that allows to download runtime images that needs to be installed on the Docker instance. The specific command to run inside the Docker instance is specific for the machine that is configured inside eMagiz Design & Deploy Architectures. It can be found inside the eMagiz iPaaS portal under Deploy Architecture. At the runtime connector, there is a right click option called Deploy Agent. That presents either the command or the location where that agent is installed. 25 25 26 -[[image:Main.Images.Microlearning.WebHome@ grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-design-phase-solution-design.png]]20 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]] 27 27 28 - {{info}}Systemswiththefailoveroptionenabledmusthave"Numberof runtimes"exactly2and mustbeplacedonxternalmachine inthe Architecturepanel.{{/info}}22 +After installing the agent, you can use the Docker cheat sheet below to see if the docker containers are running and/or images are available. 29 29 30 -== 3.2 Design Architecture == 31 - 32 -Once the previous step is done, the next step is to configure your Design>Architecture. Here, you first need to "Start Editing" and then press "Apply settings" on your bottom left corner. Afterward, you will be faced with a pop-up page informing you that failover will be enabled on the system connector containers that you have previously toggled in Design>Solution Design (see the screenshot below as an example). 33 - 34 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-design-phase-design-architecture.png]] 35 - 36 -Once you applied the changes, then your Design>Architecture in that environment, will get new router containers placed in your external machines (see the screenshot below as an example). These router containers are responsible for keeping track of the existing group names (in which, runtime containers set to failover are part of those groups) and routing communication between two runtimes (e.g., lead and backup). Next to that, they also facilitate the communication between runtimes when a runtime joins a group (e.g., during startup) or leaves a group (e.g., when becoming inactive). 37 - 38 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-design-phase-routers.png]] 39 - 40 -When you have done that and satisfied with your landscape configuration, then you are finished in the Design phase and can proceed to the next configuration in the Create phase. 41 - 42 -== 3.3 Transfer Settings from Design == 43 - 44 -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. 45 - 46 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-create-phase-create-settings.png]] 47 - 48 -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. Thus, you do not have to configure them manually by yourself and can already proceed to the next step in the Deploy phase. 49 - 50 50 == 4. Key takeaways == 51 51 52 -* The inbound components of eMagiz flows can be grouped, allowing for centralized control, particularly beneficial during system maintenance or outages. 53 -* By enabling multiple runtimes across different machines, you can configure groups to operate in active/passive failover mode, ensuring continued operation during connection failures, system maintenances, or outages. 54 -* Setting up the failover functionality requires configuration in the Design phase, where you enable multiple runtimes and set up failover options in both the Solution Design and Architecture sections. 55 -* In the Design Architecture, router containers are added to manage communication between the lead and backup runtimes, ensuring smooth transitions when a failover runtime becomes inactive or joins a group. 26 +* The eMagiz Docker agent needs to be installed to allow runtime to be installed on the on-premises server 56 56 57 -== 5. Suggested Additional Readings ==28 +== 6. Suggested Additional Readings == 58 58 59 - If youareinterested inthis topic and wantmoreinformation, pleasereadthe help text providedby eMagiz andcheckout theselinks:30 +No suggested additional readings for this microlearning. 60 60 61 -* [[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"]] 62 -))) 63 -((( 64 -{{toc/}} 65 -))) 66 -{{/container}} 67 -{{/container}} 32 + 33 +)))((({{toc/}}))){{/container}}{{/container}}