- 34
- 133 077
HomeTinyLab
Belgium
เข้าร่วมเมื่อ 11 ก.ย. 2020
My name is Christophe.
This channel will contain tutorials on how the setup a homelab for starting IT homelab "users". I will cover installations on virtualization, storage, monitoring, backup ... solutions.
Software that will be discussed:
XCP-ng installations, usage and testing out procedures.
FreeNas as a solution for homelab storage now changed to TrueNAS.
Windows10, Ubuntu, Debian ... operating systems used in the homelab environment.
Utilities that make working in a homelab more fun. Such as Grafana, Influxdb ...
The goal is to have a low budget homelab with almost no limitations to learn when needed.
Trial and error will be one of the main tools :). It is a HomeTinyLab after all.
This channel will contain tutorials on how the setup a homelab for starting IT homelab "users". I will cover installations on virtualization, storage, monitoring, backup ... solutions.
Software that will be discussed:
XCP-ng installations, usage and testing out procedures.
FreeNas as a solution for homelab storage now changed to TrueNAS.
Windows10, Ubuntu, Debian ... operating systems used in the homelab environment.
Utilities that make working in a homelab more fun. Such as Grafana, Influxdb ...
The goal is to have a low budget homelab with almost no limitations to learn when needed.
Trial and error will be one of the main tools :). It is a HomeTinyLab after all.
Using PXE with Xen Orchestra and XCP-ng Step By Step
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 Intro
01:05 netboot.xyz
11:02 DHCP configuration
17:45 iVentoy
28:06 End Word
Post
www.hometinylab.cloudns.cl/xcp-ng-using-pxe-to-install-a-vm/
PXE explanation
www.manageengine.com/products/os-deployer/pxe-preboot-execution-environment.html
netboot.xyz
netboot.xyz/
iVentoy
www.iventoy.com/en/index.html
00:00 Intro
01:05 netboot.xyz
11:02 DHCP configuration
17:45 iVentoy
28:06 End Word
Post
www.hometinylab.cloudns.cl/xcp-ng-using-pxe-to-install-a-vm/
PXE explanation
www.manageengine.com/products/os-deployer/pxe-preboot-execution-environment.html
netboot.xyz
netboot.xyz/
iVentoy
www.iventoy.com/en/index.html
มุมมอง: 292
วีดีโอ
How to configure a NTP network time protocol server
มุมมอง 138หลายเดือนก่อน
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:13 What are we using 01:02 Preparing the two VMs that I will use 08:53 Configuring the NTP server 17:10 Configuring the NTP client 18:06 Troubleshooting 20:10 Configuring the DHCP server to integrate the NTP server 21:44 Troubleshooting the connection to the NTP server 23:45 End Word Software used: Hypervisor XCP-ng Xen Orchestra Community Edit...
XCP-ng expanding VDI (virtual disk) with Xen Orchestra and LVM step by step
มุมมอง 3832 หลายเดือนก่อน
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:28 Analysing with what we are dealing with 03:36 Choosing how to expend 05:20 Making the VDI bigger (/dev/xvda) 07:52 Create partition from the added space 09:51 Creating the Physical Volume 10:29 Adding to the Volume Group 11:33 Extending the Logical Volumes home and root and growing the filesystem 15:00 End Word List of commands used: df -hT ...
Installing Debian and CasaOS on NanoPi NEO3
มุมมอง 4183 หลายเดือนก่อน
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:15 Overview 01:00 Getting Debian image 02:00 Installing the image 04:00 First login 06:23 Update Software packages 07:10 Change Time Zone 09:00 Stop using OverlayFS 11:10 Installing CasaOS 11:35 End Word NanoPi NEO3 Product Page www.friendlyelec.com/index.php?route=product/product&product_id=279 Image and Tools Page wiki.friendlyelec.com/wiki/i...
Installing OPNsense VM on XCP-ng
มุมมอง 1.7K11 หลายเดือนก่อน
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:15 Overview 01:45 Getting the OPNsense ISO 02:42 Creating the VM 05:57 Installing OPNsense 10:01 Updating OPNsense 11:45 Installing Xen Guest Utilities 12:03 Configuring the network interfaces 17:12 Configuring DHCP for the new network (VLAN 20) 18:41 Testing and trying out the new network 22:37 Configuring my workstation in the new network 25:...
Installing XCP-ng on my old workstation and migrating all my existing VMs
มุมมอง 1.8Kปีที่แล้ว
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:40 Parts 01:00 BIOS settings 02:34 Installing XCP-ng using USB with Ventoy 10:10 Integrate XCP-ng server into Xen Orchestra 11:59 Migrate all the VMs 14:20 Migrating halted systems 16:12 Migrating the other systems 17:02 Moving the migrated systems to shared storage 25:33 Operation Failed PLAN B 32:06 Verifying the migration to the new XCP-ng s...
How to make the disk of a virtual machine bigger or resize it
มุมมอง 495ปีที่แล้ว
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:32 The Setting 03:35 Utilities Used 03:50 Preparation 05:25 Preparing the VM source for cloning 07:45 Preparing the VM destination for cloning 11:00 Cloning the disk 11:55 Ending the cloning 13:35 Doing a test boot of the target VM 15:13 Repartitioning the Disk with GParted 19:00 Verifying the result 20:25 End Word Software used: XCP-Ng (Hyperv...
XCP-ng xe CLI creating a VM
มุมมอง 3.5Kปีที่แล้ว
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:30 Different management solutions 03:34 How To start with xe CLI 04:54 How To get up a VM 05:11 Locating the template 05:51 Creating the VM 07:31 Getting the install media iso up 13:20 Getting the VM ready before startup 16:50 Connecting to the console of the VM 19:55 Installing the xen guest tools on the VM 21:25 Checking the VM 22:22 End Word...
Installing Xen Orchestra Community Edition from the sources
มุมมอง 5Kปีที่แล้ว
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:50 Preparing the VM 03:30 Installing packages needed and used 05:30 Installing NodeJS 06:46 Installing Yarn 07:41 The packages needed for XOCE 08:22 Getting the code for XOCE 09:17 Going further with the dependencies 11:40 Testing XOCE 14:48 Making XOCE run as a service 20:46 End Word My XCP-ng tutorials playlist th-cam.com/play/PLJQANFmtbDeYOR...
Uploading ISO with Xen Orchestra
มุมมอง 4K2 ปีที่แล้ว
No jumping around for uploading the ISO's for creating VMs. But you will need a recent installation of Xen Orchestra or it will not work. Enjoy virtualization in your homelab. ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:54 Downloading ISO's you still have to do on your workstation 01:40 Uploading ISO 06:39 End word
TrueNAS CORE second try to upgrade from 12 to 13
มุมมอง 2.2K2 ปีที่แล้ว
This time the upgrade had no issues. Enjoy the video. And have a look at my other videos about TrueNAS. ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 Intro 00:26 System configuration 01:13 Update procedure 05:50 Checking if the services and jails are working properly 06:54 Upgrading the feature tags for the zfs filesystem 08:50 End word
XCP-ng Reset Root password
มุมมอง 2.5K2 ปีที่แล้ว
Link to the page that explains how you can change your password: Troubleshooting | XCP-ng documentation xcp-ng.org/docs/troubleshooting.html#iscsi-troubleshooting Reboot your XCP-ng into the Grub boot menu. Select XCP-ng boot menu entry and press the e key to edit boot options. Locate the read-only parameter ro and replace it with rw init=/sysroot/bin/sh. Press Ctrl X to boot into single-mode. ...
NanoPi Neo3 New server for my homelab introduction
มุมมอง 4.2K2 ปีที่แล้ว
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 - Intro 00:30 - Hardware Overview 04:20 - OS introduction and how to get started 08:10 - Identifying the NanoPi NEO3 on your network 10:50 - Tools installed 14:29 - Explaining what I have done so far and plan to do with portainer 20:45 - End word The website from Friendelec with product description: www.friendlyelec.com/index.php?route=product/product&p...
XCP-ng Storage Types Explained
มุมมอง 1.4K2 ปีที่แล้ว
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 - Intro 00:19 - A look at the XCP-ng documentation 01:51 - Thin Thick 05:47 - Preparing the shared network resources on TrueNAS CORE 12:40 - Adding Shared SR to XCP-ng host 17:17 - Comparing the storage types with some stats 23:48 - End word The link to the documentation used. xcp-ng.org/docs/storage.html#storage-types Other videos that I have made can ...
How to upgrade from TrueNAS CORE 12 to 13 or not !!!!!! Perhaps will the U1 release help?
มุมมอง 4.9K2 ปีที่แล้ว
Link to the TrueNAS CORE 13 RELEASE notes www.truenas.com/docs/core/corereleasenotes/ @HomeTinyLab ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 - Intro 00:19 - Overview Release Notes 13.0 01:41 - A look at my TrueNAS server 02:41 - Showing what went wrong with prerecorded footage 03:59 - Back to my actual TrueNAS server 04:35 - End word Link to TrueNAS playlist th-cam.com/play/PLJQANFmtbDea5xto8Tw...
Backup your Homelab with Xen Orchestra XCP-ng explained
มุมมอง 9712 ปีที่แล้ว
Backup your Homelab with Xen Orchestra XCP-ng explained
How to patch (upgrade) XCP-ng with Xen Orchestra CE and scheduling to reboot the XCP-ng host
มุมมอง 2.5K2 ปีที่แล้ว
How to patch (upgrade) XCP-ng with Xen Orchestra CE and scheduling to reboot the XCP-ng host
XCP-ng memory management static and dynamic explained with examples
มุมมอง 9482 ปีที่แล้ว
XCP-ng memory management static and dynamic explained with examples
TrueNAS Core recovering from Fatal Trap 12
มุมมอง 1.3K2 ปีที่แล้ว
TrueNAS Core recovering from Fatal Trap 12
How to install Xen Orchestra Appliance from the sources step by step
มุมมอง 2K3 ปีที่แล้ว
How to install Xen Orchestra Appliance from the sources step by step
Solving local storage problems in XCP-ng step by step
มุมมอง 7K3 ปีที่แล้ว
Solving local storage problems in XCP-ng step by step
Using docker containers on XCP-ng with Xen Orchestra CE step by step
มุมมอง 10K3 ปีที่แล้ว
Using docker containers on XCP-ng with Xen Orchestra CE step by step
Installing Pop!_OS on XCP-ng and remote desktop into it from windows 10 step by step
มุมมอง 3.2K3 ปีที่แล้ว
Installing Pop!_OS on XCP-ng and remote desktop into it from windows 10 step by step
Create your first VM in XCP-ng with Xen Orchestra CE step by step
มุมมอง 14K3 ปีที่แล้ว
Create your first VM in XCP-ng with Xen Orchestra CE step by step
How to migrate a dataset from one pool to another in TrueNAS CORE ?
มุมมอง 19K3 ปีที่แล้ว
How to migrate a dataset from one pool to another in TrueNAS CORE ?
Using Docker on TrueNAS CORE 12 by creating a Virtual Machine running Ubuntu
มุมมอง 6K3 ปีที่แล้ว
Using Docker on TrueNAS CORE 12 by creating a Virtual Machine running Ubuntu
Doing the first update of TrueNAS CORE 12 to 12U1.
มุมมอง 2364 ปีที่แล้ว
Doing the first update of TrueNAS CORE 12 to 12U1.
How to fix a degraded pool state in TrueNAS ?
มุมมอง 15K4 ปีที่แล้ว
How to fix a degraded pool state in TrueNAS ?
How to install Xen Orchestra Community Edition XOACE?
มุมมอง 10K4 ปีที่แล้ว
How to install Xen Orchestra Community Edition XOACE?
Thanks for the instruction. Unfortunately I failed to connect to the running VM via SSH tunnel and VNC. Nothing seems to work. Could you elaborate how to configure the VNC viewer?
+
I love your tutorials! They are super helpful
Glad you like them!
Sir, i want to know more about the xcp ng Windows client that you showed.
Thanks for all your tutos, it really helped me !
Glad to hear that! Thanks
I guess if you keep doing it , you get better and better. I like the dry run option (saves lives) .Very informative video, thank you.
Mertie Unions
Excellent job Christophe! I successfully follow your instructions and created a rocky 9.4 instance. I now have a better appreciation of the commands needed to create a VM from the command line. 😊
Glad it helped!
Thank you for making all these great tutorials. I really appriciate it.
Thank you for this video - I've just set up XCP-NG on a machine, but I could not figure out how to get it to load the ISOs I've downloaded to my laptop. I had to create a temporary share and mount that in Xen Orchestra, but it's allowed me to get a few VMs going (one of which will shortly be a running as a NAS for future ISO storage/access) Cheers from Scotland
How to remove notification "XCP-ng Pro Support not available for source users" in pools ? , that triangle ?
I am using XC-png 8.3 and "xe sr-create host-uuid=$host_uuid name-label=LOCAL_ISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso" is returning an error: "The uuid you supplied was invalid. type: host uuid:" perhaps something has changed in 8.3?
I'll answer my own question: This doesn't work for 8.3 - I tried again with 8.2 and was able to follow along until we get to putty - and for the moment I'm lost. Where do I get the IP address for the vm?
@@FredMaher, @hometinylab the tunnel is set towards the management interface of the XCP-ng itself. the socat is making it work between your XCP-ng and the VM itself, where you are sort of redirected, when setting up the connection via the SSH tunnel from your endpoint. have not been tested this on 8.3 though on 8.2.1 it works (when your device is linux or windows - like shown on the video). with linux you need: ssh -L 9000:[Management IP of XCP-ng]:9000 root@[Management IP of XCP-ng] Management IP of the XCP-ng is nothing else than what you see on: xsconsole in the Status Display view
this doesnt work in 8.3 for sure, im about to go back to 8.2 and install then upgrade afterwards. i think it might be the device-config:legacy_mode=true. im gonna try real quick without that command.
@@joshuasox Hello... where you able to get it to work for 8.3?
@@mmejia04 nope. I installed 8.2 then upgraded manually.
It's so crazy that not even the official xcp-ng documentation has a clear guide like this you have done here. Thank you so much. It's not something I would do everyday but it's definitely something I needed to know how to do. Chears from Venezuela.
I tried replicating the iocage, and my Plex dataset, but it didnt work in many attempts, I created a snapshot, I dont know if im doing something wrong
thanks for the help <3 My Drive failing soon and now I can move smooth
Great video !
Ben alors? plus de vidéos? ^^ :-)
Je me suis abonné à votre chaine. Merci, c'est bien monté.
I totally agree with the previous comment that once you craft the video, it's extremelly detailed and brings the full explanations to make use of the presented topic. Compiling this together requires at least a bit of deep into the redhat meanders and going through dozens of scattered pages, which leads to nothing more than confusion. with your videos it is so straightforward. I'm curious how your home lab is evolving these days. cheers and thank you! apart from that with this video it's possible to install any linux distro, on top of which you can compile by your own the XO community edidtion, without installing the XOA appliance, especially when the XO-lite it seems at least these days does not bring that functionality. which is another aspect why it is so valuable at least for a smoth start with the XCP-ng, where you are not having xencenter anywhere handy. Thank you Christophe.
Awesome, thank you!
wrote a script for this based on your commands, thanks for the how to. for someone not familiar with xcp-ng it was nice to see the terminal process to creating an iso store setting a template, mounting the iso, disk and network and then building a vm. the script takes about 5 seconds to do this task. you only need set the parameters in the config.
Nice work!
maybe you can share the script if you already have it, I'm sure other home labbers which are more used to other programming languages can also benefit out of it. it would be a great help, cheers
Really great help, thank you!
Hello, please help me, after executing the "yarn" command it is returning the following message "00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one." my system is debian12
Hello, please help me, after executing the "yarn" command it is returning the following message "00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one. ". my system is vm debian12 on proxmox
Very good tutorial. I very like the rythm to understand correctly what I need to do and why. Very simple to understand also the networking feature in XCP-NG. Thanks
THANK YOU! I think you may be the only person on the internet giving such a detailed and essential tutorial about this CLI. I searched forever, but I'm thankful I found your videos! Thank you so much.
You can skip the ssh port forwarding by adding a firewall rule to allow direct connections to the hypervisor. "itables -I RH-Firewall-1-INPUT -p tcp -m tcp --dport 9000 -j ACCEPT"
nice solution something to keep in mind
Christopher, as always you have great videos. One question I have: why not to extend the disk directly from Xoa and then use gpart to expand the partition, looks more simple and easier than this solution
good remark I will mansion this in a video
Nice video. Question.. Have you come across a solution for backing up a vm that utilizing USB pass through? The snapshot always fails if I have a usb attached. I ended up creating a script based one one I found on the web that shut down the virtual machine unplugs the USB. And then I run another one about an hour later that will plug back in the USB dongle and boot up the virtual machine. This seems to work fine however, I’m using Delta backups so sometimes the back up job runs in 16 minutes, however I’m always shutting my VM down for one hour if there’s no workaround for taking a backup with the USB dongle attached is there a way for me to start up my VM or run my script when the back of job completes?
you could make a backup job using snapshot mode offline it will start afterwards automatically up the vm
I forgot the XOA Debian password how to reset it please make a video. thanks
Really clear presentation, thanks - I was going to refresh my Docker setup, and you have shown a superrior way of doing this. One question (tho not Docker related) about your XCP-NG setup with Xen Orchestra. With a single host setup (which is what I have) Xen Orchestra runs as one of the VMs on the XCP-NG host it is managing. But at about 04:30 I saw that you appeared to have just a single VM running - called "poposws". So how are you running Xen Orchestra?
Thaks, at that moment I was running XO in a vm on my TrueNAS Core server.
Thanks, this got me back in. The install ISO said 6 character limit and I had a 7 character password which didn't cause the install to complain. This helped a lot
Thank you very much for this great and clear video. Your instructions are easy to understand and you have explained all the steps. Same as most of the people here I've faced to the appearing and disappearing VM issue. Here below I gave the answer and how to recover from this issue.
thanks so much I was basically screwed until this
Thank you so much for posting this tutorial. 🙏
My pleasure 😊
Hello, I currently have four Dell servers (R710, R720, R730, R740) and I have installed xcp-ng on all of them. As a result, I now have four pools and four hosts. However, I would like to delete three of the pools and have all four servers (hosts) in one pool. Could you please guide me on how to accomplish this task? Thank you in advance.
Peronally I would only set servers with the same architecture in a pool.
Thanks, I am pleased to inform you that I have successfully completed the task at hand. However, I encountered two issues along the way. Firstly, one of my SMB Storage was corrupted and was not disconnecting properly. Secondly, the system was stuck in a restart loop. After resolving the SMB storage problem, I was able to restart the system and successfully add the new host to the existing pool. @@hometinylab
Hey! Looking forward to watch this episode after work tonight. 👍🏻
Thank you for more and more videos on xcp and xo!
Great video man, huge help!!
very helpful, I was skipping the XOA for the xcp-ng center for the very long time, also because the updates of the XOA didn't went well for me, mainly due to the node.js dependencies, it seems. now will make another round with XOA attempts, based on the informative video, and links you shared. thank you !
@hometinylab Christophe, another possibility is to create a NFS export on the Rocky distro, which is running as one of the VMs on the xcp-ng, and have it mounted as the ISO repository on the xcp-ng itself, in a kind of loopback approach. then you can expose the NFS data location in your samba config, and upload the files from the windows subsystem etc. PS. thank you for the series about the xcp-ng, you explained very well the elements which are the bottleneck for the newcomers, so they can have a swift start with this interesting hypervisor. cheers !
For some reason my trueNAS scale refuse to approve "one run" replication task.
Hello Christophe, I ask for your help. I always watch your videos, and I think you can help me with this! I'm starting to use XCP-ng now, the host is in a remote location, and I need to see those general XCP settings. I was reading several articles on how I could solve this problem, but I couldn't solve it, I followed several procedures, but without success. I saw that this option is called "Nested". Could you help me install this type of Nested view? I saw a video of yours called "XCP-ng Reset Root password" there is a VM there with this Nested showing the XCP settings.
if I got you right, all what you need is the fact that the vm which is available on the xcp-ng have the access to the management network of the hypervisor itself. though still I do not understand why the device from which you are managing the hypervisor in first place, can not have access to the management intefrace/network of the XCP-ng. it seems to me that it is a networking thing, where it shold be designed to fit the usecase. I can imagine that you do not have access to the edge router or firewall of that remote location to customize it, and your plan is to tunnel over the SSH towards that VM which is running on the xcp-ng and from there through the management interface of XCP-ng you could reach it through the compiled version of the XOA or xcpng center. though still if you have the tunnel, or cloudflare set it seems you can reach it remotelly anyway from your original location, without the need of the SSH to the VM, or another approach. you know where I'm going with it ?
How would I reset the root password to the XOA vm?
I have faced to the same problem. Did you solve it?
Thanks for this it helped my successful upgrade
Great to hear!
Need help
you can mail at hometinylab@gmail.com if needed
@@hometinylab yes sir
@@hometinylab sir some time need to clean NFS storage....how to complete that...sir you are replying very late sir
I am not understanding the question. Otherwise I would help. Have a nice day.
@@hometinylab I will send mail sir
I am from India Ajay Shukla
My UI says 'Drop VMDK or VHD files here to import disks.' any idea why? I have a recent installation (today)
if in to sr select a ISO sr ...
Thank you!:)
You're welcome!
This video was excellent. Thank you.
Glad you enjoyed it!
why does choosing the NFS option not display the create button? I cant seem to add an nfs share for iso files
which nfs version are you using? Can you send a screenshot to my mail address, hometinylab@gmail.com?