Implementing & Troubleshooting PVS

Slides:



Advertisements
Similar presentations
Software Version: DSS ver up01
Advertisements

Copyright line. Maintaining an Active Directory Environment Exam Objectives Backup and Recovery Backup and Recovery Offline Maintenance Offline Maintenance.
Integrify 5.0 Tutorial : Creating a New Process
Version 1.0 digitaloffice.intel.com Intel ® vPro Technology Intel ® Active Management Technology Setup and Configuration HP Laptop – Compaq 6910p Small.
Lesson 6: Configuring Servers for Remote Management
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
Personal vDisk Citrix XenDesktop 5.6. Personal vDisk Citrix XenDesktop 5.6.
Troubleshooting Startup Problems
Clemens Rossell (clrossel) UCBU Unity Connection 8.0(2) Virtualization TOI.
Chapter 1: Introduction to Scaling Networks
Pharos Uniprint 8.3 Training
MySQL Access Privilege System
Microsoft ® Official Course First Look Clinic Overview of Windows 8 By Ragowo Riantory, S.Kom, MCP.
Windows® Deployment Services
Spring 2014 RMS/EOC Proctor Caching Training. Agenda 2 Proctor caching overview Downloading & installing Cache test content.
Telemetry Modules Quick Start
© 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.
Services Course Windows Live SkyDrive Participant Guide.
Virtual Machine Import and Export
1 Institutional Repository Workshop 1 – 3 April 2009 Presented by Leonard Daniels.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Installing Windows XP Professional Using Attended Installation Slide 1 of 30Session 8 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
WSUS Presented by: Nada Abdullah Ahmed.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Provisioning Services
Troubleshooting.
2.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 2: Installing Windows Server.
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Week:#14 Windows Recovery
SETUP AND CONFIGURATIONS WEBLOGIC SERVER. 1.Weblogic Installation 2.Creating domain through configuration wizard 3.Creating domain using existing template.
CCAT Troubleshooting Training – Provisioning Services April 2012 Citrix Consulting Architecture Team.
VMware vCenter Server Module 4.
11 MAINTAINING THE OPERATING SYSTEM Chapter 5. Chapter 5: MAINTAINING THE OPERATING SYSTEM2 CHAPTER OVERVIEW Understand the difference between service.
11 SYSTEMS ADMINISTRATION AND TERMINAL SERVICES Chapter 12.
A managed environment is one which is becoming very common day
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
April WebEx Intel ® Active Management Technology (AMT) LANDesk Provisioning LANDesk Server Manager.
CNT-150VT. Question #1 Your name Question #2 Your computer number ##
Migration XenDesktop 7. © 2013 Citrix | Confidential – Do Not Distribute Migration prerequisites Set up a XenDesktop 7 Site, including the site database.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Hands-On Microsoft Windows Server 2008
SYN407D: Image Management made easy with Provisioning Services 6.0

