ONTAP Discussions

vmware plugin

FelixZhou
1,433 Views

a few questions i couldn't find it online, please share your experience. thanks.

1. if snapshot is happened on datastore instead of on VMs, will I/O be hold during the snapshot? will the snapshot takes longer to complete since multiple VMs may live on it. Any impact to the VM performance?

2. can a VM be allowed to restore back with different name?

3. heard on VMFS, a VM or individual file restore will require flexclone, mount and vmotion. if snapshot is on a datastore, will the clone and mount operation make other VMs also visible on VMWare environment?

4. plan to keep two snapshot a day and three or one week snapshots on same production cluster. is that a good approach for instant recovery? we do have a few hundred of VMs. 

5. after we created snapshots on plugin, will these snapshots visible on volumes with "snapshot show" command?

6. will snapshots occupy any space on datastore?

thanks.

1 ACCEPTED SOLUTION

NetApp_SR
1,407 Views

We are making some assumptions. Your questions seem to be about scheduled or manual storage Snapshots. This would also require manual mounting and restore of the VMs. The answers also have VMware in mind as the hypervisor.

 

  1. if snapshot is happened on datastore instead of on VMs, will I/O be hold during the snapshot? will the snapshot takes longer to complete since multiple VMs may live on it. Any impact to the VM performance?

A snapshot on the storage controller happens almost instantly so we do not expect any performance impact. Scheduled or manual snapshots will contain a “crash consistent” version of the VM. It will not hold I/O. If restored the VM will likely run a file system check. It would be like a physical server that had its power cord unplugged.

 

  1. can a VM be allowed to restore back with different name?

The file names on the Snapshot will be the same as the original VM.  The name can be changed.

Renaming a virtual machine and its files in VMware ESXi (1029513)

https://kb.vmware.com/s/article/1029513

 

  1. heard on VMFS, a VM or individual file restore will require flexclone, mount and vmotion. if snapshot is on a datastore, will the clone and mount operation make other VMs also visible on VMWare environment?

A Flexclone license is desirable because its fast and does not take space. But we can also restore with other mechanisms that take space and time like NDMP copy the Snapshot to a new volume.  Snapshots are volume Snapshots so all the files or VMs are available. We can import any of the VMX files for the VMs.

 

  1. plan to keep two snapshot a day and three or one week snapshots on same production cluster. is that a good approach for instant recovery? we do have a few hundred of VMs.

Snapshots are great to recover VMs. The frequency and length of retention of Snapshots is a preference of the individual customer environment. Snapshots live on the volume so a disaster recovery plan should also be in place to have a copy of all the data off site.

 

  1. after we created snapshots on plugin, will these snapshots visible on volumes with "snapshot show" command?

Snapshots created by plug-ins are visible with “snapshot show”

 

  1. will snapshots occupy any space on datastore?

When a Snapshot is created it takes no space. Taking a Snapshot locks all the blocks in use to preserve the state. New writes are written to new blocks and do not overwrite the existing blocks locked by the Snapshot. The new blocks written increment the space used by the Snapshot.

 

Please let me know if you need clarification or have additional questions.

View solution in original post

1 REPLY 1

NetApp_SR
1,408 Views

We are making some assumptions. Your questions seem to be about scheduled or manual storage Snapshots. This would also require manual mounting and restore of the VMs. The answers also have VMware in mind as the hypervisor.

 

  1. if snapshot is happened on datastore instead of on VMs, will I/O be hold during the snapshot? will the snapshot takes longer to complete since multiple VMs may live on it. Any impact to the VM performance?

A snapshot on the storage controller happens almost instantly so we do not expect any performance impact. Scheduled or manual snapshots will contain a “crash consistent” version of the VM. It will not hold I/O. If restored the VM will likely run a file system check. It would be like a physical server that had its power cord unplugged.

 

  1. can a VM be allowed to restore back with different name?

The file names on the Snapshot will be the same as the original VM.  The name can be changed.

Renaming a virtual machine and its files in VMware ESXi (1029513)

https://kb.vmware.com/s/article/1029513

 

  1. heard on VMFS, a VM or individual file restore will require flexclone, mount and vmotion. if snapshot is on a datastore, will the clone and mount operation make other VMs also visible on VMWare environment?

A Flexclone license is desirable because its fast and does not take space. But we can also restore with other mechanisms that take space and time like NDMP copy the Snapshot to a new volume.  Snapshots are volume Snapshots so all the files or VMs are available. We can import any of the VMX files for the VMs.

 

  1. plan to keep two snapshot a day and three or one week snapshots on same production cluster. is that a good approach for instant recovery? we do have a few hundred of VMs.

Snapshots are great to recover VMs. The frequency and length of retention of Snapshots is a preference of the individual customer environment. Snapshots live on the volume so a disaster recovery plan should also be in place to have a copy of all the data off site.

 

  1. after we created snapshots on plugin, will these snapshots visible on volumes with "snapshot show" command?

Snapshots created by plug-ins are visible with “snapshot show”

 

  1. will snapshots occupy any space on datastore?

When a Snapshot is created it takes no space. Taking a Snapshot locks all the blocks in use to preserve the state. New writes are written to new blocks and do not overwrite the existing blocks locked by the Snapshot. The new blocks written increment the space used by the Snapshot.

 

Please let me know if you need clarification or have additional questions.

Public