HPE Storage Tech Insiders
cancel
Showing results for 
Search instead for 
Did you mean: 

VVol VM with multiple disks

mamatadesaiNim

 

It is a common misconception that multiple VVol datastores are required to meet different SLAs for a VM or VM disk.  This misconception likely arises due to limitations of VMFS datastores - where each VMFS datastore is backed by a storage volume and SLAs are configured on that storage volume.  With Nimble Storage VVols, the VVol datastore acts as a unit of capacity allocation.  All SLAs can be configured at VM or VMDK granularity.  A different storage profile can be associated with every disk of the VM.  Compliance checks can give you peace of mind that all is as you intended it to be.

Let's take an example of a multi-disk Windows VM, hosting an SQL server.  These are your requirements:

  1. You'd like your OS disk to be backed up once every day, and deduplicated.
  2. The second disk will host databases and needs encryption and backup every 15 minutes.  Application policy for this must be SQL.
  3. The third disk will contain database log files and needs backup every 30 minutes.  Application policy for this must be SQL logs.

After you register the Nimble Storage VP and create one folder on the storage array, you are good to go, and can create VM Storage Policies to map to these requirements.  Here are some sample VM Storage Policies for these requirements.

multi-01.PNGFigure 1: Dedupe and daily backups


multi-11.PNGFigure 2: Encrypted volume, database application policy, back up every 15 minutes

 multi-13.PNGFigure 3: DB log application policy, backup every 30 minutes

Now let's create an SQL server VM and add disks and SCSI controllers to the VM.  Each disk can have a different storage policy assigned to it at create time, by expanding the small triangle next to the disk, we can specify the VM Storage Policy.

multi-09.PNGFigure 4: Customizing VM hardwareThis is how we have configured all three disks of the VM.

multi-10.PNGFigure 5: All config on the VMA quick look at the VM under Configure --> Policies shows all disks are compliant.

multi-14.PNGFigure 6: VM policies and complianceAs a result of this VM create, the Nimble VP has created many volumes: one volume for config, one volume for each data disk, and one swap volume will be created when the VM is powered on.

Nimble OS $ vm --info SQLserver
VM ID: 502c3fe8-0e4e-148f-bafa-ff7ae1d694f2
VM name: SQLserver
Volumes:
        SQLserver
        SQLserver-1.vmdk
        SQLserver-2.vmdk
        SQLserver.vmdk

The VP has placed volumes into different "volume collections" with different schedules.  Since we had 4 different protection schedules, 4 different volume collections are created, automatically.

Nimble OS $ volcoll --list | grep SQLserver
SQLserver-5bae65a6caf2f178-0001 none            group-sjc-array759
SQLserver-5bae65a6caf2f178-0002 none            group-sjc-array759
SQLserver-5bae65a6caf2f178-0003 none            group-sjc-array759

 

Let us know about your experiences using VVols and VM Storage Policies by commenting on the article!

HPE Nimble Storage
0 Kudos
About the Author

mamatadesaiNim

VMware and Nimble Storage QA engineer

Events
Nov 27 - 29
Madrid, Spain
HPE Discover 2018 Madrid
Learn about all things HPE Discover 2018 in Madrid, Spain, 27 - 29 November, 2018.
Read more
See posts for
dates/locations
HPE at 2018 Technology Events
Learn about the technology events where Hewlett Packard Enterprise will have a presence in 2018.
Read more
View all