Slideplayer-Com-Sl
Slideplayer-Com-Sl
Similar presentations
More
3 Technical Walk-Through
The technical walk-through expands on the architectural presentation to provide more detailed technical best
practice and troubleshooting information for each topic
This is not comprehensive coverage of each topic
If you require more detailed information use the VMware vSphere Documentation ( and VMware Global
Support Services might be of assistance
4 ESXi
5 Components of ESXi
The ESXi architecture comprises the underlying operating system, called the VMkernel, and processes that run
on top of it
VMkernel provides a means for running all processes on the system, including management applications and
agents as well as virtual machines
It has control of all hardware devices on the server and manages resources for the applications
The main processes that run on top of VMkernel are
Direct Console User Interface (DCUI)
Virtual Machine Monitor (VMM)
VMware Agents (hostd, vpxa)
Common Information Model (CIM) System
15 Virtual Machines
16 Virtual Machine Troubleshooting
Virtual machines run as processes on the ESXi host
Troubleshooting is split into two categories
Inside the Guest OS – Standard OS troubleshooting should be used, including the OS-specific log files
ESXi host level troubleshooting – Concerning the virtual machine process, where the log file for the virtual
machine is reviewed for errors
ESXi host virtual machine log files are located in the directory which the virtual machine runs by default, and
are named vmware.log
Generally issues occur as a result of a problem in the guest OS
Host level crashes of the VM processes are relatively rare and are normally a result of hardware errors or
compatibility of hardware between hosts
18 vCenter Server
19 vCenter Server 6.0 with Embedded Platform Services Controller
SSO
CM
License
IS
Web
TOOLS
Platform Services Controller
Management Node
Sufficient for most environments
Easiest to maintain and deploy
Recommended - 8 or less vCenter Servers
vCenter Server and the infrastructure controller are deployed on a single virtual machine or physical host.
vCenter Server with embedded infrastructure controller is suitable for smaller environments with eight or less
product instances.
To provide the common services, such as vCenter Single Sign-On, across multiple products and vCenter Server
instances, you can connect multiple vCenter Server instances with embedded infrastructure controllers
together.
You can do this by replicating the vCenter Single Sign-On data from one of the Infrastructure Controller to the
other Infrastructure Controllers. This way, infrastructure data for each product is replicated to all of the
infrastructure controllers, and each individual infrastructure controller contains a copy of the data for all of
the infrastructure controllers.
The Embedded Infrastructure Controller supports both an internal database, which is vPostgres or external
database, such as Oracle and Microsoft Server.
The vCenter Server 6.0 with Embedded Infrastructure Controller is available for both Windows and Virtual
Appliance format.
Supports embedded and external database
Available for Windows and vCenter Server Appliance
22 Installation Overview/Architecture
This graphic shows how the installation progresses for vSphere 6
Parent
MSI
Component MSIs
(~50)
Services
(Firstboot
Scripts)
VPXD
VCDB (vPostgres) Or External
vpxd
VC Prefs
NGC
Net Dump
vCenter Server 6.0 Installer
SSO
VPXD
LOTUS
SSO
SMS/SPBM
Here’s a graphical overview of the installation process.
Once the installation media is download and mounted on the destination machine, the vSphere 6.0 Installer
menu is launched.
Once you pick the option to install vCenter for Windows, you will be prompted with a series of questions such
as
Deployment type
What database you want to use
Credentials for SSO, and so on
Once the installer has captured all this information the MSI files are copied from the installation media to the
destination installation folder. The number of MSIs will vary depending on the installation type.
28 firstboot scripts will be copied for an embedded node. Less will be copied for other deployment types.
[CLICK]
Once the MSIs are copied they are installed and the firstboot process starts. The firstboot process run and
configures the services and performs tasks such as generating certificates, installing and starting services and
registering the components.
As the firstboot process progresses, the components are installed and configured until you have successfully
installed all the components.
NGC
CM
Auto Deploy
…
Flat File
NGC
…
Service Manager
MSI
SSO
IS
VCO
XDB
CM
Licensing
KV
VCO DB
…
AuthZ
27 vCenter Troubleshooting
vCenter for windows has been consolidated and organized in this release
Installation and logging directories mimic the vCenter Server Appliance in previous releases
Start by narrowing down the component which is causing the problem
Next review the logs as required to narrow down the issue
Each process now has its own logging directory:
28 vCenter Troubleshooting – Installer Logs
vSphere Installer logs
Can show up in %TEMP% or %TEMP%\<number> e.g. %TEMP%\1
vminst.log – Logging created by custom actions – usually verification and handling of MSI properties
*msi.log (for example, vim-vcs-msi.log or vm-ciswin-msi.log)
MSI installation log–strings produced by the Microsoft Installer backend
pkgmgr.log – contains a list of installed sub-MSIs (for example, VMware-OpenSSL.msi) and the command lines
used to install them
pkgmgr-comp-msi.log – the MSI installation logs for each of the ~50 sub-MSIs (appended into one file)
33 vSphere vMotion
34 vSphere vMotion and vSphere Storage vMotion Troubleshooting
vSphere vMotion and vSphere Storage vMotion are some of the best logged features in vSphere
Each migration that occurs has a unique Migration ID (MID) that can be used to search logs for the vSphere
vMotion and vSphere Storage vMotion
MIDs look as follows:
Each time a vSphere vMotion and vSphere Storage vMotion is attempted, all logs can be reviewed to find the
error using grep and searching for the term Migrate
Both the source and the destination logs should be reviewed
The following is a list of common log files and errors
VMKernel.log – VMkernel logs usually contain storage or network errors (and possibly vSphere vMotion and
vSphere Storage vMotion timeouts)
hostd.log – contains interactions between vCenter and ESXi
vmware.log – virtual machine log file which will show issues with starting the virtual machine processes
vpxd.log – vSphere vMotion as seen from vCenter normally shows a timeout or other irrelevant data because
the errors are occurring on the host itself
39 Availability
vSphere High Availability
44 vSphere High Availability Technical Details – Master and Slave Summary Views
45 vSphere High Availability Technical Details – Master Election
A master is elected when the following conditions occur
vSphere High Availability is enabled
A master host fails
A management network partition occurs
The following algorithm is used for selecting the master
If a host has the greatest number of datastores, it is the best host
If there is a tie, then the host with the lexically highest moid is chosen. For example moid "host-99" would be
higher than moid "host-100" since 9 is greater than 1
After a master is elected and contacts vCenter, vCenter sends a compatibility list to the master which saves it
on its local disk, and then pushes it out to the slave hosts in the cluster
vCenter normally only talks to a master. It will sometimes talk to FDM agents on other hosts, especially if
master states that it cannot reach the slave agent. vCenter will try to contact the other host to figure out why
Moid – Managed Object ID – vCenter identifier
There are some other scenarios when vCenter will talk to the other FDM agents
When scanning for master
When vCenter powers on a vSphere FT secondary VM
When host is reported isolated or partitioned
52 Availability
vSphere FT
53 vSphere FT Troubleshooting
vSphere FT has been completely rewritten in vSphere 6.0
Now, CPU compatibility is the same as vSphere vMotion compatibility because the same technology is used to
ship memory, CPU, storage, and network states across to the secondary virtual machine
When troubleshooting
Get logs for both primary and secondary VMs and hosts
Grab logs before log rotation
Ensure time is synchronized on all hosts
When reviewing the configuration, you should find both primary and secondary VMX logs in the primary VMs
directory
They will named vmware.log and vmware-snd.log
Also, be sure to review vmkernel.log and hostd.log from both the primary and secondary hosts for errors
58 Availability
vSphere Distributed Resource Scheduler
59 DRS Troubleshooting
DRS uses a proprietary algorithm to assess and determine resource usage and to determine which hosts to
balance VMs to
DRS primarily uses vMotion to facilitate movements
Troubleshooting failures generally consist of figuring out why vMotion failed, and not DRS itself as the
algorithm just follows resource utilization
Ensure the following
vSphere vMotion is enabled and configured
The migration aggressiveness is set appropriately
Fully automated if approvals are not needed for migrations
To test DRS, from the vSphere Web Client, select the Run DRS option, which will initiate recommendations
Failures can be assessed and corrected at that time
60 DRS Best Practices
Hosts should be as homogeneous as possible to ensure predictability of DRS placements
vSphere vMotion should be compatible for all hosts or DRS will not function
The more hosts available, the better DRS functions because there are more options for available placement of
VMs
VMs that have a smaller CPU/RAM footprint provide more opportunities for placement across hosts
DRS Automatic mode should be used to take full benefit of DRS
Idle VMs can affect DRS placement decisions
DRS affinity should be used to keep VMs apart, such as in the case of a load balanced configuration providing
high availability
61 Content Library
62 Content Library Troubleshooting
The Content Library is easy to troubleshoot because there are two basic areas to examine
Creation/administration of Content Libraries
This area consists of issues with the Content Library creation, storage backing, creation of and synchronizing
Content Library items, and subscription problems.
Log files are cls-debug.log / cls-cis-debug.log
They are located in /var/log/vmware/vdcs/ OR C:/ProgramData/Vmware/CIS/logs/vdcs
Synchronization of Content Libraries
This area consists of issues where there are synchronization failures and problems with adding items to a
content library. You can also track transfer session ids between cls-debug and ts-debug.
Log files are ts-debug.log / ts-cis-debug.log
They are located in /var/log/vmware/vdcs/ OR C:/ProgramData/Vmware/CIS/logs/vdcs
76 Storage
77 Storage Troubleshooting
Troubleshooting storage is a broad topic that very much depends on the type of storage in use
Consult the vendor to determine what is normal and expected for storage
In general, the following are problems that are frequently seen
Overloaded storage
Slow storage
91 Networking
92 Networking Troubleshooting
Troubleshooting networking is very similar to physical network troubleshooting
Start by validating connectivity
Look at network statistics from esxtop as well as the physical switch
Is it a network performance problem?
Validate throughput
Is CPU load too high?
Are packets being dropped?
Is the issue limited to the virtual environment, or is it seen in the physical environment too?
One of the biggest issues that VMware has observed is dropped network packets (discussed next)
Similar presentations
© 2024 SlidePlayer.com Inc. Feedback Do Not Sell About project Search... Search
All rights reserved.
Privacy Policy My Personal SlidePlayer
Feedback Information Terms of Service