SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Citrix Support Secrets
Webinar Series
Implementing and Troubleshooting PVS


Gareth O’Brien, Escalation Engineer, Citrix Support

February 21, 2013
Introduction

    • Gareth O’Brien, escalation engineer

    • Intermediate to advanced PVS knowledge expected




2    © 2012 Citrix | Confidential – Do Not Distribute
Agenda

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




3    © 2012 Citrix | Confidential – Do Not Distribute
Implementing PVS
Planning

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




5    © 2012 Citrix | Confidential – Do Not Distribute
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




6    © 2012 Citrix | Confidential – Do Not Distribute
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



7    © 2012 Citrix | Confidential – Do Not Distribute
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



8     © 2012 Citrix | Confidential – Do Not Distribute
Plan the farm                                                           Provisioning
                                                                            Services
                                                                            Farm


                            License                          MSSQL                                       Shared
                             Server                          Server                                      Storage
                                                           Database



                                               Provisioning Servers                          Provisioning Servers
              Site 1                                                      Site 2



                  Device                 Device              Device             Device                   Device
                  Collection             Collection          Collection         Collection               Collection




9   © 2012 Citrix | Confidential – Do Not Distribute
Installing PVS
Installing PVS

     • 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



11    © 2012 Citrix | Confidential – Do Not Distribute
Configuring PVS
Configuring PVS

     • PXE Boot
     • Two Stage Boot (TSB)
     • Boot Process
     • Stores
     • IPC Key




13    © 2012 Citrix | Confidential – Do Not Distribute
PXE Boot

     • 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 Filescitrixprovisioning servicestftpcpl.cpl

     • TFTP Downloads bootstrap, ARDBP32.BIN
     • Other TFTP servers can be used




14    © 2012 Citrix | Confidential – Do Not Distribute
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




15    © 2012 Citrix | Confidential – Do Not Distribute
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




16    © 2012 Citrix | Confidential – Do Not Distribute
Boot Process (cont)

     • Excerpt from log of a target logging on




17    © 2012 Citrix | Confidential – Do Not Distribute
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_MACHINESYSTEMCurrentControlSetServicesBNIStackParameters
              - DWORD EnableGetComputerName set to 1
      ᵒAD information requested
     • Multi I/O phase entered



18    © 2012 Citrix | Confidential – Do Not Distribute
Stores

     • 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

19    © 2012 Citrix | Confidential – Do Not Distribute
IPC Key

     • Defines which NIC to use for IPC communication in a multi NIC environment
      ᵒHKEY_LOCAL_MACHINESoftwareCitrixProvisioningServicesIPC
            • 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_MACHINESOFTWARECitrixProvisioningServicesManager
            • RegSZ called GeneralInetAddr with the IP of the NIC and port
              - Eg 10.1.1.2:6909




20    © 2012 Citrix | Confidential – Do Not Distribute
Troubleshooting PVS
A more structured method of troubleshooting PVS
Troubleshooting PVS

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




23    © 2012 Citrix | Confidential – Do Not Distribute
Stream Service Basics
     • 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




24    © 2012 Citrix | Confidential – Do Not Distribute
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:programdataCitrixProvisioning ServicesLogs
      ᵒTarget side logging also
     • All logs and traces should be captured simultaneously, while the issue is
       happening.



25    © 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

     • 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


29    © 2012 Citrix | Confidential – Do Not Distribute
Common issues

     • Imaging
      ᵒ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



30    © 2012 Citrix | Confidential – Do Not Distribute
Performance

     • 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


31    © 2012 Citrix | Confidential – Do Not Distribute
SOAP & Console

     • Console timeout
      ᵒThe console timeout can be set in the registry
            • Use DWORD ConnectionTimeout in
              HKEY_LOCAL_MACHINESOFTWARECitrixProvisioningServices. Default value is 120s
     • Can’t communicate with other servers
      ᵒCheck IPC and manager keys
            • HKEY_LOCAL_MACHINESOFTWARECitrixProvisioningServicesIPCIPv4Address
            • HKEY_LOCAL_MACHINESOFTWARECitrixProvisioningServicesManagerGeneralInetAddr
            • Mentioned above
     • Load Balancing issues
      ᵒCheck the StreamProcess & Inventory logs to make sure there are no issues around
       RIMS


