[one-users] OpenNebula and Qemu Guest Agent
Javier Fontan
jfontan at opennebula.org
Tue Jan 21 02:32:48 PST 2014
OpenNebula does not support the agent out of the box but it shouldn't
be too hard to make it work.
The virtio serial port can be easily added using RAW parameter in the template:
RAW=[
TYPE="kvm",
DATA="<devices><channel type='unix'><source mode='bind'><target
type='virtio' name='org.qemu.guest_agent.0'/></channel></devices>"]
In case you are going to add it to all the VMs you can add as a
default raw parameter for all templates in
/etc/one/vmm_exec/vmm_exec_kvm.conf.
Now to make use of it in shutdown and reboot you can modify
/var/lib/one/remotes/vmm/kvm/{shutdown,reboot} and add '--mode agent'
parameter to the commands. For example, for shutdown:
shutdown_command="virsh --connect $LIBVIRT_URI shutdown --mode agent $deploy_id"
After these modifications use "onehost sync" command to transfer the
modified files to the remote hosts.
Cheers
On Mon, Jan 20, 2014 at 3:02 PM, Igor Laskovy <igor.laskovy at gmail.com> wrote:
> Hello list,
>
> Could anybody clarify, currently does OpenNebula support Qemu Guest Agent
> (http://wiki.libvirt.org/page/Qemu_guest_agent) in someway?
>
> --
> Igor Laskovy
> facebook.com/igor.laskovy
> studiogrizzly.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan
More information about the Users
mailing list