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.
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.
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. 😊
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.
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
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.
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 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.
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.
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.
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!
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
Thank you so much for posting this tutorial. 🙏
My pleasure 😊
This video was excellent. Thank you.
Glad you enjoyed it!
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!
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 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.
I am from India Ajay Shukla
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