jnordeng
asked on
Errors trying to upgrade XenApp 7.15.3000 to XenApp 7.15.5000
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.ConfigurationLoggin g.Admin.V1 -ErrorAction SilentlyContinue
PS C:\Users\user>
PS C:\Users\user> Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:8 0" -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:8 0" -DBCon ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~
+ CategoryInfo : PermissionDenied: (:) [Set-BrokerDBConnection], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker .DeniedByC onfigurati onLogging, Citrix.Bro ker.Admin. SDK.SetBro ke
rDBConnectionCommand
PS C:\Users\user> Set-MonitorDBConnection -AdminAddress "ctxdctst1a.domain.local:8 0" -DataStore "Site" -DBConnection $nu
ll -Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-LogDBConnection -AdminAddress "ctxdctst1a.domain.local:8 0" -DataStore "Site" -DBConnection $null -
Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:8 0" -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:8 0" -DBCon ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~
+ CategoryInfo : PermissionDenied: (:) [Set-BrokerDBConnection], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker .DeniedByC onfigurati onLogging, Citrix.Bro ker.Admin. SDK.SetBro ke
rDBConnectionCommand
PS C:\Users\user> Set-MonitorDBConnection -AdminAddress "ctxdctst1a.domain.local:8 0" -DataStore "Site" -DBConnection $nu
ll -Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-LogDBConnection -AdminAddress "ctxdctst1a.domain.local:8 0" -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 .Communica tionError, Citrix.Mon itor.Sdk.D ataStore.C ommands.Se tM
onitorDBConnectionCommand
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.ConfigurationLoggin
PS C:\Users\user>
PS C:\Users\user> Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:8
Set-BrokerDBConnection : Configuration logging required but unavailable; operation not allowed at this time
At line:1 char:1
+ Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-BrokerDBConnection], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker
rDBConnectionCommand
PS C:\Users\user> Set-MonitorDBConnection -AdminAddress "ctxdctst1a.domain.local:8
ll -Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-LogDBConnection -AdminAddress "ctxdctst1a.domain.local:8
Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:8
Set-BrokerDBConnection : Configuration logging required but unavailable; operation not allowed at this time
At line:1 char:1
+ Set-BrokerDBConnection -AdminAddress "ctxdctst1a.domain.local:8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-BrokerDBConnection], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker
rDBConnectionCommand
PS C:\Users\user> Set-MonitorDBConnection -AdminAddress "ctxdctst1a.domain.local:8
ll -Force
ServiceStatus ExtraInfo
------------- ---------
DBUnconfigured
PS C:\Users\user> Set-LogDBConnection -AdminAddress "ctxdctst1a.domain.local:8
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"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Set-MonitorDBConnection],
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Status
onitorDBConnectionCommand
Are the scripts being run by a Citrix Administrator?
ASKER
The DBA's, we have a separation here, so I had to select the section to have it manually generate the scripts. The second time I did this the DBA said they worked and didn't error out. However; when I go back into Studio it's wanting me to run the steps again.
Thinking for future, will see if they'll grant my userID temporary access to the DB.
Thinking for future, will see if they'll grant my userID temporary access to the DB.
ASKER
Well, after selecting automatic a second time now it completed. this is a little screwy, but at least I'm back into Studio.
OK … Glad you got it working.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.