Am Mittwoch, den 31.07.2013, 04:10 +0000 schrieb Bohai (ricky): > Hi, > > I have a question about the virtual machine's define XML's persistence. > > As we know, if we use "virsh define" to define a virtual machine, libvirt > will put the XML to > the path "/etc/libvirt/qemu". > > Normal case, even the system is rebooted, the XML file still exist. > But in the ovirt-node case , because of the system is stateless, if we reboot > the system, > the defined virtual machine XML file will disappear. > > How to solve the problem, any hint? > Or this issue should be considered and solved in the upper level(Like vdsm? > Or ovirt-engine?). > Or customize the libvirt to make it to put the XML to a persist path(like > /config or /data?)
You can use the persist <filename> command on a shell to persist (nearly) all files on the filesystem. The persist command is the way to store changes on a writable filesystem. The changed files are then bind-mounted during the boot process to the correct location in the root-fs. - fabian > I apologize if I am missing something very obvious. > > Best regards to you. > Ricky > > _______________________________________________ > node-devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/node-devel _______________________________________________ node-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-devel
