Changes for page Failover - Configuration
Last modified by Erik Bakker on 2024/09/27 14:06
From version 28.3
edited by Danniar Firdausy
on 2024/09/25 11:50
on 2024/09/25 11:50
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 - SettingupFailover- Design Phase1 +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.eMagiz - Content
-
... ... @@ -1,61 +1,39 @@ 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.Thegroupingandfailoverfunctionalityisrelevantwhenfacedwith maintenanceandoutagesof systemsconnectedto yourmodel.Thefailoverfunctionalityassistsin thatcaseand allowsyouto have afallbackoptiononanactiveconnection.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 on 19 19 20 - ==3.DesignPhaseConfiguration=15 +[[this link>>https://docs.emagiz.com/bin/view/Main/eMagiz%20Academy/Microlearnings/Expert%20Level/Solution%20Architecture/expert-solution-architecture-onpremises-server-installguide/|target="_blank"]] 21 21 22 -== 3. 1SolutionDesign ==17 +== 3. Interpreting log on-premise == 23 23 24 - Toconfigurefailover for systems that are connectingwithyour model, we first need to go to theDesign phase. In your Design>Solution Design, find and open the details of the system that you want to enable failover for. Once you do that, then you need to makesurethat "Multiple runtimes" option is selected for this system, which is logical sincewe wantto have a second runtime running in case of failover situations (e.g., outage, maintenance, etc.). Once you do that, you willsee the "Number of runtimes"and "Run in failover" fields. To enable failover, make surethat you fill in 2 as the "Numberof runtimes",before selecting the "Run in failover" checkbox. See the screenshot below as an example.19 +=== 3.7 eMagiz Docker agent installation === 25 25 26 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-design-phase-solution-design.png]]21 +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. 27 27 28 - {{info}}Note:systemswith the failoveroptionnabledmust have"Numberf runtimes" exactly 2 and must beplacedonan externalmachinehe Architecturenel.{{/info}}23 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]] 29 29 30 - == 3.2 DesignArchitecture==25 +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. 31 31 32 - 33 33 == 4. Key takeaways == 34 34 35 -* Grouping is beneficial when external systems go through maintenance or downtime. 36 -* 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. 37 -* The role naming in both grouping and failover is crucial. The whole name needs to be matched fully to make it work. 38 -* For the infra configuration of the failover setup, we have a store item that you can use. 29 +* The karaf.log can be found within the folder called log under the folder data 30 +* You can search the log with the help of tools such as Notepad++ 31 +* By looking at the timestamp in the eMagiz Manage Log, you can run a focused search 39 39 40 -== 5. Suggested Additional Readings ==33 +== 6. Suggested Additional Readings == 41 41 42 - If youareinterested inthis topic and wantmoreinformation, pleasereadthe help text providedby eMagiz andcheckout theselinks:35 +No suggested additional readings for this microlearning. 43 43 44 -* [[eMagiz Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]] 45 -** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]] 46 -*** [[Active/Passive Failover (Explanation)>>doc:Main.eMagiz Store.Accelerators.Active-Passive Failover.WebHome||target="blank"]] 47 -* [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 48 -** [[Crash Course Platform (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 49 -*** [[Support objects - Introduction (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] 50 -*** [[Promote flows to deploy (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-promote-flows-to-deploy||target="blank"]] 51 -* [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.WebHome||target="blank"]] 52 -** [[Grouping and Failover (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.WebHome||target="blank"]] 53 -*** [[Deploy Possibilities (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-deploy-possibilities.WebHome||target="blank"]] 54 -** [[eMagiz Cloud Management (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Cloud Management.WebHome||target="blank"]] 55 -* [[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"]] 56 -))) 57 -((( 58 -{{toc/}} 59 -))) 60 -{{/container}} 61 -{{/container}} 37 +* [[Container commands on containers>>https://docs.docker.com/engine/reference/commandline/ps/||target="blank"]] 38 +* [[Logging commands on containers>>https://docs.docker.com/engine/reference/commandline/logs/||target="blank"]] 39 +)))((({{toc/}}))){{/container}}{{/container}}