Quantcast
Channel: Knowledge Base
Viewing all articles
Browse latest Browse all 95

How to collect logs

$
0
0

@alejo wrote:

What logs do I need to provide?
Depending on the problem we may need you to provide different set of logs. Generally these are the two best logs to add to your post.

sudo virl_health_status
Problem Report -- Generated from VM Maestro

How do I get the logs out of the Linux Virtual Machine?
If you are running VM Ware Workstation or Fusion, you can drag and drop the files to your local machine.

I do not know Linux and you are asking for logs? What do I do?
You don't need to know Linux to work with it. From the VIRL Virtual Machine Desktop double click on 'xterm' icon and follow these steps:

How do I get the logs for VM Maestro?

  • Open VM Maestro
  • Click on Help
  • Click on Generate Problem Report
  • Add notes describing the problem (optional, but helpful)
  • Click on Generate

Collect health status for Aug. 2015 and later release

  • Open UWM and navigate to System Status
  • Click Check Health Status and wait for page to refresh
  • If logs are needed just click on Download system logs collection and follow the prompts.

All services should be green. If they are not, please collect the logs and start a new thread. You can also click on the "failed" service for additional debugging information.

Awesome, but I am using ESXi server I can't drag and drop
ESXi server :: connecting from Windows computer

The easiest way to copy files out of the VIRL VM is to use SCP protocol. There is nothing to enable on the Virtual Machine side, but you may want to instal a graphical interface. The graphical Windows SCP client is called WinSCP and you can download it from WinSCP Official Site.
1. Install or launch WinSCP (you may choose to use the portable version)
2. Connect to VIRL VM
3. Right pane: navigate to /home/virl/Desktop
4. Left pane: navigate to desired destination on your LOCAL machine
5. Drag and drop files you want to transfer
6. Repeat as needed
Once you have collected the files you can just close the client. If you have several files to upload, select them > right click > send to > compressed (zipped) folder. Now you can just upload a single zip file.

ESXi server :: connecting from Mac OSX / Linux

From a Mac or Linux machine we will use SCP via command line. SCP client is almost always pre-packaged and is easy to use. The syntax is simple:

~# scp source destination (this is basic syntax)

The command would look like this:

~# scp virl@<ip_address>:/home/virl/Desktop/<file_name> ~/Desktop

What the command says is; use SCP protocol and connect with user VIRL to server with path to log file and copy the file to my desktop.
Repeat for all the log files needed and then zip them up! Yep you can do that via CLI as well. And why not, you are already there.

~# zip myzippedlog.zip <log.log> <log2.log> etc.

what the command will do is collect all the specified log files into a single zip file.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95

Trending Articles