[Gluster-users] setting up a "server"

Thomas Jackson thomas at thomax.com.au
Mon Nov 28 21:17:05 UTC 2011


Hi Steven,

Extract from our internal wiki (this is for Debian based machines, so you
would need to swap a few of the commands around for Red Hat):

On all machines in the cluster:
	Check that they have entries for each other in /etc/hosts

Execute on all machines in the cluster:
	dpkg -i <most_recent_stable_version>
	/etc/init.d/glusterd start

On ONE HOST ONLY (doesn't matter which), execute the following commands to
build a distribute/replicate volume:
	gluster peer probe <host name of other box - repeat this command for
each box in the cluster other than the one executing the commands>
	gluster volume create test-volume replica 2 transport tcp
host1-dns-name:/mnt/physical-storage host1-dns-name:/mnt/physical-storage
	gluster volume start test-volume

On the hosts that you want to mount the volume on:
	mkdir /mnt/gluster
	mount -t glusterfs localhost:/test-volume /mnt/gluster-volume/

Cheers,

Thomas

-----Original Message-----
From: gluster-users-bounces at gluster.org
[mailto:gluster-users-bounces at gluster.org] On Behalf Of Steven Jones
Sent: Tuesday, 29 November 2011 8:07 AM
To: gluster-users at gluster.org
Subject: [Gluster-users] setting up a "server"

Hi,

I have the install guide and the admin guide....nothing in either that I can
see from the contents pages tells me how to create the first "server" ( I
assume that is what I have to do?)

Is there another doc Im missing? or a good URL for a howto on a redhat based
machine?

Also from what I can see the "free" version is cli only?

and there is no virtual (vmware) appliance?


regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
-- 
Message  protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au





More information about the Gluster-users mailing list