Re: Multiple independent glusterfs daemons on the same host? Using vservers?

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

 



> So the question is, what makes this
> different from running two instances on different
> ports?  What kind of check is being done in glusterfsd
> and what are the reasons that this should be
> prevented?


you can run multiple glusterfsd instances on the same machine. the PID file
is only a mechanism which helps you write init.d scripts neatly. things you
need to take care -

1. if you are specifying pidfile, do not specify the same path for multiple
daemons
2. do not export the same backend directory with different glusterfsd
daemons.
3. take care to see to that both do not try to bind to the same tcp port
etc.

apart from that, the two daemons are oblivious to each other and they can
have same volume names defined as well.

Lastly, while I was able to make things work withing a
> vserver, I was only able to mount the client
> filesystem inside the same vserver from which it was
> exported, not on the host.  On the host when trying to
> mount the fs exported from within a guest I get:
>
> 2008-03-05 13:28:53 E
> [protocol.c:253:gf_block_unserialize_transport]
> client: EOF from peer (192.168.1.75:9996)
> 2008-03-05 13:28:53 C [tcp.c:81:tcp_disconnect]
> client: connection disconnected


are they both using the exact same version? (to the patchset level)

avati


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

  Powered by Linux