32    © 2012 Citrix | Confidential – Do Not Distribute
Questions?
About                                                                  Educate | Guide | Support | Succeed

Citrix Services
Citrix Services make sure                            How we can help
you succeed with your
virtualization programs.                             Citrix Education – The fastest, most efficient way to
                                                     get your team the virtualization skills they need. Online,
                                                     on-site or in class.
                                                     citrix.com/training

                                                     Citrix Consulting – Intensive engagements for
                                                     complex, critical or just plain massive projects.
                                                     citrix.com/consulting

                                                     Citrix Support – Always-on support services that
                                                     leverage everything we know about best-practice
                                                     deployment and maintenance.
                                                     citrix.com/support
  © 2012 Citrix | Confidential – Do Not Distribute
The desktop virtualization project space with best practice built in.

                                                                        Check it out




 © 2012 Citrix | Confidential – Do Not Distribute
Secrets of the Citrix Support Ninjas


• 40 insider troubleshooting tips
• Covering XenDesktop, XenServer, XenApp and NetScaler
• Citrix Support top engineers
• FREE eBook
• Citrix Auto Support
• Now available!
  © 2012 Citrix | Confidential – Do Not Distribute
Premier Support Calculator

                                                    Check it out




 © 2012 Citrix | Confidential – Do Not Distribute
Work better. Live better.

Weitere ähnliche Inhalte

Was ist angesagt?

Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02
gameaxt
 
MySQL Query And Index Tuning
MySQL Query And Index TuningMySQL Query And Index Tuning
MySQL Query And Index Tuning
Manikanda kumar
 

Was ist angesagt? (20)

Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02Microsoft Offical Course 20410C_02
Microsoft Offical Course 20410C_02
 
Auto Update(AUT) - HCL Notes
Auto Update(AUT) -  HCL NotesAuto Update(AUT) -  HCL Notes
Auto Update(AUT) - HCL Notes
 
Window server editions
Window server editionsWindow server editions
Window server editions
 
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
Security of Oracle EBS - How I can Protect my System (UKOUG APPS 18 edition)
 
VMware ESXi 6.0 Installation Process
VMware ESXi 6.0 Installation ProcessVMware ESXi 6.0 Installation Process
VMware ESXi 6.0 Installation Process
 
Cassandra Troubleshooting 3.0
Cassandra Troubleshooting 3.0Cassandra Troubleshooting 3.0
Cassandra Troubleshooting 3.0
 
2019 Webinar ZABBIX CERTIFICATIONS - From User to Expert, and +
2019 Webinar ZABBIX CERTIFICATIONS - From User to Expert, and +2019 Webinar ZABBIX CERTIFICATIONS - From User to Expert, and +
2019 Webinar ZABBIX CERTIFICATIONS - From User to Expert, and +
 
Reference design for v mware nsx
Reference design for v mware nsxReference design for v mware nsx
Reference design for v mware nsx
 
Disaster Recovery Options Running Apache Kafka in Kubernetes with Rema Subra...
 Disaster Recovery Options Running Apache Kafka in Kubernetes with Rema Subra... Disaster Recovery Options Running Apache Kafka in Kubernetes with Rema Subra...
Disaster Recovery Options Running Apache Kafka in Kubernetes with Rema Subra...
 
Windows Virtual Desktop 構築手順書(202001)
Windows Virtual Desktop 構築手順書(202001)Windows Virtual Desktop 構築手順書(202001)
Windows Virtual Desktop 構築手順書(202001)
 
Fsmo roles
Fsmo rolesFsmo roles
Fsmo roles
 
VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5
 
MySQL Query And Index Tuning
MySQL Query And Index TuningMySQL Query And Index Tuning
MySQL Query And Index Tuning
 
Maxscale switchover, failover, and auto rejoin
Maxscale switchover, failover, and auto rejoinMaxscale switchover, failover, and auto rejoin
Maxscale switchover, failover, and auto rejoin
 
Query Optimization with MySQL 5.6: Old and New Tricks - Percona Live London 2013
Query Optimization with MySQL 5.6: Old and New Tricks - Percona Live London 2013Query Optimization with MySQL 5.6: Old and New Tricks - Percona Live London 2013
Query Optimization with MySQL 5.6: Old and New Tricks - Percona Live London 2013
 
fsmo in active directory
 fsmo in active directory fsmo in active directory
