Exploring Proxmox And Ceph And How To Do Live Migrations

The goal:

To showcase how powerful Proxmox live migration can be for production use-cases.

The “servers”:

A Proxmox “cluster” is essentially a group of servers running Proxmox. Since I cannot afford multiple servers, I instead chose to deploy everything on Virtual Machines in the pursuit to learn Proxmox and Ceph without spending all my dabloons.

I have 3 identical virtual machines on VMWare with the following setup:

Proxmox setup:

My Proxmox cluster has three nodes, which I have called Server1, Server2 and Server3 for ease of understanding. As discussed previously, these are just Virtual Machines on the same host.

Creating a cluster in Proxmox is incredibly simple, you just have to run a pvecm command: pvecm create clustername on one of your servers. On your other servers run: pvecm add hostname, where hostname is the hostname of the server where you created the cluster. That’s pretty much as simple as it gets!

You can now run pvecm status to check cluster information, or open Proxmox Web UI to check whether you can access all nodes from just one Proxmox Web Instance.

Proxmox Cluster Information
PVE Web UI showing all three servers connected on the left

(Optional) Ceph Setup:

Ceph is a great option for centralized storage between our different servers for this experiment. Basically, Ceph would make it possible to create a shared pool of data where we could install Virtual Machines. Interestingly Ceph uses replicated pools by default, which is what we have used for this experiment. However, I have been learning more about Erasure coded pools, which seems like a much better approach for production use.

Creating a ceph cluster is pretty simple manually as well, but since we are using Proxmox it’s literally as simple as running the following commands:

pveceph install #installs ceph packages
pveceph init --network <ip/subnet> #Generates ceph.conf on one server
pveceph createmon #to create Ceph monitors on each server
pveceph createosd /dev/<disk> #Create OSD on specified disk

Live/Online migration using Proxmox:

If we were to take down Server1, we would obviously no longer be able to access those applications. However, with Proxmox and Ceph, we can just do a live migration of our VM to another server in the cluster within a few seconds with absolutely no downtime! You don’t have to take my word for it, you can see how there’s zero packets lost during our VM’s migration from Server2 to Server1.

Apart from live migrations, we can also have offline migrations, which some might deem way more important. In case Server1 goes down, all of the VMs hosted on Server1 need to migrate to another server in the cluster to ensure that clients can still access the applications Server1 was hosting. There is obviously still going to be some down time but it will be minute. I’ll be covering these separately in another post!

Comments

59 responses to “Exploring Proxmox And Ceph And How To Do Live Migrations”

  1. metoclopramide hcl

    metoclopramide hcl

  2. azithro

    azithro

  3. propecia medication

    propecia medication

  4. diflucan medication

    diflucan medication

  5. antibiotics online pharmacy

    antibiotics online pharmacy

  6. allopurinol 300 mg daily

    allopurinol 300 mg daily

  7. prevacid generic 30 mg

    prevacid generic 30 mg

  8. diflucan 150 mg fluconazole

    diflucan 150 mg fluconazole

  9. metoprolol generic

    metoprolol generic

  10. lasix medicine price

    lasix medicine price

  11. lasix pill 40 mg

    lasix pill 40 mg

  12. generic viagra canadian

    generic viagra canadian

  13. tadalafil 60 mg

    tadalafil 60 mg

  14. vidalista professional 20 mg

    vidalista professional 20 mg

  15. cenforce 50 forum

    cenforce 50 forum

  16. cialis tadalafil dosage

    cialis tadalafil dosage

  17. orlistat 60 price

    orlistat 60 price

  18. famotidine otc

    famotidine otc

  19. udenafil reddit

    udenafil reddit

  20. semaglutide dosing schedule for weight loss

    semaglutide dosing schedule for weight loss

  21. finasteride 5mg cost

    finasteride 5mg cost

  22. orlistat medication price

    orlistat medication price

  23. semaglutide hoeveel afvallen

    semaglutide hoeveel afvallen

  24. finpecia 1mg reddit

    finpecia 1mg reddit

  25. hvor finnes semaglutid naturligt

    hvor finnes semaglutid naturligt

  26. semaglutida preço no paraguai

    semaglutida preço no paraguai

  27. minoxidil walmart section

    minoxidil walmart section

  28. levitra 20mg kuwait

    levitra 20mg kuwait

  29. is proscar a controlled substance

    is proscar a controlled substance

  30. doxycycline and alcohol myth

    doxycycline and alcohol myth

  31. does doxycycline cover tooth infection

    does doxycycline cover tooth infection

  32. cialis pharmacy uk

    cialis pharmacy uk

  33. minoxidil shampoo review

    minoxidil shampoo review

  34. ketoconazole for dandruff overview

    ketoconazole for dandruff overview

  35. ketoconazole cream comparison

    ketoconazole cream comparison

  36. terbinafine dosage

    terbinafine dosage

  37. ketoconazole shampoo therapeutic guide

    ketoconazole shampoo therapeutic guide

  38. terbinafine nail fungus medical overview

    terbinafine nail fungus medical overview

  39. toradol for back pain

    toradol for back pain

  40. ketorolac onset and duration

    ketorolac onset and duration

  41. how ivermectin works

    how ivermectin works

  42. minoxidil treatment evidence

    minoxidil treatment evidence

  43. minoxidil duration professional guide

    minoxidil duration professional guide

  44. minoxidil women’s effectiveness

    minoxidil women’s effectiveness

  45. sildenafil high‑fat meal effect

    sildenafil high‑fat meal effect

  46. vardenafil 10 mg basics

    vardenafil 10 mg basics

  47. avanafil mechanism analysis

    avanafil mechanism analysis

  48. avanafil online safety context

    avanafil online safety context

  49. vardenafil adverse event information

    vardenafil adverse event information

  50. vardenafil warning alerts

    vardenafil warning alerts

  51. orlistat food interaction analysis

    orlistat food interaction analysis

  52. insurance clinical policy

    insurance clinical policy

  53. orlistat mechanism reference

    orlistat mechanism reference

  54. amoxicillin mechanism of action

    amoxicillin mechanism of action

  55. augmentin drug summary

    augmentin drug summary

  56. amoxicillin interaction list

    amoxicillin interaction list

  57. Sildenafil Tmax Resource

    Sildenafil Tmax Resource

  58. Sildenafil Duration Information

    Sildenafil Duration Information

  59. learn about tadalafil and erectile dysfunction

    learn about tadalafil and erectile dysfunction

Leave a Reply

Your email address will not be published. Required fields are marked *

eleven + 4 =