Re: How to upgrade my bosh?


Alex Lomoff <lomov.as@...>
 

@daxiezhi in case you are talking about BOSH-director update you should described the way you deployed BOSH. Did you used `bosh micro` command to deploy MicroBOSH? Or did you used bosh-lite?

If you used the first option then here a way to update you MicroBOSH instance. MicroBOSH is built-in stemcell, originally stemcell version is a version of MicroBOSH release that it contains. This means first you'll need to do is upload newer version of stemcell. After it I recommend to make a snapshot of the MicroBOSH instance with its persistent disk. Then you can run update process with the following command:

bosh -n micro deploy bosh-stemcell-xxxx-openstack-kvm-ubuntu-trusty-go_agent.tgz --update

Best Wishes,
Alex L.

On Sep 15, 2015, at 4:23 PM, Amit Gupta <agupta(a)pivotal.io> wrote:

For me, `bosh -t lite status` shows "Version 1.3056.0 (00000000)". I believe that's the version of the bosh-director gem: https://rubygems.org/gems/bosh-director/versions/ <https://rubygems.org/gems/bosh-director/versions/>

On Tue, Sep 15, 2015 at 4:34 AM, Alex Lomoff <lomov.as(a)gmail.com <mailto:lomov.as(a)gmail.com>> wrote:
Hi, all.

Amit, I guess it is not bosh-lite version, because bosh-lite versions are over 9000 [1].

daxiezhi, if you mean by “local bosh” your version of bosh_cli gem, then everything you need to do is to run: “gem update bosh_cli” (possibly with sudo).

If you mean you need to update BOSH director, then everything depend on the you deployed the BOSH. In this case could you tell what commands did you used to deploy BOSH?

[1] https://github.com/cloudfoundry/bosh-lite/releases <https://github.com/cloudfoundry/bosh-lite/releases>

Thank you,
Alex L.

On Sep 14, 2015, at 7:00 PM, Amit Gupta <agupta(a)pivotal.io <mailto:agupta(a)pivotal.io>> wrote:

When you say "local bosh", do you mean BOSH-Lite?

On Wed, Jun 3, 2015 at 4:03 AM, daxiezhi <daxiezhi(a)gmail.com <mailto:daxiezhi(a)gmail.com>> wrote:
Hi,all.
My local bosh version is 1.2124.0. From cf v208, there is a change in the templates to no longer include resoure pool sizes require s a minimun bosh director of v149. So I guess the solution is to upgrade bosh. But I couldn't find a doc for it.

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