Skip to main content

Configure /<path_to_shared_storage>/tsmb.conf file

The tsmb.conf file should be placed on shared storage that all nodes in the active-active cluster have read/write access to – please note these two important conditions regarding the tsmb.conf file:

  1. The tsmb.conf file should be modified by vim, emacs, nano or any other external application only when the Fusion SMB service across all the nodes in the cluster is completely stopped.
  2. When the Fusion SMB cluster service is running, modifications to tsmb.conf must only be done using the tsmb-cfg tool (please see section 9 of the Fusion File Share server manual). Modifying the tsmb.conf file directly could result in an inconsistent configuration state between the cluster nodes. Configure share to point to shared storage and add path to continuous availability parameters on shared storage:
[share]
netname = SH1
remark = Test Share
path = /path/to/shared/storage
ca = true
ca_params = path=/path/to/shared/storage/ca_params
[/share]

In the global section, these parameters will increase performance over 100Gbps networks but may need to be adjusted for your environment:

    sess_open_files_max = 1048576
open_files_max = 1048576
connections_max = 1048576
transport_rx_threads = 64
transport_tx_threads = 64
vfs_metadata_threads = 1024
vfs_data_threads = 1024

In global section, set TCP tickle to true and add path to shared storage:

tcp_tickle = true
tcp_tickle_params=path=/path/to/shared/storage/tcp_params

In global section, comment out existing portions of the listen parameters and add the virtual ip by specifying adapter, virtual IP, IPv4, port 445 and DIRECT_TCP (this virtual IP should be added to DNS because the Windows client will default to NTLM authentication when using an IP address)

listen = ens19,10.13.0.13,IPv4,445,DIRECT_TCP