Pivotal/BOSH/Quick Reference
From r00tedvw.com wiki
BOSH | BOSH CLI | Quick Reference
Obtain Logs
Obtaining Logs from the BOSH Director.
Start by logging into your Ops Manager via SSH. If using vSphere, use your admin password and ubuntu
as a username
~$ ssh [email protected]
Next, through the Ops Manager GUI, select the BOSH Director tile and make a note of the (2) following items:
- IP Address: Under the status tab, record the IP Address of your BOSH Director
- Username/Password: Under the
credentials</b> tab, record the Username and Password fromvm credentials
Now, using your ops manager ssh session, log in the BOSH Director like so:
~$ ssh {vm_credentials_username}@{bosh_director_ip} >{vm_credentials_password} ie. ~$ ssh [email protected]
Finally we can obtain the logs we need. Let's start by bundling them into a tar ball.
~$ sudo -i ~$tar zcvhf ~/bosh_logs.tgz /var/vcap/sys/log