{"id":36429,"date":"2021-04-21T11:43:00","date_gmt":"2021-04-21T16:43:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=36429"},"modified":"2024-03-06T05:10:22","modified_gmt":"2024-03-06T11:10:22","slug":"glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/","title":{"rendered":"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg\" alt=\"\" class=\"wp-image-36430\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>Building a highly-available clustered infrastructure is one of the most commonly used solutions to achieve 100% uptime for your application. In a clustered environment, there is a number of interconnected instances running the same stack and operating the same data. So cluster is able to handle more load than a single server. It will also add more servers automatically to the cluster as per application demand.<\/p>\n\n\n\n<p>In this guide, we will show you how to deploy Java EE applications using <a href=\"https:\/\/www.rosehosting.com\/managed-cloud-hosting.html\">Glassfish and Payara auto-clustering on the RoseHosting Cloud platform<\/a>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fd0a4f65ea4\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fd0a4f65ea4\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#1-Create-GlassFish-Environment\" >1. Create GlassFish Environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#2-Deploy-a-Java-Application\" >2. Deploy a Java Application<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#Cloning-Cluster-for-AB-Testing\" >Cloning Cluster for A\/B Testing<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-1-create-glassfish-environment\"><span class=\"ez-toc-section\" id=\"1-Create-GlassFish-Environment\"><\/span>1. Create GlassFish Environment<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, log in to RoseHosting cloud platform at https:\/\/app.rosehosting.cloud as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud.png\" alt=\"glassfish and payara auto-clustering running java ee highly-available applications in the cloud\" class=\"wp-image-36503\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud-300x154.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud-150x77.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud-768x395.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click on the <strong>NEW ENVIRONMENT<\/strong> button. You should see the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"976\" height=\"610\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering.png\" alt=\"glassfish and payara auto-clustering\" class=\"wp-image-36506\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering.png 976w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-300x188.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-150x94.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-768x480.png 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/figure>\n\n\n\n<p>Click on the Java tab then choose Nginx and GlassFish or Payara application server. Then, define appropriate cloudlets, enable Auto-Clustering, provide your environment name and click on the Create button. Once the environment has been created successfully, you should see the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"423\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/running-java-ee-highly-available-applications-in-the-cloud.png\" alt=\"running java ee highly-available applications in the cloud\" class=\"wp-image-36507\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/running-java-ee-highly-available-applications-in-the-cloud.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/running-java-ee-highly-available-applications-in-the-cloud-300x124.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/running-java-ee-highly-available-applications-in-the-cloud-150x62.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/running-java-ee-highly-available-applications-in-the-cloud-768x317.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You should also receive an email with the necessary credentials to access the Glassfish server as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"665\" height=\"416\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications.png\" alt=\"glassfish and payara auto-clustering running java ee highly-available applications\" class=\"wp-image-36508\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications.png 665w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-300x188.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-150x94.png 150w\" sizes=\"(max-width: 665px) 100vw, 665px\" \/><\/figure>\n\n\n\n<p><strong>The above environment topology will do the following things:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create two Glassfish server instances with an Nginx load balancer to handle the incoming requests and distribute them among worker nodes.<\/li><li>Add a dedicated Domain Administration Server(DAS) to control all cluster nodes and interact between them via SSH.<\/li><li>DAS server is linked to all other worker nodes with the DAS alias hostname. It will be used by worker nodes for interaction.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2-Deploy-a-Java-Application\"><\/span>2. Deploy a Java Application<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In order to test the high availability of Glassfish auto-clustering environment. you will need to deploy a Java application and test the high availability.<\/p>\n\n\n\n<p><strong>Follow the below steps to deploy a Java application:<\/strong><\/p>\n\n\n\n<p><strong>Step 1 <\/strong>\u2013 On the Gassfish node, click on the <strong>Open in Browser<\/strong> button as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"314\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee.png\" alt=\"glassfish and payara auto-clustering running java ee \" class=\"wp-image-36511\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-300x92.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-150x46.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-auto-clustering-running-java-ee-768x236.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You should see the Glassfish server page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"328\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud.png\" alt=\"\" class=\"wp-image-36514\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-300x96.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-150x48.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-768x246.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2<\/strong> \u2013 Click on the \u201c<strong>go to the Administration Console<\/strong>\u201d to access the Glassfish admin interface:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"543\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications.png\" alt=\"auto-clustering glassfish and payara running java ee highly-available applications\" class=\"wp-image-36516\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-300x159.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-150x80.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-glassfish-and-payara-running-java-ee-highly-available-applications-768x407.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Provide the admin username and password which you received in the email and click on the <strong>Login<\/strong> button. You should see the Glassfish admin console in the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering.png\" alt=\"\" class=\"wp-image-36518\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering-300x154.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering-150x77.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering-768x395.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3<\/strong> \u2013 Next, download the <a href=\"https:\/\/github.com\/jelastic-jps\/glassfish\/blob\/master\/glassfish-cluster\/test-app\/clusterjsp.ear?raw=true\">clusterjsp.ear<\/a> application to your Desktop.<\/p>\n\n\n\n<p><strong>Step 4 <\/strong>\u2013 Next, click on the <strong>Applications<\/strong> section. You should see the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud.png\" alt=\"deploy java ee highly-available applications in the cloud\" class=\"wp-image-36519\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-300x150.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-150x75.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-in-the-cloud-768x384.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"533\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-java-ee-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering.png\" alt=\"\" class=\"wp-image-36521\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-java-ee-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-java-ee-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering-300x156.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-java-ee-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering-150x78.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-java-ee-applications-in-the-cloud-with-glassfish-and-payara-auto-clustering-768x400.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 5<\/strong> \u2013 Here, upload the downloaded <strong>clusterjsp.ear<\/strong> file to the <strong>Packaged File to Be Uploaded to the Server location<\/strong>, provide the application name, enable the availability, set up <strong>cluster1<\/strong> as the application target and click on the <strong>OK<\/strong> button. You should see the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"285\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications.png\" alt=\"deploy java ee highly available applications\" class=\"wp-image-36524\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-300x83.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-150x42.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-highly-available-applications-768x214.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 6<\/strong> \u2013 Now, open your web browser and open the URL http:\/\/glassfish.rosehosting.us\/clusterjsp. You should see the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1022\" height=\"670\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-applications-in-the-cloud-with-glassfish-payara-auto-clustering.png\" alt=\"highly-available applications in the cloud with glassfish payara auto-clustering\" class=\"wp-image-36525\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-applications-in-the-cloud-with-glassfish-payara-auto-clustering.png 1022w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-applications-in-the-cloud-with-glassfish-payara-auto-clustering-300x197.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-applications-in-the-cloud-with-glassfish-payara-auto-clustering-150x98.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/highly-available-applications-in-the-cloud-with-glassfish-payara-auto-clustering-768x503.png 768w\" sizes=\"(max-width: 1022px) 100vw, 1022px\" \/><\/figure>\n\n\n\n<p><strong>Step 7<\/strong> \u2013 Provide session attribute name, value and click on <strong>Add Session Data<\/strong>.<\/p>\n\n\n\n<p><strong>Step 8<\/strong> \u2013 Now, go to the Glassfish admin console and click on the <strong>Clusters &gt; cluster1 &gt; Instances<\/strong> tab. You should see the two cluster instance in the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"451\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-in-the-cloud-with-glassfish-payara-auto-clustering.png\" alt=\"deploy java ee in the cloud with glassfish payara auto-clustering\" class=\"wp-image-36527\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-in-the-cloud-with-glassfish-payara-auto-clustering.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-in-the-cloud-with-glassfish-payara-auto-clustering-300x132.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-in-the-cloud-with-glassfish-payara-auto-clustering-150x66.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/deploy-java-ee-in-the-cloud-with-glassfish-payara-auto-clustering-768x338.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 9<\/strong> \u2013 Select the first instance and click on the <strong>Stop<\/strong> button to stop the instance.<\/p>\n\n\n\n<p><strong>Step 10 <\/strong>\u2013 Now, reload your application at http:\/\/glassfish.rosehosting.us\/clusterjsp. You should see the following page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/java-ee-highly-available-applications-with-glassfish-payara-auto-clustering.png\" alt=\"\" class=\"wp-image-36528\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/java-ee-highly-available-applications-with-glassfish-payara-auto-clustering.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/java-ee-highly-available-applications-with-glassfish-payara-auto-clustering-300x159.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/java-ee-highly-available-applications-with-glassfish-payara-auto-clustering-150x80.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/java-ee-highly-available-applications-with-glassfish-payara-auto-clustering-768x408.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As you can see, your application session being handle by another node and your attribute is still available.<\/p>\n\n\n\n<p>On the Glassfish admin console, click on the <strong>Configurations &gt; cluster1-config &gt; Availability Service<\/strong> to access all replication settings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-payara-auto-clustering-java-ee-application.png\" alt=\"glassfish payara auto-clustering java ee application\" class=\"wp-image-36529\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-payara-auto-clustering-java-ee-application.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-payara-auto-clustering-java-ee-application-300x155.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-payara-auto-clustering-java-ee-application-150x78.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-payara-auto-clustering-java-ee-application-768x398.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As you can see, there are two replication modes (Web Container Availability and EJB Container Availability) available by default.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Cloning-Cluster-for-AB-Testing\"><\/span>Cloning Cluster for A\/B Testing<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In some cases, you may need to make some changes in your application settings for testing purposes or when you release a new application, it is a good idea to clone your environment and verify the newly implemented changes. This will allows you to test your application without any downtime.<\/p>\n\n\n\n<p>On the Glassfish node, click on the <strong>Clone Environment <\/strong>button as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud.png\" alt=\"auto-clustering with glassfish and payara running java ee highly-available applications in the cloud\" class=\"wp-image-36531\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-300x93.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-150x47.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-768x239.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This will create an exact copy of your Glassfish cluster with all nodes as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-1.png\" alt=\"glassfish payara auto-clustering: deploy java ee highly-available applications in the cloud\" class=\"wp-image-36532\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-1.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-1-300x93.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-1-150x47.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/auto-clustering-with-glassfish-and-payara-running-java-ee-highly-available-applications-in-the-cloud-1-768x239.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Of course you don&#8217;t need to install all of this if you use our managed cloud PAAS hosting, in which case you an simply ask one of our system administrators to set up GlassFish &amp; Payara Auto-Clustering: Running Java EE Highly-Available Applications in the Cloud. They are available 24\/7 and always ready to help you out. <\/p>\n\n\n\n<p><strong>PS<\/strong>. If you liked this post, please share it with your friends on the social networks using the buttons below or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Building a highly-available clustered infrastructure is one of the most commonly used solutions to achieve 100% uptime for your application. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#more-36429\" aria-label=\"Read more about Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":36430,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[1894,165,1888,1893],"class_list":["post-36429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rosehosting","tag-auto-clustering","tag-glassfish","tag-high-availability","tag-payara","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud<\/title>\n<meta name=\"description\" content=\"We&#039;ll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud\" \/>\n<meta property=\"og:description\" content=\"We&#039;ll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-21T16:43:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-06T11:10:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud\" \/>\n<meta name=\"twitter:description\" content=\"We&#039;ll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud\",\"datePublished\":\"2021-04-21T16:43:00+00:00\",\"dateModified\":\"2024-03-06T11:10:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/\"},\"wordCount\":755,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg\",\"keywords\":[\"auto clustering\",\"glassfish\",\"high availability\",\"payara\"],\"articleSection\":[\"RoseHosting Platform\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/\",\"name\":\"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg\",\"datePublished\":\"2021-04-21T16:43:00+00:00\",\"dateModified\":\"2024-03-06T11:10:22+00:00\",\"description\":\"We'll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg\",\"width\":742,\"height\":372,\"caption\":\"glassfish and payara auto-clustering: running java ee highly-available applications in the cloud\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud","description":"We'll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/","og_locale":"en_US","og_type":"article","og_title":"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud","og_description":"We'll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.","og_url":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2021-04-21T16:43:00+00:00","article_modified_time":"2024-03-06T11:10:22+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud","twitter_description":"We'll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud","datePublished":"2021-04-21T16:43:00+00:00","dateModified":"2024-03-06T11:10:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/"},"wordCount":755,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg","keywords":["auto clustering","glassfish","high availability","payara"],"articleSection":["RoseHosting Platform"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/","url":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/","name":"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg","datePublished":"2021-04-21T16:43:00+00:00","dateModified":"2024-03-06T11:10:22+00:00","description":"We'll show you how to configure Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/03\/glassfish-and-payara-autod-clustering-running-java-ee-highly-available-applications-in-the-cloud.jpg","width":742,"height":372,"caption":"glassfish and payara auto-clustering: running java ee highly-available applications in the cloud"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/glassfish-and-payara-auto-clustering-running-java-ee-highly-available-applications-in-the-cloud\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Glassfish and Payara Auto-clustering: Running Java EE Highly-available Applications In The Cloud"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/36429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=36429"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/36429\/revisions"}],"predecessor-version":[{"id":48214,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/36429\/revisions\/48214"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/36430"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=36429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=36429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=36429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}