Skip to main content

Posts

Showing posts from January, 2023

XCP-ng Reset Root password

Link to the page that explains how you can change your password: Troubleshooting | XCP-ng documentation https://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. From the Emergency Mode prompt, execute the command chroot /sysroot. Once in single-mode, use the passwd command to reset your XCP-ng root password. Reboot XCP-ng by sending Ctrl + Alt + Suppr. If everything went well, you should now be able to log in with your new XCP-ng password Watch this to see it happen: -------------------------Chapters------------------------- 00:00 - Intro 00:30 - Nested XCP-ng Host 01:35 - Documentation Used 02:20 - The Password Reset Procedure 05:29 - Testing the new password 06:15 - End Word

NanoPi Neo3 New server for my homelab introduction

The video is about the first time with a single-board computer. The goal is to run all my permanent services from it to cut down on the power bill (Belgium right). For the moment still experimenting.  ▬ 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: https://www.friendlyelec.com/index.php?route=product/product&product_id=279   The WIKI on how to start with the NanoPi NEO3-LTS: https://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO3 Other Operating systems that you might like that work with the NanoPi NEO3: DietPi https://dietpi.com/ Armbian https://www.armbian.com/ The tool used to create the Micro SD card to boot from win32diskimager: https://sourceforge.net/projects/win32diski...

XCP-ng Storage Types Explained

In this video, I explain the different types of storage that are used by Xen hypervisor. Mostly the documentation of XCP-ng and Xen Orchestra is used. Take everything with a grain of salt because everything is used on older hardware and not at all enterprise grated. But enjoy the video and try to test it for yourself. The future me has discovered that with a 10Gbit network my systems can not keep up with the io on the network.   ▬ 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. https://xcp-ng.org/docs/storage.html#storage-types Other videos that I have made can help. The first VM created with XOCE https://youtu.be/vuYvyD0GoBQ Adding Local Storage to XCP-ng https://youtu.be/4KI9cssTSLs The Script that I...

How to patch (upgrade) XCP-ng with Xen Orchestra CE and scheduling to reboot the XCP-ng host

In this video I cover the following things: Patching for one host remember a TinyLab. Check if you have backups of the ops systems Click on the right button install patches (see in the video) You will have to reboot the system (it probably all depends on the version of Xen Orchestra used): do it directly schedule a reboot when the system is not in use # echo "/sbin/shutdown -r now" | at 17:12                    # schedule reboot # atq                                                                                              # list of the scheduled tasks # atrm <id>                      ...

XCP-ng memory management static and dynamic explained with examples

In this video, I give an example of how memory management works in XCP-ng and how you can stretch memory use. And run more virtual machines on a small homelab server. ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬  00:00 - Intro  00:30 - VM overview  01:04 - Explaining memory values with a new VM  06:50 - Host overview explaining my test setup  13:11 - Going for the maximum VMs in my setup and looking to the memory behaviour  18:51 - Setting some VMs at work  22:51 - What is happening when shutting down some VMs?  26:10 - End Word  Link to the XCP-ng documentation https://xcp-ng.org/docs/guests.html  Link to TrueNAS playlist https://www.youtube.com/playlist?list=PLJQANFmtbDea5xto8TwBHcTBoqou7L3eF   Link to XCP-ng playlist https://www.youtube.com/playlist?list=PLJQANFmtbDeYORouS5NgKehCCkex2V14L