Ok, here is what I did (I am also using CentOS):
1. mkdir /usr/src/glusterfs on my primary data server.
2. wget the following packages:
glusterfs-client-3.0.2-1.x86_64.rpm
glusterfs-common-3.0.2-1.x86_64.rpm
glusterfs-debuginfo-3.0.2-1.x86_64.rpm
glusterfs-devel-3.0.2-1.x86_64.rpm
glusterfs-server-3.0.2-1.x86_64.rpm
3. rsync the /usr/src/glusterfs dir to all server and client machines
4. On the servers install everything, on the clients install glusterfs-client,
glusterfs-common, and glusterfs-debuginfo
5. mkdir /etc/glusterfs on all machines
6. Create a partition to share
7. run the following (if you have more data servers you can list more than 2):
/usr/bin/glusterfs-volgen -n <cluster_name> -r 1 -c /etc/glusterfs <ip of the primary server>:<path to mount point of the partition to share> <ip of the
secondary server>:<path to mount point of the partition to share>
7. rsync the .vol files to all machines.
8. Start glusterfsd on the servers (I have 2)
9. add this to your /etc/fstab (even on the servers if you want access to the
partitions from the servers)
/etc/glusterfs/<cluster_name>.vol /<gluster client mount_point>
glusterfs defaults 0 0
10. run mount -a
That is it. Please feel free to ask me more questions if this is to terse or
unclear in some way.
^C
[email protected] wrote:
Mark,
Wow this is a really aggressive e-mail.
Well, the documentation is insufficient. And I would have assumed that
there would be a man page for glusterfs-volgen, not just a usage.
<snip>
They have been releasing new versions and probably have not had the time
needed to create the documentation yet.
I hope you will get the answers you need, but you did not really ask any
questions.
Excuse me?
a) what do I do with the option --export-directory?
b) I installed via package - on each server, do I have to edit a
configuration file, or will glusterfs-volgen do that for me?
In short, I was trying to follow the directions the community has up, and
I can't get to generate the volume. Therefore, since my manager wants to
play with it asap, I'm somewhat irritated that I can't just follow the
directions... which was why I was assuming that people had complained
about this before, and so I asked for a link to either documentation or a
thread that told me what to do.
mark
_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users