Replies: 8 comments 13 replies
-
continuing to get a hang on Update-DbaInstance on Windows Failover Cluster Servers. Have to issue a Stop-Operation Ctrl+Break Starting process [E:\TempUpdate\dbatools_KB5005226_Extract_85542f071d8740ee8f1e185722b3a414\setup.exe] with arguments [/quiet /allinstances /IAcceptSQLServerLicenseTerms] on SERVERB through CredSSP protocol |
Beta Was this translation helpful? Give feedback.
-
@nvarscar or @andreasjordan can you please take a look? 🙇🏼 |
Beta Was this translation helpful? Give feedback.
-
Perhaps try to run the function with |
Beta Was this translation helpful? Give feedback.
-
Ok we should have some patching coming up, we will run with DEBUG. Hope to overcome this HANG issue with reusing existing session. |
Beta Was this translation helpful? Give feedback.
-
We havent had a hang with -DEBUG, but there have been 2 hangs without -DEBUG. They have occurred on PASSIVE side of WINDOWS CLUSTER (SQL SERVER not running). PS>TerminatingError(): "Connecting to remote server SERVERB.redacted failed with the following error message : What additional debugging can we do? |
Beta Was this translation helpful? Give feedback.
-
I got one with -DEBUG. It hung at the [16:51:25][Invoke-Command2] Found an existing session. I rebooted the server at 17:09. after checking the target C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\Summary.txt timestamp 16:54 ( now 17:09) Instance MSSQLSERVER overall summary: |
Beta Was this translation helpful? Give feedback.
-
Can you provide additional explanation of this description in Update-DbaInstance, does CredSSP have something to do with my issue?: |
Beta Was this translation helpful? Give feedback.
-
dbatools 1.1.80 VERBOSE: [13:39:21][Invoke-Program] Starting process [E:\TempUpdate\dbatools_KB5007182_Extract_6c1a087e89ad413ab250df5ef19f35f0\setup.exe] with arguments [/quiet /allinstances /IAcceptSQLServerLicenseTerms] on MYComputer through Credssp protocol ComputerName : MyComputer WARNING: [13:56:50][Update-DbaInstance] Update failed: Update failed with exit code |
Beta Was this translation helpful? Give feedback.
-
DBATOOLS RELEASE 1.1.39.
I am trying to execute Update-DbaInstance on a Active/Passive Windows Failover Cluster server environment:
patch the passive node and restart (SQL SERVER INSTANCE is up on the ACTIVE NODE)
force failover Active to Passive (newly patched server becomes active)
patch the passive node and restart.
Update-DbaInstance gets hung so after 30 minutes I stop the process. The patch is completed on the server the hang occurred. I restart the server manually and I get 2 restarts in the event log. I dont have a lot to go on, Get-DbatoolsLog
I see it starting process to execute the setup.exe
Then it does
CallStack : {at Get-DbatoolsLog, C:\Program Files\WindowsPowerShell\Modules\dbatools\1.1.39\allcommands.ps1:
line 37261, at , : line 1}
ComputerName : mycomputer
File : C:\Program Files\WindowsPowerShell\Modules\dbatools\1.1.39\allcommands.ps1
FunctionName : Invoke-Command2
Level : Debug
Line : 87953
Message : Found an existing session
dbatools_CredSSP_stuff, reusing it
ModuleName : dbatools
Runspace : ca00a1e8-03a8-4b4f-92fd-f35d63cfd2c3
Tags : {}
TargetObject :
Timestamp : 11/29/2021 6:10:44 PM
Type : Debug
Username : thatsme
and this gets repeated once after I break and execute the get-dbatoolslog 20 minutes later.
Any ideas would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions