DDC connection database from new configuration

Source: Internet
Author: User

Locate the ConnectionString in the registry to modify the database connection string and modify the database connection address.
Restart all Citrix Services
Use the following command to see if the ConnectionString of monitor and logging are correct
Get-monitordatastore
Get-logdatastore
If you do not correctly use the following command to modify
$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

Use the following command to re-register the 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


DDC connection database from new configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.