Tag : author-cweibel

Newly Discovered Tool: vSphere CLI govc

Update: We’ve added homebrew and debian packages for govc for your installation pleasure. See last section for instructions. Every once in a while I run across an amazing tool which should be shared with others, we all deserve nice things. For the last few years I’ve been using the AWS CLI to reboot vms, find

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Manual Backup of CCDB/UAADB on Cloud Foundry

For whatever reason you may want to make a database backup for uaadb or ccdb and copy the backup to a jumpbox or other server. The instructions below will walk through two options for performing the backups and getting the backup to a secondary server. Option 1 assumes the jumpbox cannot access the databases directly,

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Foundation Discovery Queries

Use these queries to get an overview on a CF/PCF environment from Cloud Controller’s perspective. You’ll need to connect to your ccdb PostgreSQL or MySQL instance. Quick hint: all the db: info you need is in /var/vcap/jobs/cloud_controller_ng/config/cloud_controller_ng.yml. Show Service Broker Utilization For each service broker, show the service instances and app/space/org information about the bound

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
SHIELD v8 using UAA

Overview The upcoming release of SHIELD v8 adds support for GitHub and UAA authentication providers. Previous versions of SHIELD only supported basic auth. Many organizations already heavily rely on GitHub and UAA to organize users and permissions within an organization. You will be able to leverage these existing authentication providers to grant access to SHIELD.

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
What Apps are Running on a Diego Cell

Ever wonder which applications are running on a particular Diego cell? There is a nifty article on the Pivotal Knowledge Base which goes through how to find this info in PCF 1.7. This points us to getting the list of application process guids for the cell by curling rep. The user Muni Chada in the

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Helpful CCDB Queries to Show Active Organizations

I will likely get dirty looks for querying the CCDB directly but I’m a recovering DBA. API endpoints are nice, I like database queries. If you don’t know how to connect to the CCDB database you probably shouldn’t be using this blog post 🙂 To get the list of Organizations and the number of application

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Running your Own DNS Server in Cloud Foundry

Overview I ran across a nifty trick today to deploy a local DNS for Cloud Foundry. We all deserve nice things so I figured I would share. We have a Cloud Foundry environment which is being migrated across infrastructures and need to test different scenarios keeping system and run urls the same as the old

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
ELB & Instance Information From AWS CLI with IAM Profile

Overview Every once in a while you will find an organization which will not give you AWS Console access so you have to become handy using the AWS CLI for managing the infrastructure underneath BOSH. Fear not, the CLI can be used to retrieve even more information than the Console. You will need to retrieve

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝
Mounting Multiple Persistent Disks with BOSH

There are many use cases for needing multiple persistent disks to be mounted to a BOSH deployed VM. We are working on a DC/OS BOSH Release which requires multiple disks to be mounted to the mesos-agent servers, one for /var/vcap/store and one as a raw disk for Docker. Before we dive into how this is

Chris Weibel Profile Image

Posted by:
Chris Weibel

Read More ➝