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 command with force xe vm-shutdown uuid=<UUID from step 3> force=true If that just hangs, use CONTROL+C to kill it off and try to reset the power state. The force is required on this command xe vm-reset-powerstate uuid=<UUID from step 3> force=true If the VM is still not shutdown, we may need to destroy the domain. Run this command to get the domain id of the VM. It is the number in the first row of output. The list will be the VMs on the host. Dom0 will be the host itself and all numbers after are running VM list_domains Now run this command using the domain ID from the output of step 7 xl destroy <DOMID from step 7> To start the VM use- xe vm-start name-label=$VMN Related Administrations Configurations (Linux) XCP-NG XCP-NGXen
Using NGinx to serve static files and Apache for dynamic September 6, 2019 Apache is a great web-server, but it has a pretty heavy memory footprint. It can get quite restrictive quite quickly, especially if you’re on a system will limited resources (given how many people now run on a VPS, and the poor disk IO of these systems it’s all the more… Read More
Installation Bashtop an upgraded CLI system reporting interface from Top or Htop August 15, 2020 Install Bashtop Resource Monitor on Ubuntu You can use PPA repository for Ubuntu Linux installations: sudo add-apt-repository ppa:bashtop-monitor/bashtop sudo apt update sudo apt install bashtop Install Bashtop Resource Monitor on Debian For Debian and its based distributions, used the commands below: Related Read More
Set DNS server address temporarily February 24, 2020 Write it into /etc/resolv.conf: echo “nameserver 1.2.3.4″ | sudo tee /etc/resolv.conf Upon successful DHCP connection, it should be overwritten back to the “correct” DNS server. Related Read More