cloudfoundry-attic / bosh-notes

Collection of proposals for BOSH
Apache License 2.0
51 stars 23 forks source link

adopt orphan vms after a DB restore #13

Open valeriap opened 8 years ago

valeriap commented 8 years ago

In order to improve the bosh administrator experience in managing disaster recovery scenario that requires a DB restore and to minimize the impact on customers, we propose to add to the BOSH Director and to the underlying CPI the possibility to adopt a list of vms.

cppforlife commented 8 years ago

cc @voelzmo

voelzmo commented 8 years ago

@cppforlife @valeriap I don't know if VMs should become important to bosh, so far they are just ephemeral things which you shouldn't care about.

With bosh deploy my-release followed by a command such as bosh attach disk job_z1/2 disk-1234 you could achieve the same. I'd actually prefer it this way. What do you think?

valeriap commented 8 years ago

@voelzmo
On the one hand I think that some vms can be important basing on their role in the deployed env; the importance relates to the impact on a customer when the vm is down.
On the other hand the proposed approach is easier and less error prone from an administrator point of view especially if you deployed a consistent number of vms that you have to reconciliate.

valeriap commented 8 years ago

cc @maximilien @aalbanes