- Log in to Ops Manager in the browser
- Go to the Ops Manager Director tile
- Go to the
Status
tab and note the IP address of the director VM - Go to the
Credentials
tab and click the link that saysDirector Credentials
. Note the username and password - SSH into the Ops Manager VM
- Run
bosh --ca-cert /var/tempest/workspaces/default/root_ca_certificate target <IP FROM ABOVE>
and enter the credentials from the previous step
- Log in to the director
- To see all available deployments (tiles), use
bosh deployments
- To see the currently targeted deployment, use
bosh deployment
- To set the currently targeted deployment, use
bosh deployment /var/tempest/workspaces/default/deployments/<deployment-id>.yml
- Log in to the director
- To see the status of all VMs in the foundation, use
bosh vms
- To see a more detailed version use
bosh vms --details
. This will include IP and actual IaaS VM name - To see a more detailed version with health metrics instead, use
bosh vms --vitals
- Either of those commands can be run with a deployment id immediately after
vms
in order to see info about one tile.
- To see a more detailed version use
- To see info about the state of a single VM, run
bosh ssh
and choose the VM you wish to see. Once logged in,sudo
to root and runmonit summary
, and if more detail is needed,monit status
. If a component is failing, runmonit restart <component name>
. - If a VM is still failing, run
bosh restart <job-name>
- If a VM is non-responsive or missing, run
bosh cck
. This runs a "cloud check" (hencecck
) and will note if any VMs or disks are missing and, if they are, will give you the option to recreate them.
- Log in to the director
- Find the ID of the task you want to debug by running
bosh tasks recent
. - Run
bosh task <id> --debug
for output.
- Log in to the director
- Find the name of the VM you want to download from. It will be in the form
job_name/index
(likediego_cell/0
) - Run
bosh -scp job_name/index --download /path/to/file /destination-directory