2013-10-10 08:32 AM
I'm trying to add vcenter 5.0 as a datasource for WFA 2.1 at a customer environment. I get a timeout (after the 600 seconds) with this error:
Command '$Uri = @($input) ; E:\wfa\jboss\..\PoSH\profile.ps1;Invoke-WfaCommand -Script './vc_13814179598042044799709485333259.ps1 '' timed out
It works fine in my lab (of course).
The vcenter client works fine from the WFA server with the same credentials. Any ideas? Thanks.
Solved! SEE THE SOLUTION
2013-10-10 09:18 AM
You can try to connect to the VCenter directly by using the VMware PowerCLI installed on the WFA server. This will let us know if things work without WFA in picture.
1. Open a VMWare Power CLI console. It should be available as a Desktop short-cut on the WFA server. If it isn't open Windows PowerCLI ISE or console and type the following:
PS C:\Users\Administrator> Add-PSSnapin VMware.VimAutomation.Core
PS C:\Users\Administrator> Connect-VIServer -Server 22.214.171.124 -Protocol https -Port 443 -User Administrator -Password netapp
Name Port User
---- ---- ----
126.96.36.199 443 Administrator
Use the same VCenter Hostname, Port as you have provided in VC Datasource.
3. Run a command to see it can fetch some data
PS C:\Users\Administrator> Get-VM
Name PowerState Num CPUs Memory (MB)
---- ---------- -------- -----------
14jan PoweredOff 2 8192
AD PoweredOn 1 4096
Data ONTAP-v Inst... PoweredOff 1 1024
Guarda-vm8 PoweredOn 4 12288
Let me know if this works fine, Our next step depends on the outcome of this result.
2013-10-10 11:15 AM
Thanks. This worked. We increased the timeout setting in WFA and it works now. Not sure why such a high timeout was necessary (1600, though we didn't try a lot of values between the default 600 and 1600).