Skip navigation
VMware

This Question is Answered (go to answer)

1,231 Views 18 Replies Last post: Jan 23, 2012 11:41 AM by ChrisColotti(… RSS
1 2 Previous Next
Paule83 Enthusiast 35 posts since
Feb 5, 2010
Currently Being Moderated

Nov 2, 2011 6:50 AM

vCD 1.5 Resource Pools gone after DRS disable/enable

Hi,

we just reconfigured the Cluster, where we host our vDC and the vOrgs (a test environment at the moment).

I disabled DRS and enabled it, which caused all resource pools to be deleted.

This prevents vCD to create any new VMs for the vOrgs, so basically, we can't work with vCD any more.

 

Is there any way to restore the resource pools or to make vCD start a recreation of them?

I don't want to reconfigure alle vOrgs, vDCs, networks, etc.

ChrisColotti(… Hot Shot VMware Employees vExpert 128 posts since
Nov 12, 2007
Currently Being Moderated
1. Nov 2, 2011 7:12 AM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

Well there is no real good news here I think.  This is one of the things we have said in the past about disabling DRS once vCD is in play.  I am not aware of any way to have vCD automatically re-create them.  I will however use this in a test case for restoring a vCenter DB backup to see if that brings them back.  I am curious now, but AFAIK there is no way to have vCD recreate them, unless there is something I am not aware of.

ChrisColotti(… Hot Shot VMware Employees vExpert 128 posts since
Nov 12, 2007
Currently Being Moderated
3. Nov 2, 2011 7:39 AM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

Oh I agree 100%.  I will ask around and see if there is anything in the works.  Of course I will not be able to say but I will ask the question.

_morpheus_ Expert VMware Employees 313 posts since
Jan 24, 2008
Currently Being Moderated
4. Nov 2, 2011 11:25 AM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

You need to recreate the resource pools in VC, put the VMs back into the resource pools. Then you need to go into the VCD database and manually remap the VCD inventory to the new resource pools. This isn't something that anyone should attempt on their own. You should file an SR and request assistance from GSS to do that.

ChrisColotti(… Hot Shot VMware Employees vExpert 128 posts since
Nov 12, 2007
Currently Being Moderated
5. Nov 2, 2011 11:26 AM in response to: _morpheus_
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

Indeed goes without saying messing with the DB without a GSS ticket is not advised

ChrisColotti(… Hot Shot VMware Employees vExpert 128 posts since
Nov 12, 2007
Currently Being Moderated
7. Nov 3, 2011 9:20 AM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

Already having internal discussions about this yes.  Nothing in the near term but use GSS for now.  We are tracking this in a couple places though.  I will be doing some of my own lab testing to see if there is any other ways out of it.

 

For the record disabling HA does not do the damage of disabling DRS.  That would not really affect vCloud as much other than the admission control part.  This is definately something we are looking at to help assit in fixing, but right now it is what it is.

ChrisColotti(… Hot Shot VMware Employees vExpert 128 posts since
Nov 12, 2007
Currently Being Moderated
9. Nov 7, 2011 11:10 AM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

Thanks.  It seems the inventory snapshot does not help.  Still changes the MoREF ID's.  This is just one use case in a list of many I am tracking for recovery modeling.

Erik Bussink Expert 446 posts since
Jan 10, 2004
Currently Being Moderated
10. Nov 8, 2011 9:08 AM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

First thing when I read this post & the follow on Chris's audi osegment in the VMware Communities Roundtable was to create a nice Message of the Day for any vCenter servers that host a vDC resource.

 

"vCloud Director is now being implemented in the XXX Infrastructure.

Do NOT ever turn off the DRS fonctionality in vCenter on the Production Cluster.

Erik Bussink, Architect, CISSP, VCP#67, RHCE, DCUCD
mzzt Lurker 5 posts since
Jan 12, 2011
Currently Being Moderated
11. Nov 17, 2011 8:10 PM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

So what would happen if you just restored vcenter from backup?  I mistakenly did exactly what I shouldn't have (disabled DRS) and killed all my resource pools.  Our environment is relatively small and no changes were made since the last full backup of the vcenter server.    What would happen to vcloud director if I just restored the entire vcenter server?

mzzt Lurker 5 posts since
Jan 12, 2011
Currently Being Moderated
13. Nov 21, 2011 8:05 PM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

So I was able to restore the Resource Pools by restoring the SQL database to the backup before I disabled DRS.  Luckily we have a small environment right now, so no damage done.   Good lesson though.

CalicoJack Novice 6 posts since
Oct 8, 2010
Currently Being Moderated
14. Nov 28, 2011 1:47 PM in response to: Paule83
Re: vCD 1.5 Resource Pools gone after DRS disable/enable

ok - in the interest of those that have to do things the most difficult way possible... I don't have a back up to failback to.

Any suggestions of any other ways to get the Organizational vDC to have a resource pool?
So we can add more vApps and VMs and they can be modified?

I am talking to GSS and they are telling me that modifiying the database isn't the fastest way to do this, and I don't have an available DBA.

 

~thanks.

Bookmarked By (0)

Share This Page

Communities