Changes for page Grouping - Deploy Possibilities
Last modified by dfirdausy on 2024/09/27 09:18
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - DeployPossibilities1 +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. BoukeReitsma1 +XWiki.eMagiz - Content
-
... ... @@ -1,12 +1,7 @@ 1 -{{container}} 2 -{{container layoutStyle="columns"}} 3 -((( 4 -eMagiz flows, or more specifically, the flow's inbound component(s), can be grouped. How to configure this is explained [[here>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-flow-configuration.WebHome||target="blank"]]. This functionality 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 - Buildingonthis functionality,you canevenconfigurethegrouptorun inan active/passivefailover modewhenyou activatethe multiple runtimes option onyourruntime,andeach separate runtimeis deployedon anothermachine. Thefailoverfunctionalityisnot onlyrelevantin casesofservermaintenance.It canalsoassistyouwhen youwanttoexchangedata witha systemthat allows onlyoneactiveconnection.Shouldthis connectionbebusiness-critical,you canuse thisfailoverfunctionalityto createapassivefailoversituationthatwilltakeoverwhen theactiveconnection breaksdown(regardlessofthereason).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. 7 7 8 -In this microlearning, we will focus on configuring the deployment plan to control various inbound compoments in a normal and in a 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 == ... ... @@ -15,36 +15,30 @@ 15 15 16 16 == 2. Key concepts == 17 17 18 -This microlearning describes how t o configure(partsof) your deploymentplantosetupthegroupingand, if needed,thefailoverfunctionality. Thegroupingfunctionalityis relevantwhenfacedwithmaintenance and outagesof 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.GroupDeploymentStep==15 +OnfigfueMain.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-onpremises-installguide 21 21 22 - Toconfigure a Group deployment step, you need to add a new deployment step and choose Step type "Group".To configurethestep more information is required. A container should be chosen for which the inbounds will be stopped. The secondrequirementis the **exact**name of thegroupthat should be affected by the deployment step. An action should be picked for the selectedgroup.For a "Group" deployment stepthe options areto start or to stop the inbound components within the groupname. Optionally, a description can beadded.17 +== 3. Interpreting log on-premise == 23 23 24 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-group-deployment-step.png]]19 +=== 3.7 eMagiz Docker agent installation === 25 25 26 - ==4.Failover DeploymentStep==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 - The configurationofafailover deploymentstepis similaras for theGroup deployment step. Theonly difference isthe action you can activate. Thestop group actions make theinbounds ofthecurrently selected container stop. If this groupistheleader of the failover group. It will deactivate thisgroup andstart orignalfollowergroup. However,itdisables failover. Therefore, from thispoint wereare runningin a dubblesetupinwhich we have single node leaders.23 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]] 29 29 30 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-disabled-failover.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. 31 31 32 - Thestart group step with failover will activate the current container as the leader of the failover setup.Therefore,resembling group names on other containerswill become the followers. If these flows were running, theywill bestopped.27 +== 4. Key takeaways == 33 33 34 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-failover-deployment-step.png]] 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 35 35 36 -== 5. Key takeaways == 37 - 38 -* Grouping is beneficial when external systems go through maintenance or downtime. 39 -* 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 40 -* The role naming in both grouping and failover is crucial. The group name needs to match **exactly** to make it work. 41 -* You can control group and failover steps from the deployment plan 42 - 43 43 == 6. Suggested Additional Readings == 44 44 45 -There are no suggested additional readings for this microlearning.))) 46 -((( 47 -{{toc/}} 48 -))) 49 -{{/container}} 50 -{{/container}} 35 +No suggested additional readings for this microlearning. 36 + 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}}