fsmo in active directory
 
SQL Server High Availability and Disaster Recovery
SQL Server High Availability and Disaster RecoverySQL Server High Availability and Disaster Recovery
SQL Server High Availability and Disaster Recovery
 
Active directory architecture
Active directory architectureActive directory architecture
Active directory architecture
 
FSMO
FSMO FSMO
FSMO
 
VMware vSphere Networking deep dive
VMware vSphere Networking deep diveVMware vSphere Networking deep dive
VMware vSphere Networking deep dive
 

Ähnlich wie Implementing and Troubleshooting PVS

E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
sthirion
 
Lecture 3 more on servers and services
Lecture 3   more on servers and servicesLecture 3   more on servers and services
Lecture 3 more on servers and services
Wiliam Ferraciolli
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
solarisyourep
 
Dinakar_Sr Wintel admin
Dinakar_Sr Wintel adminDinakar_Sr Wintel admin
Dinakar_Sr Wintel admin
Dinakar Nerusu
 
Christian ferver xen server_6.1_overview
Christian ferver xen server_6.1_overviewChristian ferver xen server_6.1_overview
Christian ferver xen server_6.1_overview
Digicomp Academy AG
 
Nikolay Sh Gslb For Xen App
Nikolay Sh   Gslb For Xen AppNikolay Sh   Gslb For Xen App
Nikolay Sh Gslb For Xen App
Liudmila Li
 

Ähnlich wie Implementing and Troubleshooting PVS (20)

Designing your xen app 7.5 environment
Designing your xen app 7.5 environmentDesigning your xen app 7.5 environment
Designing your xen app 7.5 environment
 
Configuring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop SitesConfiguring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop Sites
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
 
Common Pitfalls when Setting up a NetScaler for the First Time
Common Pitfalls when Setting up a NetScaler for the First TimeCommon Pitfalls when Setting up a NetScaler for the First Time
Common Pitfalls when Setting up a NetScaler for the First Time
 
CloudExpo NYC - Citrix Cloud Platforms Best Practices for Architecting Your C...
CloudExpo NYC - Citrix Cloud Platforms Best Practices for Architecting Your C...CloudExpo NYC - Citrix Cloud Platforms Best Practices for Architecting Your C...
CloudExpo NYC - Citrix Cloud Platforms Best Practices for Architecting Your C...
 
Citrix Day 2015 Net Scaler Release 10.5 Update v10
Citrix Day 2015 Net Scaler Release 10.5 Update v10Citrix Day 2015 Net Scaler Release 10.5 Update v10
Citrix Day 2015 Net Scaler Release 10.5 Update v10
 
Citrix Day 2014: NetScaler 10.5
Citrix Day 2014: NetScaler 10.5Citrix Day 2014: NetScaler 10.5
Citrix Day 2014: NetScaler 10.5
 
Lecture 3 more on servers and services
Lecture 3   more on servers and servicesLecture 3   more on servers and services
Lecture 3 more on servers and services
 
Cloud platform technical sales presentation
Cloud platform technical sales presentationCloud platform technical sales presentation
Cloud platform technical sales presentation
 
Presentation citrix cloud platform for infrastructure as a service
Presentation   citrix cloud platform for infrastructure as a servicePresentation   citrix cloud platform for infrastructure as a service
Presentation citrix cloud platform for infrastructure as a service
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
 
Dinakar_Sr Wintel admin
Dinakar_Sr Wintel adminDinakar_Sr Wintel admin
Dinakar_Sr Wintel admin
 
Christian ferver xen server_6.1_overview
Christian ferver xen server_6.1_overviewChristian ferver xen server_6.1_overview
Christian ferver xen server_6.1_overview
 
Xen server 6.1 technical sales presentation
Xen server 6.1 technical sales presentationXen server 6.1 technical sales presentation
Xen server 6.1 technical sales presentation
 
Xen server 6.1 technical sales presentation
Xen server 6.1 technical sales presentationXen server 6.1 technical sales presentation
Xen server 6.1 technical sales presentation
 
Nikolay Sh Gslb For Xen App
Nikolay Sh   Gslb For Xen AppNikolay Sh   Gslb For Xen App
Nikolay Sh Gslb For Xen App
 
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
 
