Thin Client and Virtual Machines Thread, Server Snapshots for maintenance in Technical; I have been looking at Owncloud last week and almost got it up and running except that when I sync ...
8th April 2013, 10:38 AM #1
Server Snapshots for maintenance
I have been looking at Owncloud last week and almost got it up and running except that when I sync from client to server it kills the server and apparently this is due to the version we are using. I can't update it as it is the latest stable version so I want to try an earlier version instead. I've been using snapshots on a Windows 7 machine to help test new software installs and then reverting back to a nice clean state when finished. It occured to me that if I had taken a snapshot of the server before installing Owncloud I could have reverted back to before the installation rather than having to uninstall it.
I have read that it is not a good idea to snapshot live servers as it affects the replica's but as I would only use a snapshot to test upgrades etc, does anyone use them before making updates to servers? Or would you just fail back to the replica if you found that any upgrades/new software caused problems?
8th April 2013, 11:02 AM #2
What VM software are you running?
I can only talk from Hyper-V experience but the snapshot problem is if you have more than one DC and USNs getting out of sync. Therefore snapshotting a DC that doesn't have to replicate is ok (imo).
However is has been addressed in Server 2012.
Therefore I probably wouldn't snapshot anything below 2012 in a multiple DC environment using Hyper-V.
Last edited by sparkeh; 8th April 2013 at 11:09 AM.
8th April 2013, 11:27 AM #3
@sparkeh we are using VMWare. My understanding is that if you have a snapshot open it can generate large amounts of data and replica's may become a problem. I was just wondering if I could use them to perform software installs/upgrades on servers to try and limit anything breaking. I suppose if replicas are working ok, you can always revert to the last working replica and it will give you limited downtime.
I was just wondering what would be the best practice if you wanted to test new software running in a live situation but didn't necessarily want to commit to it. I suppose reverting to a snapshot would produce the same result as rolling over to a replica in terms of data lost but having a clean state.
For new installs my idea was -
Commit if works ok
Revert to snapshot if it breaks something.
I suppose you could just
Leave if works OK
Rollback to replica if it breaks something. (which is what we do)
I was just thinking what would be the cleanest way of doing it.
Last edited by penfold; 8th April 2013 at 11:30 AM.
22nd April 2013, 06:58 PM #4
- Rep Power
Creating snapshots is something you have to be vary careful with. If you snapshot any server with a SQL back end you could quite easily corrupt the database. Best practice is to power down the machine before taking the snapshot and make sure you have up to date backups.
22nd April 2013, 10:39 PM #5
Depends what roles are on the server, if it has Microsoft SQL or Exchange then snapshotting is not supported by Microsoft, even if snapshotted from a powered off state. In these instances you would need to use your backup software. For Domain Controllers, anything before Server 2012 cannot be snapshotted, 2012 can be snapshotted if you are using VSphere 5.0 update 2 or VSphere 5.1 although this is new technology for Microsoft so I wouldn't do it yet on a live DC.
I always create a test VM to play around with new software, I don't touch production servers for testing new software and for something like Owncloud that would want to be on its own VM anyway. I tend to work on a replica when testing rather than snapshotting.
23rd April 2013, 09:54 AM #6
Presumably then it is not a good idea to use replica's for these servers either? It would be a better idea to backup these instead?
Originally Posted by teejay
As far as I can see if I use a replica for testing then this needs to be done solely on the server, so if I wanted to test something like owncloud with clients I wouldn't be able to do this?
As a bit of a tangent, I've just restored a test VM from our backup but when the backup job has run again it fails with the error "the VM is no longer processed by this job". Does this mean I have configured the backup job incorrectly in the first place?
By cookie_monster in forum Thin Client and Virtual Machines
Last Post: 3rd October 2008, 10:09 PM
By Zoom7000 in forum How do you do....it?
Last Post: 22nd July 2008, 11:23 AM
By Steven in forum Wireless Networks
Last Post: 22nd February 2008, 01:34 PM
By anne1 in forum Hardware
Last Post: 1st November 2007, 03:36 PM
By james3200 in forum Hardware
Last Post: 26th September 2007, 08:58 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)