When editing a backup, or creating a new backup, on the second screen where it should enumerate the VMs, I get an error, "could not connect to vmware api"
This error is caused when an ESX host which is in the vRanger inventory is unreachable shows up in the My Inventory view as disconnected.
To resolve this remove the unreachable host from the inventory. It may be necessary to edit the vRanger database to accomplish this task.
Option 1
1) Exit the vRanger GUI and stop the 3 vRanger services.
2) Launch the SQL Management Studio Express. Which may be downloaded from:
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en
3) Connect to the vRangerPro db and navigate to the dbo.InventorySourceConnection table.
4) Right-click the table, select "Open Table" (if using Management Studio for 2008, select "Edit top 200 Rows" instead of "Open Table".
5) When the table opens, locate the disconnected host name in the Address column.
6) Locate the IsDeleted column in the same row as the disconnected host and change the value to True.
7) Close the table to commit the changes.
8) Start the vRanger Pro service, vRanger API service, then vRanger FLR service.
9) Launch vRanger.
Or option 2
You can edit the vRanger database by running following SQL commands:
display list of servers
sqlcmd -S localhost\vRangerPro -d vRangerPro -Q "select left(address, 40), IsDeleted from InventorySourceConnection"
Then
sqlcmd -S localhost\vRangerPro -d vRangerPro -Q "update InventorySourceConnection set IsDeleted='True' where address='<disonnectedhostname>' "
stop and start all vRanger services.