VMware Cloud Community
badams81
Contributor
Contributor
Jump to solution

Changing Allocation Pool Model

I have create an Organization with one of the Allocation Models (Allocation Pool, Pay as you go, Reservation Pool)

Now I want to change the model.

cli only has the option passed in new-orgvdc and not in set for update.

Thinking the sql statements are different depending on which you create.

Org_prov_vdc holds each Org with col (Allocation Model)

-- Allocation Pool - Model id = 2

-- Pay As you go - Model id = 1

-- Reservation Pool - Model id = 3

Anyone know the full list of sql statements for each Model type?

Looking to use this as a way to change between Allocation Models.

Reply
0 Kudos
1 Solution

Accepted Solutions
mreferre
Champion
Champion
Jump to solution

We don't support changing the allocation model of an existing vDC. I would advise not hacking the DB (if that was what you were trying to do).

As other said the best way to do this would be to create a new vDC, migrate vApps there and decomission the old vDC.

Massimo Re Ferre' VMware vCloud Architect twitter.com/mreferre www.it20.info

View solution in original post

Reply
0 Kudos
3 Replies
badams81
Contributor
Contributor
Jump to solution

Or an easier way to change Model type after an Org is created?

Thanks

Reply
0 Kudos
karthickvm
VMware Employee
VMware Employee
Jump to solution

Hi Badams,

Manually editing the vCloud DB doesn't fulfil your requirement, based on the allocation pool there are many dependencies in the vCloud Database and Resource pools.

I would suggest to perform the following actions:.

1. Create a new Pool with your desired Allocation model

2. Right Click vApps and click Move to , select the newly created pool

3. Then Delete the old one.

Hope this helps.

Karthic.
vRNI TPM
Reply
0 Kudos
mreferre
Champion
Champion
Jump to solution

We don't support changing the allocation model of an existing vDC. I would advise not hacking the DB (if that was what you were trying to do).

As other said the best way to do this would be to create a new vDC, migrate vApps there and decomission the old vDC.

Massimo Re Ferre' VMware vCloud Architect twitter.com/mreferre www.it20.info
Reply
0 Kudos