您好,登錄后才能下訂單哦!
在注冊表中查找connectionstring來修改數據庫連接串,修改數據庫連接地址。
重啟所有citrix的服務
使用下面的命令查看monitor和logging的connectionstring是否正確
Get-MonitorDataStore
Get-LogDataStore
如果不正確使用下面的命令來修改
$cs="xxx"
Set-MonitorDBConnection -Datastore Monitor -DBConnection $null
Set-MonitorDBConnection -Datastore Monitor -DBConnection $CS
Set-LogDBConnection -DataStore Logging -DBConnection $null
Set-LogDBConnection -DataStore Logging -DBConnection $cs
使用下面的命令重新注冊service instance
Unregister Service Instance (Analytics only for
7.6)
Get-configregisteredserviceinstance | unregister-configregisteredserviceinstance #only run one time on a DDC
Get-Configserviceinstance | register-configserviceinstance
Get-Hypserviceinstance | register-configserviceinstance
Get-Acctserviceinstance | register-configserviceinstance
Get-AnalyticsServiceInstance | register-configserviceinstance
Get-Provserviceinstance | register-configserviceinstance
Get-Sfserviceinstance | register-configserviceinstance
Get-Monitorserviceinstance | register-configserviceinstance
Get-Envtestserviceinstance | register-configserviceinstance
Get-Brokerserviceinstance | register-configserviceinstance
Get-Logserviceinstance | register-configserviceinstance
Get-Adminserviceinstance | register-configserviceinstance
$ccs = Get-Configserviceinstance
$ccs | Reset-ConfigServiceGroupMemberShip
$ccs | Reset-LogServiceGroupMemberShip
$ccs | Reset-AdminServiceGroupMemberShip
$ccs | Reset-ProvServiceGroupMemberShip
$ccs | Reset-HypServiceGroupMemberShip
$ccs | Reset-AcctServiceGroupMemberShip
$ccs | Reset-AnalyticsServiceGroupMemberShip
$ccs | Reset-SfServiceGroupMemberShip
$ccs | Reset-BrokerServiceGroupMemberShip
$ccs | Reset-MonitorServiceGroupMemberShip
$ccs | Reset-EnvtestServiceGroupMemberShip
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。