We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byDeborah Elmore
Modified over 2 years ago
October 2012 Implementing & Troubleshooting PVS Gareth OBrien
© 2012 Citrix | Confidential – Do Not Distribute Introduction 2 Gareth OBrien, escalation engineer Intermediate to advanced PVS knowledge expected
© 2012 Citrix | Confidential – Do Not Distribute Agenda 3 Planning Database, storage, network, farm layout Installing Configuring Files needed for booting, boot process Troubleshooting Stream Service Console, MAPI and IPC
© 2012 Citrix | Confidential – Do Not Distribute Planning 5 Planning the database configuration Hardware requirements Client & Server considerations Network Farm layout considerations
© 2012 Citrix | Confidential – Do Not Distribute Database 6 Size of farm determines database server choice Fault tolerance and failover Mirroring dbOffline – if all else fails SQL native client needed for mirroring Permissions Dbcreator & securityadmin for Configuration Wizard Db_datareader, db_datawriter & execute permissions on stored procedures
© 2012 Citrix | Confidential – Do Not Distribute Hardware Requirements 7 Supported Operating systems Windows Server 2003 R2, 2008, 2008 R2 Minimum spec of the PVS server Known hardware issues http://support.citrix.com/article/CTX131611 NIC Teaming Make sure hardware is not on above list If streaming doesnt work with team, try break the team Processor: 3GHz RAM: 4GB NIC: 1GB per 250 targets Processor: 3GHz RAM: 4GB NIC: 1GB per 250 targets
© 2012 Citrix | Confidential – Do Not Distribute Network 8 Configure UDP & TCP Ports Server to server ports must be the same on all servers Target device communication ports 6910-6930 SOAP Server 54321 & 54322 TFTP & TSB 69 & 6969 Firewall must be configured to allow all these ports If in doubt, allow ANY/ANY to test PortFast must be enabled
© 2012 Citrix | Confidential – Do Not Distribute Plan the farm 9 Provisioning Services Farm Site 1 Device Collection Provisioning Servers Device Collection Site 2 License Server MSSQL Server Database Shared Storage
© 2012 Citrix | Confidential – Do Not Distribute Installing PVS 11 Server installation If installing a new version of.NET, reboot when prompted Specify the mirror failover if applicable Console installation Needs PowerShell 2.0 If upgrading, make sure you remove the old version Target installation Make sure you set the target to boot from network first If imaging fails Start with a vanilla install & try to image. Remove any teams XenConvert & BNImage are other options
© 2012 Citrix | Confidential – Do Not Distribute Configuring PVS 13 PXE Boot Two Stage Boot (TSB) Boot Process Stores IPC Key
© 2012 Citrix | Confidential – Do Not Distribute PXE Boot 14 Must configure DHCP Option 66: IP of PVS Server Option 67: Name of bootstrap (ardbp32.bin) Uses TFTP Protocol TFTP listens on one NIC only Configure using c:\program Files\citrix\provisioning services\tftpcpl.cpl TFTP Downloads bootstrap, ARDBP32.BIN Other TFTP servers can be used
© 2012 Citrix | Confidential – Do Not Distribute Two Stage Boot (TSB) 15 Used in situations where DHCP or PXE cannot be used Uses ISO burned from PVS Server Uses a boot strap called tsbbdm.bin Listens on NIC configured for streaming in configuration wizard Uses port 6969 Uses Two Stage Boot service on PVS server
© 2012 Citrix | Confidential – Do Not Distribute Boot Process 16 Target device either uses DHCP to obtain an IP or loads static IP (for TSB) Once it has an IP, it will contact the 1 st logon server specified in the bootstrap The logon server will then create a context for the device, determine which vDisk the target is assigned and the least loaded server This calculation is based on both RIMS information and the load information in the database RIMS uses notifier and inventory service to update load information If subnet affinity is enabled, this will alter the calculation Once a server has been selected, a streaming IP and port will be provided IP information will be in HEX, not decimal
© 2012 Citrix | Confidential – Do Not Distribute Boot Process (cont) 17 Excerpt from log of a target logging on
© 2012 Citrix | Confidential – Do Not Distribute Boot Process (cont) 18 As streaming begins, the boot control device (BCD) is downloaded This phase is referred to as single I/O Once Single I/O has finished, we enter the admin phase BNIStack handshake Vdisk configuration (name, mode, write cache type) is requested and provided Target device requests personality string HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BNIStack\Parameters -DWORD EnableGetComputerName set to 1 AD information requested Multi I/O phase entered
© 2012 Citrix | Confidential – Do Not Distribute Stores 19 Configure vDisk stores Centralised vs Distributed stores Centralised Works well in HA environment Low storage overhead High cost Potential SAN/Storage issues Distributed Low implementation cost High storage overhead Configuration IPC is the method for communication between servers for stores
© 2012 Citrix | Confidential – Do Not Distribute IPC Key 20 Defines which NIC to use for IPC communication in a multi NIC environment HKEY_LOCAL_MACHINE\Software\Citrix\ProvisioningServices\IPC\ Reg_sz called IPv4Address with the IP of the NIC for IPC Without it, stores, replication, load balancing etc wont work Affects stream service Manager key for MAPI works the same way HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ProvisioningServices\Manager RegSZ called GeneralInetAddr with the IP of the NIC and port -Eg 10.1.1.2:6909
A more structured method of troubleshooting PVS
© 2012 Citrix | Confidential – Do Not Distribute Troubleshooting PVS 23 Stream service troubleshooting The basics Tracing Dumps Log Analysis Common Issues SOAP/Console Unable to validate Console timeouts
© 2012 Citrix | Confidential – Do Not Distribute Stream Service Basics 24 The devil is in the detail. Network Topology Hardware of target, server & database Storage type & location Write cache type Database location, version, HA MSInfo32 Bluescreens Common Image 7B What does it mean Common causes
© 2012 Citrix | Confidential – Do Not Distribute Stream Service Tracing 25 Network traces Wireshark trace on the server Tcpdump on the target Make sure you always use –s 0 to not limit capture size PVS Logs Set to trace level C:\programdata\Citrix\Provisioning Services\Logs Target side logging also All logs and traces should be capture simultaneously, while the issue is happening.
© 2012 Citrix | Confidential – Do Not Distribute Stream Service Tracing (cont) 26
© 2012 Citrix | Confidential – Do Not Distribute Stream Service Tracing (cont) 27
© 2012 Citrix | Confidential – Do Not Distribute Stream Service Tracing (cont) 28
© 2012 Citrix | Confidential – Do Not Distribute Crash Dumps 29 If possible, take it in private mode In 2008, its possible to redirect to a non system drive http://support.citrix.com/article/CTX123642 Not possible on 2003 Configure citrix symbols Live debugging can be done, but difficult without symbols Use live debugger to help set it up http://support.citrix.com/article/CTX131945http://support.citrix.com/article/CTX131945 Check for BNIstack being loaded !devnode 0 1 On 5.6 check for bnns !ndiskd.miniports
© 2012 Citrix | Confidential – Do Not Distribute Common issues 30 Imaging Let the wizard do the work for you Always revert to a clean install as a first step If the wizard doesnt work, pre-create the disk and use xenconvert BNImage can work well if all else fails Computer Account Is AD Management configured on the vDisk? Is Active directory correctly configured? GPO disabling password update, and password age Reset the password within the PVS console Check all relevant Microsoft hotfixes are installed – Google! BNDevice 1015 in the event viewer – unable to negotiate a new password Trace logs will show you the requests
© 2012 Citrix | Confidential – Do Not Distribute Performance 31 Follow the best practice guide http://support.citrix.com/article/CTX127549 http://support.citrix.com/article/CTX117374 Intermediate buffering Generally enabled if free space on target device disk is greater than vDisk, otherwise disabled Toggling the state is always worth trying to see the performance impact Check interrupt safe mode is not enabled Check the network with a network monitor
© 2012 Citrix | Confidential – Do Not Distribute SOAP & Console 32 Console timeout The console timeout can be set in the registry Use DWORD ConnectionTimeout in HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ProvisioningServices. Default value is 120s Cant communicate with other servers Check IPC and manager keys HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ProvisioningServices\IPC\IPv4Address HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ProvisioningServices\Manager\GeneralInetAddr Mentioned above Load Balancing issues Check the StreamProcess & Inventory logs to make sure there are no issues around RIMS
Work better. Live better.
Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts Keith McLaughlin Lead Escalation Engineer May 11 th 2010.
CCAT Troubleshooting Training – Provisioning Services April 2012 Citrix Consulting Architecture Team.
Installing Windows XP Professional Using Attended Installation Slide 1 of 30Session 8 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
V2 March © 2015 Citrix Faster Deployments Provisioning Services XenDesktop Setup Wizard Streamed VM Setup Wizard Raul Davila Escalation Engineer May 2015.
April WebEx Intel ® Active Management Technology (AMT) LANDesk Provisioning LANDesk Server Manager.
Troubleshooting Startup Problems Lesson 6. Objectives 2.
Windows ® Deployment Services Introduction to Windows Deployment Services Planning and Design.
© 2016 Citrix | Confidential PVS 7.7 UEFI Boot Implementation and Troubleshooting Peter Svoboda Lead PVS Escalation Engineer MAY 23 RD 2016.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 EN0129 PC AND NETWORK TECHNOLOGY I IP ADDRESSING AND SUBNETS Derived From CCNA Network Fundamentals.
Version 1.0 digitaloffice.intel.com Intel ® vPro Technology Intel ® Active Management Technology Setup and Configuration HP Laptop – Compaq 6910p Small.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Windows Server Update Services (WSUS), previously known as Software Update Services (SUS), is a computer program developed by Microsoft Corporation that.
2.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 2: Installing Windows Server.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
VMware vCenter Server Module 4. Module 2-58 You Are Here VMware vSphere 4.1: Install, Configure, Manage – Revision A vSphere Environment VMware vCenter.
SYN407D: Image Management made easy with Provisioning Services 6.0 Elisabeth Teixeira – Architect, Worldwide Technical Readiness October 2011.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2010 VMware Inc. All rights reserved VMware vCenter Server Module 4.
Scott Drucker, Systems Engineer Migrating to Microsoft Vista with WinINSTALL.
Troubleshooting an integrated XenDesktop, PVS and XenServer environment Karen Sciberras, Escalation Engineer & Keith Mclaughlin, Lead Escalation Engineer.
Copyright line. Maintaining an Active Directory Environment Exam Objectives Backup and Recovery Backup and Recovery Offline Maintenance Offline Maintenance.
Pharos Uniprint 8.3 Training Pharos Systems International June 2012.
Cisco Confidential © 2012 Cisco and/or its affiliates. All rights reserved. 1 Cisco UCS Director – Carmel (5.0) Ravikumar Pisupati Senior Manager, Engineering.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 1: Introduction to Scaling Networks Scaling Networks.
Software Version: DSS ver up01
Troubleshooting. Tools © 2012 Citrix | Confidential – Do Not Distribute Troubleshooting Tools Inspecting HTTP Headers In many cases it is useful to view.
Lesson 6: Configuring Servers for Remote Management MOAC : Installing and Configuring Windows Server 2012.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
Clemens Rossell (clrossel) UCBU Unity Connection 8.0(2) Virtualization TOI.
Inventia sp. z o.o. All rights reserved Telemetry Modules Quick Start.
1 MySQL Access Privilege System. 2 What the Privilege System Does? The primary function of the MySQL privilege system is to authenticate a user connecting.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 11: Internet Authentication Service.
11 SYSTEMS ADMINISTRATION AND TERMINAL SERVICES Chapter 12.
PvD Troubleshooting and Support Shane Broomhall APAC Readiness.
1 Integrify 5.0 Tutorial : Creating a New Process In this tutorial, we will show you how to: Create a new process Add different task types into our process.
Hands-On Microsoft Windows Server Security Enhancements in Windows Server 2008 Windows Server 2008 was created to emphasize security –Reduced attack.
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
By Rashid Khan Lesson 10-From Here to There: Remote Installation of the Windows XP Professional Client.
CCAT Troubleshooting Training XenApp April 2012 Citrix Consulting Architecture Team.
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
Administering Group Policy Chapter Eleven. Exam Objectives in this Chapter Plan a Group Policy strategy using Resultant Set of Policy Planning mode.
Virtualization By Sarath Putti Ashwini Chilumukoti Viplav Nandyala & Ashok Kandikanti.
Services Course Windows Live SkyDrive Participant Guide.
1 Institutional Repository Workshop 1 – 3 April 2009 Presented by Leonard Daniels.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
© 2017 SlidePlayer.com Inc. All rights reserved.