2014-09-15 cloud platform master class
2014-09-15 cloud platform master class2014-09-15 cloud platform master class
2014-09-15 cloud platform master class
 
Dc lec- (network models)
Dc lec- (network models)Dc lec- (network models)
Dc lec- (network models)
 

Mehr von David McGeough

Mehr von David McGeough (20)

Citrix Group Policy Troubleshooting for XenApp and XenDesktop
Citrix Group Policy Troubleshooting for XenApp and XenDesktopCitrix Group Policy Troubleshooting for XenApp and XenDesktop
Citrix Group Policy Troubleshooting for XenApp and XenDesktop
 
Manage and Diagnose your Environment using Citrix Insight Services
Manage and Diagnose your Environment using Citrix Insight ServicesManage and Diagnose your Environment using Citrix Insight Services
Manage and Diagnose your Environment using Citrix Insight Services
 
Advanced Tools and Techniques for Troubleshooting NetScaler Appliances
Advanced Tools and Techniques for Troubleshooting NetScaler AppliancesAdvanced Tools and Techniques for Troubleshooting NetScaler Appliances
Advanced Tools and Techniques for Troubleshooting NetScaler Appliances
 
PVS and MCS Webinar - Technical Deep Dive
PVS and MCS Webinar - Technical Deep DivePVS and MCS Webinar - Technical Deep Dive
PVS and MCS Webinar - Technical Deep Dive
 
How to Protect Against top Web Security Issues With Citrix NetScaler
How to Protect Against top Web Security Issues With Citrix NetScalerHow to Protect Against top Web Security Issues With Citrix NetScaler
How to Protect Against top Web Security Issues With Citrix NetScaler
 
Best practices for implementing, administering, and troubleshooting XenDeskto...
Best practices for implementing, administering, and troubleshooting XenDeskto...Best practices for implementing, administering, and troubleshooting XenDeskto...
Best practices for implementing, administering, and troubleshooting XenDeskto...
 
Maintaining and Troubleshooting your XenDesktop 7.5 Environment
Maintaining and Troubleshooting your XenDesktop 7.5 EnvironmentMaintaining and Troubleshooting your XenDesktop 7.5 Environment
Maintaining and Troubleshooting your XenDesktop 7.5 Environment
 
Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...
Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...
Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...
 
Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...
Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...
Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...
 
Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...
Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...
Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...
 
Citrix TechEdge 2014 - How to Protect Against the Top 10 Web Security Issues ...
Citrix TechEdge 2014 - How to Protect Against the Top 10 Web Security Issues ...Citrix TechEdge 2014 - How to Protect Against the Top 10 Web Security Issues ...
Citrix TechEdge 2014 - How to Protect Against the Top 10 Web Security Issues ...
 
Citrix TechEdge 2014 - Citrix Group Policy Troubleshooting for XenApp and Xen...
Citrix TechEdge 2014 - Citrix Group Policy Troubleshooting for XenApp and Xen...Citrix TechEdge 2014 - Citrix Group Policy Troubleshooting for XenApp and Xen...
Citrix TechEdge 2014 - Citrix Group Policy Troubleshooting for XenApp and Xen...
 
Citrix TechEdge 2014 - Best Practices for Implementing, Administering, and Tr...
Citrix TechEdge 2014 - Best Practices for Implementing, Administering, and Tr...Citrix TechEdge 2014 - Best Practices for Implementing, Administering, and Tr...
Citrix TechEdge 2014 - Best Practices for Implementing, Administering, and Tr...
 
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
 
Citrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktop
Citrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktopCitrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktop
Citrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktop
 
Maintaining and Troubleshooting your XenApp 7.5 Environment
Maintaining and Troubleshooting your XenApp 7.5 EnvironmentMaintaining and Troubleshooting your XenApp 7.5 Environment
Maintaining and Troubleshooting your XenApp 7.5 Environment
 
Jump Start your XenDesktop 7.5 Deployment
Jump Start your XenDesktop 7.5 DeploymentJump Start your XenDesktop 7.5 Deployment
Jump Start your XenDesktop 7.5 Deployment
 
Troubleshooting Common Network Related Issues with NetScaler
Troubleshooting Common Network Related Issues with NetScalerTroubleshooting Common Network Related Issues with NetScaler
Troubleshooting Common Network Related Issues with NetScaler
 
