Proxmox Virtual Environment Complete Course Part 15 - Clustering

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 72

  • @ulzrintheswift715
    @ulzrintheswift715 21 день тому

    I can always count on your tutorials. Thank you for not making half of the guide a Zima board advertisement

  • @MichaelCook-oo8lj
    @MichaelCook-oo8lj 6 місяців тому +5

    There are precious few tech UA-camrs making content as truly engaging and and educational as Learn Linux TV. Applause.

  • @samzick6301
    @samzick6301 2 роки тому +50

    At the end of your course, you should do a mini series of random things to do with proxmox, like device passthrough to LXC, or passing audio from VM to host with scream.

    • @SwiatLinuksa
      @SwiatLinuksa 2 роки тому +1

      +1

    • @Jordan-hz1wr
      @Jordan-hz1wr 2 роки тому

      Device passthrough would be very helpful. I spent well over an hour a few weeks ago trying to get a legacy software license USB key working on a migrated VM.

    • @houserouterhouserouter5808
      @houserouterhouserouter5808 Рік тому

      I agree, would be much more fun and interesting!

  • @Vaillant44
    @Vaillant44 Рік тому +2

    Jay, thank you for the video. I just want to share some tips that I faced as a newbie. You cannot add to a cluster a Proxmox which already has containers or VM and clustering is easy to create but a bit more challenging to alter. Also, clustering two different install formats, for exemple ext4 and zfs raid 1 is creating issues. I'm sure there are ways to solve that last one but it was too advanced for me.

  • @microcisco
    @microcisco 2 роки тому +1

    Hi Jay - really enjoying your videos. Just clarification on the cluster - You actually have to apply an IP address for each network you create for the bridge. You created networks and you didnt set up the cluster in a different network but rather created the cluster in the mgmnt network and not cluster network. I have 4 networks (mgmnt, cluster, VM's and Ceph) and I followed your example but found I couldn't add in the cluster network as it needed an IP address and not network address. If you see your vmbr1 bridge under networks it has an IP address and not a network address. As soon as I changed mine, i could add in the cluster network and all worked fine - Just my 2c :)

  • @davidg4512
    @davidg4512 2 роки тому +20

    The reason the output stops is because it joins the cluster and invalidates your current session as your user is no longer valid. There is some delay when this occurs, hence why sometimes you see some output and other times you see half of the expected output. It really depends. You can see this because the GUI now has a connection error.

  • @ManishSahay
    @ManishSahay 2 роки тому +2

    Hey, Congrats Jay on 200K :)

  • @TheClembo
    @TheClembo 2 роки тому

    Just loving this comprehensive tutorial on Proxmox, especially having watched the previous episode on shared storage, been waiting for that. Goes without saying it but I do anyway, thanks so much!

  • @alain-pierrep.312
    @alain-pierrep.312 2 роки тому +3

    Wonderful series, very informative. Side note : I highly recommend "prettyping" over ping. It's a simple bash script to "prettyfy" ping, showing latencies and lost packets graphically.

  • @gilbert1975nf
    @gilbert1975nf 2 роки тому +1

    We get lucky nowadays. Back in 2015 create a cluster and HA into Proxmox was a pain in the ass.

    • @s.z.6118
      @s.z.6118 2 роки тому +1

      What is so lucky about it ? It still does not work. Do not believe the video. It is NOT like "click, click , next, next... finish".
      If you follow the video then you get locked out of the nodes' Web interfaces.

  • @MatthewCrofut
    @MatthewCrofut 2 роки тому +1

    Would like to see a video on quicksync passthrough. Some more info on privileged vs non-privileged containers would be great as well.

  • @jasonli2287
    @jasonli2287 2 роки тому +1

    Love it. Thanks so much for the help.

  • @SwiatLinuksa
    @SwiatLinuksa 2 роки тому

    Big thanks! Jay ! And i have question. It's possible that your book about mastering Ubuntu will be translated to polish language? I think it's very interesting but i and many other in Poland doesn't know English so well too understand it, specially a technic language :( Maybe this is stupid question but better ask than not. Thx

  • @zyghom
    @zyghom 11 місяців тому

    I am just creating my clusters so thank you for this video. However, "it requires reboot" on Linux is so much... WINDOWS ;-)

  • @5thpixel
    @5thpixel 11 місяців тому

    love these! thanks!

  • @applemodus
    @applemodus 10 місяців тому

    Thanks for the video

  • @madmuke
    @madmuke Рік тому

    thank you so much for doing this

  • @iBlaze69
    @iBlaze69 2 роки тому

    Thats nice, thanks

  • @felicemassaro9564
    @felicemassaro9564 11 місяців тому +2

    I noted that after clustering 3 servers, VMs do not start after rebooting server one if the other two servers of the cluster are still switched off. Moreover in such conditions even the backup on server one does not run until I switch on the other two servers. Is this normal? Would be nice to have a video on "how to undo a cluster".

  • @BrianThomas
    @BrianThomas 2 роки тому

    Hello. Great video. Question: What benefits would you have on putting Proxmox on different devices? Aside from high availability.

  • @JaminFernandez
    @JaminFernandez 11 місяців тому

    Amazing, thanks

  • @rars007
    @rars007 2 роки тому

    thank you, very cool and informative!!!

  • @jenniferw8963
    @jenniferw8963 Рік тому

    1:34 start

  • @463mick
    @463mick Місяць тому

    I noticed in the linux bridge you put a network id in and not a static address. Will this allow for the dhcp to work on that interface.

  • @jelliott3604
    @jelliott3604 3 місяці тому

    If you have one server running proxmox then surely you have access to 3 virtual proxmox machines for a cluster? (to expt and follow along on)

  • @heckyes
    @heckyes Рік тому +2

    Incredible. How is promox free and open!
    How the hell can it do this while the VM is active. At what point in time does the virtual kernel leave one CPU and start on the other?

  • @nyanates
    @nyanates 2 роки тому

    Nice vid. I'm trying to set up a similar PM cluster but one of them can't join. QQ: Do all the nodes in a Proxmox cluster need to be at the same version? Not the case with these 2x.

  • @udayarpandey3937
    @udayarpandey3937 2 роки тому

    Thank you Jay.. you are great :)

  • @help2day
    @help2day Рік тому

    nice channel, love it

  • @Jordan-hz1wr
    @Jordan-hz1wr 2 роки тому +2

    Jay, is it possible to migrate a VM that is using shared storage, onto another nodes local storage?

    • @Gheotic
      @Gheotic 2 роки тому

      I'm thinking the same since it does not let me press migrate without. Haven't tried with shared storage though.

    • @vancedajcg8724
      @vancedajcg8724 Рік тому

      By shared storage do you mean an NFS mount?

  • @Techtips200
    @Techtips200 2 роки тому

    Superb content

  • @crimsionCoder42
    @crimsionCoder42 Рік тому

    So does a proxmox cluster increase availability and stability or reduce the time for task completion by separating out the tasks, like, let's say, machine learning and data science calculations? Or is it both tasks are separated across the node, and high availability is there by design?

  • @plazotronik
    @plazotronik 2 роки тому +7

    what about ceph?

    • @MrWadezz
      @MrWadezz 2 роки тому +1

      yes please !

  • @tokoiaoben3842
    @tokoiaoben3842 2 роки тому

    Thank you very much. You created second network (brides) on the pve2 and pve3 to match the network settings on the pve1, is that requirement b4 you that live migrate ? I have several VMs on one server and each VM assinged to different vlan. Creating other vlan networks on other servers (or pves) is not possible since I have only few intherfaces on the node.

  • @ierosgr
    @ierosgr 2 роки тому

    At last you reached the part of the series I was expecting. Maybe you could help me with what I am dealing with,. In the first node (2 ssds in mirror for prox, 4 sas hdds 10k in raid 10 for VMs and 4 sata hdds in raid 10 for data )I have a VM which resides in a raid 10 sas drives. This VM has an extra storage to it from another raid 10 configuration (tje sata drives) . Now how could i migrate the VM to another node since it has attached to it a second storage from the first node?
    Any thoughts it would be very helpful since I am struggling with this for months.

  • @muhammadejaz9841
    @muhammadejaz9841 2 роки тому

    Thanks for sharing such a great experience. very nice explanation. Sir Please include class on Replication (live and scheduled replication). Related to Clustering please tell me can we share resources of servers in clusters (i.e CPU, RAM or HDDs) in case one server utilizing full resources and we need to increase it CPUs or RAM can we take these from other server in the cluster??? or this can be done by some other method? I really appreciate your Hard work. Thanks

  • @fuseteam
    @fuseteam 2 роки тому

    Hmmm so we don't need to set up corosync and passwordless login between the two uhh three?

  • @stevennicholas5472
    @stevennicholas5472 Рік тому

    How does clustering handle shared VM /Container ID? If is have two servers, each with webserver (100), how would clustering be affected? Would a backup and restore auto,matically reassign that ID?

  • @Gilgwathir
    @Gilgwathir Рік тому

    What a cluster.... win?

  • @lechaldon
    @lechaldon 2 роки тому

    I plan on working my way through these videos and creating ansible playbooks/roles for these tasks in proxmox. How difficult do you think that will be to achieve clustering+ha in ansible and has anyone already done it? Is there a role to automate this deployment?

  • @fbifido2
    @fbifido2 2 роки тому

    When you migrated VM 101 & 102, could you have migrate the storage from local-lvm to the NFS storage (pve-shared) ??

  • @davidclark9173
    @davidclark9173 Рік тому

    can you do a video on removing a server from a cluter say like when one dies?

  • @mohammedsaif3922
    @mohammedsaif3922 2 роки тому +1

    Do i need to keep identical hardware for the migration support.

    • @majorgear1021
      @majorgear1021 2 роки тому

      From my experience , you need to have volumes with the same names on each server, because Web based migration only goes from same name on source to same name volume on the destination . I think you can override this one the command line. So, not the same hardware, but the same names ( and enough room!) on storage volumes.

  • @psionicp.7962
    @psionicp.7962 2 роки тому

    Why are you using a bridge for cluster network?

  • @haiderkhan4167
    @haiderkhan4167 2 роки тому

    Great sir, I have one confusion, I changes IP for one of them server, then cluster will break or not, can you explain litle bit more?

    • @vancedajcg8724
      @vancedajcg8724 Рік тому +1

      Changing any node IP will definitely break the connectivity. You should exclude the node from cluster before doing something like that and then only adding the node back to cluster once all is good again. Proxmox clustering is not easy. I'd recommend staying away from it if you have anything as small as a 3 node home setup or less.

  • @somchaisichon7264
    @somchaisichon7264 2 роки тому +1

    How to access promox cluster in case of the Primary server failed ?

    • @majorgear1021
      @majorgear1021 2 роки тому +1

      Good question. I ran into this yesterday while changing hardware on one node in my 2 node cluster. On boot, cluster members vote on who's in charge, and the logic is you need a 51% or higher vote to win, or reach "Quorum". That's why the TrueNAS forums will tell you to have at least 3 nodes in a cluster. That way you can get a 2/3'd or 66% majority vote.
      If you don't mind editing conf files, you can change the vote requirements to "1". That allows a single server to vote itself the "boss" of the cluster. However, that setting probably gets overwritten when you upgrade Proxmox. So keep that in mind!.
      I read that you can run proxmox on a raspberry pi and join it to a 2 node cluster to make a 3 node cluster. I have a few spare rpi's so I'm going to go that route.

  • @arielgonzalez6282
    @arielgonzalez6282 Рік тому

    Is there a way to migrate VMs that have snapshots and not using ZFS or shared storage?

  • @smash_shane
    @smash_shane 2 роки тому

    I understand that you can't join a node to a cluster if it has an existing VM or CT. I have 3 nodes with VMs on them that want to join together. Can I backup up the VMs and containers.... Delete them from the node.. Join them to the cluster and then restore the backups? Will that work?

    • @brianhansen9578
      @brianhansen9578 2 роки тому +2

      That should work just fine, a shared storage makes this very easy. Also remember that all 3 nodes also need to have same type of storage, you can't mix LVM on one and ZFS on another

  • @BrianThomas
    @BrianThomas Рік тому

    So I follow the steps exactly as they were presented. However I'm constantly being asked for username and password on the other machines that have joined the cluster. I enter in the route username and the root password, and it still comes back invalid. Does anyone have any suggestions as to what I might be doing wrong?

  • @brianhansen9578
    @brianhansen9578 2 роки тому +3

    Not a single word about quorum in a cluster video ?

    • @RodolfoPalau
      @RodolfoPalau 2 роки тому +2

      I need to solve this. In 2 pve cluster, i can't start VMs if i loose 1 pve. Quórum problem

    • @brianhansen9578
      @brianhansen9578 2 роки тому

      @@RodolfoPalau you can run a 3rd very small instance , just for that purpose... 2 instances than runs the VM's and one small instance just to add quorum

    • @MrWadezz
      @MrWadezz 2 роки тому +4

      Quorum isn't a cluster spec, it's a HA one, it's in the next episode :)

  • @AmrFayezAmer
    @AmrFayezAmer Рік тому

    when migrate vm proxmox don't show target storage, how show target store for select store another proxmox for migrate vm?

  • @meerhassan8066
    @meerhassan8066 2 роки тому

    according this tutorial when i am trying to join a cluster i am getting this error message below,
    (detected the following error(s):
    * this host already contains virtual guests
    TASK ERROR: Check if node may join a cluster failed!)
    How Can i solved this problem?? need some advice....
    Thanks in Advance...

    • @vancedajcg8724
      @vancedajcg8724 Рік тому +2

      You'll have to stop all vms, back them up , delete them, add the node to cluster, then restore the vms.

  • @voiceoftreason1760
    @voiceoftreason1760 2 роки тому

    I think the novelty of the matrix in the terminal scripts really wore off by now

  • @GHETTOHAMBURG
    @GHETTOHAMBURG Рік тому

    didnt work at all bro, im quiting my IT job now

  • @floriantthebault521
    @floriantthebault521 10 місяців тому

    I would definitely support you as a patron, but.... with 5 to 6 ad slots inside a video of 20 minutes... I guess that's far enough (because it's soooooo annoying as f******) - content is top notch, though. That's too bad it's polluted by so many ads it makes the video unwatchable.