SlideShare a Scribd company logo
1 of 46
Download to read offline
Horizon View Troubleshooting:
Looking under the Hood
Matt Coppinger, VMware
Jack McMichaels, VMware
EUC5291
#EUC5291
2
Disclaimer
 This session may contain product features that are
currently under development.
 This session/overview of the new technology represents
no commitment from VMware to deliver these features in
any generally available product.
 Features are subject to change, and must not be included in
contracts, purchase orders, or sales agreements of any kind.
 Technical feasibility and market demand will affect final delivery.
 Pricing and packaging for any new technologies or features
discussed or presented have not been determined.
3
Agenda
 Common Issues
 What can go wrong?
 Domain 1: View Client Connectivity issues
 Domain 2: Desktop Not Available!
 Domain 3: Broken Broker
 Domain 4: Why Is My Desktop So Slow!?
 Resources
4
Top 6 GSS tickets
1. SSL, SSL, SSL – View 5.1/5.2 introduces security improvements
• "Obtaining SSL Certificates for VMware View Servers” PDF on vmware.com
2. Persona – Make sure permissions are set correctly, and avoid
this common misconfiguration error.
http://kb.vmware.com/kb/2019502
3. Parent VM issues – Do NOT P2V! Clean VM please…
4. Connectivity – Understand the View network requirements!
5. PCoIP sizing – PCoIP Calculator -
http://myvirtualcloud.net/?page_id=1562
6. PCoIP Log Viewer - http://mindfluxinc.net
5
Generating a Certificate Signing Request – the Right Way
Read the
Manual!
Create a
config file
Generate cert
signing
request (CSR)
Validate CSR
and Private
Key
Send CSR to
CA
Receive
Signed Cert
from CA
Import Cert
Configure
View Server
to use Cert
Test!
6
The Ultimate Resource
• http://pubs.vmware.com/view-
52/topic/com.vmware.ICbase/PD
F/horizon-view-52-obtaining-
certificates.pdf
Obtaining
SSL
Certificates
for Horizon
View
7
Understanding View Connectivity Requirements
8
Broker Specifications
 Common Issues resulting from undersizing a broker:
• Memory Heap Issues
• Threading issues
• Latency Issues
 Recommendations:
• Always size your broker right from the beginning, avoid downtime or
issues later.
• Minimum recommended specifications:
• 2 vCPU / 10 GB RAM for normal sizing (50-500 VMs)
• 4 vCPU / 16+ GB RAM for large sizing (500+ VMs)
9
Troubleshooting Keys
 Check View
Administrator Dashboard
• Shows system health and any issues
 Understand the client connection
process (where most problems lie)
 Set the Logging Level on CS
 Check Connection Broker Logs
• Match and Filter SessionID, User, FSP
 Check View Agent Logs
 Check View Desktop PCoIP Logs
 Use kb.vmware.com!
10
Tracking Sessions
Use BareTail/BareGrep or similar 3rd party text parsers
11
You’ve Deployed View. What Could Go Wrong?
You’ve got a problem:
• I can’t even connect to View
• I get disconnected randomly!
• Why is the display so bad?
• Why is my desktop not available?
• I’m seeing an error in View, what does it mean?
• vCenter is reporting an error
• My desktop is slow…
12
Identifying the Problem Domain
View Client
Network
View Manager
View Composer
vCenter Server
Compute
Storage
13
Domain 1: View Client Connectivity Issues
 Common challenges
• View Client can’t connect
• Logon failure
• Black screen
• Poor quality display
• Randomly disconnected session
14
Domain 1: Failure to Communicate…
 Where to look
• Connection Broker logs
• Windows 2008 - <DriveLetter>:ProgramDataApplication DataVMwareVDMlogs
• Event Database
 What to look for –
• (Client connects) [SimpleAJPService] (ajp:broker:Request9) Request from
/192.168.2.1: POST /broker/xml
• (Broker authentication) [WinAuthFilter] (SESSION:7072-***-a79c mattc) Attempting
to authenticate user 'mattc' in domain 'FUTUREOFFICE’
• (User has authenticated to Broker) [AuthorizationFilter] (SESSION:7072-***-a79c)
User FUTUREOFFICEmattc has successfully authenticated to VDM
• (Audit Entry) [Audit] (SESSION:7072-***-a79c)
BROKER_LOGON:USER:FUTUREOFFICEmattc;USERSID:S-1-5-21-326850759-
2560684469-1780228732-1113;USERDN:CN=S-1-5-21-326850759-2560684469-
1780228732-1113,CN=ForeignSecurityPrincipals,DC=vdi,DC=vmware,DC=int;
• Event Database: BROKER_USERLOGGEDIN
15
User Experience Issues
 Black screen of death – instead of desktop!
• PCoIP port blocked (TCP and UDP 4172) or SVGA Driver issue
• pcoip_server/client logs - C:UsersAll UsersVMwareVDMlogs
• Error attaching to SVGADevTap, error 4000: EscapeFailed
• MGMT_SCHAN :scnet_client_open: tera_sock_connect returned error 10060 -
Connection timed out!
• Incorrect PCoIP External URL configured for Security/Connection Servers
16
User Experience Issues
 Poor quality display
• Bandwidth, latency, or QoS
• Pcoip_server logs report
• VGMAC :Stat frms: Loss=0.45%/0.21% (R/T)
• MGMT_PCOIP_DATA :BW: Decrease (loss) old = 234.9982 new = 176.8438
 Randomly disconnected session?
