I have been using the datastore cluster name in that field. In the first script (not yours) that I used, it would only go to one DS, even when I used the cluster name. I can't post the error ...
See more...
I have been using the datastore cluster name in that field. In the first script (not yours) that I used, it would only go to one DS, even when I used the cluster name. I can't post the error right now since we're in the process of testing out a few methods to get these updates applied. The problem, IIRC, was that tools crashed when we went to execute the update on those VMs. Some would come back after a reset, but not all. We ran a different command set against a smaller set of VMs (spread out over several vCenters/host clusters) this morning and out of 32 targets, we had one that we had to uninstall and reinstall the tools to get that one resolved. Tools were running, and not reporting any issues, before we kicked off the update task. It was driven through VUM. Now, we're looking to see about flipping the switch for 'update on boot/reboot' for the tools and HW version. That way, since OS patches also are going to be applied, the VM will reboot and apply the tools update during those reboots. Same thing for the HW version update. I did export the events from the past 36 hours and it didn't show any errors. Even though we saw them in the tasks. Looking in the tasks listing, I can see errors, but they're generic. The target VMs have been deleted since the tasks were done (to get into a clean state with the VMs). Of course, ONE of the vCenters is still on 5.5 and the thick client was being a total ballbag to us today. Lagging like a you would not believe. The web client was fine, except it doesn't have VUM available. But, we were able to get the tools updated (struggled to get the 5 VMs that were in that set to remediate) and then we ran the script again to also get the HW version updated. That configuration is slated to be decommissioned sometime in the coming months, so no version updates are going to happen there. I have 53 VMs to update on my window tomorrow at 10am (EST). That includes the 5.5 vCenter/environment. Plus another 6 vCenter Servers/environments.