Install GlusterFS on Centos 6 Virtuozzo Container


Preparation


yum install bison automake flex libtool gcc fuse fuse-libs python-ctypes rsync readline-devel compat-readline5
yum remove rsync
cd /usr/local/src
wget http://packages.sw.be/rsync/rsync-3.0.7-1.el5.rfx.x86_64.rpm
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
wget http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-core-3.2.4-1.x86_64.rpm
wget http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-fuse-3.2.4-1.x86_64.rpm
wget http://download.gluster.com/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-geo-replication-3.2.4-1.x86_64.rpm

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
Advertisements

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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s