Scenario for Deletion of Production VM's

VMware specific discussions

Scenario for Deletion of Production VM's

Veeam Logoby kennyt2000 » Sun Nov 13, 2016 10:42 pm

Hi Guys,

Im not sure if anybody has already covered this but I wanted to give you guys a warning of a scenario ( probably very rare) that causes veeam to be destructive and will actually power off and delete your production servers. I know this first hand after an incident on Friday with one of our engineers.

Here is the background info to hopefully explain the scenario and the setup.

We have 3 sites London, Newbury, Wales.

We want to move SQL1 from Wales to London so we setup a replica job. We wait until the replica is in a good state, power off SQL1 then do a final replication and power on the server in the remote site, reconfigure it and all is happy. the replication job is deleted and all is forgotten. After the server is rehomed we setup a replication job from London to Newbury.

12 Months later we have an issue with the replication job and a corrupt snapshot and the engineer in question finds this KB https://www.veeam.com/kb1773
( Within the Veeam console under Replicas find the replica that you will be repair and right-click it, from the context menu choose “Remove from replicas…” ) no action was performed in VMware at all.

He clicks on the replica vm and then clicks to remove it from disk. ( I think he skimmed over the red text in the KB just to note )

What happens next you wonder? Well what was expected is the replica in Newbury would be removed for reseeding. You would be wrong.

Veeam actually recognises SQL1 in the London office as the replica due to the fact it once was the replica many moons ago, but veeam is unaware its not, it then proceeds to power down the running production server and promptly deletes it.

I'm sure there are steps which we could have taken to clean up the configs in veeam to help prevent this. I personally would have actually expected veeam to error out and say sorry the server is running please shut it down first, it didn't however it was just very helpful in shutting it down for you and promptly deleting.

We have put additional procedural steps in place on our side to help prevent this, if I have missed anything or a way to prevent a server deletion by security roles please send me a link.

Just wanted to share this, should anybody be using the software like we do when helping to move servers around but not using the failover feature.
kennyt2000
Influencer
 
Posts: 12
Liked: 2 times
Joined: Thu Jun 25, 2009 3:05 pm
Full Name: Kenny Thornton

Re: Scenario for Deletion of Production VM's

Veeam Logoby foggy » Mon Nov 14, 2016 11:41 am

Hi Kenny, any chance the engineer could just select the wrong replica record in Veeam B&R UI? I suspect that both the old replica (Wales to London) and the new one (London to Newbury) were displayed under Replicas node and, being named similarly, could easily result in confusion.

That said, I see two other wrong actions on your side in this scenario. If replica planned failover (with subsequent permanent failover) was used during the migration stage, instead of manually starting replica VM, this would prevent the issue. As well as if the engineer used the mentioned in KB 'Remove from configuration' command instead of using 'Delete from disk'.
foggy
Veeam Software
 
Posts: 15087
Liked: 1110 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Scenario for Deletion of Production VM's

Veeam Logoby kennyt2000 » Tue Nov 15, 2016 2:04 pm

yes I do understand there were failings here on our side.

However I think the main issue I have is it didn't prompt that the machine was running and wanted to highlight how easy this is to do. I would like to be able to prevent via permissions if possible so that even by mistake it cant wipe out a whole server in one click.
kennyt2000
Influencer
 
Posts: 12
Liked: 2 times
Joined: Thu Jun 25, 2009 3:05 pm
Full Name: Kenny Thornton

Re: Scenario for Deletion of Production VM's

Veeam Logoby foggy » Tue Nov 15, 2016 4:12 pm

Understood. Btw, here's another thread discussing similar request, for reference.
foggy
Veeam Software
 
Posts: 15087
Liked: 1110 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson


Return to VMware vSphere



Who is online

Users browsing this forum: No registered users and 15 guests