GithubHelp home page GithubHelp logo

pcf-helper-scripts's Introduction

PCF Helper Scripts

This is a set of scripts to help with the install and daily mgmt of PCF.

Setup

  1. fill in the values for the pcfsrc file
  2. source pcfsrc
  3. run the script of your choosing

Scripts

Description

this script will install the om cli as well as the pivnet cli

Params:

NA

Usage:

./opsman/install-om-pivnet.sh

Description

downloads a stemcell from pivnet and uploads it to the ops manager. this is current set up to run from ops manager since the uplaod is much faster.

Params:

  1. file-name - name to download the file as. must end in .tgz
  2. api-url - the url from pivnet

Usage:

./opsman/upload-stemcell.sh <file-name> <api-url>

Description

downloads a tile from pivnet and uploads it to the ops manager. this is current set up to run from ops manager since the uplaod is much faster. this will also handle the PASW(PAS for windows) tile by adding the extra step of running the winfs-injector step.

Params:

  1. file-name - name to download the file as.
  2. api-url - the url from pivnet

Usage:

./opsman/upload-tile.sh <file-name> <api-url>

Description

this will generate a self signed SAN cert for the domains needed to run the platform.

Params:

the neccessary params for this will come from the pcfsrc.

Usage:

./openssl/generate-cert.sh

Description

this will use govc to create a user, role and attach the role to the user in vsphere. these permissions are based on this doc

Params:

the neccessary params for this will come from the pcfsrc.

  • VSPHERE_USER_PASS

Usage:

  • set the above paramater value in the pcfsrc
  • source pcfsrc
  • ./vmware/create-user.sh

Description

this will use a file name users.json in the management directory that describes the users. it will loops over this file and create users in PAS with the correct org/space roles. it will output a logins.txt with the usernames and passwords.

Dependencies

  • jq
  • pwgen
  • cf-cli

Params:

the neccessary params for this will come from the users.json file.

Usage:

  • ./management/create-users.sh

pcf-helper-scripts's People

Contributors

warroyo avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.