VMware Cloud Community
dcoz
Hot Shot
Hot Shot
Jump to solution

Deleting Inventory Objects

Hi Guys,

I have been playing about with SRM and was seeing how it reacted to certain events.

I deleted a VM folder which was part of an inventory mapping, which was fine as when i looked into SRM plugin the status showed inventory mapping not configured, but no error on the Protection Group. This was fine i just the mapping by reconfiguring the mapping.

The thing i thought next was ok SRM can deal with that i would like to be alerted. When i look at the alarms i dont see an alarm for alerting against this sort of thing.

Is anyone aware of an alarm and i am missing it?

Thanks

Dougie

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Michelle_Laveri
Virtuoso
Virtuoso
Jump to solution

The short answer is no... There isn't an alarm, and the problem comes from design, and is not a "bug" as such....

But your problem does highlight an issue with some VMW products that on top of vCenter...

A similiar situation can break VMware View - so create a desktop pool (the lefthand), but then someone or you moves the virtual desktops to another folder/resource pools (the right hand), then everything is broken, as with SRM there is no alert or alarm to tell you this has happened...

In View VMware occasionally "protects" certain objects - such as the ParentVM in the linked clone - to stop a "rogue admin" from deleting the parent, and this making the children invalid. The annoying thing about this system protection - is if something goes wrong in the deletion of a pool - and an ophaned linked clone replica is left behind - even if you logged in as an admin with full vCenter rights - you can NOT delete them. Instead you have to shell out to a CLI tool to purge the ophaned object.

I know this ISN'T a forum about View, but I see similiarities between View/SRM... and if you want to get hairy, you could add vCloud Director to that now. As it created folders and portgroups all over the joint...

There reason you not getting an alert or an alarm - is the inventory mappings could contain objects you don't want mapped at all - such as a folder/resource pool of test/dev machines at the Protected Site. It's like the API isn't sophisticated enough (yet) to deal with all the possibilities. Perhaps a solution for this would be some sort alert that had the logic of - if something was ONCE included in the inventory mapping, and is then removed - then send an administrator an alert. That way wouldn't get an inbox full of false postitives about stuff that was never protected...

I've done experiments like yours - such as moving and renaming folders - SRM seems happy with that - but I didn't test deleting stuff or moving ALL the VM out of one folder into another. So perhaps what we need is the API to say - if object is covered by Inventory mapping, then disable the delete function. A lot of EMC products work like this - like Navisphere.

If does make rip-out and replace process harder - because for every action done, you have do it all in reverse - otherwise like with View you could be left with ophaned objects. Also, it does sometimes feel like your being wrapped up in cotton wool, and protected by the vendor from you own stupidity. So perhaps an additional "are you REALLY sure you want to do this - this object is referrence by SRM..." would be a happy compromise...






Regards

Mike Laverick

RTFM Education

http://www.rtfm-ed.co.uk

Author of the SRM Book:http://www.rtfm-ed.co.uk/2010/03/22/new-administrating-vmware-site-recovery-manager-4-0/

Free PDF or at-cost Hard Copy

Regards
Michelle Laverick
@m_laverick
http://www.michellelaverick.com

View solution in original post

0 Kudos
6 Replies
Michelle_Laveri
Virtuoso
Virtuoso
Jump to solution

The short answer is no... There isn't an alarm, and the problem comes from design, and is not a "bug" as such....

But your problem does highlight an issue with some VMW products that on top of vCenter...

A similiar situation can break VMware View - so create a desktop pool (the lefthand), but then someone or you moves the virtual desktops to another folder/resource pools (the right hand), then everything is broken, as with SRM there is no alert or alarm to tell you this has happened...

In View VMware occasionally "protects" certain objects - such as the ParentVM in the linked clone - to stop a "rogue admin" from deleting the parent, and this making the children invalid. The annoying thing about this system protection - is if something goes wrong in the deletion of a pool - and an ophaned linked clone replica is left behind - even if you logged in as an admin with full vCenter rights - you can NOT delete them. Instead you have to shell out to a CLI tool to purge the ophaned object.

I know this ISN'T a forum about View, but I see similiarities between View/SRM... and if you want to get hairy, you could add vCloud Director to that now. As it created folders and portgroups all over the joint...

There reason you not getting an alert or an alarm - is the inventory mappings could contain objects you don't want mapped at all - such as a folder/resource pool of test/dev machines at the Protected Site. It's like the API isn't sophisticated enough (yet) to deal with all the possibilities. Perhaps a solution for this would be some sort alert that had the logic of - if something was ONCE included in the inventory mapping, and is then removed - then send an administrator an alert. That way wouldn't get an inbox full of false postitives about stuff that was never protected...

I've done experiments like yours - such as moving and renaming folders - SRM seems happy with that - but I didn't test deleting stuff or moving ALL the VM out of one folder into another. So perhaps what we need is the API to say - if object is covered by Inventory mapping, then disable the delete function. A lot of EMC products work like this - like Navisphere.

