Pivotal/BOSH/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "BOSH | BOSH CLI | Quick Reference =Obtain Logs= Obtaining Logs from the BOSH Director.<br /> Start by l...") |
|||
Line 15: | Line 15: | ||
Finally we can obtain the logs we need. Let's start by bundling them into a tar ball. | Finally we can obtain the logs we need. Let's start by bundling them into a tar ball. | ||
<nowiki>~$ sudo -i | <nowiki>~$ sudo -i | ||
− | ~$ | + | ~$tar zcvhf ~/bosh_logs.tgz /var/vcap/sys/log</nowiki> |
Revision as of 10:32, 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:
<nowik>~$ ssh {vm_credentials_username}@{bosh_director_ip}
>{vm_credentials_password} ie. ~$ ssh [email protected]</nowiki> 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