Error in Setup File Server Cluster with Samba

Amitay Isaacs amitay at gmail.com
Tue May 30 10:42:10 UTC 2017


On Tue, May 30, 2017 at 4:17 PM, GiangCoi Mr via samba-technical <
samba-technical at lists.samba.org> wrote:

> Hi Team.
> At the moment, I am installing File Server Samba Cluster as follow diagram
>
>
>
> File Server 01 and 02 connect to SAN 01 and SAN 02 through iSCSI. In both
> File Server I install and configure GlusterFS to share folder /data for
> shared files to everyone.
>
> ​File configure ctdb as follow
>
> vi /data/lock/ctdb
>
> CTDB_RECOVERY_LOCK=/data/lock/lockfile
> #CIFS only
> CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
> CTDB_MANAGES_SAMBA=yes
> #CIFS only
> CTDB_NODES=/etc/ctdb/nodes
>
>
> File public_address
> vi /data/lock/public_addresses
> 10.1.1.202/24 eth0
>
> File nodes
> vi /data/lock/nodes
> 172.16.0.1
> 172.16.0.2
>
>
> File smb.conf
>
> cp /etc/samba/smb.conf /data/lock/smb.conf
>
> vi /data/lock/smb.conf
>
> clustering = yes
> idmap backend = tdb2
> private dir = /data/lock
>
>
>
> [share]
>
> comment = Gluster and CTDB based share
> path = /data/share
> read only = no
> writable = yes
> valid users = jon
>
> I create soft link
> ln -s /data/lock/ctdb /etc/sysconfig/ctdb
>
> ln -s /data/lock/nodes /etc/ctdb/nodes
> ln -s /data/lock/public_addresses /etc/ctdb/public_addresses
>
> ln -s /data/lock/smb.conf /etc/samba/
>
>
> Everything I setup, It's ok. When I test network down with 2 Client, I
> disconnect eth0 in File Server 01, then
>
> - Client 01: 10.1.15.200 (in other subnet) is copying data to File Server
> 01 interrupted and the Client 01 have lost connection to File Server. I saw
> log from log.ctdb: "sendto failed, don't send tickle ACK to IP 10.1.15.200"
>

Can you paste the exact entry from CTDB's log?

Also, set debug level to NOTICE in ctdb configuration.
CTDB_LOGLEVEL=NOTICE


>  - Client 03: 10.1.1.210 (in same subnet) is copying data to File Server 01
> normally.
>
>
> I am using Cisco Layer 3 to routing inter VLAN.
>

Do you have any firewall on your Cisco router?


>
>
> So, how I do to fix this issue?
>
>
> Regards,
>
> Giang
>

Amitay.


More information about the samba-technical mailing list