Go Premium for a chance to win a PS4. Enter to Win

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
?
282 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 124
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 124
ID: 37752863
cat vmkernel.log

or tail -f vmkernel.log
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
LVL 124

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

876 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