[Gluster-users] proposed new doco for "Gluster 3.1: Installing GlusterFS on OpenSolaris"

Craig Carl craig at gluster.com
Fri Sep 24 03:22:34 UTC 2010

Paul - 
If you give me until Monday to test I can get you some feedback. On first glance it looks excellent! 



Craig Carl 

Sales Engineer; Gluster, Inc. 
Cell - ( 408) 829-9953 (California, USA) 
Office - ( 408) 770-1884 
Gtalk - craig.carl at gmail.com 
Twitter - @gluster 
Installing Gluster Storage Platform, the movie! 

From: "Paul Pettigrew" <Paul.Pettigrew at mach.com.au> 
To: gluster-users at gluster.org 
Sent: Wednesday, September 22, 2010 6:31:02 PM 
Subject: [Gluster-users] proposed new doco for "Gluster 3.1: Installing GlusterFS on OpenSolaris" 

Hi all 

Reference: http://support.zresearch.com/community/documentation/index.php/Gluster_3.1:_Installing_GlusterFS_on_OpenSolaris 

I have found this guide to be too brief/terse, and have endeavoured to improve it via more of a recipie/howto approach - and possibly misunderstood the intent of the brief directions in the process. 

Please advise if there are any errors? 

Once the procedure is corrected/confirmed by the experts, I propose it replace the current one - so more people can combine the benefits of ZFS and Gluster. 



To install GlusterFS onto OpenSolaris, perform the following steps, based on the doco: 

pkg install SUNWarc 
pkg install SUNWhea 
pkg install SUNWgcc 
pkg install SUNWbinutils 

Now, we need to add in support for installing CSW library files: 

pkgadd -d http://mirror.opencsw.org/opencsw/pkg_get.pkg 

vim /root/.bashrc 

Add to the end of the file: 

export PATH 

Logout and back into root terminal session, check the path value: 
# echo $PATH 

Now lets go ahead and run the program, and make it update itself in the process: 

pkg-get upgrade 
pkg-get install automake 
y (attribute change) 

pkg-get install autoconf 

pkg-get install gm4 

pkg-get install bison 

pkg-get install flex 
(nb: not flex_new) 

GNU Bison 2.3 - /opt/csw/bin (GlusterFS works with this Bison) 
GNU Flex 2.5.4 - /opt/csw/bin (GlusterFS works with this Flex) 
Note: Gluster Filesystem is incompatbile with the SUNWflexlex package, installed in /usr/sfw/bin. You need to use GNU Flex instead. 

Use the GNU make utility (do not use the Solaris make command). Use the following build instructions: 

export PATH=/usr/sfw/bin:$PATH 
mkdir /usr/src/gluster 
cd /usr/src/gluster 
wget http://ftp.gluster.com/pub/gluster/glusterfs/3.0/LATEST/glusterfs-3.0.5.tar.gz 
gunzip -d glusterfs-3.0.5.tar.gz 
tar -xf glusterfs-3.0.5.tar 
cd glusterfs-3.0.5 
LDFLAGS="-L/opt/csw/lib" ./configure --disable-fuse-client --disable-ibverbs 
make CFLAGS="-g -O0" LDFLAGS="-L/opt/csw/lib" 
make install 

Confirm the app is ready to run: 

/usr/local/sbin/glusterfs --version 

The build information is displayed, for example: 

glusterfs 3.0.5 built on Sep 23 2010 01:22:02 
Repository revision: v3.0.5 
Copyright (c) 2006-2009 Gluster Inc. <http://www.gluster.com> 
You may redistribute copies of GlusterFS under the terms of the GNU General Public License. 

Gluster-users mailing list 
Gluster-users at gluster.org 

More information about the Gluster-users mailing list