Migrate BOSH/Cloud Foundry (CF) Disks from vSphere Datastore(s) to Different Ones

Migrating disks for BOSH and Cloud Foundry (CF) VMs from the current datastore(s) to new datastore(s) can be painless if you do it right. Otherwise, you may end up losing your persistent disks and then your mind.

The following steps will help you avoid unnecessary pain during this process.

1) Attach the new datastore(s) to the hosts where the BOSH and CF VMs are running (Do not detach the old datastores at this time)

2) Change deployment manifest for the BOSH Director to configure vSphere CPI to reference new datastore(s)

3) Redeploy the BOSH Director. Depend on how you deploy the BOSH director, the command you run in this step can vary.

4) Verify that the BOSH Director VM's root, ephemeral and persistent disks are all now on the new datastore(s)

5) Run bosh deploy --recreate for CF deployments so that VMs are recreated and persistent disks are reattached

6) Verify that the persistent disks and VMs were moved to new datastore(s) and there are no remaining disks in the old datastore(s)

要查看或添加评论,请登录

Xiujiao Gao的更多文章

  • CF 上传应用: 下载失败错误ERR Downloading Failed

    CF 上传应用: 下载失败错误ERR Downloading Failed

    What you easily see are usually consequences or symptoms, but not the root cause. 现象和后果总是显而易见,根本原因总待人上下而求索。 "The Dev…

  • CF Push App: ERR Downloading Failed

    CF Push App: ERR Downloading Failed

    What you easily see are usually consequences or symptoms, but not the root cause. "The Dev environment is down!!!" We…

  • Default Password for BOSH VMs

    Default Password for BOSH VMs

    The default username for BOSH VMs is vcap. We have two options when comes to the vcap password for BOSH and VMs that…

  • How to Migrate Your CF from One vSphere Cluster to Another

    How to Migrate Your CF from One vSphere Cluster to Another

    Recently, one of our clients had to migrate their CF from one vSphere cluster to another. Here is the story: the client…

  • BOSH Director and CF VMs Time Drift

    BOSH Director and CF VMs Time Drift

    When the time on BOSH director and CF VMs such as cells are off, it may throw off some of your applications with…

  • Configure UAA in CF with SAML as A Service Provider

    Configure UAA in CF with SAML as A Service Provider

    Before we start going through how to configure UAA in CF with SAML as a Service Provider, let's make sure we have…

  • Deploy HA CF with Anti-Affinity DRS Rules in vSphere

    Deploy HA CF with Anti-Affinity DRS Rules in vSphere

    VM-VM Affinity Rules vSphere Vm-VM Affinity Rules specify whether selected individual VMs should run on the same host…

  • A Handy S3 CLI

    A Handy S3 CLI

    Do you ever get annoyed that you have to install Python, pip, and then AWS CLI in order to simply access your S3…

  • Bootstrap BOSH2 with local VirtualBox

    Bootstrap BOSH2 with local VirtualBox

    Do you feel a little bit disappointed when you can not simply run vagrant up to bring up a bosh-lite on your local…

  • Running Cloud Foundry with bosh2 on VirtualBox

    Running Cloud Foundry with bosh2 on VirtualBox

    If you do not have a BOSH-Lite installed with bosh2 locally on your VirtualBox yet, you can follow BOSH-Lite on…

社区洞察

其他会员也浏览了