Wednesday, May 23, 2012

NetApp Single Mailbox Restore (SMR) for Exchange for Virtualised Exchange Servers

NetApp Single Mailbox Restore for Exchange 2010 is, well, a snap to use when your Exchange server is running in the “NetApp way”.  What is the NetApp way you ask?  Well, in a nutshell, it is when you have your physical Exchange box hooked up to your SAN via iSCSI or FCP.  If you are virtualised then you’ll need to present your disks via RDM (vSphere) or pass-through if you live in MS land.

What I address here is the case where you have an Exchange server virtualised with Hyper-V, with your hard drives attached as VHD’s.  Even though this example uses Hyper-V, the principles are also applicable to a vSphere environment.

Mounting the NetApp Snapshot

  1. Open NetApp SnapDrive on a host connected to your Filer via either FCP or iSCSI
  2. Navigate to the Disks node and expand the LUN containing the VHD which in turn contains your Exchange DB’s.
    image
  3. Under Snapshot Copies, right-click point in time snapshot that you wish to restore and select Connect Disk
    image
  4. The Connect Disk Wizard will start.  Click Next
    image
  5. Select the appropriate snapshot and click next.
    image
  6. Click Next on the the “Important Properties…” screen (Don’t change anything here)
    image
  7. Set the LUN type as Dedicated and click Next
    image
  8. Assign a Drive Letter and click Next
    image
  9. Select your initiators and click Next
    image
  10. Select Manual on the Initiator Group Management Screen and click Next
    image
  11. Select the appropriate iGroup and click Next
    image
  12. Click Finish to complete the SnapDrive Connect Disk Wizard
    image

Your NetApp snapshot should now be mounted as a drive accessible through Windows Explorer, If you browse to it it should contain the VHD hosting your Exchange DB.  The next step is to mount the VHD so that it is accessible to SMR.

Mounting the VHD

  1. Open Server Manager.  Navigate to Storage – Disk Management.  Right-click Disk Management and click Attach VHD
    image
  2. Browse to the VHD from the previous section and click OK
    image

Your VHD will now be mounted with the next available drive letter and accessible via Windows Explorer.  The next and final step will be to mount our mailbox with SMR and get restoring!

Restoring with SMR

  1. Open Single Mailbox Recovery and click File – Open Source
    image
  2. Browse to your source EDB file, ignoring any warnings about missing log files (Hooray for application-aware snapshots!) and click OK
    image
  3. SMR will now process your database and allow you to restore a mailbox, folder or item to PST or an Exchange Server.
    image

Awesome, but once done we have to clean up after ourselves by dismounting the VHD and disconnecting the temporary NetApp SnapShot LUN.

Cleanup

  1. Open Server Manager. Navigate to Storage – Disk Management. Right-click Disk Management and click Detach VHD
    image
  2. Take care to *not* check the “Delete…” box and click OK
    image
  3. Open SnapDrive and go to the Disks node.  Right click your temporary SnapShot LUN and click Disconnect Disk.
    image

1 comment: