a deep dive into supporting xen desktop
TRANSCRIPT
![Page 1: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/1.jpg)
A Deep Dive into Supporting XenDesktop
Download this slidehttp://ouo.io/zTW9Km
Kim Ferrie, Mick Glover
![Page 2: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/2.jpg)
© 2014 Citrix. Confidential.2
AgendaA Deep Dive into Supporting XenDesktop
Architecture
FMA Service States
Service SQL Scripts
Site Policies
![Page 3: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/3.jpg)
The ArchitectureXenDesktop 7x
![Page 4: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/4.jpg)
© 2014 Citrix. Confidential.4
XenDesktop 7.x Architecture
Controller
Citrix Studio Citrix Director
WCF [80]
Virtual Desktop (VDA)
Citrix Desktop Service
[5985/5986]
WCF [80]
PoSH PoSH
Citrix ICA Service
(PicaSvc2.exe)
SQL Server SQL Server
Environment Test Service
Configuration Service Host Service Monitor
Service
Machine Creation Service
AD Identity Service
Configuration Logging Service
Storefront Service
Broker Service
Delegated Admin Service
SQL Server
Machine CreationServices
InfrastructureServices
BrokerService
Machine CreationServices
Feature & IntegrationServices
SQL Server
![Page 5: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/5.jpg)
FMA Service States
![Page 6: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/6.jpg)
© 2014 Citrix. Confidential.6
Viewing service states through Windows only tells half the storyExample: Broker Service
![Page 7: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/7.jpg)
© 2014 Citrix. Confidential.7
Validating a Service Status
Get-BrokerServiceStatus (Broker)
Get-ConfigServiceStatus (Configuration)
Get-HypServiceStatus (Host Service)
Get-AcctServiceStatus (AD Identity)
Get-ProvServiceStatus (MCS)
Get-MonitorServiceStatus (Monitoring)
Get-AdminServiceStatus (Delegated Admin)
Get-LogServiceStatus (Configuration Logging)
Get-SFServiceStatus (StoreFront)
Get-EnvTestServiceStatus (Test Service)
![Page 8: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/8.jpg)
© 2014 Citrix. Confidential.8
Get-BrokerServiceStatus - Return Values
Status Meaning
OK The broker is connected to a database that is valid, and the service is running.
DBUnconfigured The broker does not have a database connection configured
DBRejectedConnection The database rejected the logon from the Broker Service. This may be caused by bad credentials, or the database not being installed.
InvalidDBConfigured The database schema is missing (possibly just the stored procedures in it).
DBNotFound The specified database could not be located with the configured connection string.
DBMissingOptionalFeature The broker is connected to a database that is valid, but it does not have the full functionality required for optimal performance. Upgrading the database is advisable.
DBMissingMandatoryFeatureThe broker is connected to a database that is valid, but it does not have the full functionality required so the broker cannot function. Upgrading the database is required.
![Page 9: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/9.jpg)
DemoFMA Service States
![Page 10: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/10.jpg)
SQL Service Scripts
![Page 11: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/11.jpg)
© 2014 Citrix. Confidential.11
SQL Service Scripts4 script types for each FMA service
FullDatabase
Instance
Evict
Login
![Page 12: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/12.jpg)
© 2014 Citrix. Confidential.12
Examples of when to use each ScriptA Script for every occasion…
FullDatabase• Manually create or script the creation of a new Site
Instance• Manually add a controller to an existing Site
Evict• Manually remove an orphaned Controller from a Site
Login• Create DB Security Logon
![Page 13: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/13.jpg)
© 2014 Citrix. Confidential.13
Generating Service ScriptsUse the PoSH SDK
Get-<ServiceAlias>DBSchema - DatabaseName -ScriptType • Broker, Config, Hyp, Prov, Acct, SF, Monitor EnvTest, Log & Admin
Examples• Get-BrokerDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab -
ScriptType instance | out-file c:\join.sql• Get-ConfigDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab -
ScriptType instance | out-file c:\join.sql -append
![Page 14: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/14.jpg)
© 2014 Citrix. Confidential.14
Generating Service ScriptsUse the PoSH SDK
Get-<ServiceAlias>DBSchema - DatabaseName -ScriptType • Broker, Config, Hyp, Prov, Acct, SF, Monitor EnvTest, Log & Admin
Examples• Get-BrokerDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab -
ScriptType instance | out-file c:\join.sql• Get-ConfigDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab -
ScriptType instance | out-file c:\join.sql -append
![Page 15: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/15.jpg)
© 2014 Citrix. Confidential.15
Citrix Studio uses the same ScriptsFullDatabase & Login
![Page 16: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/16.jpg)
DemoManually joining a Controller to an existing Site
![Page 17: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/17.jpg)
Site Policies
![Page 18: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/18.jpg)
© 2014 Citrix. Confidential.18
XenDesktop Site PoliciesOverview
Entitlement Policy (Pooled/Shared Desktops)• Get-BrokerEntitlementPolicyRule• Get-BrokerAppEntitlementPolicyRule
Assignment Policy (Dedicated/Private Desktops)• Get-BrokerAssignmentPolicyRule• Get-BrokerAppAssignmentPolicyRule
Access Policy• Get-BrokerAccessPolicyRule
![Page 19: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/19.jpg)
DemoRestricting access to resources through Site Policies
![Page 20: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/20.jpg)
© 2014 Citrix. Confidential.20
Tweet Tweet...Stay Informed with the latest XenDesktop Tips
@XDinformer• Kim Ferrie
@XDtipster• Mick Glover
![Page 21: A deep dive into supporting xen desktop](https://reader033.vdocuments.us/reader033/viewer/2022051006/587d79b11a28ab634b8b5fc1/html5/thumbnails/21.jpg)
© 2014 Citrix. Confidential.22
WORK BETTER. LIVE BETTER.