Solved

Where and how can I find the logs on esxi 4.1 to see how long snapshots are taking?

Posted on 2012-03-22
20
275 Views
Last Modified: 2012-03-26
I need to check my esxi 4.1 host to see how long snapshots are taking. Can anyone tell me where to find these logs and how I can read them to find this information?
0
Comment
Question by:vmich
  • 11
  • 9
20 Comments
 
LVL 119
ID: 37752824
You can check the Virtual Machine logs, vmware.log in the virtual machine folder.

on the host in

/var/log/vmkernel.log
0
 
LVL 1

Author Comment

by:vmich
ID: 37752845
So access this via ssh and if so, what do I type when at the # to get to these logs
0
 
LVL 119
ID: 37752863
cat vmkernel.log

or tail -f vmkernel.log
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37752864
tail -f vmware.log
0
 
LVL 1

Author Comment

by:vmich
ID: 37752897
so do I need to change to a certain folder to do this because it does not like this command whenI type it in..
I just need to find out how long it takes for the snapshots that are occuring...
0
 
LVL 119
ID: 37752925
change to directory

/var/log

and also to virtual machine folder on datastore

/vmfs/volumes/datastore name / virtual machine folder

why dont you also check events, because there will be create snapshot, and delete snapshot events
0
 
LVL 1

Author Comment

by:vmich
ID: 37753416
Ok I got the vmkernel.log file but how do I see what is in that log?
0
 
LVL 119
ID: 37753456
use the commands I posted.

tail -f
0
 
LVL 1

Author Comment

by:vmich
ID: 37753468
does that display it via ssh or to a file
0
 
LVL 119
ID: 37753474
login via ssh.

view the file with tail
0
 
LVL 1

Author Comment

by:vmich
ID: 37753532
yes I tried that and when I ran the tail command it just took me down to a blank prompt in ssh
0
 
LVL 119
ID: 37753547
did you type

tail -f /var/log/vmkernel.log

you will see new changes in the log.....

-f is follow new events in log
0
 
LVL 119
ID: 37753553
also check vmware.log for the vm.
0
 
LVL 1

Author Comment

by:vmich
ID: 37753556
No I just want to see if there is anything in there about snapshots that ran on days before today and how long they ran...
0
 
LVL 119
ID: 37753564
Im still not certain what you are trying to establish.

Time for the Create Snapshot process to finish?

Time for the Delete Snapshot process to finish?

these are recorded in the Events Log in vSphere Client
0
 
LVL 119
ID: 37753575
Check vmware.logs, unless you have syslog ing setup, the events will be gone from vmkernel.log.

use cat or nano on vmware.logs in virtual machine folder
0
 
LVL 1

Author Comment

by:vmich
ID: 37753577
I am just trying to see when the snapshot starts and when it finishes. I thought I could find that in the win event viewer, but I am not seeing soemthing there in the App log for some reason...
0
 
LVL 119
ID: 37753583
vmware.logs or Events in vCenter
0
 
LVL 1

Author Comment

by:vmich
ID: 37753593
Ok thanks for your help...
0
 
LVL 1

Author Closing Comment

by:vmich
ID: 37765612
solved
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question