Install GlusterFS on Centos 6 Virtuozzo Container


yum install bison automake flex libtool gcc fuse fuse-libs python-ctypes rsync readline-devel compat-readline5
yum remove rsync
cd /usr/local/src
rpm -Uvh rsync-3.0.7-1.el5.rfx.x86_64.rpm

Enable Fuse

vzctl set CTID --devices c:10:229:rw --save
vzctl exec CTID mknod -m 666 /dev/fuse c 10 229
vzctl exec CTID cp -a /dev/fuse  /lib/udev/devices/
vzctl set CTID --capability SYS_ADMIN:on --save

Download GlusterFS package

cd /usr/local/src

Stop here and create a few clone for the GlusterFS cluster. Each GlusterFS cluster has unique ID that if you clone them after installed Gluster, you’ll get same ID so peer probe will not work.

Install GlusterFS

rpm -Uvh glusterfs-core-3.2.4-1.x86_64.rpm 
rpm -Uvh glusterfs-fuse-3.2.4-1.x86_64.rpm 
rpm -Uvh glusterfs-geo-replication-3.2.4-1.x86_64.rpm

About piyecarane

Bla bla bla about me
This entry was posted in General, Linux, Virtuozzo and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s