• 15 min after established - wssm process hasn't started on desktop
• View Agent logs (<DriveLetter>:ProgramDataVMwareVDMlogs)
• PENDING_EXPIRED
• Sometimes caused by daisy-chaining the GINA (WinXP)
17
Domain 2: Desktop Not Available
 Common Issues
• No Desktop Available
• Pool provisioning issues –
customization
• Agent not communicating
with broker
• Stuck at desktop login
screen (SSO)
 Where to look
• Connection Broker/
View Agent logs
• Event Database
 What to look for
• Broker returns list of desktops available to client
• [DesktopsHandler] (SESSION:7072-***-a79c) For user [S-1-5-21-326850759-
2560684469-1780228732-1113] and pool [cn=gold-np,ou=server
groups,dc=vdi,dc=vmware,dc=int] DesktopTracker returned 2 guest DNs
18
Desktop Not Available
What to look for… (walk through successful connection)
 Client requests desktop
• Event Database: BROKER_DESKTOP_REQUEST
 Broker allocates session to user
• [FarmImp] (SESSION:7072-***-a79c) cn=3f974017-409f-4912-83bc-
2ee794f22fab,ou=servers,dc=vdi,dc=vmware,dc=int, total session count: 0
• [FarmImp] (SESSION:7072-***-a79c) allocateNewSession - identified server
for application CN=GOLD-NP,OU=Applications,DC=vdi,DC=vmware,DC=int
• Event Database: BROKER_MACHINE_ALLOCATED
 Broker attempts SSO
• [FarmImp] (SESSION:7072-***-a79c) Using domain for SSO:
FUTUREOFFICE**
• User won’t be logged on to the VM without this!
19
ADSI Edit – Check Desktop Allocated
20
ADSI Edit – Common Key Values to Inspect
 pae-DisplayName
• VM name as displayed in View Admin
 pae-DirtyForNewSessions
• Indicates whether the VM is “Dirty” and can be re-used in a non-persistent pool
 pae-SVIVMSnapshot
• Indicates the current Snapshot that is in use
 pae-VmPath
• Indicates the full Path to the VM in vCenter
 pae-VmState
• Indicates the current state of the Desktop – some states are a combination of
this value and other values
21
ADSI Edit – Searching for a Desktop
 Find VMs with a Snapshot:
• (&(objectClass=pae-VM)(pae-SVIVmSnapshot=/Baseline/Snapshot1/Snapshot2))
 Find VMs with a Name:
• (&(objectClass=pae-VM)(pae-DisplayName=Desktop-234))
22
Desktop Not Available
What to look for…
 Broker starts session on VM
• [DesktopSessionImp] (SESSION:7072-***-a79c) startSession –
sending StartSession message
 Agent responds…
• "DesktopManager got a StartSession message”
• Client Info should be in Agent Log along with PCoIP launch
 Event Database: AGENT_PENDING
 [DesktopSessionImp] (SESSION:7072-***-a79c) startSession completed:
 [DesktopTracker] User FUTUREOFFICEmattc connected to machine gold-
np-2 for desktop gold-np
 Client connects to VM (Agent)
• “PCoIPCnx::OnConnectionComplete Begin (PCOIP)”
• “WTS_SESSION_LOGON”
• Event Database: AGENT_CONNECTED
23
Event Database
24
Desktop Not Available
What to look for… Pool Provisioning
 Desktops not available due to provisioning error?
• Check View Administrator for Pool status, check datastore capacity
• Check Event Database - BROKER_PROVISIONING_ERROR_*
• Check View Composer has network access to ESX hosts
 Desktop not available due to customization?
• Check Desktop status – AGENT UNAVAILABLE
• Check View Dashboard
• Desktop Status > Preparing Desktops OR Problem Desktops
• Check Desktop connectivity to DNS/AD/Connection Server
25
Desktop Not Available
 Desktop not available due to VM reset/crash?
• Check Desktop status – ALREADY USED
• Typical on refresh-on-logoff or delete-on-use desktops
• Broker never received an explicit logout message from the agent
• Missing AGENT_ENDED event in DB for VM
 View Composer Issues associated with incorrect domain
credentials
• C:ProgramDataVMwareView ComposerLogs
• FATAL CSvmGaService - [svmGaService.cpp, 116] Domain join failed Error 5 (0x5):
Access is denied.
26
Domain 3: Broken Broker
 Common Issues
• Cannot connect to vCenter
• View Composer errors/issues
• JMS connectivity
• ADAM replication failure
 Where to look
• View Administrator
• Event Database
• Windows Event Logs
• View Composer Logs
• Connection Server Logs
27
Broken Broker
What to look for
 ADAM Replication
• Check the Connection Broker Window Event Logs
• ADAM (VMwareVDMDS)-log
• Error: ADAM Replication
• Check ADAM replication status on Connection Server
• C:WINDOWSadamrepadmin.exe /showrepl localhost:389 DC=vdi,DC=vmware,DC=int
28
Broken Broker
 vCenter Server Connectivity
• Admin UI will show RED status
• Check Event Database
• VC_DOWN events
• Impacts provisioning and power operations ONLY
• Check Connectivity from Connection Server to vCenter Server
• Check credentials used to connect to vCenter Server
• Attempt to login in directly to vCenter using vSphere Client
29
Broken Broker
What to look for…
 View Composer
