Jump to content
Welcome to our new Citrix community!
  • 0

Issue with VDA registration


Question

Need some expert advise on fixing this issue.

 

Background information

 

  • We are building a new 7.15 LTSR environment for our client .
  • Initiatially we built with 7.15 CU3 but due to SA we have to go with cu2 . So we uninstalled all the components and went with fresh DB and new site config with cu2 on same servers .
  • After this we are noticing our VDA machines are not getting registered in Studio.

 

Issue 

 

  • Event logs in VDA shows registered. 

The Citrix Desktop Service successfully registered with delivery controller XXXXXXXXXXXXXX (IP Address XXXXXXXXXXXX). 

  • Studio shows unregistered  (Screenshot attached)
  • While performing any power management task , getting DB error .(screenshot attached).

Studio error log

Error Id: XDDS:9BCC20BE

Exception:
    Citrix.Console.Models.Exceptions.DatabaseConnectionException Database could not be contacted.
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host)
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
       at Citrix.Console.PowerShellSdk.DesktopService.Scripts.SetDesktopPowerStateScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.Common.OperationTimer.TimeBlock(Action operation)
       at Citrix.Console.CommonControls.ProgressDisplay.GenericProgressOperation.PerformOperationInternal()
       at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowOperation.PerformOperation()
       at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowViewModel.PerformAction(Action operationComplete)
    
    DesktopStudio_ErrorId : DataStoreException
    SqlErrorText : 
    SqlErrorNumber : 0
    ConnectionString : 
    DataSource : 
    Sdk Error Message : Problem occurred contacting the database
    Sdk Error ID : Citrix.XDPowerShell.Broker.DataStoreException,Citrix.Broker.Admin.SDK.NewBrokerHostingPowerActionCommand
    ErrorCategory : ResourceUnavailable
    DesktopStudio_PowerShellHistory : Reboot Machine 'vXXXXXXXXXXXXXXX'
    5/8/2019 8:42:33 AM
    
    Get-LogSite  -AdminAddress "vXXXXXXXXXXXXXXXXXXXXXXXXXX"
    Start-LogHighLevelOperation  -AdminAddress "XXXXXXXXXXXXXX" -Source "Studio" -StartTime "5/8/2019 6:42:33 AM" -Text "Reboot Machine `'XXXXXXXXXXXXXXXXXXXXXXX`'"
    New-BrokerHostingPowerAction  -Action "Restart" -AdminAddress "XXXXXXXXXXXXXXXXXXXXXXXXXX:80" -LoggingId "f15b296f-e94b-4ca7-825e-57c4e0f05b0b" -MachineName "CENE\vmdcxtstw001wew"
    New-BrokerHostingPowerAction : Problem occurred contacting the database
        + CategoryInfo : InvalidOperation: (:) [New-BrokerHostingPowerAction], SdkOperationException
        + FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.DataStoreException,Citrix.Broker.Admin.SDK.NewBrokerHostingPowerActionCommand
    Stop-LogHighLevelOperation  -AdminAddress "XXXXXXXXXXXXXXXXXXXXXXXXXXXX" -EndTime "5/8/2019 6:42:33 AM" -HighLevelOperationId "f15b296f-e94b-4ca7-825e-57c4e0f05b0b" -IsSuccessful $False
    
    
Inner Exception:
    Citrix.Broker.Admin.SDK.SdkOperationException Problem occurred contacting the database
       at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
    
    
Inner Exception:
    System.InvalidOperationException Problem occurred contacting the database
    
    

 

Studio error.JPG

Link to comment

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...