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
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.
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".
<Response>
Zapi::parse_xml - Expected <netapp> element, but got HTML
Discover Arrays completed with errors
'discoverArrays' returned <?xml version="1.0" encoding="UTF-8"?>
<ReturnCode>4</ReturnCode>
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
If you find this information useful, please award points for "correct" or "helpful".
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.
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.