Hello. Trying to upgrade from XenApp 7.15.3000 to XenApp 7.15.5000. I had selected in the upgrade to have the Database Scripts generated and executed by the DBA. I also read according to the flow chart that the DisableServices powershell script has to be run on Studio. The issue is it is failing.
Does anyone have insight as to what this is trying to use? We tried without this and the DBA was getting errors indicating missing tables.
When running the disableServices powershell, getting errors. So, what permission would it be looking for her for the logging? Also, it generated this to use the Delivery Controller, but is giving the following error:
PS C:\Users\user> Add-PsSnapin Citrix.Broker.Admin.V2 -ErrorAction SilentlyContinue
PS C:\Users\user> Add-PsSnapin Citrix.Monitor.Admin.V1 -ErrorAction SilentlyContinue
PS C:\Users\user> Add-PsSnapin Citrix.ConfigurationLogging.Admin.V1 -ErrorAction SilentlyContinue
PS C:\Users\user>
PS C:\Users\user> Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DBConnection $null -Force
Set-BrokerDBConnection : Configuration logging required but unavailable; operation not allowed at this time
At line:1 char:1
+ Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DBCon ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-BrokerDBConnection], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.DeniedByConfigurationLogging,Citrix.Broker.Admin.SDK.SetBroke
rDBConnectionCommand
PS C:\Users\user> Set-MonitorDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DataStore "Site" -DBConnection $nu
ll -Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-LogDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DataStore "Site" -DBConnection $null -
Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DBConnection $null -Force
Set-BrokerDBConnection : Configuration logging required but unavailable; operation not allowed at this time
At line:1 char:1
+ Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DBCon ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-BrokerDBConnection], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.DeniedByConfigurationLogging,Citrix.Broker.Admin.SDK.SetBroke
rDBConnectionCommand
PS C:\Users\user> Set-MonitorDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DataStore "Site" -DBConnection $nu
ll -Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-LogDBConnection -AdminAddress "ctxdctst1a.domain.local:80" -DataStore "Site" -DBConnection $null -
Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user>
if I substitute the strings with the actual database server and databases it fails with a different error. And does this for every line.
Set-MonitorDBConnection : An invalid URL was given for the service. The value given was 'server.domain.local:1494'.
The reason given was: The underlying connection was closed: The connection was closed unexpectedly.
The underlying connection was closed: The connection was closed unexpectedly..
At line:1 char:1
+ Set-MonitorDBConnection -AdminAddress "server.domain.local:1494" -Dat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Set-MonitorDBConnection], InvalidOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Status.CommunicationError,Citrix.Monitor.Sdk.DataStore.Commands.SetM
onitorDBConnectionCommand