Jump Start your XenApp 7.5 Deployment
Jump Start your XenApp 7.5 DeploymentJump Start your XenApp 7.5 Deployment
Jump Start your XenApp 7.5 Deployment
 
In-depth Troubleshooting on NetScaler using Command Line Tools
In-depth Troubleshooting on NetScaler using Command Line ToolsIn-depth Troubleshooting on NetScaler using Command Line Tools
In-depth Troubleshooting on NetScaler using Command Line Tools
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 

Implementing and Troubleshooting PVS

  • 1. Citrix Support Secrets Webinar Series Implementing and Troubleshooting PVS Gareth O’Brien, Escalation Engineer, Citrix Support February 21, 2013
  • 2. Introduction • Gareth O’Brien, escalation engineer • Intermediate to advanced PVS knowledge expected 2 © 2012 Citrix | Confidential – Do Not Distribute
  • 3. Agenda • Planning ᵒDatabase, storage, network, farm layout • Installing • Configuring ᵒFiles needed for booting, boot process • Troubleshooting ᵒStream Service ᵒConsole, MAPI and IPC 3 © 2012 Citrix | Confidential – Do Not Distribute
  • 5. Planning • Planning the database configuration • Hardware requirements ᵒClient & Server considerations • Network • Farm layout considerations 5 © 2012 Citrix | Confidential – Do Not Distribute
  • 6. 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 6 © 2012 Citrix | Confidential – Do Not Distribute
  • 7. 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 7 © 2012 Citrix | Confidential – Do Not Distribute
  • 8. 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 8 © 2012 Citrix | Confidential – Do Not Distribute
  • 9. Plan the farm Provisioning Services Farm License MSSQL Shared Server Server Storage Database Provisioning Servers Provisioning Servers Site 1 Site 2 Device Device Device Device Device Collection Collection Collection Collection Collection 9 © 2012 Citrix | Confidential – Do Not Distribute
  • 11. Installing PVS • 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 11 © 2012 Citrix | Confidential – Do Not Distribute
  • 13. Configuring PVS • PXE Boot • Two Stage Boot (TSB) • Boot Process • Stores • IPC Key 13 © 2012 Citrix | Confidential – Do Not Distribute
  • 14. PXE Boot • 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 Filescitrixprovisioning servicestftpcpl.cpl • TFTP Downloads bootstrap, ARDBP32.BIN • Other TFTP servers can be used 14 © 2012 Citrix | Confidential – Do Not Distribute
  • 15. 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 15 © 2012 Citrix | Confidential – Do Not Distribute
  • 16. 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 16 © 2012 Citrix | Confidential – Do Not Distribute
  • 17. Boot Process (cont) • Excerpt from log of a target logging on 17 © 2012 Citrix | Confidential – Do Not Distribute
  • 18. 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_MACHINESYSTEMCurrentControlSetServicesBNIStackParameters - DWORD EnableGetComputerName set to 1 ᵒAD information requested • Multi I/O phase entered 18 © 2012 Citrix | Confidential – Do Not Distribute
  • 19. Stores • 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 19 © 2012 Citrix | Confidential – Do Not Distribute
  • 20. IPC Key • Defines which NIC to use for IPC communication in a multi NIC environment ᵒHKEY_LOCAL_MACHINESoftwareCitrixProvisioningServicesIPC • 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_MACHINESOFTWARECitrixProvisioningServicesManager • RegSZ called GeneralInetAddr with the IP of the NIC and port - Eg 10.1.1.2:6909 20 © 2012 Citrix | Confidential – Do Not Distribute
  • 22. A more structured method of troubleshooting PVS
  • 23. Troubleshooting PVS • Stream service troubleshooting ᵒThe basics ᵒTracing ᵒDumps ᵒLog Analysis ᵒCommon Issues • SOAP/Console ᵒUnable to validate ᵒConsole timeouts 23 © 2012 Citrix | Confidential – Do Not Distribute
  • 24. Stream Service Basics • 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 24 © 2012 Citrix | Confidential – Do Not Distribute
  • 25. 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:programdataCitrixProvisioning ServicesLogs ᵒTarget side logging also • All logs and traces should be captured simultaneously, while the issue is happening. 25 © 2012 Citrix | Confidential – Do Not Distribute
  • 26. Stream Service Tracing (cont) 26 © 2012 Citrix | Confidential – Do Not Distribute
  • 27. Stream Service Tracing (cont) 27 © 2012 Citrix | Confidential – Do Not Distribute
  • 28. Stream Service Tracing (cont) 28 © 2012 Citrix | Confidential – Do Not Distribute
  • 29. 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 29 © 2012 Citrix | Confidential – Do Not Distribute
  • 30. Common issues • Imaging ᵒ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 30 © 2012 Citrix | Confidential – Do Not Distribute
  • 31. Performance • 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 31 © 2012 Citrix | Confidential – Do Not Distribute
  • 32. SOAP & Console • Console timeout ᵒThe console timeout can be set in the registry • Use DWORD ConnectionTimeout in HKEY_LOCAL_MACHINESOFTWARECitrixProvisioningServices. Default value is 120s • Can’t communicate with other servers ᵒCheck IPC and manager keys • HKEY_LOCAL_MACHINESOFTWARECitrixProvisioningServicesIPCIPv4Address • HKEY_LOCAL_MACHINESOFTWARECitrixProvisioningServicesManagerGeneralInetAddr • Mentioned above • Load Balancing issues ᵒCheck the StreamProcess & Inventory logs to make sure there are no issues around RIMS 32 © 2012 Citrix | Confidential – Do Not Distribute
  • 34. About Educate | Guide | Support | Succeed Citrix Services Citrix Services make sure How we can help you succeed with your virtualization programs. Citrix Education – The fastest, most efficient way to get your team the virtualization skills they need. Online, on-site or in class. citrix.com/training Citrix Consulting – Intensive engagements for complex, critical or just plain massive projects. citrix.com/consulting Citrix Support – Always-on support services that leverage everything we know about best-practice deployment and maintenance. citrix.com/support © 2012 Citrix | Confidential – Do Not Distribute
  • 35. The desktop virtualization project space with best practice built in. Check it out © 2012 Citrix | Confidential – Do Not Distribute
  • 36. Secrets of the Citrix Support Ninjas • 40 insider troubleshooting tips • Covering XenDesktop, XenServer, XenApp and NetScaler • Citrix Support top engineers • FREE eBook • Citrix Auto Support • Now available! © 2012 Citrix | Confidential – Do Not Distribute
  • 37. Premier Support Calculator Check it out © 2012 Citrix | Confidential – Do Not Distribute
  • 38. Work better. Live better.

