Changes for page Grouping - Deploy Possibilities
Last modified by dfirdausy on 2024/09/27 09:18
From version 28.1
edited by BoukeReitsma
on 2024/03/01 15:56
on 2024/03/01 15:56
Change comment:
There is no comment for this version
To version 5.1
edited by Erik Bakker
on 2023/02/07 13:45
on 2023/02/07 13:45
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 -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. BoukeReitsma1 +XWiki.ebakker - 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 - 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 wanttoexchangedata 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 -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,76 +15,24 @@ 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. Thefailoverfunctionalityassistsin thatcaseand allowsyouto havea fallback optiononan activeconnection.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 in this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Expert Level.Solution Architecture.expert-solution-architecture-onpremises-server-installguide.WebHome||target="blank"]]. 19 19 20 -== 3. Group Deployment Step == 21 21 22 - Toconfigure a Group deployment step, you need to add a new deployment step and choose Step type "Group".To configurethe step more information is required. A container should be chosen for which the inbounds will be stopped. The second requirement is the **exact** name of thegroup that should be affected by the deployment step. An actionshould be picked forthe selected group. Fora"Group" deploymentstep the optionsareto start or to stop the inbound components within the groupname. Optionally,adescriptioncan be added.16 +== 3. eMagiz Docker agent installation == 23 23 24 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-deploy-possibilities-group-deployment-step.png]]18 +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. 25 25 26 - == 4.FailoverDeploymentStep==20 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]] 27 27 28 - Ifyou wanttoexpand the groupingfunctionality to includean active/passivefailover component, youneed tochangethesettingsontheinboundcomponent.Apartfromspecifying thegroupname, youneedto configuretheauto-startupoptionon "No"sothe failoverconfigurationcantakethe correctactions inall situations.22 +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. 29 29 30 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-failover-example-group.png]]24 +== 4. Key takeaways == 31 31 32 - [[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-failover-other-group.png]]26 +* The eMagiz Docker agent needs to be installed to allow runtime to be installed on the on-premises server 33 33 34 - {{info}}Notethateach group within a singleruntime that you wantto treatdifferently needsto have a **unique** name.{{/info}}28 +== 6. Suggested Additional Readings == 35 35 36 - ==3.3FailoverInfra==30 +No suggested additional readings for this microlearning. 37 37 38 -The configuration of the infra flow of the runtime for which you want to configure the failover is detailed and only works if you configure all support objects correctly. Although we explain the various steps in the documentation, we advise utilizing the store item we created for this that will guide you in setting this up correctly. 39 39 40 -The configuration consists of at least three separate support objects. Two are needed once (infinispan cache manager and clustered lock registry), whereas the other is required per unique group you have defined within the context of your runtime. So, if you have two unique group names within the runtime, you need two leader initiator support objects. 41 - 42 -=== 3.3.1 Infinispan Cache Manager === 43 - 44 -Given this, let us first look at the Infinispan cache manager. You can add this support object in the [[standard manner>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] by searching for "infinispan cache manager." 45 - 46 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-cache-manager-search-result.png]] 47 - 48 -Once found, give it a name and fill in a cluster name. 49 - 50 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-cache-manager-basic.png]] 51 - 52 -Once done, switch to the "Advanced" tab, select the option "TCP Ping," and fill in the "Host address" and "Other host addresses". Once filled in, press Save to keep your changes. 53 - 54 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-cache-manager-advanced.png]] 55 - 56 -=== 3.3.2 Clustered Lock Registry === 57 - 58 -Now that we have the cache manager, we can configure the next support object on our list, the clustered lock registry. You can add this support object in the [[standard manner>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] by searching for "lock registry." 59 - 60 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-lock-registry-search-result.png]] 61 - 62 -Once found, name it and select the cache manager support object you created. 63 - 64 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-lock-registry-basic.png]] 65 - 66 -=== 3.3.3 Leader Initiator === 67 - 68 -Lastly, we need to configure a leader initiator for each **unique** group we have defined within the context of the runtime, and that uses the failover functionality. You can add this support object in the [[standard manner>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-create-support-objects-introduction||target="blank"]] by searching for "leader." 69 - 70 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-leader-initiator-search-result.png]] 71 - 72 -Once found, give it a name, define the role name (which should **exactly** match the name you gave in the inbound components), and link it to the lock registry. 73 - 74 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-flow-configuration-leader-initiator-basic.png]] 75 - 76 -== 5. Key takeaways == 77 - 78 -* Grouping is beneficial when external systems go through maintenance or downtime. 79 -* 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 80 -* The role naming in both grouping and failover is crucial. The whole name needs to be matched fully to make it work. 81 -* For the infra configuration of the failover setup, we have a store item that you can use. 82 - 83 -== 6. Suggested Additional Readings == 84 - 85 -There are no suggested additional readings for this microlearning.))) 86 -((( 87 -{{toc/}} 88 -))) 89 -{{/container}} 90 -{{/container}} 33 +)))((({{toc/}}))){{/container}}{{/container}}