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
274 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Veeam Manuall Backup 2 86
VMware Workstation 12 Player 16 75
Using VMWare Snapshot as Cisco UCM backup method 3 45
Options for replicating VMware VMs from Production to DR? 2 61
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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 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 convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…

803 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