Skip to content

Running MS SQL Server Locally

Greg Cobb edited this page Apr 11, 2017 · 3 revisions

Adding SQL Server support is still in progress. This will not work on master (yet)

Deploying to bosh-lite

  1. cd ~/workspace/cf-release/src/capi-release && bosh create release --with-tarball --force
  2. bosh2 -e vbox upload-release $TARBALL_PATH
  3. cd ~/workspace/cf-release/src/capi-release/src/cloud_controller_ng
  4. ./scripts/run-ms-sql-background.sh
  5. npm install -g sql-cli
  6. mssql -u sa -p Password-123 -e -q 'CREATE DATABASE cloud_controller;'
  7. bosh2 -e vbox update-cloud-config ~/workspace/cf-deployment/bosh-lite/cloud-config.yml
  8. bosh2 -n -e vbox -d cf deploy ~/workspace/cf-deployment/cf-deployment.yml -o ~/workspace/cf-deployment/operations/bosh-lite.yml -o ~/workspace/capi-ci/cf-deployment-operations/use-ms-sql-bosh-lite.yml -o ~/workspace/capi-ci/cf-deployment-operations/skip-cert-verify.yml -o ~/workspace/capi-ci/cf-deployment-operations/use-latest-capi.yml -v "mssql_address=$(ipconfig getifaddr en0)" -v system_domain=bosh-lite.com -v uaa_scim_users_admin_password=admin --vars-store ~/deployments/cf-bosh-lite-vars.yml
Clone this wiki locally