Ops Manager and Tiles - pivotal-cf/TAS-LTS GitHub Wiki

  • Curriculum > Quick Reference Guides and Ecosystem > Ops Manager and Tiles
  • Claiming an OpsMan with Toolsmiths and using its BOSH Director for your BOSH experimentation
    • Install bash-it
      • If you are using MacOSX and your default terminal program is zsh, you need to change it to bash. To do so you need to run chsh -s /bin/bash command.
      • Check out a clone of this repo to a location of your choice, such as git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it
      • Run ~/.bash_it/install.sh
    • git clone [email protected]:pivotal-cf/denver-bash-it ~/workspace/denver-bash-it
    • cd ~/workspace/denver-bash-it
    • ./install.sh <Team Name>
    • bash-it reload
    • Get Toolsmiths API token from the Shared-PCF Metrics/toolsmiths-api-token shared LastPass folder or request a new one
    • Use smith CLI with that token to list environments and claim one
    • Take the .json file of your newly claimed environment and place it in a claimed folder somewhere inside denver-locks (doesn't much matter where; it just needs to follow this convention). Don't commit it though
    • Run pcf-target YOUR-ENV where YOUR-ENV is the environment you just claimed
    • Tada, now we should have a BOSH via this newly claimed TAS environment. Let's do some stuff
  • Why does Ops Manager matter to me in my role on TAS LTS?
    • Ops Manager is a UI for installing and managing tiles, which contain all of the running bits of our products. The most common interaction you'll have with tiles and Ops Manager will likely be tweaking tile settings to notice precise problems resulting from specific configuration settings passed through to the code.
  • Now that my pipeline has built and pushed a tile, how do I install it onto acceptance?
    • The tile will likely be built and put into a GCP bucket. You will need to authenticate with the gcloud CLI, figure out which bucket (and project!) it was put into, gsutil cp it down to either your machine or the Ops Manager, and upload it from there to the Ops Manager and go through the usual install process.
  • How do I downgrade a product I have installed on my Ops Manager?
    • You can't. You'll have to delete it and reinstall it. If you're using Toolsmiths, this should be as easy as releasing the one you already have and claiming a new one.
  • What if Ops Manager runs out of disk space?
    • The most common cause of Ops Manager running out of disk space is that the tmp directory has been filled with temporary tiles, which are quite large. If you are using another team's acceptance environment, contact them to ask if they are willing and able to address this. Otherwise, consult this thread for more information on how to fix this.
  • Should I enable automatic version updates in Ops Manager?
    • Probably not. Most customers and all of our products use pipelines to conditionally pull new versions of tiles and upgrade them--perhaps even testing that some criteria is met in the process. This feature seems like it will go mostly unused.
⚠️ **GitHub.com Fallback** ⚠️