Skip to main content

Posts

Create your first VM in XCP-ng with Xen Orchestra CE step by step

 I made a tutorial that you can watch on my youtube channel HomeTinyLab. ▬ Contents of this video  ▬▬▬▬▬▬▬▬▬▬ 0:00 - intro 0:23 - different ways to manage Xenserver overview 4:41 - SMB share to access iso install images 5:32 - logging in to Xen Orchestra 6:25 - adding the XCP-ng host 8:36 - defining ISO storage 11:28 - creating first VM 14:27 - installation process for Ubuntu live server 20:05 - installing xen tools on your new VM 22:21 - end word Other videos to go to: Installing XCP-ng https://youtu.be/FJh3yBrRuoc Installing Xen Orchestra Community Edition https://youtu.be/bzwFg6qrUoI For more information you can also use my blog https://hometinylab.blogspot.com/ Links to the software used in this video: XCP-ng : https://xcp-ng.org/#easy-to-install Xen Orchestra CE : https://github.com/ronivay/XenOrchestraInstallerUpdater XCP-ng Center : https://github.com/xcp-ng/xenadmin/releases/tag/v20.04.01.33 TrueNAS CORE : https://www.truenas.com/download-tn-core/ Ubuntu live server : ...

Solving local storage problems in XCP-ng step by step

Look at the video on my youtube channel. First have a look at the XCP-ng doc about storage: https://xcp-ng.org/docs/storage.html#storage-types Look at your dashboard if you have nothing to clean up Opening a shell session to your XCP-ng host with the local storage problems Using the cat command to see the list of devices type # cat /proc/partitions Try to find out which disk is your new local disk # ll /dev/disk/by-id When you have identified the local drive, you can add the drive with Xen Orchestra

Installing Pop!_OS on XCP-ng and remote desktop into it from windows 10 step by step

Go watch the video.  download Pop!_OS Pop!_OS by System76 placing the iso on the VM share creating vm on xcp-ng installing xcp-ng guest utilities apt install xe-guest-utilities installing the remote desktop service  First step is to install Remote Desktop Protocol (RDP) server  xrdp  on the Ubuntu 20.04 desktop. To do so execute the following command: $ sudo apt install xrdp Enable to start after reboot and run the remote desktop sharing server  xrdp : $ sudo systemctl enable --now xrdp remote connect into it configure it to startup with xc-ng changing the look and feel of Pop!_OS

How to install Xen Orchestra community edition with certificates for https on ubuntu 20.04 for managing XCP-ng evironment step-by- step guide

The source for this information is https://github.com/Jarli01/xenorchestra_installer and the XCP-ng forum. Consult them it is a source of many solutions. To start you could install the XCP-ng center version to create your vm for installing Xen Orchestra. Or use the trial version of XOA by going to the url of your XCP-ng host and using quick deploy. The third option is go to my previous article on how to install a Xen Orchestra CE from image by using the xe cli commands https://hometinylab.blogspot.com/2020/11/how-to-install-xen-orchestra-community.html I think the simple route if you have a windows workstation is to use XCP-ng center windows. In my case I am going to start from the third option. Using my virtual Pop!_OS workstation on XCP-ng. Here we go: Login into Pop!_OS. Opening a session to Xen orchestra (running in a vm on my TreuNAS CORE 12) Cloning a fresh install of ubuntu 20.04 Renaming it to XOACE going to the VM config to assign more memory the minimum is 3 GiB so in sta...

Using docker containers on XCP-ng with Xen Orchestra CE step by step

1. Create a VM In my tutorial I am cloning one existing VM. To install docker and to prepare the xcp-ng host watch the following video .  Or you could also continue to read it is up to you. 2. Inside the VM you have to install docker, openssh-server and ncat? For ubuntu: $ sudo apt install docker.io $ sudo apt install openssh-server $ sudo apt install ncat To use docker has non-root add the user to the docker group inside your VM like this. $ sudo usermod -aG docker $(whoami) Do not forget to logout and login are it may not work with your account To check if docker is running  type the following $ systemctl status docker 3. Then in your XCP-ng host you have to install xscontainer Like this:  $ yum install xscontainer  Followed by executing  $ xe-toolstack-restart to restart the toolstack and use the following command  $ xscontainer-prepare-vm -v vmuuid -u christophe 4. Test your VM with container tab $ sudo docker run hello-world 5. To install portainer exe...

How to migrate a dataset from one pool to another in TrueNAS CORE ?

The migration steps. 1. Stopping the services that use the dataset. (recommended). 2. Replicating the dataset to the new pool. 3. Verify that all data is replicated. 4. Put in operation the new dataset. 5. Delete the old dataset when satisfied (or not).   The video tutorial can be found by clicking on the title or the picture below. How to migrate a dataset from one pool to another in TrueNAS CORE 1. Stopping the services that use the dataset (recommended). Go to the services tab and what I do if not certain of which services are used by the dataset I let only running the services from which I am cetain that they do not use the dataset. Also, control jails and Virtual Machines to be sure that they do not use the dataset. In the video I do not stop the services to show it is possible. 2. Replicate the dataset to the new pool. a. go to Tasks --> Replication Tasks b. add new replication task c. select source location (example select on this system source /mnt/volume1/VM iso) d. sel...

Follow up on using docker on TrueNAS CORE with a video tutorial

In a previous post https://hometinylab.blogspot.com/2020/09/using-docker-on-freenas.html I explain how to install a Virtual Machine in TrueNAS CORE for using docker. In this follow up I made a video tutorial with the steps from the blog. To download Ubuntu Live server go to this link  https://ubuntu.com/download/server  choose option two to download the server ISO. And for the video click on the video title or the image. Using Docker on TrueNAS 12 CORE