This is a set of scripts to help with the install and daily mgmt of PCF.
- fill in the values for the
pcfsrc
file source pcfsrc
- run the script of your choosing
this script will install the om cli as well as the pivnet cli
NA
./opsman/install-om-pivnet.sh
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.
- file-name - name to download the file as. must end in
.tgz
- api-url - the url from pivnet
./opsman/upload-stemcell.sh <file-name> <api-url>
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.
- file-name - name to download the file as.
- api-url - the url from pivnet
./opsman/upload-tile.sh <file-name> <api-url>
this will generate a self signed SAN cert for the domains needed to run the platform.
the neccessary params for this will come from the pcfsrc.
./openssl/generate-cert.sh
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
the neccessary params for this will come from the pcfsrc.
VSPHERE_USER_PASS
- set the above paramater value in the
pcfsrc
source pcfsrc
./vmware/create-user.sh
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.
- jq
- pwgen
- cf-cli
the neccessary params for this will come from the users.json
file.
./management/create-users.sh