Re: gluster command not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joe,

You are right. When I installed from ppa, command is working fine. I
referred the blog :
http://blogs.reliablepenguin.com/2013/09/05/glusterfs-cluster-with-ubuntu-on-rackspace-cloud
and successfully installed gluster. I am not configuring client as I
only need to replicate it across those two master servers and use it
under Loadbalancer. Setup is completed successfully but the file I add
on /data in first server is not replicating in second server and vice
versa. Following are the output from the servers:


root@gluster1:/data# gluster volume info

Volume Name: testvol
Type: Replicate
Volume ID: ceb5e415-8194-4e30-85b6-d92492e86a11
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: gluster1:/data
Brick2: gluster2:/data





root@gluster1:~# gluster volume status
Status of volume: testvol
Gluster process                                         Port    Online  Pid
------------------------------------------------------------------------------
Brick gluster1:/data                                    24009   Y       794
Brick gluster2:/data                                    24009   Y       784
NFS Server on localhost                                 38467   Y       800
Self-heal Daemon on localhost                           N/A     Y       806
NFS Server on gluster2                                  38467   Y       790
Self-heal Daemon on gluster2                            N/A     Y       796





root@gluster1:/data# gluster peer status
Number of Peers: 1

Hostname: gluster2
Uuid: 5fead283-8f03-4495-86e4-2d80d2fefb1b
State: Peer in Cluster (Connected)



root@gluster2:~# gluster volume status
Status of volume: testvol
Gluster process                                         Port    Online  Pid
------------------------------------------------------------------------------
Brick gluster1:/data                                    24009   Y       794
Brick gluster2:/data                                    24009   Y       784
NFS Server on localhost                                 38467   Y       2208
Self-heal Daemon on localhost                           N/A     Y       2214
NFS Server on 10.181.106.254                            38467   Y       2511
Self-heal Daemon on 10.181.106.254                      N/A     Y       2517



root@gluster2:~# gluster peer status
Number of Peers: 1

Hostname: 10.181.106.254
Uuid: c3af97be-4ef1-4908-89e2-0d1699329f2a
State: Peer in Cluster (Connected)



root@gluster2:~# gluster volume info

Volume Name: testvol
Type: Replicate
Volume ID: ceb5e415-8194-4e30-85b6-d92492e86a11
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: gluster1:/data
Brick2: gluster2:/data



root@gluster1:/data# touch g
root@gluster1:/data# ls
g


root@gluster2:/data# ls
root@gluster2:/data#

Nothing came in the second server !!

Kindly assist.

Thanks,
Gopu


---------------------------------------------------------------------------------------------------------------------------------
On 4/13/14, Joe Julian <joe@xxxxxxxxxxxxxxxx> wrote:
> Are you installing from the ppa?
>
> On April 12, 2014 7:58:02 PM PDT, Baochuan Wu <wildpointercs@xxxxxxxxx>
> wrote:
>>It is strange. I have a virtual machine running Ubuntu 12.04 server.
>>After
>>running "sudo apt-get install glusterfs-server", I can run gluster
>>command.
>>You can try to install from source code.
>>
>>Thanks,
>>Baochuan
>>
>>
>>2014-04-13 1:19 GMT+08:00 Gopu Krishnan <gopukrishnantec@xxxxxxxxx>:
>>
>>> Hi,
>>>
>>> I am trying to configure GlusterFS in my rackspace cloud servers and
>>> facing multiple issues.
>>>  I have
>>>  installed fuse and glusterfs packagaes but glusterfs is not
>>> running at all.
>>>  Could you please guide me through installation in ubuntu serves ?
>>Below
>>> are
>>>  the steps I have tried:
>>> apt-get install libfuse2
>>>
>>> apt-get install  fuse-utils
>>>
>>> apt-get install glusterfs-server
>>> service glusterd start
>>>
>>> root@test1:~# service glusterfs-server status
>>>
>>>   * GlusterFS server is not running.
>>>
>>> root@test1:~# gluster peer probe test2
>>>  -bash: gluster: command not found
>>>
>>>  So I am stuck here from the remaining steps. Please let me
>>> know if I missed
>>>  something.
>>>
>>> Thanks
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users@xxxxxxxxxxx
>>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>>>
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Gluster-users mailing list
>>Gluster-users@xxxxxxxxxxx
>>http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux