Solved

Snapshots in ESX Server on on the Array?

Posted on 2008-10-03
8
785 Views
Last Modified: 2013-11-14
Hi Guys
I'm looking at virtualising some of our servers but have been scaratching my head over taking snapshots. what is the best way of impklenting these. through Esx server itself or taking the snapshots on the array. The San that i'm looking to purchase is the Dell Equallogics PS5000X and i believe this has software capable of taking snapshots of servers SQL and Exchange.

Any ideas would be welcomed
0
Comment
Question by:staylor1972
8 Comments
 
LVL 5

Accepted Solution

by:
HeinoSkov earned 125 total points
ID: 22632559
Hi, snapshots in ESX is only for temporary usage, because it creates a delta file which can grow and grow and grow. This would leave a huge risk on running low on storage if esx snapshots are used in a more common way.

Array-based snapshots would be to prefer, again it depends on what you need to do with the snapshots. If using VMFS then you would need to retrieve the whole LUN from the snapshot to the ESX to get the data back. You could use RDMs to raw device mappings to with array based snapshots to get the features from snapshots you want to use with SQL / Exchange.
0
 
LVL 5

Expert Comment

by:HeinoSkov
ID: 22632563
Just keep in mind that you have a virtualized layer in between that you need to present the snapshot'ted LUNs to.
0
 
LVL 21

Assisted Solution

by:robocat
robocat earned 125 total points
ID: 22632620

ESX snapshots and Array snapshots are complementary.

ESX snapshots can easily rolled back, so these are ideal in case of planned changes. E.g. take a snapshot before you install patches inside a VM if you want to be able to undo these changes quickly. ESX snapshots should not be kept longtime.

Array snapshots are more a protection against logical corruption or accidental deletion of your VMs but it's more difficult to restore from a snapshot.

Remember that snapshots always have some kind of performance penalty (except if you go for a NetApp array).




0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 5

Expert Comment

by:valheru_m
ID: 22634272
Be VERY careful using snapshots on exchange and SQL databases (or any other database that maintains state information for that matter).  If you take a snapshot on a machine with a running exchange or SQL database, reverting to that snapshot will only give you a crash-consistent copy of your database.  This is because databases are constantly being written to and often have cached data that has not been flushed to disk. If you need to take a snapshot of any server running these services, make sure that the exchange and/or sql services have been safely stopped before taking the snapshot to avoid potential severe database corruption.
0
 
LVL 5

Expert Comment

by:HeinoSkov
ID: 22636132
That count as Active Directory servers as well :-)
0
 
LVL 55

Expert Comment

by:andyalder
ID: 22641505
Snapshotting won't truncate the Exchange or SQL transction logs either, they'll just grow and grow.
0
 

Author Comment

by:staylor1972
ID: 22648316
Is there any software for ESX server that will allow you to get Exchange or SQL into a safe state before you take a snapshot, without having to stop the virtual server to take the snapshot?
0
 
LVL 21

Expert Comment

by:robocat
ID: 22650196

I'm not aware of any software on ESX level that will do this kind of integration. Of course you can always do your own scripting.

For Storage environments, most big vendors (NetApp, I think also EMC, ...) have software product that tightly integrate with Exchange/SQL to take consistent snapshot backups and also allow e.g. partial restores of databases/single mailboxes from snapshots.

I'm not sure if Equallogics can do this.

0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question