Sheepdog Requirements 動作環境

One or more x86-64 machines.
Linux kernel 2.6.27 or later
glibc 2.9 or later
The corosync and corosync lib package.
QEMU 0.13 or later

Getting Started · sheepdog/sheepdog Wiki · GitHub

コンパイルには以下が必要

GNU Autotools
pkg-config
corosync devel package
git (when compiling from source repo)
liburcu
optional:fuse-devel (for sheepfs)

QEMU

エミュレータ

QEMU 0.13 以降で sheepdog サポート

QEMU 0.13 provides built-in support for sheepdog devices. Some distributions provide pre-built versions of this newer version of QEMU. If your distribution has an older version of QEMU or you prefer to compile from source, retrieve the latest QEMU and compile:

qemu-kvm.x86_64

CentOS 6.0 0.12 2:0.12.1.2-2.113.el6_0.8
CentOS 6.4 0.12 2:0.12.1.2-2.355.0.1.el6.centos.6
Fedora 15 0.14 2:0.14.0-7.fc15
Fedora 16 0.15
Fedora 18 1.2.2 2:1.2.2-13.fc18
Ubuntu 12.04.2 LTS 1.0 1.0+noroms-0ubuntu14.10
Ubuntu 12.04.2 LTS + cloud-archive-grizzly 1.0 1.0+noroms-0ubuntu14.10
Ubuntu 12.04.2 LTS + cloud-archive-havana 1.5.0 1.5.0+dfsg-3ubuntu2~cloud0

CentOS 6系は0.12

http://pkgs.org/download/qemu

Object Cache使用時に1.0だと以下のエラーが出た。

local_release_vdi(368) Some VDI failed to release the object cache. Probably you are running old QEMU.

→1.5.0では解消

user_xattr

user_xattrをサポートしている必要あり

The /var/lib/sheepdog will be where sheepdog will store objects. The directory must be on a filesystem with an xattr support. In case of ext3 or ext4, you need to add 'user_xattr' to the mount options.

$ sudo mount -o remount,user_xattr /var/lib/sheepdog