To remove XEN VPS (guest0 operating system completely from my host server use the following command.
Use
xm destroy domain-id command - Immediately terminate the domain domain-id. This doesn't give the domain OS any chance to react, and it the equivalent of ripping the power cord out on a physical machine. In most cases you will want to use the shutdown command instead.
Use xm --list to guest list of all guest domains:
Now un the command
xm destroy {guest/domain} :
You may want to delete guest image from the /path/to/images directory.
Code:
rm -f /path/to/images/dom0 /etc/xen/dom0