XCP NG Storage & Migrations Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • lawrence.video/xcp-ng
    Asrock Ryzen 9 XCP-NG Virtualization Server Build With 25GB
    • Asrock Ryzen 9 XCP-NG ...
    Understanding the storage stack in XCP-ng
    xcp-ng.org/blog/2022/06/02/un...
    XenServer coalesce
    xen-orchestra.com/blog/xenser...
    Connecting With Us
    ---------------------------------------------------
    + Hire Us For A Project: lawrencesystems.com/hire-us/
    + Tom Twitter 🐦 / tomlawrencetech
    + Our Web Site www.lawrencesystems.com/
    + Our Forums forums.lawrencesystems.com/
    + Instagram / lawrencesystems
    + Facebook / lawrencesystems
    + GitHub github.com/lawrencesystems/
    + Discord / discord
    Lawrence Systems Shirts and Swag
    ---------------------------------------------------
    ►👕 lawrence.video/swag
    AFFILIATES & REFERRAL LINKS
    ---------------------------------------------------
    Amazon Affiliate Store
    🛒 www.amazon.com/shop/lawrences...
    UniFi Affiliate Link
    🛒 store.ui.com?a_aid=LTS
    All Of Our Affiliates that help us out and can get you discounts!
    🛒 lawrencesystems.com/partners-...
    Gear we use on Kit
    🛒 kit.co/lawrencesystems
    Use OfferCode LTSERVICES to get 10% off your order at
    🛒 lawrence.video/techsupplydirect
    Digital Ocean Offer Code
    🛒 m.do.co/c/85de8d181725
    HostiFi UniFi Cloud Hosting Service
    🛒 hostifi.net/?via=lawrencesystems
    Protect you privacy with a VPN from Private Internet Access
    🛒 www.privateinternetaccess.com...
    Patreon
    💰 / lawrencesystems
    ⏱️ Timestamps ⏱️
    00:00 XCP-NG Storage
    02:18 Supported XCP-NG Storage Types
    03:24 Our Lab Setup
    06:28 Storage Setup and Migration Demos
    09:54 Adding Shared Storage
    17:57 Removing Shared Storage
    19:01 XCP-NG Storage Maintenance Mode
    #XCPNG #Virtualization #storage
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 37

  • @PaulBunkey
    @PaulBunkey ปีที่แล้ว

    Thanks

  • @bitgeist21
    @bitgeist21 10 หลายเดือนก่อน

    THANK YOU for the XCP-specific storage instruction. IF you ever get a chance to talk about CEPH storage; I would really love to see a video on that as well. Your channel is priceless!

  • @bentleymax2511
    @bentleymax2511 ปีที่แล้ว +11

    I was really hoping you would talk about XOSAN v1 or v2. It's always mentioned in the documentation, but I have never seen it in action. Perhaps XOSAN is just a Hoax?

    • @marco114
      @marco114 ปีที่แล้ว

      It's not open source.

    • @bentleymax2511
      @bentleymax2511 ปีที่แล้ว

      @@marco114 most of the other features are not open source i.e proxies, but I have seen them either in the 30 days trial vm or in other videos/demos. XOSAN to me is just a myth at this point.

    • @Momi_V
      @Momi_V ปีที่แล้ว

      @@bentleymax2511 XOSAN was a Third Party solution for XenServer (NOT XCP-ng) and V2 (which should support XCP-ng) isn't finished yet, and will probably be replaced by whatever comes out of their collaboration with Linstor

  • @jahinkle91
    @jahinkle91 ปีที่แล้ว +1

    Fixing to setup my first xcp-ng server with local storage, so perfect timing. Also is the any updates to building xcp-ng from source since your last video?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      The build should still work the same.

    • @locusm
      @locusm ปีที่แล้ว

      That GH repo gets updated frequently

  • @welchsteven
    @welchsteven ปีที่แล้ว +3

    Hey Tom, if you wouldn’t recommend HA Lizard in the enterprise. What would you use?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +4

      We use proper supported HA setups with 3 or more hosts th-cam.com/video/jvhUY81pBw0/w-d-xo.html

  • @locusm
    @locusm ปีที่แล้ว +1

    How does Windows licensing go when migrating VM's around to different hosts? Do you get license reactivations?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +3

      No, because the virtualized hardware is not changing.

  • @mm8824
    @mm8824 ปีที่แล้ว +1

    Which tool did you use to draw the diagram? :)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      th-cam.com/video/mpF1i9sfEJ0/w-d-xo.html

  • @berndeckenfels
    @berndeckenfels ปีที่แล้ว +1

    Hm, interesting how does it switch out the storage device at runtime, is that a xen feature or does it provide a proxy to the actual Hypervisor?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +1

      That's the beauty of how their storage API works, it makes storage have one common interface for the VM regardless of the back end

    • @olivierlambert4101
      @olivierlambert4101 ปีที่แล้ว +1

      It's not hypervisor/Xen related, it's toolstack related. When you live migrate a disk from one SR to another, it works like this under the hood:
      1. A snapshot is created for the disk
      2. A disk mirror is started on destination (all new blocks after the snap are mirrored on destination disk)
      3. Then, the whole snapshot (all blocks) is copied to the destination storage (this takes most of the time)
      4. When it's copied, the VM is briefly paused (like during a normal live migration, it's barely visible) to switch to the destination disk
      5. If it worked, then the source disk is removed, and voila!
      That's a very similar mechanism when you live migrate a VM from a pool to another (sharing nothing), you can add memory migration in step 4.
      Note: it's fully transparent from the VM perspective, no need to get any special configuration.
      Neat, isn't it?
      Source is XAPI doc, here: xapi-project.github.io/features/XSM/XSM.html

  • @JoeyDee86
    @JoeyDee86 ปีที่แล้ว

    Is there any way you can get involved and do a video on XOSAN v2?

  • @tltemptl5342
    @tltemptl5342 3 หลายเดือนก่อน

    how can we setup redudant iscasy shares , for failover

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 หลายเดือนก่อน +1

      you can setup iSCSI multipath

  • @ClassicCarOverhaul
    @ClassicCarOverhaul ปีที่แล้ว

    I watched this video and I still can't migrate my VM to another host. I have two xcp-ng hosts running and VM'S running in each host but when I try to migrate one to the other host, it shows it's migrating and takes a while, then when it stops it's still on the same host. It does not move to the other host. Both host are connected to my network and are available in xen orchestra, do I need to configure a static IP on another network port on each server (host) or any suggestions? Thanks!

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      Might want to post in the forums but are they on the sane network segment? Joined in the same pool? Does it time out and give an error?

    • @ClassicCarOverhaul
      @ClassicCarOverhaul ปีที่แล้ว

      @@LAWRENCESYSTEMS Same network segment, not sure if it times out but it does not give an error, when check pools there are two host, both say Master. So I guess it's two separate pools. it's two servers. I will join the forum and post. Thank you.

  • @rrodriguesv2
    @rrodriguesv2 ปีที่แล้ว +2

    Hello i just installed xcp ng on my epic setup with 32 cores and 64 threads, how do i add all 64 threads in a VM ? is it possible ? thanks!!

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +1

      Yes, edit the number of cores on the VM, set it to 64

  • @alexanderahman4884
    @alexanderahman4884 ปีที่แล้ว

    What's the reason you didn't want to use HA-lizard for production use?
    Have not tried it myself but it looks pretty neat.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +1

      Not officially supported by the project so I would worry about stability and reliability

    • @gaston-alegre-stotzer
      @gaston-alegre-stotzer ปีที่แล้ว +1

      @@LAWRENCESYSTEMS Makes sense. If the HA-lizard project matures and gets integrated, it might turn XCP-NG into an hyperconvergence solution (like Nutanix)...right?

  • @1nfamous753
    @1nfamous753 ปีที่แล้ว

    how does incremental snapshots work in xc-png , there is i think a capacity of 20 snapshots in total after that how are we supposed to proceed . can i have an api for that ? what is the logic behind .

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว

      Having that many snapsots on any VM is not a good idea for performance reasons and yes they have an API.

    • @1nfamous753
      @1nfamous753 11 หลายเดือนก่อน

      @@LAWRENCESYSTEMS HI CAN I HAVE THAT API SNIPPET I WOULD LOVE TO IMPLEMENT THAT ON MY PRODUCTION

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  11 หลายเดือนก่อน

      @@1nfamous753 I don't use their API you will have to read their docs and build it

  • @SgtKilgore406
    @SgtKilgore406 ปีที่แล้ว +1

    I've tried asking in XCP-ng forums but have yet to receive an answer so hopefully you can answer this question.
    What are the requirements for a Suspend SR? I would like to be able to take snapshots with VM memory but I don't know if I can simply set my primary SR to also be a Suspend SR or not. Last I looked there was nothing in their forums or docs explaining how to configure it.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  ปีที่แล้ว +1

      Suspend is not dependent on the SR type.

    • @SgtKilgore406
      @SgtKilgore406 ปีที่แล้ว

      @@LAWRENCESYSTEMS Thank you! Set my primary SR as a Suspend SR and snapshot with memory worked perfectly! I was worried setting that on my primary SR could potentially cause issues (worst being VM lockups or vdi corruption) so I'm glad that didn't happen.