VMware Cloud Community
EddieH3
Contributor
Contributor
Jump to solution

Error while executing discoveryArrays command: NetApp SnapMirror

Hello,

When configuring the array managers in SRM I receive the following message: "Error while executing the discoveryArrays command". I have verified that the NetApp SRA installed the perl scripts in the directory (C:\Program Files\VMware\VMware Site Recovery Manager\scripts\SAN\ONTAP). Initially, i thought it was a permissions issue, but I also verifed that the SRM admin account has local admin on the VC box as well as within VC & SRM. I am using a NetApp V6080 filer and also verified the filer credentials I'm using to add an array manager. Has anyone come across this issue? Thanks in advance.

Environment: SRM 1.0.1, NetApp SRA 1.0.1

Reply
0 Kudos
1 Solution

Accepted Solutions
jbloo2
Enthusiast
Enthusiast
Jump to solution

You need to changed the "trusted.hosts" settings on the NetApp array to include the IP address of the SRM server that is running the adapter (this would be the Protection SRM server)

To do this, ssh or telnet to the NetApp array and run

options trusted.hosts

probably it is empty or does not contain your SRM server's address

add the address with the same commands, i.e. if address is 10.1.2.3 then

options trusted.hosts 10.1.2.3

if there is already an address configured, add 10.1.2.3 as a comma-separated entry.

Run SRM discovery again and hopefully it will work.

View solution in original post

Reply
0 Kudos
6 Replies
abhagwat
VMware Employee
VMware Employee
Jump to solution

Please attach the SRM log files that can be found under "C:\Documents and Settings\All Users\Application Data\VMware\VMware Site Recovery Manager\logs".

Reply
0 Kudos
depping
Leadership
Leadership
Jump to solution

Did you restart the SRM services after you installed the SRA? If so, please attach the log files.

Duncan

VMware Communities User Moderator | VCP | VCDX

-


Blogging:

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
EddieH3
Contributor
Contributor
Jump to solution

Thanks for your help, attached you will find the logs.

Reply
0 Kudos
depping
Leadership
Leadership
Jump to solution

<Response>

Discover Arrays Started

Collecting array information

Zapi::parse_xml - Expected <netapp> element, but got HTML

Discover Arrays completed with errors

</Response>

'discoverArrays' returned <?xml version="1.0" encoding="UTF-8"?>

<Response>

<ReturnCode>4</ReturnCode>

</Response>

It seems that the SRA returns an invalid formatted XML code. I would say you discovered an issue with the SRA. I would like to suggest you call VMware support and see if the can reproduce it or let the verify it. If it is the SRA NetApp will need to solve this issue and you will need to raise an SR at NetApp.,

Duncan

VMware Communities User Moderator | VCP | VCDX

-


Blogging: http://www.yellow-bricks.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Reply
0 Kudos
jbloo2
Enthusiast
Enthusiast
Jump to solution

You need to changed the "trusted.hosts" settings on the NetApp array to include the IP address of the SRM server that is running the adapter (this would be the Protection SRM server)

To do this, ssh or telnet to the NetApp array and run

options trusted.hosts

probably it is empty or does not contain your SRM server's address

add the address with the same commands, i.e. if address is 10.1.2.3 then

options trusted.hosts 10.1.2.3

if there is already an address configured, add 10.1.2.3 as a comma-separated entry.

Run SRM discovery again and hopefully it will work.

Reply
0 Kudos
EddieH3
Contributor
Contributor
Jump to solution

That fixed it! With DataONTAP 7.3.1, if you disable telnet, it breaks SSH, so we had to set telnet host access to null. Not sure why adding an array uses the telnet port. Or is the trusted.hosts file different than the hosts file telnet.access uses? Either way, adding the IP to the trusted.hosts file worked. Thanks for the assist.

Reply
0 Kudos