qemu-glusterfs-3.8
PPA description
Qemu with GlusterFS support.
Nothing in the source changed except "glusterfs-common" and "libacl-dev" as build dependencies in the debian control file, which is enough to build with libgfapi support.
If you want to build by yourself you can use the build scripts from my GitHub repo:
https://github.com/monotek/glusterfs-launchpad-buildscripts
Configuration:
1.) Add /etc/apt/preferences.d/qemu:
Package: qemu*
Pin: release o=LP-PPA-monotek-qemu-glusterfs-3.8
Pin-Priority: 1000
2.) In /etc/glusterfs/glusterd.vol add:
option rpc-auth-allow-insecure on
3.) Restart Glusterfs-Server
4.) Gluster volume needs to have:
gluster volume set VOLNAME server.allow-insecure on
5.) Stop and Start Gluster Volume:
gluster volume stop VOLNAME
gluster volume start VOLNAME
6.) To test it create a VM image with:
qemu-img create -f raw gluster://your.glusterfs.domain/VOLNAME/vm.img 10G
7.) Disk part of your qemu/libvirt vm.xml file has to look like:
<disk type='network' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source protocol='gluster' name='VOLNAME/vm.img'>
<host name='your.glusterfs.domain' transport='tcp'/>
</source>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
8.) edit /etc/apparmor.d/abstractions/libvirt-qemu and add:
# for glusterfs
/proc/sys/net/ipv4/ip_local_reserved_ports r,
/usr/lib/@{multiarch}/glusterfs/**.so mr,
/tmp/** rw,
9.) service libvirt-bin restart
10.) virsh start vm
Adding this PPA to your system
You can update your system with unsupported packages from this untrusted PPA by adding ppa:monotek/qemu-glusterfs-3.8 to your system's Software Sources. (Read about installing)
sudo add-apt-repository ppa:monotek/qemu-glusterfs-3.8 sudo apt update
For questions and bugs with software in this PPA please contact André Bauer.
PPA statistics
- Activity
- 0 updates added during the past month.
Overview of published packages
1 → 4 of 4 results | First • Previous • Next • Last |
Package | Version | Uploaded by |
---|---|---|
qemu | 1:2.8+dfsg-3ubuntu2.3glusterfs3.8.15zesty1 | André Bauer () |
qemu | 1:2.6.1+dfsg-0ubuntu5.5glusterfs3.8.12yakkety1 | André Bauer () |
qemu | 1:2.5+dfsg-5ubuntu10.14glusterfs3.8.15xenial1 (Newer version available) | André Bauer () |
qemu | 2.0.0+dfsg-2ubuntu1.34glusterfs3.8.15trusty1 (Newer version available) | André Bauer () |
1 → 4 of 4 results | First • Previous • Next • Last |