Subscribe
Accepted Solution

SRA SRM issue

[ Edited ]

Running vSphere 4.1 up1 with SRM 4.1.1 with the latest simulator.  Using NFS protocol.  Have a volume replicating with snapmirror and a VM inside the VMFS volume at the protected site.  All good.  However, when I try to setup the SRA it's failing with "Failed to connect to management system address while executing discoverArrays command.  Here is a part of the log file with the error:  By the way the firewall on the SRM server where the SRA is installed is OFF.

 

[2011-06-20 21:49:15.012 03924 trivia 'PrimarySanProvider'] Environment windir=C:\Windows will be set for the script

[2011-06-20 21:49:15.012 03924 verbose 'SysCommandLineWin32'] Starting process: "C:\\Program Files (x86)\\VMware\\VMware vCenter Site Recovery Manager\\external\\perl-5.8.8\\bin\\perl.exe" "C:/Program Files (x86)/VMware/VMware vCenter Site Recovery Manager/scripts/SAN/ONTAP/command.pl"

[2011-06-20 21:49:16.402 03924 trivia 'PrimarySanProvider'] discoverArrays's output:

[#1] <Response>

[#1]  Discover Arrays Started

[#1]  Collecting array information

[#1]  in Zapi::invoke, cannot connect to socket

[#1]  Discover Arrays completed with errors

[#1] </Response>

[2011-06-20 21:49:16.402 03924 info 'PrimarySanProvider'] discoverArrays exited with exit code 0

[2011-06-20 21:49:16.402 03924 trivia 'PrimarySanProvider'] 'discoverArrays' returned <?xml version="1.0" encoding="UTF-8"?>

[#1] <Response>

[#1]   <ReturnCode>2</ReturnCode>

[#1] </Response>

[#1]

[2011-06-20 21:49:16.402 03924 info 'PrimarySanProvider'] Return code for discoverArrays: 2

[2011-06-20 21:49:16.402 03924 error 'PrimarySanProvider'] The scripts returned an error, leaving the temporary file 'C:\Windows\TEMP\vmware-SYSTEM\dr-sanprovider3924-0'

[2011-06-20 21:49:16.402 03924 error 'PrimarySanProvider'] Invalid array management system address reported by the script

[2011-06-20 21:49:16.402 03924 info 'ArrayManagerImpl.QueryInfoTask-Task'] Work function threw MethodFault: dr.san.fault.InvalidAddressFault

[2011-06-20 21:49:16.402 03924 info 'ArrayManagerImpl.QueryInfoTask-Task'] Fault:

[#1] (dr.san.fault.InvalidAddressFault) {

[#1]    dynamicType = <unset>,

[#1]    faultCause = (vmodl.MethodFault) null,

[#1]    command = "discoverArrays",

[#1]    msg = "",

[#1] }

[2011-06-20 21:49:16.402 03924 verbose 'PropertyProvider'] RecordOp ASSIGN: info.error, ArrayManagerImpl.QueryInfoTask-68

[2011-06-20 21:49:16.402 03924 verbose 'ArrayManagerImpl.QueryInfoTask-Task'] Error set to (dr.san.fault.InvalidAddressFault) {

[#1]    dynamicType = <unset>,

[#1]    faultCause = (vmodl.MethodFault) null,

[#1]    command = "discoverArrays",

[#1]    msg = "",

SRA SRM issue

For those having the same issue here is the fix compliments of LarryNTAP in the VMware forum:

http://communities.vmware.com/thread/318270

Basically had to:

You do not have the options httpd.admin.access or httpd.admin.enable set appropriatly.  These may prevent api access which is http based.

SRA SRM issue

Just want to add some notes here that may help some other in the future:

I ran into this problem today, we have an SRM setup between a primary site filer and secondary site vfiler (across a WAN, separate networks). I made sure I had httpd options set correctly and I still couldn't connect.

The resolution was I had to add the secondary sites vcenter ip address to the options trusted.hosts of vfiler0, without this I couldn't connect and constantly got the error message "Failed to connect to management system address while executing discoverArrays command"

SRA SRM issue

Resolved my exact issue. Thanks!

Re: SRA SRM issue

I have followed all recommendations here but none works.

My error is "SRA command 'discoverArrays' didn't return a response."

on netapp fas 3210 with data ontap 8.0.2 7-mode;

i have snapmirrored a volume with vms to dr netapp fas 2040 with data ontap 8.0.2 7-mode

options httpd.admin.access legacy

options httpd.admin.enable on

options trusted.hosts ip_address_of_vcenter/srm

the etc/hosts on file contains hostname and ipaddress of vcenter/srm server.

vcenter server and vcenter SRM are installed on same host but SRM db - sql sits on separate sql host. connection is successful.

vcenter srm server SRA ontap_config.txt - ssl = on (ssl is also enabled on controller).

use_ip_for_snapmirror_relation = on - though i am using hostname based - either way,same error is diaplyed...

hostname and ipaddress for local and remote storage systems are in ip_host_mapping on vcenter/srm server...

Windows firewall and antivirus is also disabled..

attached is the error..

Any suggestions and help will be appreciated....Thanks...

Re: SRA SRM issue

basically i re-installed the SRAs on both sites after above configs...it worked..