We help IT Professionals succeed at work.

Storage optimization for SCVMM 2012R2

461 Views
Last Modified: 2014-12-29
I can see there are options for Dynamic Optimization of hosts in SCVMM 2012 R2, and that these are based on memory consumption and processor consumption. I can see there are options for Power Optimization as well. But how do I set up the equivalent for Storage DRS (that exists in VMWare) for SCVMM2012R2? In other words; I want to set up Dynamic optimization of storage and load balancing of storage based on storage consumption, but I can't find descriptions of this or articles about this on the internet. If it is of any concern; the SCVMM 2012 R2 environment that I want to set this up in uses clustered hosts that are clustered with Microsoft Failover Clustering. This cluster in turn uses CSV disks (Clustered Shared Volumes).
Comment
Watch Question

Philip ElderTechnical Architect - HA/Compute/Storage
CERTIFIED EXPERT

Commented:
How are the nodes connected to the shared storage

Is MPIO being used?

If yes, then that's probably the answer to what you are asking.

We use MPClaim from an elevated command prompt to manage storage.

If SMB Multi-Channel is being used then that's a bit different. Scale-Out File Server and Hyper-V would take care of the I/O moving across the channels.
itniflProgrammer

Author

Commented:
We are using MPIO, but it is not IO load balancing I am wanting to control. I want a storage load balancing feature that auto migrates vhdx files to other CSV disks when such a disk fills up, so to even out the storage data usage among the CSV disks in the cluster.
Philip ElderTechnical Architect - HA/Compute/Storage
CERTIFIED EXPERT

Commented:
Ah, not possible.

How we do things:
Smaller clusters with 4-12 VMs: We set up a dedicated LUN for each VHDX file with ownership of the LUNs distributed either between nodes (Asymmetric Cluster via Storage Spaces) or controllers (DAS like MD3220 SAS, P2000 MSA SAS). Each VM has an OS VHDX and a Data VHDX.

For clusters with more than that our storage is on a Scale-Out File Server cluster with Storage Spaces. We tend to set up one large Space (LUN) or two Spaces (LUNs) for our CSVs since SoFS takes care of load via SMB Multi-Channel.

One can Live Migrate VHDX files between CSVs without bringing the VMs down.

Oh, and we _don't_ thin provision our setups. All VHDX files are FIXED. Having an overprovisioned CSV is a recipe for disaster IMNSHO.

EDIT: I almost forgot. We don't snapshot either. That creates a differencing disk that continues to grow until the snapshot is deleted which merges the differencing disk back into the parent.
itniflProgrammer

Author

Commented:
Philip Elder: Thank you for your reply. Yes, thin provisioned disks are not recommended by Microsoft in production environments. We will have to have strict control of the over provisioning that is being done, constant surveilance. If there is no way to auto live migrate VMs from LUNs that have exceeded a threshold, then i will just have to create a script or something that does this for me at frequent intervalls.

This is a bit of a disapointment. I am used to VMWare having Storage DRS that can automatically load balance and live migrate virtual machine files to other datastores if thresholds are exceeded, without any fuzz or complications.
Philip ElderTechnical Architect - HA/Compute/Storage
CERTIFIED EXPERT

Commented:
In current versions the onus is on us to make sure we have our storage ducks all lined up and not overcommitted. ;)

In a team environment where different folks have control over various components this can be a bit of a challenge.

If granular permissions are required then look into AzMan and the abilities it has to delegate authority for the various virtualization roles. If one does not need authority to delete/remove VMs then AzMan is a great way to help keep things under control.
itniflProgrammer

Author

Commented:
More administrators = more people to keep in the loop of information = more administrative difficulties = larger chance for administrative error. In my opinion there should only be a couple of administrators with full administrative privileges in a virtualization environment. If people are not able to watch out for what they are doing in the environment, they should not have privileges to handle the system or systems should be set up to control this for them.

In this thread I am only concerned with Hyper-V's equivalent to VMWare's SDRS, which seems to be more then lacking.
Technical Architect - HA/Compute/Storage
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
itniflProgrammer

Author

Commented:
I ended up writing a script that I run every 15 minutes. It checks to see if a datastore is below a certain threshold, then migrate the largest vm to the largest available space. If that space can not hold the vm, then migrate the smallest vm to the largest available space. If that space cant hold the vm, then we are out of space, no migration is done.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.