怎麼在不重新安裝Xendesktop的情況下重新配置數據庫

Pasted from <http://support.citrix.com/article/CTX127421>

Summary

If the administrator wishes to re-set up XenDesktop, it is strongly recommend that all the Desktop Delivery Controller machines are uninstalled before removing the database and then reinstall XenDesktop. However, when experiencing setup issues, this can be a very frustrating and time consuming process. This knowledge base article helps by demonstrating how to clean up the environment without the need to reinstall the system.

Requirements

You must be able to run PowerShell as the XenDesktop Full Administrator (this is the administrator that was used to previous deploy XenDesktop), or, if XenDesktop has not been set up, you must be a domain administrator.

Procedure

To clean the environment and remove the database, perform the following steps:

  1. Load a PowerShell window as a full administrator (this is the administrator that was used to previous deploy XenDesktop)
  1. Run the following command to initialise the PowerShell environment.
    Add-PSSnapin Citrix.*
  2. Inform the services to not use a database:
    Set-ConfigDBConnection -DBConnection $null
    Set-AcctDBConnection -DBConnection $null
    Set-HypDBConnection -DBConnection $null
    Set-ProvDBConnection -DBConnection $null
    Set-PvsVmDBConnection -DBConnection $null
    Set-BrokerDBConnection -DBConnection $null
    Make sure these commands are run on every Desktop Delivery Controller that was previously set up to use the same database or deployment.
  1. You should now have no connections on the database. Go to the database server and drop the database.
  2. Now that the database has been dropped. Go to the first (or only) XenDesktop Deployment Controller and restart Desktop Studio. Desktop Studio will load with the initial setup options, following these options as if you have just installed XenDesktop.
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章