• VMs stuck in DELETING status
• VMs have been manually deleted – then pool/desktop deleted
• Causes Composer DB and VC DB to get out of sync
• Composer thinks VM already exists
• Orphaned VMs – KB-2015112 (kb.vmware.com)
• Desktop Composer Fault: 'Virtual Machine with Input Specification already exists‘
 JMS Connectivity
• Split site architecture / firewall causes “split brain”
• View Dashboard shows RED status
• Connection Server Logs
• tracker REJOIN messages – JMS connectivity
• tracker RESYNC messages – messages being delayed
30
Cleaning Up Broken / Orphaned Pools
 BACKUP
 Disable Provisioning on Broker
 Stop View Composer
• Remove Composer Database Objects
• Remove ADLDS Servers, Server Groups, and Applications
• Remove AD Computer Entries
• Remove vCenter objects
• Unprotect replicas with sviconfig
• SviConfig -operation=RemoveSviClone -VmName=replica-<guid> -AdminUser=administrator
-AdminPassword=passowrd -ServerUrl=https://localhost:18443/SviService/v2_0
Active Directory View Composer
AD LDS
31
One Query To Rule Them All (Proceed with Extreme Caution!)
 Delete One VM
DELETE FROM dbo.SVI_VM_NAME WHERE NAME='replaceMe'
DELETE FROM dbo.SVI_COMPUTER_NAME WHERE NAME='replaceMe'
DELETE FROM dbo.SVI_SC_PDISK_INFO WHERE PARENT_ID=(SELECT ID FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe')
DELETE FROM dbo.SVI_SC_BASE_DISK_KEYS WHERE PARENT_ID=(SELECT ID FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe')
DELETE FROM dbo.SVI_TASK_STATE WHERE SIM_CLONE_ID=(SELECT ID FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe')
DELETE FROM dbo.SVI_REQUEST WHERE ID=(SELECT REQUEST_ID FROM dbo.SVI_TASK_STATE WHERE SIM_CLONE_ID=(SELECT ID FROM
dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe'))
DELETE FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe'
 Delete ALL VMs and Pools
DELETE FROM dbo.SVI_VM_NAME
DELETE FROM dbo.SVI_COMPUTER_NAME
DELETE FROM dbo.SVI_SC_PDISK_INFO
DELETE FROM dbo.SVI_SC_BASE_DISK_KEYS
DELETE FROM dbo.SVI_TASK_STATE
DELETE FROM dbo.SVI_REQUEST
DELETE FROM dbo.SVI_SIM_CLONE
DELETE FROM dbo.SVI_REPLICA
DELETE FROM dbo.SVI_DG_CUST_PROP
DELETE FROM dbo.SVI_DEPLOYMENT_GROUP
Note: Composer will auto clean replicas when no dependent SIM_CLONE objects are available.
32
Domain 4: Why is My Desktop So Slow?
 Common Issues
• Storage IO bottleneck
• Memory contention
• CPU contention
• Network issues
 Where to look
• vCenter Server
• ESXTOP
• vCops for View
• 3rd Party Tools?
33
Why is My Desktop So Slow?
What to look for
 CPU
• Cluster/Host utilization < 90%
• VM utilization - %USED (ESXTOP)
• VM %RDY Time (ESXTOP) < 10
 Memory
• Host utilization < 85%
• VM utilization
• Swapping / Ballooning SWCUR > 1 / MCTLSZ > 1 (ESXTOP)
 Storage
• Disk Read Latency < 25ms
• ESXTOP DAVG or KAVG < 25ms (ESXTOP)
34
ESX Performance Snapshots
 Use the following command to collect performance metrics for
8 hours on a host:
• for i in `seq 8`;do esxtop -a -b -d 5 -n 720 > $i.<hostname>.csv;done
 The above command will create eight 100mb files consisting of
1 hour's worth of ESXTOP snapshots.
• -d = delay in seconds
• -n = iterations
• (-d 5 x -n 720 = 3600 seconds or 1 hour).
 Useful for replaying performance data over wide time periods
for support to analyze!
35
CPU
36
Memory
37
Storage
38
vSphere Performance Management Tools – vCenter Ops Mgr
vCenter Operations
Manager
• Aggregates metrics into
workload, capacity and
health scores
• Relies on
dynamic thresholds
39
VCOPs – My Favorite Tool
DatastoreLatencyDatastoreThroughput
40
Getting Help
 Read the product documentation
 Double check your configuration!
 Check kb.vmware.com for your issue
 http://communities.vmware.com
 Run the Support.bat to extract the logs
• Notice the diagnostic tests that run…
• http://kb.vmware.com/kb/1017939
• Check the product documentation for using VDMADMIN command for creating
various Data Collection Tool bundles
 Submit a Support Request
41
Summary
 Understand where the issue may lie
• Client? Agent? Server? Composer? vCenter? ESX?
 Know the problem domains
 Check the View Dashboard and Event Database
 Identify the issue – know what a successful connections looks like
 Check the logs
 Use Performance Tools – ESXTOP, vCenter, vCenter Operations
for View
 Get Help
42
Questions
43
Other VMware Activities Related to This Session
 HOL:
HOL-MBL-1301
Horizon View from A to Z
 Group Discussions:
EUC1006-GD
View with Andre Leibovici
THANK YOU
Horizon View Troubleshooting:
Looking under the Hood
Matt Coppinger, VMware
Jack McMichaels, VMware
EUC5291
#EUC5291

More Related Content

What's hot

Citrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture DeploymentCitrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture Deployment
Huy Pham
 
Virtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfisterVirtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfister
Digicomp Academy AG
 

What's hot (20)

VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!
 
Citrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture DeploymentCitrix XenDesktop and XenApp 7.5 Architecture Deployment
Citrix XenDesktop and XenApp 7.5 Architecture Deployment
 
VMworld 2015: The “Snappy” Virtual Desktop User Experience
VMworld 2015: The “Snappy” Virtual Desktop User ExperienceVMworld 2015: The “Snappy” Virtual Desktop User Experience
VMworld 2015: The “Snappy” Virtual Desktop User Experience
 
VMworld 2015: What's New in vSphere?
VMworld 2015: What's New in vSphere?VMworld 2015: What's New in vSphere?
VMworld 2015: What's New in vSphere?
 
VMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for HorizonVMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for Horizon
 
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid CloudVMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
 
Virtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfisterVirtual deep dive-xendesktop_stephanpfister
Virtual deep dive-xendesktop_stephanpfister
 
VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7
 
Citrix xen desktop by Naeem ali saifi from Ricoh
Citrix xen desktop by Naeem ali saifi from RicohCitrix xen desktop by Naeem ali saifi from Ricoh
Citrix xen desktop by Naeem ali saifi from Ricoh
 
VMworld 2015: Beyond the Marketing - Horizon 6 Technical Deep Dive
VMworld 2015: Beyond the Marketing - Horizon 6 Technical Deep DiveVMworld 2015: Beyond the Marketing - Horizon 6 Technical Deep Dive
VMworld 2015: Beyond the Marketing - Horizon 6 Technical Deep Dive
 
VMworld 2015: VMware vSphere Certificate Management for Mere Mortals
VMworld 2015: VMware vSphere Certificate Management for Mere MortalsVMworld 2015: VMware vSphere Certificate Management for Mere Mortals
VMworld 2015: VMware vSphere Certificate Management for Mere Mortals
 
VMworld 2015: Deliver High Performance Desktops with VMware Horizon and NVIDI...
VMworld 2015: Deliver High Performance Desktops with VMware Horizon and NVIDI...VMworld 2015: Deliver High Performance Desktops with VMware Horizon and NVIDI...
VMworld 2015: Deliver High Performance Desktops with VMware Horizon and NVIDI...
 
VMworld 2015: Managing vSphere 6 Deployments and Upgrades
VMworld 2015: Managing vSphere 6 Deployments and Upgrades VMworld 2015: Managing vSphere 6 Deployments and Upgrades
VMworld 2015: Managing vSphere 6 Deployments and Upgrades
 
Citrix Day 2014: XenApp / XenDesktop 7.6
Citrix Day 2014: XenApp / XenDesktop 7.6Citrix Day 2014: XenApp / XenDesktop 7.6
Citrix Day 2014: XenApp / XenDesktop 7.6
 
VMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & MemoryVMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & Memory
 
VMworld 2015: How To Troubleshoot Using vRealize Operations Manager (Deep Liv...
VMworld 2015: How To Troubleshoot Using vRealize Operations Manager (Deep Liv...VMworld 2015: How To Troubleshoot Using vRealize Operations Manager (Deep Liv...
VMworld 2015: How To Troubleshoot Using vRealize Operations Manager (Deep Liv...
 
Co je nového v XenDesktop 7.6 a XenApp 7.6
Co je nového v XenDesktop 7.6 a XenApp 7.6 Co je nového v XenDesktop 7.6 a XenApp 7.6
Co je nového v XenDesktop 7.6 a XenApp 7.6
 
VMware@night - Was ist neu in VMware Horizon View 5.3 und Mirage 4.3
VMware@night - Was ist neu in VMware Horizon View 5.3 und Mirage 4.3VMware@night - Was ist neu in VMware Horizon View 5.3 und Mirage 4.3
VMware@night - Was ist neu in VMware Horizon View 5.3 und Mirage 4.3
 
Migrating from XenApp 4.5 and 5 to XenApp 6.5
Migrating from XenApp 4.5 and 5 to XenApp 6.5Migrating from XenApp 4.5 and 5 to XenApp 6.5
Migrating from XenApp 4.5 and 5 to XenApp 6.5
 
Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...
Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...
Citrix XenApp 6.5 Performance - How To Ensure a Great End User Experience Bef...
 

Viewers also liked

Cisco nexus 1000v
Cisco nexus 1000vCisco nexus 1000v
Cisco nexus 1000v
ikewu83
 

Viewers also liked (10)

Advancedtroubleshooting 101208145718-phpapp01
Advancedtroubleshooting 101208145718-phpapp01Advancedtroubleshooting 101208145718-phpapp01
Advancedtroubleshooting 101208145718-phpapp01
 
Vmwareserver tips-tricks-110218231744-phpapp01
Vmwareserver tips-tricks-110218231744-phpapp01Vmwareserver tips-tricks-110218231744-phpapp01
Vmwareserver tips-tricks-110218231744-phpapp01
 
V mware horizon 6 knowledge transfer
V mware horizon 6 knowledge transferV mware horizon 6 knowledge transfer
V mware horizon 6 knowledge transfer
 
ESX performance problems 10 steps
ESX performance problems 10 stepsESX performance problems 10 steps
ESX performance problems 10 steps
 
Cisco nexus 1000v
Cisco nexus 1000vCisco nexus 1000v
Cisco nexus 1000v
 
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
Advancedperformancetroubleshootingusingesxtop 101110131727-phpapp02
 
Cisco CSR1000V, VMware, and RESTful APIs
Cisco CSR1000V, VMware, and RESTful APIsCisco CSR1000V, VMware, and RESTful APIs
Cisco CSR1000V, VMware, and RESTful APIs
 
Nexus 1000V Support for VMWare vSphere 6
Nexus 1000V Support for VMWare vSphere 6Nexus 1000V Support for VMWare vSphere 6
Nexus 1000V Support for VMWare vSphere 6
 
VMware Networking, CISCO Nexus 1000V, and CISCO UCS VM-FEX
VMware Networking, CISCO Nexus 1000V, and CISCO UCS VM-FEXVMware Networking, CISCO Nexus 1000V, and CISCO UCS VM-FEX
VMware Networking, CISCO Nexus 1000V, and CISCO UCS VM-FEX
 
Next Generation Nexus 9000 Architecture
Next Generation Nexus 9000 ArchitectureNext Generation Nexus 9000 Architecture
Next Generation Nexus 9000 Architecture
 

Similar to VMworld 2013: VMware Horizon View Troubleshooting: Looking under the Hood

Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
buildacloud
 
ZertoCON_Support_Toolz.pdf
ZertoCON_Support_Toolz.pdfZertoCON_Support_Toolz.pdf
ZertoCON_Support_Toolz.pdf
testslebew
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
sthirion
 
SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.
Michael Noel
 
SharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User GroupSharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User Group
Michael Noel
 
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
Michael Noel
 

Similar to VMworld 2013: VMware Horizon View Troubleshooting: Looking under the Hood (20)

1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 20161049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
1049: Best and Worst Practices for Deploying IBM Connections - IBM Connect 2016
 
Automating That "Other" OS
Automating That "Other" OSAutomating That "Other" OS
Automating That "Other" OS
 
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
Troubleshooting Strategies for CloudStack Installations by Kirk Kosinski
 
vCenter Server 5.5 Single Sign-On VMDir deep dive
vCenter Server 5.5 Single Sign-On VMDir deep divevCenter Server 5.5 Single Sign-On VMDir deep dive
vCenter Server 5.5 Single Sign-On VMDir deep dive
 
Cooking with Chef on Windows: 2015 Edition
Cooking with Chef on Windows: 2015 EditionCooking with Chef on Windows: 2015 Edition
Cooking with Chef on Windows: 2015 Edition
 
ZertoCON_Support_Toolz.pdf
ZertoCON_Support_Toolz.pdfZertoCON_Support_Toolz.pdf
ZertoCON_Support_Toolz.pdf
 
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
Bp307 Practical Solutions for Connections Administrators, tips and scrips for...
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
 
Open Mic Webcast: IBM Sametime Audio Video Troubleshooting - 04 May 2016
Open Mic Webcast: IBM Sametime Audio Video Troubleshooting - 04 May 2016Open Mic Webcast: IBM Sametime Audio Video Troubleshooting - 04 May 2016
Open Mic Webcast: IBM Sametime Audio Video Troubleshooting - 04 May 2016
 
V mware view™ poc jumpstart service
V mware view™ poc jumpstart serviceV mware view™ poc jumpstart service
V mware view™ poc jumpstart service
 
SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.
 
SharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User GroupSharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User Group
 
2016.05.23 wivmug user con - vsphere 6 upgrade
2016.05.23   wivmug user con - vsphere 6 upgrade2016.05.23   wivmug user con - vsphere 6 upgrade
2016.05.23 wivmug user con - vsphere 6 upgrade
 
Windows Attacks AT is the new black
Windows Attacks   AT is the new blackWindows Attacks   AT is the new black
Windows Attacks AT is the new black
 
Windows attacks - AT is the new black
Windows attacks - AT is the new blackWindows attacks - AT is the new black
Windows attacks - AT is the new black
 
Debugging Complex Issues in Web Applications
Debugging Complex Issues in Web ApplicationsDebugging Complex Issues in Web Applications
Debugging Complex Issues in Web Applications
 
VMworld 2013: How to Exchange Status Message Between Guest and Host Using RPC
VMworld 2013: How to Exchange Status Message Between Guest and Host Using RPC VMworld 2013: How to Exchange Status Message Between Guest and Host Using RPC
VMworld 2013: How to Exchange Status Message Between Guest and Host Using RPC
 
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery ManagerVMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
VMworld 2013: Three Quirky Ways to Simplify DR with VMware Site Recovery Manager
 
2016.07.20 indy vmug usercon - vsphere 6 upgrade
2016.07.20   indy vmug usercon - vsphere 6 upgrade2016.07.20   indy vmug usercon - vsphere 6 upgrade
2016.07.20 indy vmug usercon - vsphere 6 upgrade
 
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
 

More from VMworld

More from VMworld (20)

VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
VMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSXVMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSX
 
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco InfrastructureVMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
 
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
 
VMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep DiveVMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep Dive
 
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
 
VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations! VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations!
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
 
VMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts PanelVMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts Panel
 
VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way! VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way!
 
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphere
 
VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!
 
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
 
VMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SANVMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SAN
 
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes ConfigurationsVMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
 
VMworld 2015: Virtual Volumes Technical Deep Dive
VMworld 2015: Virtual Volumes Technical Deep DiveVMworld 2015: Virtual Volumes Technical Deep Dive
VMworld 2015: Virtual Volumes Technical Deep Dive
 
VMworld 2015: Networking Virtual SAN's Backbone
VMworld 2015: Networking Virtual SAN's BackboneVMworld 2015: Networking Virtual SAN's Backbone
VMworld 2015: Networking Virtual SAN's Backbone
 
VMworld 2015: The Best SDDC!
VMworld 2015: The Best SDDC!VMworld 2015: The Best SDDC!
VMworld 2015: The Best SDDC!
 
VMworld 2015: Conversation with the VMware CIO Suggestions on being an IT Leader
VMworld 2015: Conversation with the VMware CIO Suggestions on being an IT LeaderVMworld 2015: Conversation with the VMware CIO Suggestions on being an IT Leader
VMworld 2015: Conversation with the VMware CIO Suggestions on being an IT Leader
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

VMworld 2013: VMware Horizon View Troubleshooting: Looking under the Hood

  • 1. Horizon View Troubleshooting: Looking under the Hood Matt Coppinger, VMware Jack McMichaels, VMware EUC5291 #EUC5291
  • 2. 2 Disclaimer  This session may contain product features that are currently under development.  This session/overview of the new technology represents no commitment from VMware to deliver these features in any generally available product.  Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.  Technical feasibility and market demand will affect final delivery.  Pricing and packaging for any new technologies or features discussed or presented have not been determined.
  • 3. 3 Agenda  Common Issues  What can go wrong?  Domain 1: View Client Connectivity issues  Domain 2: Desktop Not Available!  Domain 3: Broken Broker  Domain 4: Why Is My Desktop So Slow!?  Resources
  • 4. 4 Top 6 GSS tickets 1. SSL, SSL, SSL – View 5.1/5.2 introduces security improvements • "Obtaining SSL Certificates for VMware View Servers” PDF on vmware.com 2. Persona – Make sure permissions are set correctly, and avoid this common misconfiguration error. http://kb.vmware.com/kb/2019502 3. Parent VM issues – Do NOT P2V! Clean VM please… 4. Connectivity – Understand the View network requirements! 5. PCoIP sizing – PCoIP Calculator - http://myvirtualcloud.net/?page_id=1562 6. PCoIP Log Viewer - http://mindfluxinc.net
  • 5. 5 Generating a Certificate Signing Request – the Right Way Read the Manual! Create a config file Generate cert signing request (CSR) Validate CSR and Private Key Send CSR to CA Receive Signed Cert from CA Import Cert Configure View Server to use Cert Test!
  • 6. 6 The Ultimate Resource • http://pubs.vmware.com/view- 52/topic/com.vmware.ICbase/PD F/horizon-view-52-obtaining- certificates.pdf Obtaining SSL Certificates for Horizon View
  • 8. 8 Broker Specifications  Common Issues resulting from undersizing a broker: • Memory Heap Issues • Threading issues • Latency Issues  Recommendations: • Always size your broker right from the beginning, avoid downtime or issues later. • Minimum recommended specifications: • 2 vCPU / 10 GB RAM for normal sizing (50-500 VMs) • 4 vCPU / 16+ GB RAM for large sizing (500+ VMs)
  • 9. 9 Troubleshooting Keys  Check View Administrator Dashboard • Shows system health and any issues  Understand the client connection process (where most problems lie)  Set the Logging Level on CS  Check Connection Broker Logs • Match and Filter SessionID, User, FSP  Check View Agent Logs  Check View Desktop PCoIP Logs  Use kb.vmware.com!
  • 10. 10 Tracking Sessions Use BareTail/BareGrep or similar 3rd party text parsers
  • 11. 11 You’ve Deployed View. What Could Go Wrong? You’ve got a problem: • I can’t even connect to View • I get disconnected randomly! • Why is the display so bad? • Why is my desktop not available? • I’m seeing an error in View, what does it mean? • vCenter is reporting an error • My desktop is slow…
  • 12. 12 Identifying the Problem Domain View Client Network View Manager View Composer vCenter Server Compute Storage
  • 13. 13 Domain 1: View Client Connectivity Issues  Common challenges • View Client can’t connect • Logon failure • Black screen • Poor quality display • Randomly disconnected session
  • 14. 14 Domain 1: Failure to Communicate…  Where to look • Connection Broker logs • Windows 2008 - <DriveLetter>:ProgramDataApplication DataVMwareVDMlogs • Event Database  What to look for – • (Client connects) [SimpleAJPService] (ajp:broker:Request9) Request from /192.168.2.1: POST /broker/xml • (Broker authentication) [WinAuthFilter] (SESSION:7072-***-a79c mattc) Attempting to authenticate user 'mattc' in domain 'FUTUREOFFICE’ • (User has authenticated to Broker) [AuthorizationFilter] (SESSION:7072-***-a79c) User FUTUREOFFICEmattc has successfully authenticated to VDM • (Audit Entry) [Audit] (SESSION:7072-***-a79c) BROKER_LOGON:USER:FUTUREOFFICEmattc;USERSID:S-1-5-21-326850759- 2560684469-1780228732-1113;USERDN:CN=S-1-5-21-326850759-2560684469- 1780228732-1113,CN=ForeignSecurityPrincipals,DC=vdi,DC=vmware,DC=int; • Event Database: BROKER_USERLOGGEDIN
  • 15. 15 User Experience Issues  Black screen of death – instead of desktop! • PCoIP port blocked (TCP and UDP 4172) or SVGA Driver issue • pcoip_server/client logs - C:UsersAll UsersVMwareVDMlogs • Error attaching to SVGADevTap, error 4000: EscapeFailed • MGMT_SCHAN :scnet_client_open: tera_sock_connect returned error 10060 - Connection timed out! • Incorrect PCoIP External URL configured for Security/Connection Servers
  • 16. 16 User Experience Issues  Poor quality display • Bandwidth, latency, or QoS • Pcoip_server logs report • VGMAC :Stat frms: Loss=0.45%/0.21% (R/T) • MGMT_PCOIP_DATA :BW: Decrease (loss) old = 234.9982 new = 176.8438  Randomly disconnected session? • 15 min after established - wssm process hasn't started on desktop • View Agent logs (<DriveLetter>:ProgramDataVMwareVDMlogs) • PENDING_EXPIRED • Sometimes caused by daisy-chaining the GINA (WinXP)
  • 17. 17 Domain 2: Desktop Not Available  Common Issues • No Desktop Available • Pool provisioning issues – customization • Agent not communicating with broker • Stuck at desktop login screen (SSO)  Where to look • Connection Broker/ View Agent logs • Event Database  What to look for • Broker returns list of desktops available to client • [DesktopsHandler] (SESSION:7072-***-a79c) For user [S-1-5-21-326850759- 2560684469-1780228732-1113] and pool [cn=gold-np,ou=server groups,dc=vdi,dc=vmware,dc=int] DesktopTracker returned 2 guest DNs
  • 18. 18 Desktop Not Available What to look for… (walk through successful connection)  Client requests desktop • Event Database: BROKER_DESKTOP_REQUEST  Broker allocates session to user • [FarmImp] (SESSION:7072-***-a79c) cn=3f974017-409f-4912-83bc- 2ee794f22fab,ou=servers,dc=vdi,dc=vmware,dc=int, total session count: 0 • [FarmImp] (SESSION:7072-***-a79c) allocateNewSession - identified server for application CN=GOLD-NP,OU=Applications,DC=vdi,DC=vmware,DC=int • Event Database: BROKER_MACHINE_ALLOCATED  Broker attempts SSO • [FarmImp] (SESSION:7072-***-a79c) Using domain for SSO: FUTUREOFFICE** • User won’t be logged on to the VM without this!
  • 19. 19 ADSI Edit – Check Desktop Allocated
  • 20. 20 ADSI Edit – Common Key Values to Inspect  pae-DisplayName • VM name as displayed in View Admin  pae-DirtyForNewSessions • Indicates whether the VM is “Dirty” and can be re-used in a non-persistent pool  pae-SVIVMSnapshot • Indicates the current Snapshot that is in use  pae-VmPath • Indicates the full Path to the VM in vCenter  pae-VmState • Indicates the current state of the Desktop – some states are a combination of this value and other values
  • 21. 21 ADSI Edit – Searching for a Desktop  Find VMs with a Snapshot: • (&(objectClass=pae-VM)(pae-SVIVmSnapshot=/Baseline/Snapshot1/Snapshot2))  Find VMs with a Name: • (&(objectClass=pae-VM)(pae-DisplayName=Desktop-234))
  • 22. 22 Desktop Not Available What to look for…  Broker starts session on VM • [DesktopSessionImp] (SESSION:7072-***-a79c) startSession – sending StartSession message  Agent responds… • "DesktopManager got a StartSession message” • Client Info should be in Agent Log along with PCoIP launch  Event Database: AGENT_PENDING  [DesktopSessionImp] (SESSION:7072-***-a79c) startSession completed:  [DesktopTracker] User FUTUREOFFICEmattc connected to machine gold- np-2 for desktop gold-np  Client connects to VM (Agent) • “PCoIPCnx::OnConnectionComplete Begin (PCOIP)” • “WTS_SESSION_LOGON” • Event Database: AGENT_CONNECTED
  • 24. 24 Desktop Not Available What to look for… Pool Provisioning  Desktops not available due to provisioning error? • Check View Administrator for Pool status, check datastore capacity • Check Event Database - BROKER_PROVISIONING_ERROR_* • Check View Composer has network access to ESX hosts  Desktop not available due to customization? • Check Desktop status – AGENT UNAVAILABLE • Check View Dashboard • Desktop Status > Preparing Desktops OR Problem Desktops • Check Desktop connectivity to DNS/AD/Connection Server
  • 25. 25 Desktop Not Available  Desktop not available due to VM reset/crash? • Check Desktop status – ALREADY USED • Typical on refresh-on-logoff or delete-on-use desktops • Broker never received an explicit logout message from the agent • Missing AGENT_ENDED event in DB for VM  View Composer Issues associated with incorrect domain credentials • C:ProgramDataVMwareView ComposerLogs • FATAL CSvmGaService - [svmGaService.cpp, 116] Domain join failed Error 5 (0x5): Access is denied.
  • 26. 26 Domain 3: Broken Broker  Common Issues • Cannot connect to vCenter • View Composer errors/issues • JMS connectivity • ADAM replication failure  Where to look • View Administrator • Event Database • Windows Event Logs • View Composer Logs • Connection Server Logs
  • 27. 27 Broken Broker What to look for  ADAM Replication • Check the Connection Broker Window Event Logs • ADAM (VMwareVDMDS)-log • Error: ADAM Replication • Check ADAM replication status on Connection Server • C:WINDOWSadamrepadmin.exe /showrepl localhost:389 DC=vdi,DC=vmware,DC=int
  • 28. 28 Broken Broker  vCenter Server Connectivity • Admin UI will show RED status • Check Event Database • VC_DOWN events • Impacts provisioning and power operations ONLY • Check Connectivity from Connection Server to vCenter Server • Check credentials used to connect to vCenter Server • Attempt to login in directly to vCenter using vSphere Client
  • 29. 29 Broken Broker What to look for…  View Composer • VMs stuck in DELETING status • VMs have been manually deleted – then pool/desktop deleted • Causes Composer DB and VC DB to get out of sync • Composer thinks VM already exists • Orphaned VMs – KB-2015112 (kb.vmware.com) • Desktop Composer Fault: 'Virtual Machine with Input Specification already exists‘  JMS Connectivity • Split site architecture / firewall causes “split brain” • View Dashboard shows RED status • Connection Server Logs • tracker REJOIN messages – JMS connectivity • tracker RESYNC messages – messages being delayed
  • 30. 30 Cleaning Up Broken / Orphaned Pools  BACKUP  Disable Provisioning on Broker  Stop View Composer • Remove Composer Database Objects • Remove ADLDS Servers, Server Groups, and Applications • Remove AD Computer Entries • Remove vCenter objects • Unprotect replicas with sviconfig • SviConfig -operation=RemoveSviClone -VmName=replica-<guid> -AdminUser=administrator -AdminPassword=passowrd -ServerUrl=https://localhost:18443/SviService/v2_0 Active Directory View Composer AD LDS
  • 31. 31 One Query To Rule Them All (Proceed with Extreme Caution!)  Delete One VM DELETE FROM dbo.SVI_VM_NAME WHERE NAME='replaceMe' DELETE FROM dbo.SVI_COMPUTER_NAME WHERE NAME='replaceMe' DELETE FROM dbo.SVI_SC_PDISK_INFO WHERE PARENT_ID=(SELECT ID FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe') DELETE FROM dbo.SVI_SC_BASE_DISK_KEYS WHERE PARENT_ID=(SELECT ID FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe') DELETE FROM dbo.SVI_TASK_STATE WHERE SIM_CLONE_ID=(SELECT ID FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe') DELETE FROM dbo.SVI_REQUEST WHERE ID=(SELECT REQUEST_ID FROM dbo.SVI_TASK_STATE WHERE SIM_CLONE_ID=(SELECT ID FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe')) DELETE FROM dbo.SVI_SIM_CLONE WHERE VM_NAME='replaceMe'  Delete ALL VMs and Pools DELETE FROM dbo.SVI_VM_NAME DELETE FROM dbo.SVI_COMPUTER_NAME DELETE FROM dbo.SVI_SC_PDISK_INFO DELETE FROM dbo.SVI_SC_BASE_DISK_KEYS DELETE FROM dbo.SVI_TASK_STATE DELETE FROM dbo.SVI_REQUEST DELETE FROM dbo.SVI_SIM_CLONE DELETE FROM dbo.SVI_REPLICA DELETE FROM dbo.SVI_DG_CUST_PROP DELETE FROM dbo.SVI_DEPLOYMENT_GROUP Note: Composer will auto clean replicas when no dependent SIM_CLONE objects are available.
  • 32. 32 Domain 4: Why is My Desktop So Slow?  Common Issues • Storage IO bottleneck • Memory contention • CPU contention • Network issues  Where to look • vCenter Server • ESXTOP • vCops for View • 3rd Party Tools?
  • 33. 33 Why is My Desktop So Slow? What to look for  CPU • Cluster/Host utilization < 90% • VM utilization - %USED (ESXTOP) • VM %RDY Time (ESXTOP) < 10  Memory • Host utilization < 85% • VM utilization • Swapping / Ballooning SWCUR > 1 / MCTLSZ > 1 (ESXTOP)  Storage • Disk Read Latency < 25ms • ESXTOP DAVG or KAVG < 25ms (ESXTOP)
  • 34. 34 ESX Performance Snapshots  Use the following command to collect performance metrics for 8 hours on a host: • for i in `seq 8`;do esxtop -a -b -d 5 -n 720 > $i.<hostname>.csv;done  The above command will create eight 100mb files consisting of 1 hour's worth of ESXTOP snapshots. • -d = delay in seconds • -n = iterations • (-d 5 x -n 720 = 3600 seconds or 1 hour).  Useful for replaying performance data over wide time periods for support to analyze!
  • 38. 38 vSphere Performance Management Tools – vCenter Ops Mgr vCenter Operations Manager • Aggregates metrics into workload, capacity and health scores • Relies on dynamic thresholds
  • 39. 39 VCOPs – My Favorite Tool DatastoreLatencyDatastoreThroughput
  • 40. 40 Getting Help  Read the product documentation  Double check your configuration!  Check kb.vmware.com for your issue  http://communities.vmware.com  Run the Support.bat to extract the logs • Notice the diagnostic tests that run… • http://kb.vmware.com/kb/1017939 • Check the product documentation for using VDMADMIN command for creating various Data Collection Tool bundles  Submit a Support Request
  • 41. 41 Summary  Understand where the issue may lie • Client? Agent? Server? Composer? vCenter? ESX?  Know the problem domains  Check the View Dashboard and Event Database  Identify the issue – know what a successful connections looks like  Check the logs  Use Performance Tools – ESXTOP, vCenter, vCenter Operations for View  Get Help
  • 43. 43 Other VMware Activities Related to This Session  HOL: HOL-MBL-1301 Horizon View from A to Z  Group Discussions: EUC1006-GD View with Andre Leibovici
  • 45.
  • 46. Horizon View Troubleshooting: Looking under the Hood Matt Coppinger, VMware Jack McMichaels, VMware EUC5291 #EUC5291