Giter VIP home page Giter VIP logo

Comments (9)

AbelHu avatar AbelHu commented on September 19, 2024

You should not stop the VMs. Please reference this issue #55

from bosh-azure-cpi-release.

toshiomakiyy avatar toshiomakiyy commented on September 19, 2024

Thank you for your response.
I have read this issue, and I understand this is BOSH design.

I want to know why BOSH use ephemeral disk in /var/vcap/data
What should I do when I want to restart VM? (e.g. change VM size.)

from bosh-azure-cpi-release.

AbelHu avatar AbelHu commented on September 19, 2024

You can restart VM but cannot stop and then start it. If a VM is reallocated in a different host, you can use 'bosh cloudcheck' to repair it.

Under my understanding, about why BOSH puts /var/vcap/data in ephemeral disk,

  1. Ephemeral disk is a local disk and has higher speed. Although OS disk is also local disk, the space of OS disk may be not enough.
  2. Administrator often uses BOSH to update the deployment and the data under /var/vcap/data are also changed frequently.

from bosh-azure-cpi-release.

toshiomakiyy avatar toshiomakiyy commented on September 19, 2024

I can understand.

Thank you for your help.

from bosh-azure-cpi-release.

bingosummer avatar bingosummer commented on September 19, 2024

@toshiomakiyy
FYI.
If you want to change the VM size, you need to update instance_type in your manifest and re-deploy it. Then BOSH will delete the old VM and create a new one with a different VM size.

from bosh-azure-cpi-release.

yorkie-m avatar yorkie-m commented on September 19, 2024

Hi there

Just getting started with Cloud Foundry and hit the same issue after triggering a manual restart of the BOSH Director VM itself via the Azure Portal.

Am I correct in understanding that by design the BOSH Director VM will not recover from such a restart? I can understand the use of the local disk for performance reasons but I would expect the Direcor to be able to recover from such restarts will happen either manually or when Azure patches the VMs.

Thanks

from bosh-azure-cpi-release.

AbelHu avatar AbelHu commented on September 19, 2024

You can easily deploy it with bosh-init again. Your data is kept in persistent data disk.

Best Regards,
Abel HU

? 2016?3?11??20:32?yorkie-m <[email protected]mailto:[email protected]> ???

Hi there

Just getting started with Cloud Foundry and hit the same issue after triggering a manual restart of the BOSH Director VM itself via the Azure Portal.

Am I correct in understanding that by design the BOSH Director VM will not recover from such a restart? I can understand the use of the local disk for performance reasons but I would expect the Direcor to be able to recover from such restarts will happen either manually or when Azure patches the VMs.

Thanks

Reply to this email directly or view it on GitHubhttps://github.com//issues/71#issuecomment-195349135.

from bosh-azure-cpi-release.

yorkie-m avatar yorkie-m commented on September 19, 2024

Many thanks Abel. I've come back to this issue and on trying bosh-init deploy I get the below error. Investigating now but any help appreciated

Thanks
Mark.

Started validating
Failed validating (00:00:00)
Command 'deploy' failed:
Parsing release set manifest '~/example_manifests/single-vm-cf.yml':
Validating release set manifest:
releases[0].url must be a valid URL (file:// or http(s)://)

from bosh-azure-cpi-release.

AbelHu avatar AbelHu commented on September 19, 2024

@yorkie-m Did you find the reason for the invalid manifest? If not, you can send ~/example_manifests/single-vm-cf.yml to me ([email protected]).

from bosh-azure-cpi-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.