Operations Manager Director is the first VM created. To access VMs or other SSH-able components, first ssh to the director, and then use the bosh cli.
Ensure the public key is specified.
From your workstation or linux bastion:
ssh ubuntu@[fqdn] -i path/to/publickey
ssh [email protected] -i secret/id_opsman
export BOSH_CLIENT=ops_manager
BOSH_CLIENT_SECRET=some_secret
BOSH_CA_CERT=/var/tempest/workspaces/default/root_ca_certificate
BOSH_ENVIRONMENT=172.16.3.2 bosh
export BOSH_CLIENT=ops_manager
BOSH_CLIENT_SECRET=eiZWk3ARtNfEkkZc082NbyQ-rbzmxnxn
BOSH_CA_CERT=/var/tempest/workspaces/default/root_ca_certificate
BOSH_ENVIRONMENT=172.16.3.2
Action | Command |
---|---|
List deployments | bosh deployments |
Create alias for an env | bosh alias-env MY-ENV -e DIRECTOR-IP-ADDRESS --ca-cert /var/tempest/workspaces/default/root_ca_certificate |
example | bosh alias-env lab -e 172.16.3.2 --ca-cert /var/tempest/workspaces/default/root_ca_certificate |
Cloud Check | bosh -e ENV -d deployment-name cloud-check |
example | bosh -e lab -d cf-a0fa80b38de0ca83b9ac cloud-check |