Pivotal/BOSH/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
Line 7: | Line 7: | ||
Next, through the Ops Manager GUI, select the BOSH Director tile and make a note of the (2) following items: | Next, through the Ops Manager GUI, select the BOSH Director tile and make a note of the (2) following items: | ||
* IP Address: Under the <b>status</b> tab, record the IP Address of your BOSH Director | * IP Address: Under the <b>status</b> tab, record the IP Address of your BOSH Director | ||
− | * Username/Password: Under the < | + | * Username/Password: Under the <b>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} | <nowiki>~$ ssh {vm_credentials_username}@{bosh_director_ip} |
Revision as of 10:34, 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 tab, record the Username and Password from
vm 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