Executing tests and validations on the highly available file server
The first test we need to execute on our highly available file server is to try to access the share directly on the server localhost
interface. We can perform this test using the smbclient
tool as follows:
root@gluster1:~# smbclient -L localhost -U 'zisala%w1ndow$$' Domain=[POA] OS=[Unix] Server=[Samba 4.0.9] Sharename Type Comment --------- ---- ------- share Disk Highly Available Share … root@gluster1:~#
Tip
It's assumed that even if you have specified the interfaces to bind the Samba 4 services, the loopback interface hangs your tests if you have removed this interface from your configuration.
Second, let's try to access using the VIPs as follows:
root@gluster1:~# smbclient ...
Get Implementing Samba 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.