Any guesses as to when PowerCLI will support datastore clusters? It's a bit of pain right now to do large quanties of storage vMotions (we've got a ton of migrations to do).
Whilts I can give no time line as to when we will be releasing I can confirm that we are looking at datastore clusters for a future version.
Luc has some nice functions here to do some Data store cluster functions already... http://www.lucd.info/2011/12/11/vsphere-5-top-10-storage-drs/
Whilts I can give no time line as to when we will be releasing I can confirm that we are looking at datastore clusters for a future version.
Luc has some nice functions here to do some Data store cluster functions already... http://www.lucd.info/2011/12/11/vsphere-5-top-10-storage-drs/
Thanks Alan. I see that the scripts manipulate the datastore clusters but what I'm really looking for a script that lets me do the equivalent of a move-vm to a datastore cluster. LucD has created scripts for stuff that isn't hard to do manually (create/manipulate a ds cluster) but the day-to-day stuff is what I'm trying to automate. Any workarounds or scripts you can recommend until the new version of PowerCLI comes out? I've got hundreds of VMs to move...
Sorry I am not aware of a way to do this at the moment, I will double check though.
Have you checked out this post?
http://communities.vmware.com/message/1990303#1990303
Conrad (crad14) has some impressive logic he's using in his Upgrade Datastore script.
Conrad (crad14) has some impressive logic he's using in his Upgrade Datastore script.
That is nice to throttle based on latency (and with EXSi 5 we can now get NFS latencies) but it doesn't move the VMs to a datastore cluster. Still searching for a way to simplify that...
I just took a look at this and it looks like so long as you move your VM to a datastore which is part of a DRS cluster it will show up in vCenter as being part of that datastore cluster and ruless will be applied.
I just took a look at this and it looks like so long as you move your VM to a datastore which is part of a DRS cluster it will show up in vCenter as being part of that datastore cluster and ruless will be applied.
That's what I'm doing now. It means that I have to do a one-to-match for source to destination datastore though which is sort of OK if all the datastores are the same size and already evenly balanced for space and workload. This defeats the beauty of initial placement of VMs that sDRS gives you though and may result in a double-move once the recommendations are calculated and applied.
I got the same question on my blog post, and I'm afraid it is not possible yet.
My reply: "@Jonathan, the current PowerCLI build (5.0.1) only supports Datastore Clusters on the New-VM and the New-Harddisk cmdlets.
But I suspect that is a vSphere limitation, the RelocateVM_Task method also doesn't seem to support a Storage Cluster (yet)."
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yeah AFAIK there is no way at the moment to use the inital placement feature on a SvMotion so you would need to do some initial placement testing in the script yourslef and hope for the best until the cmdlets are available for this.
Thanks... I'll try to be patient and wait for this to implemented in PowerCLI.
Have you looked at my script, it is possible it might atleast partially get you to where you need to be.....
I know Josh mentioned another forum post, but it doesn't fully talk about the script I wrote....Check it Out
