Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
280 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 11
  • 9
20 Comments
 
LVL 123
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 123
ID: 37752863
cat vmkernel.log

or tail -f vmkernel.log
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 123
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 123
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 123
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 123
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 123
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 123
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 123
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 123
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

722 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