{"id":2563,"date":"2020-10-21T12:15:03","date_gmt":"2020-10-21T10:15:03","guid":{"rendered":"https:\/\/tech.lobobrothers.com\/proxmox-and-ceph-from-0-to-100-part-iv\/"},"modified":"2025-08-27T12:30:01","modified_gmt":"2025-08-27T10:30:01","slug":"proxmox-and-ceph-from-0-to-100-part-iv","status":"publish","type":"post","link":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/","title":{"rendered":"Proxmox and Ceph from 0 to 100 Part IV"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2563\" class=\"elementor elementor-2563 elementor-1797\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-65d6287 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"65d6287\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7082610a\" data-id=\"7082610a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7a7d7b76 elementor-widget elementor-widget-text-editor\" data-id=\"7a7d7b76\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><\/p>\n<h2>VM and Container Creation in HA<\/h2>\n<p>In this post &#8220;Proxmox and Ceph from 0 to 100 part IV&#8221;, we will see how to create a virtual machine and a container in high availability.<\/p>\n<p>Each type of storage will allow some features or others, if we go to our cluster in the storage section we will see which ones we have available and for what purpose.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1805 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-42-en-1024x174.png\" alt=\"proxmox storage\" width=\"800\" height=\"136\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-42-en-1024x174.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-42-en-300x51.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-42-en-768x130.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-42-en-1536x260.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-42-en-700x119.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-42-en.png 1911w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>As we can see we have our Pool1 that allows us Disk image and containers, local VZdump backup files, ISO image, Container templates and local-lvm Disk image and container. Depending on the type of storage, if we click on edit it will allow us to select one end or several for the storage. For example the local<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1808 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-41-en-1024x433.png\" alt=\"proxmox storage content types\" width=\"800\" height=\"338\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-41-en-1024x433.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-41-en-300x127.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-41-en-768x324.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-41-en-700x296.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-41-en.png 1529w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>It allows us to use it for any purpose, while Pool1 and LVM-thin will only allow us Disk Image and Container.<\/p>\n<p>Therefore to be able to store an ISO we only have the local one, where the local storage in this lab is not very big and a Windows ISO for example would not fit, for that we would need to add another type of storage that allows us bigger. In this lab we will download an ISO in PVE1 and a Template in PVE2.<\/p>\n<p>To load the ISO we have 2 options, by the gui or connect to the console and use for example wget, the latter will generally be the fastest, since our CPD will have more download bandwidth than the upload that we can provide with our line.<\/p>\n<p>By the GUI we will go to our storage and in content we will have 2 options, Templates and Upload, if we click on Upload we will get a drop down to see if we want to upload a template or an ISO Image, we would select the file and click on upload.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1876 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-20-en.png\" alt=\"proxmox load iso into storage\" width=\"710\" height=\"428\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-20-en.png 710w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-20-en-300x181.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-20-en-700x422.png 700w\" sizes=\"(max-width: 710px) 100vw, 710px\" \/><\/p>\n<p>This is very simple, but as I indicate, slower and that you do not have to upload it again because it has been cut. The best method is by console, we go to the storage mount point, in this case \/var\/lib\/vz\/ and inside it to the template\/iso directory, that is,<\/p>\n<p style=\"padding-left: 40px;\">cd \/var\/lib\/vz\/template\/iso<\/p>\n<p>Now for example to have the ISO of Debian 10 minimal, we type<\/p>\n<p style=\"padding-left: 40px;\">wget https:\/\/cdimage.debian.org\/debian-cd\/current\/amd64\/iso-cd\/debian-13.0.0-amd64-netinst.iso<\/p>\n<p>Once finished we will have our ISO in that storage and we will be able to use it to create a machine in the node where we have downloaded the ISO, you would have to make this process in the node where you want to install the machine using local storage, you can also have a node with the ISOS in local and then move the machine when it is finished to another node expelling that ISO of the virtual machine, the most comfortable thing would be a storage for the ISO NFS or CIFS for example, and this way to be able to have them from any node.<\/p>\n<p>Regarding the Templates or Template Upload section, it refers to Container Templates. Proxmox besides putting at your disposal several templates also offers you to download those of Turnkey directly. If we go to the local storage, now of PVE2 since in the one we have the Debian ISO and we do not have much space, if we click on Templates we will see all the templates that we can download.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1877 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-19-en-1024x619.png\" alt=\"proxmox templates lxc\" width=\"800\" height=\"484\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-19-en-1024x619.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-19-en-300x181.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-19-en-768x464.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-19-en-700x423.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-19-en.png 1249w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>We select the one we want and click on Download. Now we have our ISO and our template to deploy a VM and a TC.<\/p>\n<p>Once we have the ISOs we will go to cluster\/Permissions\/Pools and we will create a Pool with the name VirtualMachine and another Containers. What is it for? This will allow us to assign VM or TC to a pool in the creation, imagine we have 2, one for VM and another one for TC, then we can create a user that only has permissions on the VM, another one on the TC and another one on both, this gives us flexibility to delegate. It will also allow us to see the resources by groups in the GUI.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1880 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-18-en-1024x481.png\" alt=\"proxmox view by pools\" width=\"800\" height=\"376\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-18-en-1024x481.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-18-en-300x141.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-18-en-768x361.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-18-en-700x329.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-18-en.png 1067w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>The next step would be to create an HA group in Cluster\/HA\/Groups that we will then assign to the machines and containers, we can define several HA groups, depending on our needs or divisions in the infrastructure. We click on create<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1846 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-28-en.png\" alt=\"proxmox create ha group\" width=\"604\" height=\"498\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-28-en.png 604w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-28-en-300x247.png 300w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>ID we put an identifying name for us.<\/p>\n<p>Restricted, if we check this box the VM or CT associated in this HA group will only be able to start in this group, if all the nodes of the group are down it will not wake up until there is one available. If we leave it unchecked and the nodes of the group are down they will go to another available group until there is an available node of the group to which it belongs and move that machine to its group.<\/p>\n<p>Nofailback activated tries to run services on the node with the highest priority, that is, if a node with higher priority is connected, the service will be migrated to that node.<\/p>\n<p>And finally we have the nodes that we want to assign to the HA group and if we want to give priority or not.<\/p>\n<p>Also if you remember in the first post we installed a third card for the network of the machines which we will proceed to configure. In each node we go to System\/Network\/Create\/Linux Bridge, where we only need to give it a name, check automatic start, which is our physical bridge card and a comment to identify it.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1864 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-22-en.png\" alt=\"proxmox create linux bridge\" width=\"601\" height=\"329\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-22-en.png 601w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-22-en-300x164.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/p>\n<p>We click on create and as we installed ifupdown2 we can click on Apply Configuration above without the need to restart the nodes.<\/p>\n<p>Let&#8217;s move on to create our machine, we click on the top right on the blue button Create VM and we will get the first creation screen<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1882 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-17-en.png\" alt=\"proxmox create virtual machine\" width=\"701\" height=\"510\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-17-en.png 701w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-17-en-300x218.png 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>We select the node, the id that we want to give to the machine by default starts at 100, a name and the set of resources where the pools that we created in the permissions part will appear.<\/p>\n<p>We check the Advanced checkbox so that we can see the lower options. If we want or not to start at node startup, if we want to give a Startup\/Shutdown order, this is very interesting when we have critical and non-critical machines prioritizing our service. If we prioritize the non-critical ones we put a Startup Delay so that the critical ones have more resources at startup.<\/p>\n<p>In the next screen we choose the OS, there is not much to explain, it is very intuitive.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1883 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-16-en.png\" alt=\"proxmox create virtual machine operating system configuration\" width=\"697\" height=\"511\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-16-en.png 697w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-16-en-300x220.png 300w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/p>\n<p>We continue and we will have System, this part is quite extensive to explain in a post because it will depend a little of each machine, the only thing we will do is to activate Qemu Agent that will be used to exchange information between the host and the machine, in the help is all very well explained, any doubt comment us and we will help you.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1854 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-26-en.png\" alt=\"proxmox create virtual machine system configuration\" width=\"701\" height=\"503\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-26-en.png 701w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-26-en-300x215.png 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>The disk part is also very extensive but if we explain that as a general rule, VirtIO Block with Write back has a very good performance and very important, the format, as you can see in the following image is disabled because it will use RBD Format 2. This allows us for example cloning and snapshot, in file-based storage only the qcow2 format will allow us the snapshot functionality. Important also the Backup checkbox, if it is unchecked as in the image when we create a backup task this disk will not include it, the same with the Replication checkbox but on the contrary, if we check it it will not include it.<\/p>\n<p>Regarding the rest of the options they are quite intuitive but they are also explained in the help.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1856 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-25-en.png\" alt=\"proxmox create virtual machine hard disk configuration\" width=\"697\" height=\"508\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-25-en.png 697w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-25-en-300x219.png 300w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/p>\n<p>We move to the CPU, where we already have options to bore and everything will depend on our scenario, as I say this look at the help and if you have questions or any problems ask us.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1859 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-24-en.png\" alt=\"proxmox create virtual machine cpu configuration\" width=\"703\" height=\"506\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-24-en.png 703w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-24-en-300x216.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-24-en-700x504.png 700w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><\/p>\n<p>Regarding memory, we have the option to assign a fixed memory or to do Ballooning, this will depend on what we are going to mount. The Sharing check box will allow us to give more priority over other machines if we increase the default value 1000 when we activate Ballooning.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1861 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-23-en.png\" alt=\"proxmox create virtual machine memory configuration\" width=\"704\" height=\"514\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-23-en.png 704w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-23-en-300x219.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-23-en-700x511.png 700w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/p>\n<p>Finally before confirming we must configure the network by selecting our VM network and CT, in this section comment that depending on the system you will need to play with them to get a good performance, as a general rule VirtIO works very well but for example in FreeBSD is problematic.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1868 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-21-en.png\" alt=\"proxmox create virtual machine network configuration\" width=\"701\" height=\"510\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-21-en.png 701w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-21-en-300x218.png 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>Click on Next, select Start after created and Finish.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1884 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-15-en.png\" alt=\"proxmox confirm virtual machine creation\" width=\"701\" height=\"512\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-15-en.png 701w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-15-en-300x219.png 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>Once the machine is booted, we select it, go to console and install the operating system. In this case being a Debian 10 when we finish we will install the qemu agent to be able to have that information exchange between host and virtual machine with:<\/p>\n<p style=\"padding-left: 40px;\">apt install qemu-guest-agent<\/p>\n<p style=\"padding-left: 40px;\">systemctl start qemu-guest-agent<\/p>\n<p>In Windows there are more steps to perform, we would download the latest ISO of Windows VirtIO Drivers in our ISO storage. We would mount the ISO in the DVD, look for qemu-ga-x86_64.msi or qemu-ga-i386.msi in the guest-agent directory and install it.<\/p>\n<p>Perfect, we repeat the steps for the TC but with some difference, since we will not have to define hardware when running on the host. We click on the blue button on the top right side Create TC.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1887 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-14-en.png\" alt=\"proxmox create lxc container\" width=\"702\" height=\"514\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-14-en.png 702w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-14-en-300x220.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-14-en-700x513.png 700w\" sizes=\"(max-width: 702px) 100vw, 702px\" \/><\/p>\n<p>As we can see this first part is a bit different. We have selected PVE2 which is where we have our template stored locally, we have given it an id and name, assigned it to the Containers pool and set our root pass to the container, we can also load an SSH key.<\/p>\n<p>Next in Template we select local and our template, click next, we go to Disk root<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1890 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-13-en.png\" alt=\"proxmox create lxc container hard disk configuration\" width=\"701\" height=\"511\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-13-en.png 701w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-13-en-300x219.png 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>Here we will select the storage and size, mount flags such as noexec to prevent execution of binaries, ACLs which allows us to set a more detailed file ownership than the traditional user \/ group \/ other model and skip replication which is the same as in the VMs.<\/p>\n<p>Next would be the CPU where there is not much to explain if you read the documentation when you created the Virtual Machine so we move to the memory where we find the memory and the size of the swap partition where depending on the memory and container type we will assign a size or another below 1 GB always put the same amount of SWAP. As you will observe here there is no Ballooning since the containers unlike the machines do not have reserved memory, that is to say, if we put 4 GB and it is consuming 512MB the rest will be available for the cluster, in the Virtual machines if we put at least 2GB that memory is reserved even if it is not used.<\/p>\n<p>The next step would be the network where we will have to assign our configuration either with fixed or static ips, normally we will use static ips in production. As we are using a virtualbox network I assign an ip of that network. They also have the option of VLAN tagging and limitation.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1893 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-12-en.png\" alt=\"proxmox create lxc container network configuration\" width=\"701\" height=\"509\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-12-en.png 701w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-12-en-300x218.png 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/p>\n<p>Finally the DNS if you want to use other than the host&#8217;s own and Confirm<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1894 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-11-en.png\" alt=\"proxmox confirm lxc container creation\" width=\"699\" height=\"509\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-11-en.png 699w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-11-en-300x218.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/p>\n<p>After a few minutes we will have in this case a fully functional Jenkins without installing operating system, nginx, jenkins, only in the first boot you may be asked for some data as in the case of Jenkins that will ask you to put a password for the jenkins-admin, for example. A brutal time saving, although a double-edged sword because then when you want to mount a Jenkins in a virtual machine and you do not remember and all the time you gained with the containers you will spend on raising a Jenkins hahaha, just kidding.<\/p>\n<p>Once we have our machines we need to add it to the HA group that we created earlier, for this we have 2 options, select the machine and on the right in More select Manage high availability.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1901 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-9-en-1024x221.png\" alt=\"proxmox manage ha\" width=\"800\" height=\"173\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-9-en-1024x221.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-9-en-300x65.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-9-en-768x166.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-9-en-1536x332.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-9-en-700x151.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-9-en.png 1915w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>The following screen will appear<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1902 size-full\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-8-en.png\" alt=\"proxmox add resource to ha\" width=\"605\" height=\"226\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-8-en.png 605w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-8-en-300x112.png 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>Max Restart is the maximum number of attempts to restart a failed service on the current node.<\/p>\n<p>Max Relocate is the number of attempts to relocate the service to a different node, this will only occur when the Max Restart value is exceeded.<\/p>\n<p>The HA group to which we are going to associate the service, in this case the one we created previously PVE1-2-3.<\/p>\n<p>Finally the Request size where we have the following options.<\/p>\n<p>started: It tries to start the service and it will mark it as started if it is successful or in error if after the established parameters it has not been able to start the service in another node. The latter will happen for example, if we use the Backup, if the fall occurs during the backup HA can not lift the service on another node because it is blocked by the backup, you would have to unlock the machine by console manually with qm unlock id-machine.<\/p>\n<p>stopped: will leave the resource in stopped state but will migrate it to another node.<\/p>\n<p>disabled: it will leave the resource in a stopped state and will not migrate it to another node.<\/p>\n<p>ignored: the resource is removed from the administrator state and all API calls to this resource will be executed without going directly through the HA stack.<\/p>\n<p>So to keep the service up, we select started and click on add.<\/p>\n<p>The other place to add resources in HA would be in Cluster\/HA by clicking on Add.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1904 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-7-en-1024x248.png\" alt=\"other site ha configuration\" width=\"800\" height=\"194\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-7-en-1024x248.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-7-en-300x73.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-7-en-768x186.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-7-en-1536x372.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-7-en-700x169.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-7-en.png 1914w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>The same configuration window will appear, select our container, configure it and we will have both resources in HA.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1906 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-6-en-1024x165.png\" alt=\"proxmox ha resources\" width=\"800\" height=\"129\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-6-en-1024x165.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-6-en-300x48.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-6-en-768x123.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-6-en-1536x247.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-6-en-700x113.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-6-en.png 1711w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>In Proxmox we can do HA simulation with pve-ha-simulator, for this we need to uncomment the repository we added pve-no-subscription in \/etc\/apt\/sources.list removing the hash at the beginning in<\/p>\n<p style=\"padding-left: 40px;\">deb http:\/\/download.proxmox.com\/debian\/pve buster pve-no-subscription<\/p>\n<p>We save and perform<\/p>\n<p style=\"padding-left: 40px;\">apt update<\/p>\n<p style=\"padding-left: 40px;\">apt install pve-ha-simulator xauth<\/p>\n<p>Once installed in \/root for example we create the hasimulator directory<\/p>\n<p style=\"padding-left: 40px;\">mkdir hasimulator<\/p>\n<p>In order to execute this command we must redirect the X11, hence we have installed the xauth package, so we connect to the node via ssh with<\/p>\n<p style=\"padding-left: 40px;\">ssh root@pve1 -Y<\/p>\n<p>(on Windows you can use MobaXterm ) and run<\/p>\n<p style=\"padding-left: 40px;\">pve-ha-simulator hasimulator\/<\/p>\n<p>The following window appears.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1917 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-5-en-1024x559.png\" alt=\"proxmox simulator ha\" width=\"800\" height=\"437\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-5-en-1024x559.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-5-en-300x164.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-5-en-768x419.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-5-en-700x382.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-5-en.png 1537w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>We eliminate the ones with the red X and add our vm and CT, turn on the nodes above and we will have the following look<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1918 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-4-en-1024x556.png\" alt=\"proxmox configure simulator ha\" width=\"800\" height=\"434\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-4-en-1024x556.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-4-en-300x163.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-4-en-768x417.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-4-en-700x380.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-4-en.png 1537w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>Now we can start testing without fear to check our configuration as this will only simulate not execute any command in Proxmox, for example we turn off node 1 and observe the whole process that would have made our platform to this event.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1921 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-3-en-1024x554.png\" alt=\"proxmox processes simulator ha\" width=\"800\" height=\"433\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-3-en-1024x554.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-3-en-300x162.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-3-en-768x415.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-3-en-700x379.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-3-en.png 1533w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>As we can see in the log it tells us everything that has been done before the fall of node 1 migrating the vm with id 100 to node 3. You can do all the simulations you need to see how your cluster would behave according to the configurations.<\/p>\n<p>You can do the same by shutting down one of the virtual machines to see how HA and CEPH behave.<\/p>\n<p>We are going to shut down the vm of the PVE2 node as if it had fallen suddenly, simply in VirtualBox we click on the x of the window and shut down and we will observe in our platform how the CT 101 raises it in another node, in this case in the PVE3.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1923 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-2-en-1024x370.png\" alt=\"proxmox ha dashboard\" width=\"800\" height=\"289\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-2-en-1024x370.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-2-en-300x108.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-2-en-768x278.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-2-en-1536x555.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-2-en-700x253.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-2-en.png 1914w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>If we now shut down PVE3 we will see that it can no longer do anything because we have lost access to ceph and there is no quorum in PVE1 so we will see all machines shut down and Pool1 with interrogation on all 3 nodes.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1924 size-large\" src=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-1-en-1024x370.png\" alt=\"proxmox ha status\" width=\"800\" height=\"289\" srcset=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-1-en-1024x370.png 1024w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-1-en-300x108.png 300w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-1-en-768x277.png 768w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-1-en-1536x555.png 1536w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-1-en-700x253.png 700w, https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2020\/10\/proxmox-1-en.png 1919w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>If we turn on the other 2 nodes again we will see how everything is recovered automatically without losing any data from the machines since there is only one replica of them and ceph blocks the access, keeping an intact copy of the data and avoiding damage to the only one left. But patience because in this lab with the resources we have it will take a while.<\/p>\n<p>As always a pleasure, we will finish this series of post with Backups and some useful commands of the day to day. If you want to purchase any of the licenses please contact us, we are a Proxmox partner.<\/p>\n<p>TL.<\/p>\n<p><\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5d2fc8f elementor-widget elementor-widget-heading\" data-id=\"5d2fc8f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">FAQS<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-477e722 elementor-widget elementor-widget-toggle\" data-id=\"477e722\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"toggle.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle\">\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-7491\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-7491\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">How to download and manage container templates in Proxmox?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-7491\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-7491\"><p>Proxmox offers a variety of container templates that can be downloaded directly from the web interface. To do so, go to a storage configured for templates, select &#8220;Content&#8221; and then &#8220;Templates&#8221;. From there, you can choose and download the templates you need or upload your own. These templates make it easy to quickly create containers with predefined configurations.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-7492\" class=\"elementor-tab-title\" data-tab=\"2\" role=\"button\" aria-controls=\"elementor-tab-content-7492\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">How to configure High Availability (HA) groups in Proxmox?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-7492\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"region\" aria-labelledby=\"elementor-tab-title-7492\"><p>To set up HA groups in Proxmox, navigate to \u201cCluster\u201d &gt; \u201cHA\u201d &gt; \u201cGroups\u201d and create a new group according to your needs. These groups allow you to define high availability policies for virtual machines and containers, ensuring that in the event of a node failure, workloads are automatically migrated to other available nodes in the cluster.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-7493\" class=\"elementor-tab-title\" data-tab=\"3\" role=\"button\" aria-controls=\"elementor-tab-content-7493\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">Can VMs and containers be automatically backed up in Proxmox?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-7493\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"region\" aria-labelledby=\"elementor-tab-title-7493\"><p>Yes, Proxmox includes a tool that allows you to schedule automatic backups of entire VMs or CTs. They can be stored in storage configured for backups. If you need more advanced features you can deploy Proxmox Backup Server (PBS).<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-toggle-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-7494\" class=\"elementor-tab-title\" data-tab=\"4\" role=\"button\" aria-controls=\"elementor-tab-content-7494\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon elementor-toggle-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-closed\"><svg class=\"e-font-icon-svg e-fas-caret-right\" viewBox=\"0 0 192 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-toggle-icon-opened\"><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-toggle-title\" tabindex=\"0\">What is Proxmox Backup Server?<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t\t\t\t<div id=\"elementor-tab-content-7494\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"region\" aria-labelledby=\"elementor-tab-title-7494\"><p>Proxmox Backup Server is an enterprise-grade backup tool designed for the protection and recovery of virtual machines, containers, and physical servers. With support for incremental backups and advanced deduplication, it optimizes storage usage and minimizes bandwidth consumption. It also incorporates robust encryption and integrity verification mechanisms, ensuring data security even when stored in low-trust locations.<\/p>\n<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<script type=\"application\/ld+json\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"How to download and manage container templates in Proxmox?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Proxmox offers a variety of container templates that can be downloaded directly from the web interface. To do so, go to a storage configured for templates, select &#8220;Content&#8221; and then &#8220;Templates&#8221;. From there, you can choose and download the templates you need or upload your own. These templates make it easy to quickly create containers with predefined configurations.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"How to configure High Availability (HA) groups in Proxmox?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>To set up HA groups in Proxmox, navigate to \\u201cCluster\\u201d &gt; \\u201cHA\\u201d &gt; \\u201cGroups\\u201d and create a new group according to your needs. These groups allow you to define high availability policies for virtual machines and containers, ensuring that in the event of a node failure, workloads are automatically migrated to other available nodes in the cluster.<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"Can VMs and containers be automatically backed up in Proxmox?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Yes, Proxmox includes a tool that allows you to schedule automatic backups of entire VMs or CTs. They can be stored in storage configured for backups. If you need more advanced features you can deploy Proxmox Backup Server (PBS).<\\\/p>\\n\"}},{\"@type\":\"Question\",\"name\":\"What is Proxmox Backup Server?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"<p>Proxmox Backup Server is an enterprise-grade backup tool designed for the protection and recovery of virtual machines, containers, and physical servers. With support for incremental backups and advanced deduplication, it optimizes storage usage and minimizes bandwidth consumption. It also incorporates robust encryption and integrity verification mechanisms, ensuring data security even when stored in low-trust locations.<\\\/p>\\n\"}}]}<\/script>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>VM and Container Creation in HA In this post &#8220;Proxmox and Ceph from 0 to 100 part IV&#8221;, we will see how to create a virtual machine and a container in high availability. Each type of storage will allow some features or others, if we go to our cluster in the storage section we will [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2569,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,49,50],"tags":[],"class_list":["post-2563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-infraestructures","category-linux-world","category-open-source"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Proxmox and Ceph from 0 to 100 Part IV - LBT<\/title>\n<meta name=\"description\" content=\"In this post Proxmox and Ceph from 0 to 100 part IV, we will see the creation of a vm and a container in HA, also performing .....\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Proxmox and Ceph from 0 to 100 Part IV - LBT\" \/>\n<meta property=\"og:description\" content=\"In this post Proxmox and Ceph from 0 to 100 part IV, we will see the creation of a vm and a container in HA, also performing .....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog sobre linux y el mundo opensource\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/LoboBrothers\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-21T10:15:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-27T10:30:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TL\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TL\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"19 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/\"},\"author\":{\"name\":\"TL\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\"},\"headline\":\"Proxmox and Ceph from 0 to 100 Part IV\",\"datePublished\":\"2020-10-21T10:15:03+00:00\",\"dateModified\":\"2025-08-27T10:30:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/\"},\"wordCount\":3002,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp\",\"articleSection\":[\"Cloud Infraestructures\",\"Linux World\",\"Open Source\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/\",\"name\":\"Proxmox and Ceph from 0 to 100 Part IV - LBT\",\"isPartOf\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp\",\"datePublished\":\"2020-10-21T10:15:03+00:00\",\"dateModified\":\"2025-08-27T10:30:01+00:00\",\"description\":\"In this post Proxmox and Ceph from 0 to 100 part IV, we will see the creation of a vm and a container in HA, also performing .....\",\"breadcrumb\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp\",\"width\":1920,\"height\":1280,\"caption\":\"Metro 2199831_1920\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/tech.lobobrothers.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Proxmox and Ceph from 0 to 100 Part IV\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#website\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"name\":\"Tech LBT\",\"description\":\"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad\",\"publisher\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#organization\",\"name\":\"Lobo Brothers Technology\",\"url\":\"https:\/\/tech.lobobrothers.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"contentUrl\":\"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png\",\"width\":110,\"height\":50,\"caption\":\"Lobo Brothers Technology\"},\"image\":{\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/LoboBrothers\/\",\"https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb\",\"name\":\"TL\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g\",\"caption\":\"TL\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Proxmox and Ceph from 0 to 100 Part IV - LBT","description":"In this post Proxmox and Ceph from 0 to 100 part IV, we will see the creation of a vm and a container in HA, also performing .....","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:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/","og_locale":"en_US","og_type":"article","og_title":"Proxmox and Ceph from 0 to 100 Part IV - LBT","og_description":"In this post Proxmox and Ceph from 0 to 100 part IV, we will see the creation of a vm and a container in HA, also performing .....","og_url":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/","og_site_name":"Blog sobre linux y el mundo opensource","article_publisher":"https:\/\/www.facebook.com\/LoboBrothers\/","article_published_time":"2020-10-21T10:15:03+00:00","article_modified_time":"2025-08-27T10:30:01+00:00","og_image":[{"width":1920,"height":1280,"url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp","type":"image\/jpeg"}],"author":"TL","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TL","Est. reading time":"19 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#article","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/"},"author":{"name":"TL","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb"},"headline":"Proxmox and Ceph from 0 to 100 Part IV","datePublished":"2020-10-21T10:15:03+00:00","dateModified":"2025-08-27T10:30:01+00:00","mainEntityOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/"},"wordCount":3002,"commentCount":0,"publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp","articleSection":["Cloud Infraestructures","Linux World","Open Source"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/","url":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/","name":"Proxmox and Ceph from 0 to 100 Part IV - LBT","isPartOf":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage"},"thumbnailUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp","datePublished":"2020-10-21T10:15:03+00:00","dateModified":"2025-08-27T10:30:01+00:00","description":"In this post Proxmox and Ceph from 0 to 100 part IV, we will see the creation of a vm and a container in HA, also performing .....","breadcrumb":{"@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#primaryimage","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2021\/07\/metro-2199831_1920.jpg.webp","width":1920,"height":1280,"caption":"Metro 2199831_1920"},{"@type":"BreadcrumbList","@id":"https:\/\/tech.lobobrothers.com\/en\/proxmox-and-ceph-from-0-to-100-part-iv\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/tech.lobobrothers.com\/en\/"},{"@type":"ListItem","position":2,"name":"Proxmox and Ceph from 0 to 100 Part IV"}]},{"@type":"WebSite","@id":"https:\/\/tech.lobobrothers.com\/en\/#website","url":"https:\/\/tech.lobobrothers.com\/en\/","name":"Tech LBT","description":"Como apasionados de la tecnolog\u00eda y amantes del open source creamos este blog con art\u00edculos interesantes obre linux, cloud, open source, criptomonedas y ciberseguridad","publisher":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tech.lobobrothers.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/tech.lobobrothers.com\/en\/#organization","name":"Lobo Brothers Technology","url":"https:\/\/tech.lobobrothers.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","contentUrl":"https:\/\/tech.lobobrothers.com\/wp-content\/uploads\/2019\/06\/logo_red.png","width":110,"height":50,"caption":"Lobo Brothers Technology"},"image":{"@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/LoboBrothers\/","https:\/\/www.linkedin.com\/company\/lobobrothers\/about\/?viewAsMember=true"]},{"@type":"Person","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/11c359ab9896aa196007651fa6208beb","name":"TL","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tech.lobobrothers.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a2d3b9e0b67bd28fe8248346c09cbe07?s=96&d=mm&r=g","caption":"TL"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/2563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/comments?post=2563"}],"version-history":[{"count":8,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/2563\/revisions"}],"predecessor-version":[{"id":8533,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/posts\/2563\/revisions\/8533"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media\/2569"}],"wp:attachment":[{"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/media?parent=2563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/categories?post=2563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.lobobrothers.com\/en\/wp-json\/wp\/v2\/tags?post=2563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}