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



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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.