Hinweis der Redaktion

  1. BlockedListenLearnForwardDisabledFrom blocking to listening: 20 secondsFrom listening to learning: 15 secondsFrom learning to forwarding: 15 secondsPortFast dramatically reduces this time. needed for DHCP, DNS & PxE (among others)
  2. 192.168.0 = C0A801172.1.2 = AC1210.0. = A0
  3. 172.1.2.107
  4. 7B =Inaccessable Boot Device
  5. At Citrix Services - we’re Citrix consultants, teachers and support engineers and we’re all about one thing: making sure you succeed.With our help, you’ll deploy high-performance, robust virtualization and networking projects, faster – with dramatically lower risk and higher return.The best Citrix architects and administrators are the ones who never stop learning – and Citrix Education is here to help you learn those skills.Citrix Consulting gives you direct access to our most experienced virtualization and networking experts.When it’s complex; when it’s mission-critical; when it’s big; That’s when Citrix consultants can really help.On your virtualization journey, you’ll want always-on support from people who really care about your success.There’s no better insurance for your Citrix investment than with Citrix Support.
  6. http://project.citrix.com/?utm_source=auto%2Bsupport%2Bwebinar&utm_medium=email&utm_campaign=Citrix%2BSupport%2BSecrets%2BWebinar%3A%2BProject%2BAccelerator%2BLink%2B2_21_13
  7. Secrets of the Citrix Support Ninjas is a FREE eBook available next week.The eBook contains 40 insider troubleshooting tips for administrators.So the purpose of the eBook is to help administrators like you keep your Citrix deployments on track.We’ve collected some of their best tips and tricks for running robust Citrix environments and packaged them up into a free eBook.In it, you’ll discover some of the little-known tricks that our own support people use every day to tune, tweak, troubleshoot and test Citrix solutions. You may know a few of these tips. But you probably don’t know them all.And – you never know – you might discover just one that will change your life as an administrator.Let me give you a sneak peak now.