Posts by: Dr. Xiujiao Gao 高秀娇

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 heard louder screams from developers when the busy dev env was down than when the production environment was down. We dropped whatever we were doing and wanted to stop those screams as fast as we

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
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 are deployed by BOSH. One is to harden the vcap password, and the other is to let BOSH generate random vcap passwords for the VMs it deploys. Harden Password in Manifest/Cloud Config

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
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

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
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 bought some more modern UCS chassis they would like to add to the existing cluster. Enhanced vMotion Compatibility (EVC) must be enabled to support mixed processors in the same cluster. You can’t enable

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
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 unusual or unexpected errors. One cause of time drift can occur when you update the NTP servers on your BOSH director without recreating the CF VMs that are already deployed. If you

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
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 or be kept on separate hosts. You can either set Distribute Resource Scheduler (DRS) Affinity Rule which will keep all the VMs on the same host or DRS Anti-Affinity Rule which requires that each VM is on

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
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 storage to manage your buckets? I know once in a while, I do. Then this awesome guy, James Hunt, showed me a handy tool S3 CLI he wrote. It is simple, but

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
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 common terminology. UAA The User Account and Authentication (UAA) is the OAuth2 server used as the identity management service for Cloud Foundry (CF). UAA supports standard protocols such as the Security Assertion Markup

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝
Running Cloud Foundry with BOSH 2.0

If you do not have a BOSH-Lite installed with bosh2 locally on your VirtualBox yet, you can follow Bootstrap BOSH on VirtualBox with BOSH 2.0 to do so. If you already have BOSH-Lite installed, make sure you are logged into your director as admin user. Also make sure your are using bosh cli v2. In

Dr. Xiujiao Gao 高秀娇 Profile Image

Posted by:
Dr. Xiujiao Gao 高秀娇

Read More ➝