Beruflich Dokumente
Kultur Dokumente
vSphere 6.0
Webinar Overview
This Webinar will discuss:
Use of the VMware vSphere Web Client, the command line, and log
files to diagnose and correct problems in vSphere
Troubleshooting networking issues
Troubleshooting storage issues
Troubleshooting VMware vCenter Server issues
Troubleshooting VMware ESXi host issues
Troubleshooting vSphere HA cluster issues
Troubleshooting VMware vSphere vMotion issues
2
2015 Vmware Inc. All rights reserved
Webinar Scope
This Webinar covers portions of the Troubleshooting Workshop:
For more information, go to http://vmware.com/education
3
2015 Vmware Inc. All rights reserved
Troubleshooting Overview
4
2015 Vmware Inc. All rights reserved
Resource contention
Network attacks
Software bugs
Hardware failures
5
2015 Vmware Inc. All rights reserved
6
2015 Vmware Inc. All rights reserved
Troubleshooting Process
Troubleshooting involves the systematic approach to identifying the
problem (root cause) from the reported symptom.
The troubleshooting process consists of the following tasks:
Defining the problem
Identifying symptoms
Gathering information
7
2015 Vmware Inc. All rights reserved
8
2015 Vmware Inc. All rights reserved
Interpret the
diagnostic
messages to
focus your
troubleshooting
efforts.
9
2015 Vmware Inc. All rights reserved
top-down
application/
guest OS
virtual
machine
Approach
the cause by
halves.
ESXi
host
hardware
(CPU, memory,
network, storage)
bottom-up
10
2015 Vmware Inc. All rights reserved
11
2015 Vmware Inc. All rights reserved
Scenario:
You attempt to migrate the virtual machine named VM01 from the host
named esxi01 to the host named esxi02. After waiting a couple of
minutes, the vSphere vMotion migration fails with an error.
Is this a vSphere vMotion problem or a symptom of an underlying
problem?
The error message is the starting point.
12
2015 Vmware Inc. All rights reserved
13
2015 Vmware Inc. All rights reserved
virtual
machine
vMotion is misconfigured.
ESXi
host
hardware
(CPU, memory,
network, storage)
14
2015 Vmware Inc. All rights reserved
ping esxi02
ping 172.20.13.52
Yes
Success?
Success?
No
Test next
possible
cause.
No
Perform vMotion
migration.
Perform vMotion
migration.
No
Success?
Success?
Yes
Further
investigation
necessary.
Yes
Root cause
identified.
No
Yes
15
2015 Vmware Inc. All rights reserved
16
2015 Vmware Inc. All rights reserved
17
2015 Vmware Inc. All rights reserved
ESXCLI commands
A set of esxcfg-* commands
A set of commands for troubleshooting
18
2015 Vmware Inc. All rights reserved
19
2015 Vmware Inc. All rights reserved
Reference:
https://www.vmware.com/support/developer/vcli/vcli60/vsp6_60_vcli_rel
notes.html
20
2015 Vmware Inc. All rights reserved
ESXCLI Command
The esxcli command offers the following namespaces, as well as
many new esxcli commands added in the vSphere 6.0 release.
21
2015 Vmware Inc. All rights reserved
22
2015 Vmware Inc. All rights reserved
23
2015 Vmware Inc. All rights reserved
vicfg-* Commands
vicfg-*
vicfg-vmknic -l
24
2015 Vmware Inc. All rights reserved
vmware-cmd Command
vmware-cmd
25
2015 Vmware Inc. All rights reserved
Lists the virtual machines that are located on the target host. Lists
virtual machines by path to the .vmx file.
26
2015 Vmware Inc. All rights reserved
Purpose
hostd.log
syslog.log
vmkernel.log
vmkwarning.log
vmksummary.log
27
2015 Vmware Inc. All rights reserved
28
2015 Vmware Inc. All rights reserved
29
2015 Vmware Inc. All rights reserved
30
2015 Vmware Inc. All rights reserved
31
2015 Vmware Inc. All rights reserved
Network Troubleshooting
32
2015 Vmware Inc. All rights reserved
Networking Overview
In vSphere, networking problems can occur with various types of
connectivity:
Virtual switch connectivity
Standard switches
Distributed switches
33
2015 Vmware Inc. All rights reserved
command
prompt at
the DCUI
34
2015 Vmware Inc. All rights reserved
ESXi
host
hardware
(network, server)
35
2015 Vmware Inc. All rights reserved
36
2015 Vmware Inc. All rights reserved
37
2015 Vmware Inc. All rights reserved
38
2015 Vmware Inc. All rights reserved
39
2015 Vmware Inc. All rights reserved
You can use import to create a new distributed switch, for example,
on a different vCenter Server system.
40
2015 Vmware Inc. All rights reserved
Storage Troubleshooting
41
2015 Vmware Inc. All rights reserved
42
2015 Vmware Inc. All rights reserved
ESXi
host
hardware:
storage network,
storage array
43
2015 Vmware Inc. All rights reserved
44
2015 Vmware Inc. All rights reserved
hardware:
storage network,
storage array
45
2015 Vmware Inc. All rights reserved
46
2015 Vmware Inc. All rights reserved
mount permission
(read/write or read
only) and ACLs
VMkernel port
configured with
IP address
47
2015 Vmware Inc. All rights reserved
NFS v3
NFS v4.1
Yes
Yes
vSphere HA
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
Yes
No
Virtual Volumes
Yes
No
48
2015 Vmware Inc. All rights reserved
Data corruption can occur if hosts attempt to access the same NFS share
using different NFS client versions.
49
2015 Vmware Inc. All rights reserved
50
2015 Vmware Inc. All rights reserved
Cluster Troubleshooting
51
2015 Vmware Inc. All rights reserved
vSphere HA
A reliable network connection between the hosts and VMware
vCenter Server is essential for enabling vSphere HA.
Heartbeat
datastores
FDM
vpxa
FDM
FDM
hostd
vpxa
hostd
vpxa
hostd
vCenter
Server
vpxd
52
2015 Vmware Inc. All rights reserved
53
2015 Vmware Inc. All rights reserved
virtual
machine
ESXi
host
54
2015 Vmware Inc. All rights reserved
vSphere HA
When a host failure or isolation occurs, vSphere HA powers on a
virtual machine on another host in the cluster with respect to the
bandwidth reservation and teaming policy:
Failover:
vSphere HA failure:
55
2015 Vmware Inc. All rights reserved
(Inactive)
(Inaccessible)
56
2015 Vmware Inc. All rights reserved
VMkernel port
enabled for
vMotion
ESXi
ESXi
VMkernel port
enabled for
vMotion
57
2015 Vmware Inc. All rights reserved
hostd
PING
DHCP
User
VMkernel
vSphere FT Virtual SAN
NFS
vSphere vMotion
VMKTCP-API
Default TCP IP
Default TCP IP
ARP Tables
ARP Tables
Routing Table
Routing Table
Default Gateway
Default Gateway
58
2015 Vmware Inc. All rights reserved
Initial checks:
If vSphere vMotion was previously working, perform a check:
Restart the management agents on the ESXi host at the command prompt.
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
Or restart the management agents on the ESXi host by using the DCUI.
59
2015 Vmware Inc. All rights reserved
ESXi
host
60
2015 Vmware Inc. All rights reserved
Resetting Migrate.Enabled
If vSphere vMotion fails at 10% with the error, A general system
error occurred: Migration failed while copying data, Broken Pipe,
take the following action.
1. Try resetting the advanced setting, Migrate.Enabled.
a. Change the value to 0 and save the setting.
b. Change the value back to 1 and save the setting.
61
2015 Vmware Inc. All rights reserved
62
2015 Vmware Inc. All rights reserved
63
2015 Vmware Inc. All rights reserved
Initial checks:
Validate that the basic configuration of the vCenter Server database
meets these requirements.
64
2015 Vmware Inc. All rights reserved
65
2015 Vmware Inc. All rights reserved
66
2015 Vmware Inc. All rights reserved
Initial checks:
Management network interface configuration
Lockdown Mode settings
67
2015 Vmware Inc. All rights reserved
DCUI.Access list:
68
2015 Vmware Inc. All rights reserved
Certification (vSphere 6)
VMware Certified Professional 6 - Data
69
70
71
Thank You!