Pivotal/BOSH/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
Line 9: | Line 9: | ||
* Username/Password: Under the <br>credentials</b> tab, record the Username and Password from <b><code>vm credentials</code></b> | * Username/Password: Under the <br>credentials</b> tab, record the Username and Password from <b><code>vm credentials</code></b> | ||
Now, using your ops manager ssh session, log in the BOSH Director like so: | Now, using your ops manager ssh session, log in the BOSH Director like so: | ||
− | < | + | <nowiki>~$ ssh {vm_credentials_username}@{bosh_director_ip} |
>{vm_credentials_password} | >{vm_credentials_password} | ||
ie. | ie. |
Revision as of 10:33, 27 August 2018
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