This script will make an export of all running machines in a XEN Source host and will be saved as .xva file.
This script mount a NFS shared resource (you can comment that part and use a local folder only).
This is the script I use for backing up my running Virtual machines each week.
#!/bin/bash
#
# Re-written by: Carlos V
#
#
DATE=`date +%d%B%y`
XSNAME=`echo $HOSTNAME` #This is the host where the script will run
BKPFOLDER=/mnt/exporta #folder to mount the NFS external exported Read more...
vm-list
All posts tagged vm-list
It is important to note there is a correlation between all the parameters
Memory limits must satisfy:
static_min ≤ dynamic_min = dynamic_max = static_max
To modify the memory configuration for a Virtual machine in XEN through the cli commands you will have to stop the server
# xe vm-shutdown name-label="machine name"
Review the current memory configuration with
# xe vm-list params=all name-label="machine name" | grep memory
you have to find the uuid of the machine, that can be showed Read more...