{"id":60839,"date":"2024-03-05T09:00:40","date_gmt":"2024-03-05T08:00:40","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=60839"},"modified":"2024-03-05T09:56:42","modified_gmt":"2024-03-05T08:56:42","slug":"create-a-proxmox-cluster","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/create-a-proxmox-cluster\/","title":{"rendered":"Create a Proxmox cluster"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-60840 size-full\" title=\"create-proxmox-cluster-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-01.jpg\" alt=\"create-proxmox-cluster-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>Compared to VMware, to create a <a href=\"https:\/\/nolabnoparty.com\/en\/install-a-nested-proxmox-in-vmware\/\">Proxmox<\/a> cluster you don't need a dedicated appliance to centralize the management of resources such as CPU, RAM, storage and networking.<\/p>\n<p>The cluster is at the node level and can be <strong>managed by any node<\/strong> since it is a <strong>multimaster cluster<\/strong> (no master-slave nodes).<!--more--><\/p>\n<p>To ensure a <strong>consistent configuration<\/strong> across all cluster nodes (the cluster configuration is <strong>distributed to all nodes<\/strong>), Proxmox uses a <strong>quorum-based voting<\/strong> mechanism leveraging the <strong>Corosync cluster engine<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<h2>Create a Proxmox cluster<\/h2>\n<p>To create a <a href=\"https:\/\/www.proxmox.com\/en\/\" target=\"_blank\" rel=\"noopener\">Proxmox<\/a> cluster you need <strong>two or more ready nodes<\/strong>. It is recommended to add <strong>at least three nodes<\/strong> to the cluster to ensure the correct cluster functionality in case of a node failure. With a two nodes cluster, if a node fails the cluster <strong>loses the quorum<\/strong> (quorum exists if the majority of nodes are online) and switches to <strong>read-only mode<\/strong> affecting the functionality.<\/p>\n<p>Login to the first node and select <strong>Datacenter &gt; Cluster<\/strong>. Click on the <strong>Create Cluster<\/strong> button.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60842 size-large\" title=\"create-proxmox-cluster-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-02-600x306.jpg\" alt=\"create-proxmox-cluster-02\" width=\"600\" height=\"306\" \/><\/p>\n<p>Enter the <strong>Cluster Name<\/strong> and select a link for the <strong>Cluster Network<\/strong>. If you need additional links used as failover, click <strong>Add<\/strong> and specify the required parameters. Click <strong>Create<\/strong> to proceed with cluster creation.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60844 size-large\" title=\"create-proxmox-cluster-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-03-600x202.jpg\" alt=\"create-proxmox-cluster-03\" width=\"600\" height=\"202\" \/><\/p>\n<p>The cluster is being created. Click <strong>X<\/strong> to close the window.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60846 size-large\" title=\"create-proxmox-cluster-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-04-600x376.jpg\" alt=\"create-proxmox-cluster-04\" width=\"600\" height=\"376\" \/><\/p>\n<p>The created Proxmox cluster.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60848 size-large\" title=\"create-proxmox-cluster-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-05-600x191.jpg\" alt=\"create-proxmox-cluster-05\" width=\"600\" height=\"191\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Add cluster members<\/h4>\n<p>Before adding a node to the cluster, make sure <strong>no VMs are running<\/strong> on the node.<\/p>\n<p>To add a node to the cluster you need to <strong>copy the information<\/strong> from the node where the cluster was created. Select <strong>Datacenter &gt; Cluster<\/strong> and click <strong>Join Information<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60850 size-large\" title=\"create-proxmox-cluster-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-06-600x261.jpg\" alt=\"create-proxmox-cluster-06\" width=\"600\" height=\"261\" \/><\/p>\n<p>Click <strong>Copy Information<\/strong>\u00a0and close the window.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60852 size-large\" title=\"create-proxmox-cluster-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-07-600x189.jpg\" alt=\"create-proxmox-cluster-07\" width=\"600\" height=\"189\" \/><\/p>\n<p>Now connect the second node and select <strong>Datacenter &gt; Cluster<\/strong> and click <strong>Join Cluster<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60854 size-large\" title=\"create-proxmox-cluster-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-08-600x220.jpg\" alt=\"create-proxmox-cluster-08\" width=\"600\" height=\"220\" \/><\/p>\n<p>Paste the <strong>Join Information<\/strong> previously copied and type the root password in the <strong>Password<\/strong> field. Click <strong>Join \"cluster_name\"<\/strong> (<em>cluster01<\/em> in the example).<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60856 size-large\" title=\"create-proxmox-cluster-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-09-600x222.jpg\" alt=\"create-proxmox-cluster-09\" width=\"600\" height=\"222\" \/><\/p>\n<p>The node is being added to the cluster.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60858 size-large\" title=\"create-proxmox-cluster-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-10-600x376.jpg\" alt=\"create-proxmox-cluster-10\" width=\"600\" height=\"376\" \/><\/p>\n<p>Refresh the browser and login once again. The cluster now displays the two node members.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60860 size-large\" title=\"create-proxmox-cluster-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-11-600x195.jpg\" alt=\"create-proxmox-cluster-11\" width=\"600\" height=\"195\" \/><\/p>\n<p>Repeat the<strong> same procedure<\/strong> if you have other nodes to add to the cluster. In the example, three nodes have been added to the cluster.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60862 size-large\" title=\"create-proxmox-cluster-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/02\/create-proxmox-cluster-12-600x209.jpg\" alt=\"create-proxmox-cluster-12\" width=\"600\" height=\"209\" \/><\/p>\n<p>Once the cluster configuration is complete, you can <strong>migrate the installed VMs<\/strong> to the available nodes.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Compared to VMware, to create a Proxmox cluster you don't need a dedicated appliance to centralize the management of resources such as CPU, RAM, storage and networking. The cluster is at the node level and can be managed by any node since it is a multimaster cluster (no master-slave nodes).<\/p>\n","protected":false},"author":3,"featured_media":60840,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"yes","rop_publish_now_accounts":{"facebook_2879994398731222_234218296615646":"","twitter_113568041_113568041":"","linkedin_93tdZWzMZc_93tdZWzMZc":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[2798],"tags":[2063,962,2799,2795],"class_list":["post-60839","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-proxmox-en","tag-cluster-en","tag-hypervisor-en","tag-nodes","tag-proxmox","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/60839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=60839"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/60839\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/60840"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=60839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=60839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=60839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}