[Gluster-users] setting up a "server"

Steven Jones Steven.Jones at vuw.ac.nz
Thu Dec 1 01:59:06 UTC 2011


Hi,

Thanks....I think that's about my last option....something just isnt working....and lots of googling and reading suggests no course of action.

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: John Mark Walker [jwalker at gluster.com]
Sent: Thursday, 1 December 2011 2:53 p.m.
To: Steven Jones; Thomas Jackson; gluster-users at gluster.org
Subject: RE: [Gluster-users] setting up a "server"

Greetings,

If you're in need of some help, and you're unable to get it here, I would try our IRC channel during the morning hours, Pacific Time.

#gluster on irc.freenode.net


Thanks,
John Mark


________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org] on behalf of Steven Jones [Steven.Jones at vuw.ac.nz]
Sent: Wednesday, November 30, 2011 5:41 PM
To: Thomas Jackson; gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

deleting the /etc/gluster* directories seems to have been a bad idea.


regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org] on behalf of Steven Jones [Steven.Jones at vuw.ac.nz]
Sent: Thursday, 1 December 2011 2:39 p.m.
To: Thomas Jackson; gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

Hi,

Not working for me....

I was able to detach 2 and 3 locally, but there is no no1......trying peer probe just times out, I turned off the iptables firewall, no difference...

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org] on behalf of Thomas Jackson [thomas at thomax.com.au]
Sent: Thursday, 1 December 2011 10:35 a.m.
To: gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

Originally sent this straight to Steven by accident, resent to list in case
it helps anyone else



Try on each node:

gluster peer status - get what gluster thinks is the hostname from this
gluster peer detach <peer name that you got from above>

Then try the original instructions again. Note that you should NOT do a peer
probe to point to the local host, and you should only do the peer probe from
one server (the others will all sync together when it is done from the first
server).

For example, on one of my clusters (4 nodes):
        root at node1:~# gluster peer probe node2
        root at node1:~# gluster peer probe node3
        root at node1:~# gluster peer probe node4
        root at node1:~# gluster peer status
        Number of Peers: 3

        Hostname: node2
        Uuid: <uuid in here>
        State: Peer in Cluster (Connected)

        Hostname: node3
        Uuid: <uuid in here>
        State: Peer in Cluster (Connected)

        Hostname: node4
        Uuid: <uuid in here>
        State: Peer in Cluster (Connected)

If all else fails, delete the /etc/gluster* directories, restart gluster and
it should re-create them as you do the commands again.


-----Original Message-----
From: gluster-users-bounces at gluster.org
[mailto:gluster-users-bounces at gluster.org] On Behalf Of Steven Jones
Sent: Thursday, 1 December 2011 6:36 AM
To: gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

Hi,

So no one knows how to fix this I assume?

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org]
on behalf of Steven Jones [Steven.Jones at vuw.ac.nz]
Sent: Wednesday, 30 November 2011 1:19 p.m.
To: gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

On my initial node I get,

==========
[root at vuwunicoglstr01 ~]# gluster peer status Number of Peers: 1

Hostname: vuwunicoglstr01
Uuid: 00000000-0000-0000-0000-000000000000
State: Establishing Connection (Disconnected)
[root at vuwunicoglstr01 ~]#
==========

I assume it should be "connected"  how do I get it to connect?


regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org]
on behalf of Steven Jones [Steven.Jones at vuw.ac.nz]
Sent: Wednesday, 30 November 2011 11:48 a.m.
To: gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

I just tried to run

"gluster peer probe server2"

(and server 3) and it says they are part of separate clusters.

So how do I De-cluster my 2nd and 3rd nodes?  so I can make a cluster off
no1?  seems the rh rpms automatically setup clusters...like oops....

NB Where is the security around what can join a cluster or not?

Im getting a distinct impression the admin guide is somewhat lacking in info
on setting up....

Also I have the suggested chapter 6 as chapter 5 so is v3.2.5 the latest
version?  maybe the guide I have off the gluster web site is obsolete...?

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org]
on behalf of Steven Jones [Steven.Jones at vuw.ac.nz]
Sent: Tuesday, 29 November 2011 10:30 a.m.
To: gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

Hi,

Debian is good, I run that at home anyway.....if this works out that would
be my base OS choice.

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: gluster-users-bounces at gluster.org [gluster-users-bounces at gluster.org]
on behalf of Thomas Jackson [thomas at thomax.com.au]
Sent: Tuesday, 29 November 2011 10:17 a.m.
To: gluster-users at gluster.org
Subject: Re: [Gluster-users] setting up a "server"

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


_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
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


_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list