{"id":8446,"date":"2022-09-02T11:12:33","date_gmt":"2022-09-02T11:12:33","guid":{"rendered":"https:\/\/clustercs.com\/kb\/?docs=docly-documentation\/high-availability-clustering"},"modified":"2022-09-19T10:38:05","modified_gmt":"2022-09-19T10:38:05","slug":"how-to-make-a-ha-cluster-with-clustercs","status":"publish","type":"docs","link":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/","title":{"rendered":"High Availability Clustering"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>The defining feature of ClusterCS is creating and managing High Availability Clusters. All while offering a simple, friendly interface in the Control Panel.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png\"><img decoding=\"async\" src=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>Adding a Cluster will welcome you with the same interface as adding a Single Server. Here, you have to give credentials of every single server, you want to be part of it, and after ClusterCS check the credentials, you can add it to your cluster:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster2.png\"><img decoding=\"async\" src=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster2.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>You can also add previously tested servers from the same screen, if you scroll lower:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster3-1024x297.png\"><img decoding=\"async\" src=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster3-1024x297.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>After you add all your servers to your cluster, you can click \u201cContinue to setup\u201d. Here is an example of a well-balanced one. Your setup may differ, according to your preferences, and this is what\u2019s great about ClusterCS: the flexibility of setups, to accommodate every need.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster4-1024x238.png\"><img decoding=\"async\" src=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster4-1024x238.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>I will explain the names and modules chosen for each server:<\/p>\n\n\n\n<p><strong>lb&nbsp;\u2013&nbsp;<\/strong>Load balancer, its job is to sort the requests and send them to the right server<\/p>\n\n\n\n<p><strong>db \u2013&nbsp;<\/strong>Database, it will keep the databases and also execute the mySQL queries<\/p>\n\n\n\n<p><strong>st \u2013&nbsp;<\/strong>Storage, it has all the domain files<\/p>\n\n\n\n<p><strong>work \u2013&nbsp;<\/strong>One of the dedicated workers, which serves the actual web content (html\/php\/etc.)<\/p>\n\n\n\n<p>The layers are already set up using \u201coptimised LAMP\u201d, our recipe&nbsp;of choice for HA Clusters (And even single servers) that specialize in serving web content. Remember, you should assign each layer to the corresponding server(s) by clicking \u201cManage\u201d.<\/p>\n\n\n\n<p><strong>Firewall \u2013&nbsp;<\/strong>All servers need a strong firewall, no matter their role, so I chose this for all of them<\/p>\n\n\n\n<p><strong>Smart Traffic Manager \u2013&nbsp;<\/strong>Only on&nbsp;<strong>lb<\/strong><\/p>\n\n\n\n<p><strong>Webserver \u2013&nbsp;<\/strong>The worker(s) needs this layer, as it is the only one serving actual web content<\/p>\n\n\n\n<p><strong>Database \u2013&nbsp;<\/strong>Only on db, the others will connect to it<\/p>\n\n\n\n<p><strong>Email \u2013&nbsp;<\/strong>You can have it on any server, it is up to you.<\/p>\n\n\n\n<p><strong>Webmail &amp; Utilities \u2013&nbsp;<\/strong>work, as they do require the apache module to run<\/p>\n\n\n\n<p><strong>Storage \u2013&nbsp;<\/strong>st, this is the main storage for the domains<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster5-1024x774.png\"><img decoding=\"async\" src=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster5-1024x774.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster6.png\"><img decoding=\"async\" src=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster6.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>You can now continue your setup. It takes about 20 minutes for your HA Cluster to have everything installed and be ready for work!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The defining feature of ClusterCS is creating and managing High Availability Clusters. All while offering a simple, friendly interface in the Control Panel. Adding a Cluster will welcome you with the same interface as adding a Single Server. Here, you have to give credentials of every single server, you want to be part of it, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2563,"menu_order":7,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-8446","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>High Availability Clustering - ClusterCS Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"High Availability Clustering - ClusterCS Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"The defining feature of ClusterCS is creating and managing High Availability Clusters. All while offering a simple, friendly interface in the Control Panel. Adding a Cluster will welcome you with the same interface as adding a Single Server. Here, you have to give credentials of every single server, you want to be part of it, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/\" \/>\n<meta property=\"og:site_name\" content=\"ClusterCS Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-19T10:38:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/\",\"url\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/\",\"name\":\"High Availability Clustering - ClusterCS Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\/\/clustercs.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png\",\"datePublished\":\"2022-09-02T11:12:33+00:00\",\"dateModified\":\"2022-09-19T10:38:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#primaryimage\",\"url\":\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png\",\"contentUrl\":\"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/clustercs.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ClusterCS Documentation\",\"item\":\"https:\/\/clustercs.com\/kb\/docs\/clustercs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"High Availability Clustering\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/clustercs.com\/kb\/#website\",\"url\":\"https:\/\/clustercs.com\/kb\/\",\"name\":\"ClusterCS Knowledge Base\",\"description\":\"Welcome to ClusterCS Documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/clustercs.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"High Availability Clustering - ClusterCS Knowledge Base","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:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/","og_locale":"en_US","og_type":"article","og_title":"High Availability Clustering - ClusterCS Knowledge Base","og_description":"The defining feature of ClusterCS is creating and managing High Availability Clusters. All while offering a simple, friendly interface in the Control Panel. Adding a Cluster will welcome you with the same interface as adding a Single Server. Here, you have to give credentials of every single server, you want to be part of it, [&hellip;]","og_url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/","og_site_name":"ClusterCS Knowledge Base","article_modified_time":"2022-09-19T10:38:05+00:00","og_image":[{"url":"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/","url":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/","name":"High Availability Clustering - ClusterCS Knowledge Base","isPartOf":{"@id":"https:\/\/clustercs.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#primaryimage"},"image":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#primaryimage"},"thumbnailUrl":"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png","datePublished":"2022-09-02T11:12:33+00:00","dateModified":"2022-09-19T10:38:05+00:00","breadcrumb":{"@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#primaryimage","url":"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png","contentUrl":"https:\/\/clustercs.com\/oldkb\/wp-content\/uploads\/2018\/11\/HAcluster1-1024x236.png"},{"@type":"BreadcrumbList","@id":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/how-to-make-a-ha-cluster-with-clustercs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/clustercs.com\/kb\/"},{"@type":"ListItem","position":2,"name":"ClusterCS Documentation","item":"https:\/\/clustercs.com\/kb\/docs\/clustercs\/"},{"@type":"ListItem","position":3,"name":"High Availability Clustering"}]},{"@type":"WebSite","@id":"https:\/\/clustercs.com\/kb\/#website","url":"https:\/\/clustercs.com\/kb\/","name":"ClusterCS Knowledge Base","description":"Welcome to ClusterCS Documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/clustercs.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/comments?post=8446"}],"version-history":[{"count":1,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8446\/revisions"}],"predecessor-version":[{"id":8725,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/8446\/revisions\/8725"}],"up":[{"embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/docs\/2563"}],"wp:attachment":[{"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/media?parent=8446"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/clustercs.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=8446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}