pivotal-cf/om

Name: om

Owner: Pivotal Cloud Foundry

Description: small sharp tool for deploying products to ops-manager

Created: 2016-09-13 15:30:05.0

Updated: 2018-05-18 20:18:15.0

Pushed: 2018-05-23 14:45:52.0

Homepage:

Size: 9946

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Om

is a mantra, or vibration, that is traditionally chanted

enhancing your calm

What is it?

Magical tool that helps you configure and deploy tiles to an Ops-Manager 1.8+ . Currently being developed by RelEng, backlog link is here.

Documentation

See here for useful examples and documentation.

Some commands such as configure-product accept arguments as JSON. Please refer to the Ops Manager API documentation for examples of the fields that can be provided. The Ops Manager API documentation is available at https://pcf.your-ops-manager.example.com/docs

Installation

To install om go to Releases

Additionally, you can install om via apt-get from Stark and Wayne's apt-get repo:

 -q -O - https://raw.githubusercontent.com/starkandwayne/homebrew-cf/master/public.key | apt-key add -
 "deb http://apt.starkandwayne.com stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
get update

get install om
Current Commands

elps you interact with an Ops Manager

e: om [options] <command> [<args>]
client-id, -c            string  Client ID for the Ops Manager VM (not required for unauthenticated commands, $OM_CLIENT_ID)
client-secret, -s        string  Client Secret for the Ops Manager VM (not required for unauthenticated commands, $OM_CLIENT_SECRET)
connect-timeout, -o      int     timeout in seconds to make TCP connections (default: 5)
format, -f               string  Format to print as (options: table,json) (default: table)
help, -h                 bool    prints this usage information (default: false)
password, -p             string  admin password for the Ops Manager VM (not required for unauthenticated commands, $OM_PASSWORD)
request-timeout, -r      int     timeout in seconds for HTTP requests to Ops Manager (default: 1800)
skip-ssl-validation, -k  bool    skip ssl certificate validation during http requests (default: false)
target, -t               string  location of the Ops Manager VM
trace, -tr               bool    prints HTTP requests and response payloads
username, -u             string  admin username for the Ops Manager VM (not required for unauthenticated commands, $OM_USERNAME)
version, -v              bool    prints the om release version (default: false)

ands:
tivate-certificate-authority  activates a certificate authority on the Ops Manager
ply-changes                   triggers an install on the Ops Manager targeted
ailable-products              list available products
rtificate-authorities         lists certificates managed by Ops Manager
rtificate-authority           prints requested certificate authority
nfig-template                 **EXPERIMENTAL** generates a config template for the product
nfigure-authentication        configures Ops Manager with an internal userstore and admin user account
nfigure-bosh                  **DEPRECATED** configures Ops Manager deployed bosh director
nfigure-director              configures the director
nfigure-product               configures a staged product
nfigure-saml-authentication   configures Ops Manager with SAML authentication
eate-certificate-authority    creates a certificate authority on the Ops Manager
eate-vm-extension             creates a VM extension
edential-references           list credential references for a deployed product
edentials                     fetch credentials for a deployed product
rl                            issues an authenticated API request
lete-certificate-authority    deletes a certificate authority on the Ops Manager
lete-installation             deletes all the products on the Ops Manager targeted
lete-product                  deletes a product from the Ops Manager
lete-unused-products          deletes unused products on the Ops Manager targeted
ployed-manifest               prints the deployed manifest for a product
ployed-products               lists deployed products
rands                         list errands for a product
port-installation             exports the installation of the target Ops Manager
nerate-certificate            generates a new certificate signed by Ops Manager's root CA
nerate-certificate-authority  generates a certificate authority on the Opsman
lp                            prints this usage information
port-installation             imports a given installation to the Ops Manager targeted
stallation-log                output installation logs
stallations                   list recent installation events
nding-changes                 lists pending changes
generate-certificates         deletes all non-configurable certificates in Ops Manager so they will automatically be regenerated on the next apply-changes
vert-staged-changes           reverts staged changes on the Ops Manager targeted
t-errand-state                sets state for a product's errand
age-product                   stages a given product in the Ops Manager targeted
aged-config                   **EXPERIMENTAL** generates a config from a staged product
aged-manifest                 prints the staged manifest for a product
aged-products                 lists staged products
stage-product                 unstages a given product from the Ops Manager targeted
load-product                  uploads a given product to the Ops Manager targeted
load-stemcell                 uploads a given stemcell to the Ops Manager targeted
rsion                         prints the om release version

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.