Data ONTAP® PowerShell Toolkit

Cmdlet: Test-NaLunConfig


NAME
Test-NaLunConfig

SYNOPSIS
Returns a list of configuration warnings for various use cases.

SYNTAX
Test-NaLunConfig [-Controller <NaController>] [-WarningAction <ActionPrefere
nce>] [-WarningVariable <String>] [<CommonParameters>]

Test-NaLunConfig [-Controller <NaController>] [-CFMode] [-WarningAction <Act
ionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Test-NaLunConfig [-Controller <NaController>] [-SSI] [-WarningAction <Action
Preference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Returns a list of configuration warnings for various use cases.

General: (No switches) Returns a list of lun/fcp configuration warnings. Th
ese warnings are not related to filer cluster configuration.

FCP cfmode: (CFMode switch) Returns a list of configuration warnings relate
d to initiator groups and the fcp cfmode setting

SSI FCP cfmode: (SSI switch) Returns a list of configuration warnings that
pertain to problems specific to the 'ssi' fcp cfmode. These errors must be
fixed prior to upgrading any filer cluster to run in 'ssi' mode.


PARAMETERS
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

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

-WarningAction <ActionPreference>


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

-WarningVariable <String>


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

-CFMode
Specify -CFMode to get FCP cfmode configuration warnings.

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

-SSI
Specify -SSI to get SSI FCP cfmode configuration warnings.

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
System.Collections.Hashtable


NOTES


Category: lun
API: lun-config-check-info, lun-config-check-cfmode-info, lun-config-che
ck-single-image-info

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

C:\PS>(Test-NaLunConfig).FcpDownHbas


Get list of down FCP adapters.


Adapter State
------- -----
0c OFFLINED BY USER/SYSTEM
0d OFFLINED BY USER/SYSTEM


-------------- Example 2 --------------

C:\PS>Test-NaLunConfig -SSI | fl


Check for SSI FCP cfmode configuration warnings.


Name : ConflictingMaps
Value :

Name : InvalidNodenameSettings
Value : NetApp.Ontapi.Filer.Lun.InvalidNodenameSettingInfo

Name : ConflictingInitiators
Value :



RELATED LINKS







 Data ONTAP® PowerShell Toolkit