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 +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. dfirdausy1 +XWiki.eMagiz - Content
-
... ... @@ -1,51 +1,37 @@ 1 -{{container}} 2 -{{container layoutStyle="columns"}} 3 -((( 1 +{{container}}{{container layoutStyle="columns"}}((( 4 4 5 - In thepreviousmicrolearning, wediscussedwhatneedsto be donein the Create phase toenablefailover for systems thatare configured to have themin theDesignphase.Next to that,wealsodiscussedthat setting up this failover functionality in yourmodelrequiresyoutoexecute somestepsin yourDesign,Create, andlastlyDeploy phase.Picking upfrom whatwehave toggledin theCreate phase,inthismicrolearning, we will focusonthesteps and configurations thatyouhave tomakein theDeployphaseto activate theactive/passivefailoverfunctionality.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. 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 onwhatyouhaveconfiguredintheDesignandCreatephase,to enablefailoverforsystemsconnectingwithyour model.Thegroupingandfailoverfunctionalityisrelevantwhenfacedwith maintenanceand outages ofsystemsconnectedtoyourmodel. Thefailoverfunctionality assists in that caseand allows youtohavea 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 on [[this link>>https://docs.emagiz.com/bin/view/Main/eMagiz%20Academy/Microlearnings/Expert%20Level/Solution%20Architecture/expert-solution-architecture-onpremises-server-installguide/||target="_blank"]] 16 16 17 -== 3. DeployPhase Configuration==15 +== 3. Interpreting log on-premise == 18 18 19 -== 3. 1DeployArchitecture ==17 +=== 3.7 eMagiz Docker agent installation === 20 20 21 - After finishingupyourconfiguration in theCreatephase,youcan thenmove toyourDeploy>Architecture.Here,youwillseethenew routercontainers,whichwe haveseen inthe Design>Architecture,tobeaddedtoyourexternalmachines.When youpress "StartEditing"inthispage,andthen press"Applytoenvironment", youwillbefacedwith apop-uppagethatinformsyouthattheseroutercontainers will be createdfor this specificenvironment asshowninthescreenshotbelow.19 +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. 22 22 23 -[[image:Main.Images.Microlearning.WebHome@ grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-deploy-phase-router-containers.png]]21 +[[image:Main.Images.Microlearning.WebHome@expert-solution-architecture-onpremises-installguide-deployagent.png]] 24 24 25 - Once you have applied the changes, when you go to the "Details" ofeach ofthosemachinesvia right-clicking them,then you canfind andsetfor each failover runtime thepreferredmachinetobe the leader. Asan example shown in thescreenshot below,thereare two runtimesthat areenabledfor failoverand youcanselect whetherthatruntime runningin that "External 01" machine is the preferredleader. Anotheroption is to set the runtime that you select asthe backup, orresetit back to "None"if you want.23 +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. 26 26 27 -[[image:Main.Images.Microlearning.WebHome@grouping-and-failover--intermediate-grouping-and-failover-setting-up-failover-deploy-phase-failover-preference.png]] 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 -If this is the first time that you configure your failover setup, then the next step in Deploy is to check the Deployment Plan. Here, you can add a deployment step called "Balance failover", which, when executed, will trigger the failover container(s) to be running on its preferred machine as you previously configured them in Deploy>Architecture. 34 - 35 -== 3.3 Deploy Release == 36 - 37 37 == 4. Key takeaways == 38 38 39 -... 27 +* The karaf.log can be found within the folder called log under the folder data 28 +* You can search the log with the help of tools such as Notepad++ 29 +* By looking at the timestamp in the eMagiz Manage Log, you can run a focused search 40 40 41 -== 5. Suggested Additional Readings ==31 +== 6. Suggested Additional Readings == 42 42 43 - If youareinterested inthis topic and wantmoreinformation, pleasereadthe help text providedby eMagiz andcheckout theselinks:33 +No suggested additional readings for this microlearning. 44 44 45 -* [[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"]] 46 -))) 47 -((( 48 -{{toc/}} 49 -))) 50 -{{/container}} 51 -{{/container}} 35 +* [[Container commands on containers>>https://docs.docker.com/engine/reference/commandline/ps/||target="blank"]] 36 +* [[Logging commands on containers>>https://docs.docker.com/engine/reference/commandline/logs/||target="blank"]] 37 +)))((({{toc/}}))){{/container}}{{/container}}