Changes for page Failover - Deploy Possibilities
Last modified by Erik Bakker on 2024/09/27 14:07
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Setting up Failover-DeployPhase1 +intermediate-runtime-management-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,63 +1,39 @@ 1 -{{container}} 2 -{{container layoutStyle="columns"}} 3 -((( 1 +{{container}}{{container layoutStyle="columns"}}((( 4 4 5 -In thepreviousmicrolearning, wediscussed what needstobedonein theCreatephase toenablefailoverforsystems thatare configuredtohavethemintheDesignphase.Next to that, we also discussedthat settingupthisfailoverfunctionality in yourmodelrequiresyou toexecute somestepsinyourDesign, Create, andlastly Deployphase.Picking up fromwhatwehave toggledin theCreatephase,in this microlearning, we willfocuson thestepsandconfigurationsthat you have tomakein theDeployphasetoactivate theactive/passivefailoverfunctionality.3 +In some cases, the complete stack trace must be logged when something goes wrong on runtime. In eMagiz, only the top-level information is shown, and sometimes the entire stack trace. When this particular runtime runs on-premises, you can see the complete logging on the runtime level. In this microlearning, we will learn how to find the log and look through the log to find the corresponding error and subsequently analyze that error. 6 6 7 7 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 8 8 9 9 == 1. Prerequisites == 10 10 11 -* Intermediate knowledge of the eMagiz platform .9 +* Intermediate knowledge of the eMagiz platform 12 12 13 13 == 2. Key concepts == 14 14 15 -This microlearning describes what configurationthat you will haveto dointheDeployphase,based onwhatyouhaveconfiguredin theDesignand Createphase,toenable failoverforsystems connectingwithyour model.The groupingandfailoverfunctionalityisrelevantwhenfacedwith maintenanceandoutagesof systemsconnectedto yourmodel. Thefailoverfunctionality assists in that case and allowsyouto havea fallback option onanactiveconnection.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 16 16 17 - == 3.DeployPhaseConfiguration==15 +OnfigfueMain.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-onpremises-installguide 18 18 19 -== 3. 1DeployArchitecture==17 +== 3. Interpreting log on-premise == 20 20 21 - Afterfinishing 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,tobe added to your external machines. When you press"Start Editing" in this page, andthenpress "Apply to environment", you will be faced with a pop-up page that informsyouthat these router containers willbe created for this specific environmentas shown in the screenshot below.19 +=== 3.7 eMagiz Docker agent installation === 22 22 23 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-deploy-phase-router-containers.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. 24 24 25 - Once you have applied the changes, if you go to the "Details" of each of thosemachinesvia right-cliking them, then you canfind and set, for each failover runtime, thepreferred machinetobe theleader. As anexample showninthescreenshotbelow, thereare tworuntimes that areenabled for failover and you canselect whether that runtime running inthat "External01" machine is the preferredleader or the backup,or ifyou want to reset it back to "None".23 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]] 26 26 27 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-deploy-phase-failover-preference.png]]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. 28 28 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. 30 - 31 -== 3.2 Deployment Plan == 32 - 33 -== 3.3 Deploy Release == 34 - 35 35 == 4. Key takeaways == 36 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. 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 41 41 42 -== 5. Suggested Additional Readings ==33 +== 6. Suggested Additional Readings == 43 43 44 - If youareinterested inthis topic and wantmoreinformation, pleasereadthe help text providedby eMagiz andcheckout theselinks:35 +No suggested additional readings for this microlearning. 45 45 46 -* [[eMagiz Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]] 47 -** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]] 48 -*** [[Active/Passive Failover (Explanation)>>doc:Main.eMagiz Store.Accelerators.Active-Passive Failover.WebHome||target="blank"]] 49 -* [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 50 -** [[Crash Course Platform (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 51 -*** [[Support objects - Introduction (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] 52 -*** [[Promote flows to deploy (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-promote-flows-to-deploy||target="blank"]] 53 -* [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.WebHome||target="blank"]] 54 -** [[Grouping and Failover (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.WebHome||target="blank"]] 55 -*** [[Deploy Possibilities (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-deploy-possibilities.WebHome||target="blank"]] 56 -** [[eMagiz Cloud Management (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Cloud Management.WebHome||target="blank"]] 57 -* [[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"]] 58 -))) 59 -((( 60 -{{toc/}} 61 -))) 62 -{{/container}} 63 -{{/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}}