XCP-NG few basic command lines- CLI Rumi, July 3, 2024July 3, 2024 Run the following command to list VMs and their UUIDs: xe vm-list resident-on=<uuid_of_host> Try the shutdown command with force: xe vm-shutdown uuid=<uuid_of_vm> force=true Restart the toolstack on the host by using the following command: xe-toolstack-restart Restart the host. shutdown -r now If the VM is still not shutdown, you might… Continue Reading
Install Xen Orchestra on Ubuntu / Debian Rumi, September 23, 2023 Step 1: Update System Let’s start the installation by updating all the system packages: sudo apt update Also consider performing an upgrade: sudo apt upgrade -y Step 2: Install Node.js on Ubuntu / Debian Install dependencies. sudo apt install -y ca-certificates curl gnupg Import GPG repository keys: sudo mkdir -p… Continue Reading
Convert Xen XVA to KVM Rumi, August 23, 2023 Citrix Xen uses a custom virtual appliance format for import/export called “XVA”. it’s basically a strangely crafted tar-file. You don’t need this program to unpack this tar-file, just use your favourite tar unpacker (tar, gtar, bsdtar). Once unpacked you will end up with a lot of different files, ova.xml (which… Continue Reading
XOA on XCP-NG import and install Rumi, August 23, 2023 Start a new SSH session to your XenServer host and run the commands below. ### Using curl ### [18:18 xcp-node-01 ~]# bash -c “$(curl -sS https://xoa.io/deploy)” ### Using wget ### [18:18 xcp-node-01 ~]# bash -c “$(wget -qO- https://xoa.io/deploy)” If you are using an old XenServer version, you may encounter SSL… Continue Reading
Create a local ISO SR at XCP-NG Rumi, March 22, 2023 From the CLI: Create a directory on the local filesystem to storage your ISOs Copy/move ISOs to this new location Create the ISO SR using xe sr-create You can add or update ISOs later by placing them into the directory you created in step 1 Rescan the SR if you… Continue Reading
Install Xen Orchestra on Ubuntu 20 Rumi, March 21, 2023 Prework apt-get update && apt-get dist-upgrade Node.js For this particular installation node 16 is needed to be installed. Lets install- Add NodeSource PPA This command will add PPA sources required to be able to install NodeJS 16 on your Ubuntu 20.04 installation: curl -s https://deb.nodesource.com/setup_16.x | sudo bash Install NodeJS… Continue Reading
Force stop xen vm using command line Rumi, February 6, 2023July 8, 2023 Instructions Disable High Availability (HA) so you don’t run into issues. Log into the Xenserver host that is running your VM with issues via ssh or console via XenCenter. Run the following command to list VMs and their UUIDs xe vm-list resident-on=<uuid_of_host> First you can try just the normal shutdown… Continue Reading
Export/ Import VM to/from a backup file using command line on XenServer Rumi, April 18, 2021 Identify VM’s UUID We start by identifying a virtual machine we would lake to export to as a regular backup file. Run xe vm-list to list all available virtual machines and take a note of the virtual machine in question: # xe vm-list uuid ( RO) : 7371124f-7d4d-66b7-cbc7-a98b1457543e name-label (… Continue Reading
enable SNMP on Xen (XCP-NG) hypervisors Rumi, March 5, 2021 There are six steps to correctly configuring SNMP on your Citrix Xen hypervisor. These steps don’t require a system restart and are non-service affecting. To start, we assume you’re running Xen v6.x or v7.x, and are logged into the Xen CLI as root. 1. Enable the SNMP daemon Enable the… Continue Reading
Force Shutdown Xen VM Rumi, February 27, 2021 Instructions Disable High Availability (HA) so you don’t run into issues Log into the Xenserver host that is running your VM with issues via ssh or console via XenCenter Run the following command to list VMs and their UUIDs xe vm-list resident-on=<uuid_of_host> First you can try just the normal shutdown command with force xe… Continue Reading