ONTAP Discussions

Oncomm workflow 2.2 version fails to configure vfilerdr for sm destination running Ontap 8.2.5

Nataraja
2,417 Views

WFA version 2.2

 

Snapmirror source filer running 8.2.4

 

Snapmirror destination filer running 8.2.5

 

Intial error was this

 

###########################################################################################################################


09:54:44.686 INFO  [Resync VfilerDR v1_01] ***** Workflow Execution Failed *****

10:58:32.130 INFO  [Resync VfilerDR v1_01] ### Command 'Resync VfilerDR v1_01' ###
10:58:48.105 INFO  [Resync VfilerDR v1_01] Executing command: ./Resync_VfilerDR_v1_015623652416930611295.ps1 -DestinationArray '134.143.100.69' -SourceArray 'c4nlamsyn79.europe.shell.com' -SourceVFilerName 'nlamvfs00339' -SourceVolumeName 'vdf_35430'
10:58:48.151 ERROR  [Resync VfilerDR v1_01] At E:\APPS\NetApp\WFA\jboss\standalone\tmp\wfa\Resync_VfilerDR_v1_015623652416930611295.ps1:46 char:68
+   Get-WFALogger -Info -message $("Found registry configuration for $SourceVFiler ...
+                                                                    ~~~~~~~~~~~~~
Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name.


10:58:48.916 ERROR  [Resync VfilerDR v1_01] Command failed for Workflow 'Create Volume Shell Generic NFS High-Standard with WSM v1_3_22' with error : At E:\APPS\NetApp\WFA\jboss\standalone\tmp\wfa\Resync_VfilerDR_v1_015623652416930611295.ps1:46 char:68

+   Get-WFALogger -Info -message $("Found registry configuration for $SourceVFiler ...

+                                                                    ~~~~~~~~~~~~~
Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name.

###########################################################################################################################

Below is the WFA command code  we corrected, changed below line in the code

 

Get-WFALogger -Info -message $("Found registry configuration for $SourceVFilerName: $pfiler")

 

to

 

Get-WFALogger -Info -message $("Found registry configuration for $($SourceVFilerName): $pfiler")

 

After which getting execution failed  at the vfiler DR resync step as before but without any error , recently we changed the pstk version, upgraded powershell etc for supporting ontap 8.2.5 version.

 

11:30:05.807 INFO  [Resync VfilerDR v1_01] ### Command 'Resync VfilerDR v1_01' ###
11:30:21.735 INFO  [Resync VfilerDR v1_01] Executing command: ./Resync_VfilerDR_v1_012188449488969988886.ps1 -DestinationArray '134.143.100.69' -SourceArray 'c4nlamsyn79.europe.shell.com' -SourceVFilerName 'nlamvfs00339' -SourceVolumeName 'vdf_35437'
11:30:21.813 INFO  [Resync VfilerDR v1_01] Get-WfaCredentials -Host 134.143.100.69
11:30:21.828 INFO  [Resync VfilerDR v1_01] Credentials successfully provided for '134.143.100.69'
11:30:21.906 INFO  [Resync VfilerDR v1_01] Connect-NaController (with credentials) -Name 134.143.100.69 -Timeout 60000 -ErrorAction Stop
11:30:22.702 INFO  [Resync VfilerDR v1_01] Connected to controller
11:30:22.749 INFO  [Resync VfilerDR v1_01] Resync Vfiler DR
11:30:23.108 INFO  [Resync VfilerDR v1_01] Using Source base array c4nlamsyn79
11:30:23.123 INFO  [Resync VfilerDR v1_01] Credentials successfully provided for '134.143.100.46'
11:30:23.154 INFO  [Resync VfilerDR v1_01] Found the credentials for user wfa for controller 134.143.100.46
11:30:29.145 INFO  [Resync VfilerDR v1_01] Found registry configuration for nlamvfs00339: options.vfconfig.nlamvfs00339.remote_pfiler=c4nlamsyn79-repl
11:30:29.160 INFO  [Resync VfilerDR v1_01] Using SourceBaseArray c4nlamsyn79-repl
11:30:29.176 INFO  [Resync VfilerDR v1_01] Resync Vfiler DR nlamvfs00339 c4nlamsyn79-repl 134.143.100.69 Cred:  wfa VolumeName vdf_35437
11:31:30.187 INFO  [Resync VfilerDR v1_01] Found storage path vdf_35437 with status snapmirrored
11:31:30.203 INFO  [Resync VfilerDR v1_01] That is fantastic, apparently the resync worked
11:31:31.560 ERROR  [Resync VfilerDR v1_01] Command failed for Workflow 'Create Volume Shell Generic NFS High-Standard with WSM v1_3_22' with error :
11:31:31.576 INFO  [Resync VfilerDR v1_01] ***** Workflow Execution Failed *****

0 REPLIES 0
Public