Re: Retain CF org, space, space and org quota settings.


Nicholas Calugar
 

Hi Guru,

You can specify quotas in your manifest that will be seeded when you deploy
[1] and specify a default quota that will be used for orgs and spaces if no
quota is specified [2].

Assigning non-default quotas to orgs and spaces is something that needs to
be done via API after deploying and creating these resources. If you
absolutely need to backup and restore your Cloud Foundry, there are some
old threads on the mailing list describing approximate steps, however, this
requires quite a bit of effort [3].

Maybe tell us why you plan on deleting and redeploying your CF?


Nick


[1]
https://github.com/cloudfoundry/cloud_controller_ng/blob/master/bosh/jobs/cloud_controller_ng/spec#L243-L252
[2]
https://github.com/cloudfoundry/cloud_controller_ng/blob/master/bosh/jobs/cloud_controller_ng/spec#L254-L256
[3]
https://lists.cloudfoundry.org/archives/list/cf-dev(a)lists.cloudfoundry.org/thread/KTF36JIHCX3CR2UPLQTFQC3F45SCES52/#KTF36JIHCX3CR2UPLQTFQC3F45SCES52

On July 25, 2016 at 2:56:08 PM, Guruprakash S (prakash.guru4(a)gmail.com)
wrote:

Hello Sunil,

Are you referring to bosh download manifest <your CF manifest> and use the
manifest to re-deploy.

In that the settings doen through the CF CLI will be lost. I need a way to
retain those settings by adding them in teh CF manifest.

Thanks,
Guru.

On Mon, Jul 25, 2016 at 2:28 PM, Sunil Babu <placid.babu(a)gmail.com> wrote:

take the snapshot of the mainfest file and also the entire CF you created
initially...

during fresh installation you can pass teh mainfest file as parameter
which will take care of settings and no need to re-configure again...

On Tue, Jul 26, 2016 at 1:45 AM, Guruprakash S <prakash.guru4(a)gmail.com>
wrote:

Hi Team,

We are creating orgs, spaces, put some org and space quotas for our CF
installation.
If we decide to delete and redeploy the CF, all these settings would be
lost.

Is there a way, we can configure all this in the CF manifest so that the
above said settings are not lost?


Thanks,
Guru.

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.