Getting Started Tutorial: Building An Open Source XCP-NG & Xen Orchestra Virtualization Lab

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 137

  • @akurenda1985
    @akurenda1985 4 года назад +68

    *Vsphere 7 gets realeased*
    VmWare: We've changed our pricing models.
    Tom: Hey kids, want to learn how to do your home lab and have backups for free?

    • @azr2d1
      @azr2d1 4 года назад +16

      vmware also made a ton of cpu's obsolete for esxi. I say screw them. Im going xcp-ng

  • @kareemschultz
    @kareemschultz 4 года назад +13

    I'm addicted to this channel

    • @ArtisticallyEligible
      @ArtisticallyEligible 4 года назад +1

      me too, he's awesome!

    • @kareemschultz
      @kareemschultz 4 года назад +2

      Yeah...I’d like him to include those resources like the spreadsheet and the draw.io file

  • @adzza83
    @adzza83 3 года назад +13

    I have tom to thank for me discovering xcp-ng. I've used every hypervisor and I have to say this is by far my favourite, it's free, and just plain awesome as far as features go.

  • @JuanLopez-db4cc
    @JuanLopez-db4cc 4 года назад +5

    BEST video of the MONTH! Thanks Tom!

  • @Dazdigo
    @Dazdigo 4 года назад +5

    I would recommend running Xen Orchestra in a Docker container instead of natively since there is no point it running it all of the time and you can double up having more management containers run at the same time on the system such as True Command to manage your FreeNAS servers as well.

    • @mariembuenaventura1278
      @mariembuenaventura1278 4 года назад

      Can you link a tutorial for this? So 1bare metal = XCP-NG-Server , FreeNAS and other?

  • @anthonydefallo9295
    @anthonydefallo9295 4 года назад +7

    Tom literally I have been wanting to do this forever. Thank you!

  • @KuroganeX3
    @KuroganeX3 3 года назад +3

    Congratulation Tom, You literally made me switch from proxmox to XCP-NG & Xen Orchestra that networking totally sold me. Thanks a lot. Please make more videos regarding XCP-NG.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад +2

      I have them all here lawrence.technology/xcp-ng-and-xen-orchestra-tutorials/

    • @XDavidT5
      @XDavidT5 2 года назад

      Why? I found proxmox is better solution that allow you even create containers not only vms, and run more upgrade more easily, seem this XCP-ng is very early release, how can you trust it?

    • @KuroganeX3
      @KuroganeX3 2 года назад

      @@XDavidT5 proxmox was killing my ssd for that reason I moved from everything to esxi

  • @geoffhalsey2184
    @geoffhalsey2184 4 года назад +27

    The interface of Xen Orchestra looks a lot easier to use than the Proxmox equivalent, especially dealing with networking and vlans.

    • @harpoon_bakery162
      @harpoon_bakery162 Год назад

      but why does it cost to get the good features? We go from the open source concept with XCP-ng with a lot of cool features built in that trump Citrix Hypervisor, to trying to manage it with a cool interface (XOA) that costs an arm and a leg and then, oh by the way, we get the people selling Orchestra telling us that XCP-ng Center is not going to be supported and to try to sway us to Orchestra and pay for it. What am I missing here? or am I not getting the right info?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Год назад

      You can self compile and self support the full XO for free

    • @piterbrown1503
      @piterbrown1503 10 месяцев назад

      But Proxmox supports more Hardware.

  • @lunac3
    @lunac3 4 года назад

    I've been running XCP-NG on a Watchguard XTM800 firewall hardware... for about 1 year. all good :)

  • @netoeli
    @netoeli 4 года назад +1

    the networking part was very helpful, thanks tom

  • @Weirlive
    @Weirlive 4 года назад +2

    another great vid, my VMUG license runs out in a month and I'll probably be switching over to XCP-NG, I don't really need the features of VCenter or VMware and would rather not pay another $200 for home lab use.

  • @blainej07
    @blainej07 4 года назад +1

    Thanks for the informative video; been using XCP a while and picked up on a few protips; thanks. Followed video a bit back on building Xen from source. It works out nice doing delta backups to NAS and NAS to Google Drive encrypted with Duplicati. Thanks!

  • @chrisumali9841
    @chrisumali9841 4 года назад

    Thank you for the walk-thru, demo and info. It helped me setup and migrate from vmware to xen. Have a great day

  • @cldpt
    @cldpt 2 года назад

    you use the same slack notification sound as I do, took me a while to figure it out at 34:39 :D

  • @ralmslb
    @ralmslb 8 месяцев назад

    23:50 Would love a quick tutorial just around the Private Networks and enabling the SDN Controller.
    My installation from sources, even though had all plugins selected, half of them are disabled by default requiring configuration.
    I'm taking the lazy route regarding the SDN controller and it should in practice just create the certificates by itself with just a simple path, but it doesn't.

  • @markstanchin1692
    @markstanchin1692 4 года назад +2

    Hi, I would like to set this up can you give suggestions on the hardware spec and the best places to purchase. Looking to Virtualize 8 PC's plus FreeNAS. Looking for the sweet spot on price vs performance vs energy cost. Dell 710 vs 720 vs 730 and which processors make the most sense. Thanks.

  • @alphabanks
    @alphabanks 3 года назад +3

    This seems much more put together than what I've seen with Proxmox.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад +2

      I think Proxmox is a good platform but XCP-NG is a much more scalable solution.

  • @SamKuylen
    @SamKuylen 4 года назад +1

    Yet again a nice video about XCP-NG and now with networking. Keep up the superb work Tom!

  • @HisLoveArmy
    @HisLoveArmy 3 года назад

    Random learning moment. Never new how to download a file into Linux. Wget then URL.. nice. Haha. Windows guy here but learning! Thanks!

  • @amp888
    @amp888 4 года назад +3

    Hi, would it be possible for you to do a video on how to enable HTTPS for Xen Orchestra, please? I think I remember you mentioning on another video that you set it up on your lab network using an Apache proxy, but it would be helpful for me (and probably other people too) if you could provide a tutorial on that process. I recently moved from using XCP-ng Center to Xen Orchestra for managing my home lab, but I haven't yet gone through the process of securing it with HTTPS. I know it's easy to mess things up when it comes to security, so I'm worried about messing some configuration up. Thanks!

  • @lennyaltamura2009
    @lennyaltamura2009 2 года назад

    Thanks, Tom, great info!

  • @juebaitube
    @juebaitube 7 месяцев назад

    Just subscribed ❤.

  • @822437
    @822437 2 года назад

    Even though VMware is crazy expensive, ESXI and vCenter still the best virtualization product out there for enterprise. I've tested this and no, its not better than VMware.

  • @MariaMedina-px4fx
    @MariaMedina-px4fx 4 года назад

    Thank you so much Tom!

  • @Kolohekat
    @Kolohekat 4 года назад

    I like Toms videos - I learned plenty - I run a pfsense BSD firewall and Do camera stuff and linux stuff. The only thing is, he thinks Detroit Coneys are better than Flints. :)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад +2

      As long as they are from Lafayette Coney Island, they are better.

  • @Willpowerpcs
    @Willpowerpcs 4 года назад +2

    Excellent tutorial. ;D

    • @turbo2ltr
      @turbo2ltr 4 года назад

      It hasn't even been posted for a minute, how would you know. Lol

    • @Willpowerpcs
      @Willpowerpcs 4 года назад +1

      @@turbo2ltr was waiting for this. Because all toms videos are for one. For two hes covered xen-o alot.😁

    • @turbo2ltr
      @turbo2ltr 4 года назад

      @@Willpowerpcs I won't disagree. :)

  • @EarthStarz
    @EarthStarz 11 месяцев назад

    Could you show how to set up a zfs local mirror?

  • @DrMitsos
    @DrMitsos 4 года назад +1

    Lets say that i have a Dell PowerEdge R720XD that i purposed it for FreeNAS on bare metal - no HV. Thing is: i want to run a Windows VM with GPU pass through in order to use it with Adobe suite as a remote rendering server suite. Can it really be done via the virtualization options in FreeNAS? Or should i first install a HV such as VmWare (better documented process for use scenario)? Can it be done with XCP-NG & Xen Orchestra?

    • @DrMitsos
      @DrMitsos 4 года назад

      Also the FreeNAS is a production NAS with 10Gbps LAN. Long story short i want with only one machine to accomplish both objectives (NAS Tank + VM Renderer)

  • @jeffwiedenfeld7566
    @jeffwiedenfeld7566 Год назад

    Do you recommend the installation of "Supplemental packs"?

  • @sweetsorrow7215
    @sweetsorrow7215 4 года назад +1

    This is not a beginner Tutorial - this tutorial was not step by step but rather unorganized steps and for someone with prior experience with XOA. You should do a little more organization like step 1, step2 and what is the end goal etc. thanks

  • @AnilBind
    @AnilBind 4 года назад

    Great work

  • @tommacpherson2646
    @tommacpherson2646 4 года назад

    Tom, I notice you say the VLANs aren't handled by your firewall, pfsense, and instead are managed within your switches. Does this still allow internet access. I currently have a ISP router that doesn't support VLAN setup so I am wondering what will happen if I just setup a vlan in a switch. Thanks and great video.

  • @roostercrab
    @roostercrab 2 года назад

    You have to register before the options he is showing are available!

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад

      That is not true when you follow this video and build from source.

    • @roostercrab
      @roostercrab 2 года назад

      Good deal, I didn't do that and spent about 10 minutes looking for the options that you were using, they appeared after I registered. Just wanted to save anyone doing it the same way some time, thanks for the video!

  • @dimitristsoutsouras2712
    @dimitristsoutsouras2712 4 года назад

    Nice video as always. I d like to ask here too (since none give me a sufficient answer to that as many times I have asked before in any forum). Why setting up VLAN - specifically here to be used by pfsense, since you could just passthrough to Pfsense a dedicated NIC (probably 1/4 if it is possible) and have the h/w directly seen by the firewall.
    Same goes for other VM's like a WinSever which obviously will be running AD, DNS, DHCP ..etc. Wont making vlans upon the same nic saturate it? (Ok here I think its a 10g) but what if it was only 1gbit
    Thank you

  • @fbifido2
    @fbifido2 4 года назад

    @27:25 - when adding a nic to a VM, does xcp-ng use the PIFs-Device or the PIFs-Network ?

  • @DanielDiave
    @DanielDiave 4 года назад

    Could XOA be similar to the Archipel orchestration project that was active some years back??

  • @Nebol
    @Nebol 6 месяцев назад +2

    You seem to have skipped where you added the XCP-NG server to XOA?

  • @iainbell8366
    @iainbell8366 4 года назад

    Is there any books on XCP-NG. I noticed there was a kickstarter back in 2018 to make one.

  • @FELIPEROD92
    @FELIPEROD92 3 года назад

    It's possible create all this estructure with xcp-ng center?

  • @SergheiPantelei
    @SergheiPantelei 4 года назад

    Deploying a default VM for XO is setting 2 cpu and 2Gb max. How to increase that VM cpu and ram to higher before XenOrchestraInstallerUpdater? I'm really stuck at that step. Thanks

  • @mateusjunior1937
    @mateusjunior1937 2 года назад

    Hi Lawrence, very good video, i'm wondering for activate SDN controller featuring with VXLAN, should we need to buy the XOA license ?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад

      It should work fine with the open source version.

  • @WolfTechnic
    @WolfTechnic 4 года назад

    Hi, I follow your videos with a lot of interest, I only ask you a courtesy, if you could spell the words a little more and speak slower it would be much appreciated, I listen to you from Italy and often I find it difficult to understand even slowing down the video at 0.75x. Thanks great job.

  • @johnwashifi
    @johnwashifi 2 года назад

    can I access to GPU for mining or using GPU for processing images inside a VM using XEN?

  • @leester9487
    @leester9487 Год назад

    Does XOA have to be up 24/7 or just to actively make changes?

  • @JeDeXxRioProKing
    @JeDeXxRioProKing 4 года назад

    OMG! What great video Thanks Tom

  • @kieranwilliams3052
    @kieranwilliams3052 3 года назад

    How well do the conversion utilities work with taking hyper-v and VMWARE VM’s into XCP-np?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад

      Not sure, I use cloning software instead ruclips.net/video/wSTk9BLwF5k/видео.html

  • @erickalcala7649
    @erickalcala7649 Год назад

    do you run PFSENSE in this server or do you prefer separate hardware for pfsense

  • @purpleblue108
    @purpleblue108 2 года назад

    How did you make the web page

  • @simplicity946
    @simplicity946 Год назад

    Hi Lawrence, can i use backups in xo , how to install with backups enabled, should we need to buy the XOA license ?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  Год назад

      If you are using it for home lab, building from source will offer backups. If you are using it for business buy a subscription.

    • @simplicity946
      @simplicity946 Год назад

      @@LAWRENCESYSTEMS SORRY no intension to advertise, what solution i have instead to use xcp-ng for small business with no charge, thank you for your reply

  • @techmandate250
    @techmandate250 3 года назад

    can you run XCPng and Cloud stack by Apache on top?

  • @mariembuenaventura1278
    @mariembuenaventura1278 4 года назад

    I'm having an error when I use the link for downloading debian...

  • @AllenSampsell
    @AllenSampsell 4 года назад

    Tom, Why is the XOA updater/installer only available for Debian 9 or Ubuntu 16? I had trouble even finding the right ISO to download...

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад

      It works fine on Debian 10 as well

    • @AllenSampsell
      @AllenSampsell 4 года назад

      @@LAWRENCESYSTEMS The script checks, and if it isn't 8 or 9 it exits. I suppose I could attempt to change that too. I put in a Git pull request for your fork from mine for a different issue I was running into. Now that I'm past that it just keeps saying waiting for port to be open and exits without setting anything up. This is on Ubuntu 16.04 server... and I've completely disabled the firewall to see if that would help. No joy.

    • @AllenSampsell
      @AllenSampsell 4 года назад

      @@LAWRENCESYSTEMS Just tried Debian 10, your fork script does not seem to work. Fixed OS check to support Deb 10. Fails on first yarn curl during Autoinstall. Nevermind... Found the issue. I was using your fork. The original from ronivay seems to be updated.

  • @alexk.9598
    @alexk.9598 4 года назад

    Hey Tom,
    I am a VMware user and tried XCP today. No local storage found after installation, therefore no chance to install Xen Orchestra or even a small VM for testing. Looks like I am stuck with VMware. I used a 500 GB for installation and a 1 TB drive. Only storage I got on the XCP Client was my DVD Rom.

    • @harpoon_bakery162
      @harpoon_bakery162 Год назад

      how did you go about defining the separate location for the O/S (500) and the 1TB for the data drive? How did you distinguish that during the XCP-ng installation? Also, a separate question, Is VMware free at this juncture? Do they still have ESXi concepts? If anyone could chime in and tell me what's the better solution for one Hypervisor each in two separate buildings and needing fail-over (High-Availability) using iSCSI or other? So again, a total of just two hypervisors, with each hypervisor needing to run the same two VM's (those VMs are what are needing to remain up if one building goes down, the other building keeps those two VM's running)

  • @phalcon23
    @phalcon23 4 года назад +1

    could you compare xcg-ng and proxmox?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад

      yup ruclips.net/video/5IinFgGAsRs/видео.html

    • @phalcon23
      @phalcon23 4 года назад +1

      @@LAWRENCESYSTEMS I didnt get the message in time... ended up deleteing my whole server and starting out fresh with xcp-ng lol... might have to change my production server from proxmox too.
      I think I like it better already. Also you have more tutorials to follow with xcp...
      Honestly, amazing videos very informative. Now to get my dell r510, qnap nass, home network, and home video survalance system up and running... along with pfsense.
      Thx Again for all you do for the community!

  • @ahmadnafeesmohiuddin6461
    @ahmadnafeesmohiuddin6461 2 года назад

    hi guys we are having some network interface issues in the installation. Can not find an interface but we are running an Asus sega 2 motherboards with intel nic, the latest one. Could you please give us some suggestion?

  • @privatehuff
    @privatehuff 3 года назад

    I thought Xen was on the way out, and KVM was taking the lead in virtualization?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад

      Lol, that is far from true

    • @privatehuff
      @privatehuff 3 года назад

      @@LAWRENCESYSTEMS Sorry i am a humble newb, but recently tried to figure out what i should learn (outside of esxi) and all signs pointed to KVM. Did i fall for marketing??

  • @HisLoveArmy
    @HisLoveArmy 2 года назад

    If you have 2 hosts / servers in XOA and you reboot the one that is "hosting" XOA VM will XOA automatically transfer to the other host and stay running?

  • @sweetsorrow7215
    @sweetsorrow7215 4 года назад

    you did not also show how to QUICK DEPLOY the XOA on the baremetal rather you started working on already installed XOA.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад

      Yes I did, at the 13 minute mark ruclips.net/video/q-jKs62b6Co/видео.html

    • @sweetsorrow7215
      @sweetsorrow7215 4 года назад

      @@LAWRENCESYSTEMS yes i tried but it always tells me i dont have enough space but i have 46GB disk where xcp-ng is fresh installed. How to get past this?

  • @journeythroughus
    @journeythroughus 2 года назад

    What's the default password when logging into the console on a new VM?

  • @MrTweetyhack
    @MrTweetyhack 3 года назад

    Is Xen or KVM winning?

  • @sidneyking11
    @sidneyking11 2 года назад

    after update xcp-ng I get this error " an emulator required to run this vm failed to start" for my xoa vm

  • @TiagoFernandes81
    @TiagoFernandes81 3 года назад

    Hi Lawrence.
    Do you know of anyway to add an ext4 disk through Xen Orchestra with more than 2TB? we are in the 2021 so i was expecting for this to work which is not the case. at least not through Xen Orchestra... i found a way to do it through CLI on a VLM, but not as EXT... Is this normal that such a simple task isn't possible to be done through Xen Orchestra?
    Adding the storage is not a problem, i can pick the 3.7TB with no issues, it's only when i try to add a new disk to the VM that the error occurs.
    PS: thanks for your videos :)

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад

      No, from a storage design standpoint I don't put it all as a VM. I build VM's for the operating systems and have large storage mapped to a proper storage server.

    • @TiagoFernandes81
      @TiagoFernandes81 3 года назад

      @@LAWRENCESYSTEMS Well, my 3.7TB is not an external storage but its an hardware RAID 6 volume running on the phisical server.
      I have like:
      128gb ssd running xcp-ng
      500gb ssd running my VMs (vms and vmdk)
      and the raid6 3.7TB disk
      As i said, i was able to add the volume as a storage in xcp-ng through orchestra, what it is not possible to do in orchestra is to add that storage as a single EXT4 3.7TB disk into a VM (my file VM server)
      I manage to add it as a LVM through CLI but not as a EXT4... was hopping you would have an answer for what commands i could use to get this thing working...
      anyway, thanks for getting back to me. Apreciate all your videos, thanks for the time you put on those..

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  3 года назад

      @@TiagoFernandes81 I did a video here on full drive pass through ruclips.net/video/vSDDMIG6Huk/видео.html

  • @stephenzzz
    @stephenzzz 4 года назад

    Can Xen be used for hosting virtual desktops, could you do a video on that?

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад +2

      Load windows in a VM, turn on remote desktop.

    • @SergheiPantelei
      @SergheiPantelei 4 года назад +1

      @@LAWRENCESYSTEMS Tom, Is it possible to passthrough GPU and use a separate monitor/keyb/mouse for ie windows 10 normal station? So you can have in one VM a full FreeNAS server, windows VM machine and maybe run a couple of dockers in another VM .. and all in one machine.

  • @ThierryC2373
    @ThierryC2373 2 года назад

    Well, coming from Vmware ESXi, I tried this product but it is way from being a finished product. I have too many issues working from the iPMI console of my super micro server unable to match some of the keys of my French keyboard and why the heck do we have to struggle to create a local repository and populate it while it is so easy using Vmware Vsphere? It should be straight forward within the web UI: create a local repo, open this repo and upload files all in the web ui, this sucks too much to be adopted. I am going back to ESXi.

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад

      You not being familiar with the product does not mean the product is not finished, it means you still have some learning to do.

  • @mr.mangles8730
    @mr.mangles8730 3 года назад

    The Borderworld Xen Is In Our Control

  • @glmchn
    @glmchn 8 месяцев назад

    Well, yeah, ok, but .... xcp-ng / XOA is actually weird af

  • @thanhlephuong7687
    @thanhlephuong7687 Год назад

    It is a stupid XCP-NG deployment step. Proxmox makes anything easily. I chose Promox.

  • @rob.taylor
    @rob.taylor 2 года назад +1

    This video is out of date

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  2 года назад

      How so?

    • @rob.taylor
      @rob.taylor 2 года назад +1

      @@LAWRENCESYSTEMS One example, after installing xoa with quick deploy, there is no "new" link at the bottom of the left side menu. I'm seeing if I can download the older version you have so I can follow along with your tutorial. Thanks for asking. I appreciate you posting the tutorials.

  • @jonuhler
    @jonuhler 4 года назад +1

    Like 8 adds in a 40 min video? Getting a little to much.....

  • @pepeshopping
    @pepeshopping 4 года назад

    Too many ads...next.

    • @l00tur
      @l00tur 3 года назад +1

      If you're seeing ads...then you aren't going to be able to setup up a hypervisor...

  • @ianjacepreville
    @ianjacepreville 4 года назад

    proxmox is better

    • @LAWRENCESYSTEMS
      @LAWRENCESYSTEMS  4 года назад +4

      No way, XCP-NG is better! 🙂

    • @phalcon23
      @phalcon23 4 года назад

      @@LAWRENCESYSTEMS whats the diff? proxmox is my first server level VM experence... Other than running just normal VMware on a windows 10 pc

    • @180doman
      @180doman 4 года назад +1

      Proxmox has LX Containers which are much more lightweight, and easier/faster to deploy than vms. There are even prebuild apps containers from Turnkey - gitlab, jenkins, Nextcloud and many more. Proxmox is also based on Debian which means you can run it on almost everything.

    • @AllenSampsell
      @AllenSampsell 4 года назад +1

      @@180doman I've been using Proxmox since I started using VMs seriously about two years ago. I do love the LXCs but Proxmox has become a pain lately. So I'm now testing out xcp-ng. I tested it before based on Tom's suggestion but Proxmox was simply easier and just worked. Now... not so much.

    • @180doman
      @180doman 4 года назад

      @@AllenSampsell I also had some more troubles with proxx lately but it was mainly with its 6.0.x versions - LOT of problems with containers which cant be start or stop or cloned. But most of them gone with upgrading to 6.1.x. Offcourse im talking about some testing/ experimenting environment because you should never upgrade your core machines with new major version until it "settles down" a bit. Or when you dont relly need it - my home server is still running 5.4 and im not going to upgrade it soon :D