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
272 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 117
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
 

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 117
ID: 37752863
cat vmkernel.log

or tail -f vmkernel.log
0
 
LVL 117

Accepted Solution

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

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 117
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
 

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 117
ID: 37753456
use the commands I posted.

tail -f
0
 

Author Comment

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

view the file with tail
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

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 117
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 117
ID: 37753553
also check vmware.log for the vm.
0
 

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 117
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 117
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
 

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 117
ID: 37753583
vmware.logs or Events in vCenter
0
 

Author Comment

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

Author Closing Comment

by:vmich
ID: 37765612
solved
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

706 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now