Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Add-NaNfsMonitor


NAME
Add-NaNfsMonitor

SYNOPSIS
Starts monitoring the specified hosts for NFS lock recovery purposes.

SYNTAX
Add-NaNfsMonitor [-Hosts] <String[]> [-Controller <NaController>] [<CommonPa
rameters>]


DESCRIPTION
Starts monitoring the specified hosts for NFS lock recovery purposes. The sp
ecified hosts are added to the list of of clients that will be notified of l
ock recovery in the event of an NFS server crash/reboot.


PARAMETERS
-Hosts <String[]>
An array of hosts that are to be monitored.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES


Category: nfs
API: nfs-monitor-add

-------------- Example 1 --------------

C:\PS>Add-NaNfsMonitor sportster


Begin monitoring NFS client 'sportster'.






RELATED LINKS
Get-NaNfsMonitor
Remove-NaNfsMonitor







 Data ONTAP® PowerShell Toolkit