Chapter 7 Microsoft Windows XP. Windows XP Versions XP Home XP Home XP Professional XP Professional XP Professional 64-Bit XP Professional 64-Bit XP Media.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Hands-On Microsoft Windows Server Security Enhancements in Windows Server 2008 Windows Server 2008 was created to emphasize security –Reduced attack.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Objectives Configure routing in Windows Server 2008 Configure Routing and Remote Access Services in Windows Server 2008 Network Address Translation 1.
CCAT Troubleshooting Training XenApp April 2012 Citrix Consulting Architecture Team.
By Rashid Khan Lesson 10-From Here to There: Remote Installation of the Windows XP Professional Client.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Scott Drucker, Systems Engineer Migrating to Microsoft Vista with WinINSTALL.
PvD Troubleshooting and Support Shane Broomhall APAC Readiness.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 11: Internet Authentication Service.
DC-B312 BitLocker Improvements in Windows 8 MBAM 2.0 Investment Areas and Key New Features Deploying MBAM 2.0MBAM 2.0 End User Experience.
1 © 2005 Cisco Systems, Inc. All rights reserved. 111 © 2004, Cisco Systems, Inc. All rights reserved. CNIT 221 Security 2 ver.2 Module 8 City College.
Administering Group Policy Chapter Eleven. Exam Objectives in this Chapter  Plan a Group Policy strategy using Resultant Set of Policy Planning mode.
Cisco Confidential © 2012 Cisco and/or its affiliates. All rights reserved. 1 Cisco UCS Director – Carmel (5.0) Ravikumar Pisupati Senior Manager, Engineering.
Virtualization Technology and Microsoft Virtual PC 2007 YOU ARE WELCOME By : Osama Tamimi.
1 Objectives Discuss File Services in Windows Server 2008 Install the Distributed File System in Windows Server 2008 Discuss and create shared file resources.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Environment Manager Troubleshooting and Debugging.
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.
PVS 7.7 UEFI Boot Implementation and Troubleshooting
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Presentation transcript:

Implementing & Troubleshooting PVS Gareth O’Brien October 2012

Introduction Gareth O’Brien, escalation engineer Intermediate to advanced PVS knowledge expected

Agenda Planning Installing Configuring Troubleshooting Database, storage, network, farm layout Installing Configuring Files needed for booting, boot process Troubleshooting Stream Service Console, MAPI and IPC

Implementing PVS

Planning Planning the database configuration Hardware requirements Client & Server considerations Network Farm layout considerations

Database 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

Hardware Requirements 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 doesn’t work with team, try break the team Processor: 3GHz RAM: 4GB NIC: 1GB per 250 targets

Network 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 Blocked Listen Learn Forward Disabled From blocking to listening: 20 seconds From listening to learning: 15 seconds From learning to forwarding: 15 seconds PortFast dramatically reduces this time. needed for DHCP, DNS & PxE (among others)

Plan the farm Site 1 Site 2 Provisioning Services Farm License Server MSSQL Server Database Shared Storage Site 1 Device Collection Provisioning Servers Provisioning Servers Device Collection Site 2

Installing PVS

Installing PVS Server installation Console 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

Configuring PVS

Configuring PVS PXE Boot Two Stage Boot (TSB) Boot Process Stores IPC Key

PXE Boot Must configure DHCP Uses TFTP Protocol 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

Two Stage Boot (TSB) 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

Boot Process Target device either uses DHCP to obtain an IP or loads static IP (for TSB) Once it has an IP, it will contact the 1st 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 192.168.0 = C0A801 172.1.2 = AC12 10.0. = A0

Boot Process (cont) Excerpt from log of a target logging on 172.1.2.107

Boot Process (cont) 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

Stores Configure vDisk stores Centralised Distributed 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

IPC Key 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 won’t 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

Troubleshooting PVS

A more structured method of troubleshooting PVS

Troubleshooting PVS Stream service troubleshooting SOAP/Console The basics Tracing Dumps Log Analysis Common Issues SOAP/Console Unable to validate Console timeouts

Stream Service Basics The devil is in the detail. Bluescreens 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 7B = Inaccessable Boot Device

Stream Service Tracing 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.

Stream Service Tracing (cont)

Stream Service Tracing (cont)

Stream Service Tracing (cont)

Crash Dumps If possible, take it in private mode In 2008, it’s 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/CTX131945 Check for BNIstack being loaded !devnode 0 1 On 5.6 check for bnns !ndiskd.miniports

Common issues Imaging Computer Account Let the wizard do the work for you Always revert to a clean install as a first step If the wizard doesn’t 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

Performance Follow the best practice guide Intermediate buffering 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

SOAP & Console Console timeout Can’t communicate with other servers The console timeout can be set in the registry Use DWORD ConnectionTimeout in HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ProvisioningServices. Default value is 120s Can’t 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

Questions? Remove clustering mention