Changes for page Grouping - Deploy Possibilities
Last modified by Danniar Firdausy on 2024/09/27 09:18
From version 43.1
edited by Erik Bakker
on 2024/03/29 13:39
on 2024/03/29 13:39
Change comment:
There is no comment for this version
To version 13.1
edited by Erik Bakker
on 2024/03/01 09:05
on 2024/03/01 09:05
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - DeployPossibilities1 +Flow Configuration - Content
-
... ... @@ -1,14 +1,10 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}} 3 3 ((( 4 -eMagiz flows, ormorespecifically, the flow's inboundcomponent(s),canbe grouped. Configuring thisis explained[[here>>doc:Main.eMagizAcademy.Microlearnings.IntermediateLevel.Groupingand Failover.intermediate-grouping-and-failover-flow-configuration.WebHome||target="blank"]].Thisfunctionalityismainlybeneficialwhenfacedwithsubstantialmaintenanceor outageof systemsconnectedtoyour eMagizmodel.4 +eMagiz runtimes can run on local, on-premises servers. The main reason is that some systems are only accessible within the client's infrastructure. In such a scenario, the on-premises server must have a Docker installation before you can communicate between your on-premise server and eMagiz. 5 5 6 - Buildingon this functionality, youcan even configure the group to run inan active/passivefailover mode whenyouactivate the multipleruntimesoptionon your runtime,and each separate runtime is deployed onanother machine. The failover functionality isrelevantnot only in cases of server maintenancebut alsoin that it can assist youwhen you want to exchangedatawith asystemthat allows onlyoneactive connection.Should thisconnection be business-critical, you can use this failover functionality tocreatea passivefailover situation that will take over when the active connection breaks down (regardless of the reason).6 +Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 7 7 8 -This microlearning will focus on configuring the deployment plan to control various inbound components in a typical group and failover configuration. 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,56 +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. The groupingfunctionalityis relevantwhenfacedwith maintenanceandoutagesof systemsconnectedtoyourmodel.Thefailoverfunctionalityassists and allowsyouto havea fallback optiononan activeconnection.14 +This microlearning describes how the eMagiz Deploy agent is installed on the on-premises server where an eMagiz runtime should run. 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-linux-installguide.WebHome||target="blank"]] for **Linux** and in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-onpremises-server-windows-installguide.WebHome||target="blank"]] for **Windows**. 19 19 20 -== 3. GroupDeploymentStep==16 +== 3. eMagiz Deploy agent installation == 21 21 22 - To configureaGroup deployment step,addanewoneandchooseSteptype"Group".Moreinformationisrequiredto configure the step.A containershouldbe selectedforwhichtheinbounds will be stopped. Thesecond requirementis the**exact**nameofthegroupthatshouldbe affectedbythedeploymentstep.Anactionshouldbe pickedfortheselectedgroup.Theoptions fora"Group"deploymentstep areto start or stop theinboundcomponentswithinthe group. Optionally, adescriptioncan beadded.18 +eMagiz needs to install a specific agent in the Docker instance that allows the downloading of runtime images that need to be installed on the Docker instance. The exact command to run inside the Docker instance is specific for the machine configured inside eMagiz Design & Deploy Architectures. It can be found inside the eMagiz iPaaS portal under Deploy Architecture. The runtime connector has a right-click option called Deploy Agent. 23 23 24 -[[image:Main.Images.Microlearning.WebHome@gr ouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-group-deployment-step.png]]20 +[[image:Main.Images.Microlearning.WebHome@emagiz-runtime-management--intermediate-runtime-management-deploy-agent.png]] 25 25 26 - {{info}}Notethatwhen youactivate thestop action ina failoversetup(ontheleadercontainer),itwilltriggerthefailoverbehavioronthefollowercontainer{{/info}}22 +When choosing this option, you will see the following pop-up (assuming the machine still needs to be configured). In this pop-up, you must choose between Linux and Windows as OS. Depending on the server OS you previously installed Docker, you must select Linux or Windows. 27 27 28 - == 4.FailoverDeploymentStep==24 +[[image:Main.Images.Microlearning.WebHome@emagiz-runtime-management--intermediate-runtime-management-os-selection.png]] 29 29 30 - Theconfigurationforafailoverdeploymentstepisthesameasforthe groupdeployment step.Theonlydifference istheaction youcanactivate. Thestopgroupactionstopstheinbounds oftheselectedcontainer. Itwillalsodisablethe failover, so ifafollower isconfigured,itwill **not**takeover.Instead,fromthispoint,wearerunninginastandardmulti-containersetupwithsingle-node leaders (See 4.1).26 +Once you have selected the correct OS for you, the next step is to press "Save." This action will lead you to another pop-up showing the command that needs to be executed (with administrator rights) on the host machine. This way, the deploy agent is activated on the host machine. 31 31 32 -[[image:Main.Images.Microlearning.WebHome@gr ouping-and-failover--intermediate-grouping-and-failover-deploy-disabled-failover.png]]28 +[[image:Main.Images.Microlearning.WebHome@emagiz-runtime-management--intermediate-runtime-management-deploy-agent-command.png]] 33 33 34 - Thestartgroupstepwith failoverwillactivate the currentcontainer astheLeaderofthefailoversetup.Therefore,groupnamesresemblingthose onothercontainers willbecome the followers.Iftheseflowswererunning,they wouldbe stopped.30 +Once the agent is installed, eMagiz can manage the machine to deploy new runtimes or update runtimes as needed. Also, the container runtime can be controlled with start, stop, and reset commands. Please consult this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Runtime Management.intermediate-emagiz-runtime-management-interpret-on-premise-logging.WebHome||target="blank"]] to inspect the on-premises runtime logs. 35 35 36 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-failover-deployment-step.png]]32 +== 4. Key takeaways == 37 37 38 - ===4.1FailoverStatusExplained===34 +* The eMagiz Docker agent needs to be installed to allow runtime to be installed on the on-premises server 39 39 40 - Withinafailoversetup,each inboundcan have one of thedistinct states listedbelow. This sectionexplains brieflythemeaningof eachstate.36 +== 5. Suggested Additional Readings == 41 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 -== 6. Suggested Additional Readings == 67 - 68 68 There are no suggested additional readings for this microlearning.))) 69 69 ((( 70 70 {{toc/}}