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 -Deploy Possibilities1 +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. CarlijnKokkeler1 +XWiki.eMagiz - Content
-
... ... @@ -1,14 +1,9 @@ 1 -{{container}} 2 -{{container layoutStyle="columns"}} 3 -((( 4 -eMagiz flows, or more specifically, the flow's inbound component(s), can be grouped. Configuring 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 - 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 failoverfunctionality isrelevant not onlyin casesofservermaintenance but also inthatit can assist you whenyou want to exchange data with asystemthatallows onlyoneactiveconnection.Shouldthisconnection bebusiness-critical, youcanuse thisfailoverfunctionalitytocreatea passivefailover situationthat will takeover whentheactiveconnection breaksdown (regardlessof thereason).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 - This microlearningwill focuson configuring thedeployment plantocontrol variousinboundcomponents inatypicalgroupandfailoverconfiguration.5 +Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 9 9 10 -If you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 11 - 12 12 == 1. Prerequisites == 13 13 14 14 * Intermediate knowledge of the eMagiz platform ... ... @@ -15,62 +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 outages ofsystemsconnectedto yourmodel. Thefailoverfunctionality assistsand 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 19 19 20 - ==3.GroupDeploymentStep==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 - Toconfigure a Group deployment step, add a new one and choose Step type "Group".More information is required to configure the step. A containershould beselected for which the inbounds will be stopped. The second requirement is the **exact** name of thegroupthat should be affected by the deployment step. An action should be picked for the selectedgroup.Theoptions for a "Group" deployment step areto start or stop the inbound components within the group. 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 - {{info}}Note that whenyouactivate the stop action in afailoversetup(on theleadercontainer),itwilltrigger thefailoverbehavior on thefollowercontainer{{/info}}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 - == 4.FailoverDeploymentStep==23 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]] 29 29 30 - The configuration for a failoverdeploymentstep is the same as for the group deployment step. The only differenceisthe action you canactivate.Thestop groupaction stops theinboundsof theselectedcontainer. It willalsodisablethefailover, so ifafollowerisconfigured, itwill **not** takeover. Instead,from this point, weare runninginastandardmulti-containersetupwith single-nodeleaders (See 4.1).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 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-disabled-failover.png]]27 +== 4. Key takeaways == 33 33 34 -The start group step with failover will activate the current container as the Leader of the failover setup. Therefore, group names resembling those on other containers will become the followers. If these flows were running, they would be stopped. 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 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-failover-deployment-step.png]] 37 - 38 -=== 4.1 Failover Status Explained === 39 - 40 -Within a failover setup, each inbound can have one of the distinct states listed below. This section explains briefly the meaning of each state. 41 - 42 -=== 4.1.1 Leader Status === 43 - 44 -If the leader status is shown, it means that this container is the Leader of this group. As a result, all inbound components with the same group name in this container are actively running. 45 - 46 -=== 4.1.2 Follower Status === 47 - 48 -The follower status is closely tied to the leader status. Inbounds with this status act as the backup. When the active Leader stops, the followers will take the Leader status. By default, the starting status of these inbounds is stopped (grey lightbulb). 49 - 50 -=== 4.1.3 Disabled Status === 51 - 52 -If the container inbounds have the status disabled, the failover is inactive. This means that the components are stopped (grey lightbulb) but will not react if the Leader stops working. To continue failover behavior, please use the steps above in Deploy -> Architecture. 53 - 54 -=== 4.1.4 Leader (single node) Status === 55 - 56 -The last possible status is Leader (single node). This means the inbound acts as a separate normal inbound with no (failover) connectivity to other containers with a similar configured group name. Suppose this status occurs in a failover setup. In that case, there is a problem in the inbounds' configuration, most likely in the cache manager or port configuration. 57 - 58 -== 5. Key takeaways == 59 - 60 -* Grouping is beneficial when external systems go through maintenance or downtime. 61 -* 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 62 -* The role naming in both grouping and failover is crucial. The group name needs to match **exactly** to make it work. 63 -* You can control group and failover steps from the deployment plan. 64 -* Container inbounds can have a different failover status. 65 - 66 66 == 6. Suggested Additional Readings == 67 67 68 -* [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 69 -** [[Crash Course Platform (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 70 -*** [[Deploy a release (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-deploy-execute-deployment-plan-gen3.WebHome||target="blank"]] 71 -*** [[Setting up a deployment plan (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-deploy-setup-deployment-plan-gen3||target="blank"]]))) 72 -((( 73 -{{toc/}} 74 -))) 75 -{{/container}} 76 -{{/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}}