If does make rip-out and replace process harder - because for every action done, you have do it all in reverse - otherwise like with View you could be left with ophaned objects. Also, it does sometimes feel like your being wrapped up in cotton wool, and protected by the vendor from you own stupidity. So perhaps an additional "are you REALLY sure you want to do this - this object is referrence by SRM..." would be a happy compromise...






Regards

Mike Laverick

RTFM Education

http://www.rtfm-ed.co.uk

Author of the SRM Book:http://www.rtfm-ed.co.uk/2010/03/22/new-administrating-vmware-site-recovery-manager-4-0/

Free PDF or at-cost Hard Copy

Regards
Michelle Laverick
@m_laverick
http://www.michellelaverick.com
0 Kudos
dcoz
Hot Shot
Hot Shot
Jump to solution

Thanks Mike

It would be nice to have an alert or some mechanism where it would not allow you to easily delete things from VC, which affects SRM.

I find myself continually telling customers that once you get SRM you have to be aware if you change things in vcentre how it has a potential knock on effect in SRM.

I'm sure in future releases this will become better.

P.S.

Looking forward to your SRM session in copenhagen

Thanks

Dougie

0 Kudos
Michelle_Laveri
Virtuoso
Virtuoso
Jump to solution

Agreed an alert and warning when you come to carry out the task...

either that or SRM covered object become more "protected" from administrative cock-ups!

I'm not sure whether we will get this as a feature request. I have a feeling that these sort of issues aren't at the top of VMware's list - whereas stuff like making SRM compatible with vCloud Director, P2V DR, A better way of handling IP - vShield and vApp IPing???

I think theres an element of N.F.I with VMware products. What does NFI stand for? "Not for Idiots"... Not that I'm saying your an idiot if you do delete stuff, after were all human and make mistakes. But that vmware has never really wrapped us up in cotton wool and asked

"Are you sure? I'm mean really really sure? Type in a 4-digit pin to confirm your action". Kind of thing...

Still it would be nice to have a better warning that outline the wider impact of our actions... as sometime the brain only gets engaged after you have click OK. It's what I call the "Homer Simpson" moment.

DOH!

Look forward to Copenhagen. Please come up and say hello before or after the session(s)

Regards

Mike






Regards

Mike Laverick

RTFM Education

http://www.rtfm-ed.co.uk

Author of the SRM Book:http://www.rtfm-ed.co.uk/2010/03/22/new-administrating-vmware-site-recovery-manager-4-0/

Free PDF or at-cost Hard Copy

Regards
Michelle Laverick
@m_laverick
http://www.michellelaverick.com
0 Kudos
Michelle_Laveri
Virtuoso
Virtuoso
Jump to solution

Oh and while I remember - I would heartily recommend you attend:

BC8675 SRM Futures: Failback Automation, Workload Mobility and More...

VMware vCenter Site Recovery Manager, first released in 2008, is VMware's award-winning product for disaster recovery. SRM continues to innovate and set the standard for automating disaster recovery in a verifiable manner. With SRM today, you can create a runbook which specifies in detail your organization's DR plan that defines how virtual machines and their configurations will failover. You can test the automated failover scenarios without disrupting the production environment. This talk details SRM's current architecture and provides a preview of how it is evolving to handle the scale and demands of today's dynamic data center. You will also learn about the key advancements and vision towards using workload mobility to provision high availability and workloads across the enterprise infrastructure.

EMEA Speaker: Lee Dilworth Principal Systems Engineer

VMware, Inc.

Jacob Jensen Group Product Manager

VMware, Inc.

Wednesday 09:00 Hall C-M3

Wednesday 13:30 Meeting Room 18






Regards

Mike Laverick

RTFM Education

http://www.rtfm-ed.co.uk

Author of the SRM Book:http://www.rtfm-ed.co.uk/2010/03/22/new-administrating-vmware-site-recovery-manager-4-0/

Free PDF or at-cost Hard Copy

Regards
Michelle Laverick
@m_laverick
http://www.michellelaverick.com
0 Kudos
dcoz
Hot Shot
Hot Shot
Jump to solution

Hi Mike,

Thanks for the session info. I missed that one a couple of weeks ago in session catalogue i will need to go back in and review my choices.

Sure would be happy to pop up and have a chat at your session.

cheers

Dougie

0 Kudos
Michelle_Laveri
Virtuoso
Virtuoso
Jump to solution

Great I'm always keen to listen to customers and learn from their experience...

Gee, I'm beginning to sound like a VMware Product Manager! 😛






Regards

Mike Laverick

RTFM Education

http://www.rtfm-ed.co.uk

Author of the SRM Book:http://www.rtfm-ed.co.uk/2010/03/22/new-administrating-vmware-site-recovery-manager-4-0/

Free PDF or at-cost Hard Copy

Regards
Michelle Laverick
@m_laverick
http://www.michellelaverick.com
0 Kudos