Hi Dieter,
The cmdlet Set-NaVfilerProtocol uses the ZAPI vfiler-allow-protocol which allows the usage of certain protocols on the vfiler (for example: nfs, cifs, rsh, iscsi).
The cmdlet Enable-NaNdmp executes the CLI command ‘ndmpd on’ which starts the ndmpd service.
Allowing the usage of a protocol using Set-NaVfilerProtocol does not necessarily enable the related service. For example, a newly created Vfiler ‘tmp’ will have the cifs protocol allowed, however you still need to run ‘cifs setup’ (Set-NaCifs) to configure and enable the CIFS service.
PS C:\Users\Administrator> Get-NaVfilerProtocol -Name tmp
AllowedProtocols DisallowedProtocols
---------------- -------------------
{nfs, cifs, rsh, iscsi} {}
PS C:\Users\Administrator> $global:CurrentNaController.Vfiler = "tmp"
PS C:\Users\Administrator> Test-NaCifs
stopped
Similarly, you need to use Enable-NaNdmp to start the ndmpd service.
In summary, the options setting method is used to set protocols only but not enable the service.Enabling the service is done via different commands.
Hope this helps,
Tanzim