Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a bunch of Xen DomUs running on Xen 3.3.2 on RHEL5.4. I've setup those VMs as a complete Xen rookie and now I notice that using virt-manager might not have been the best idea, since I don't have any python-based configuration files at all, only config.sxp file for each domain in /var/lib/xend/domains. Apparently, it's a good idea to have them though, so my question is: how can I recover from my newbie mistakes and re-create those configuration files without starting from scratch?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

If you're running on RHEL5, then using virt-manager, virsh, and other libvirt-related tools is indeed the correct approach. You do not want to be editting those Xen files in /var/lib/xend/domains; let Xen manage things on its own.

libvirt manages a configuration database somewhere in /var for you, and using virsh edit <vm name> you can modify the virtual machine configuration.

Another upside to this approach is the fact that if you switch virtualization platforms (for instance to KVM when RHEL6 is released), your workflow with virt-manager will not be affected.

share|improve this answer
    
Thanks, virsh edit seems to work like I wished! Now I have to find those xenpv drivers for the updated kernel ;) –  Nikolai Prokoschenko Jan 20 '10 at 16:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.