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

PVS 1912 CU 3 SDK: OperationTimeout: (:) [Get-PvsDeviceInfo], PvsException


HQ IT

Question

Hello comrades
Faced a problem with running cmdlets on a PVS server.

 


Citrix 1912 LTSR CU3 - Provisioning Console x64 - ver. 1912.0.13.24022
Citrix 1912 LTSR CU3 - Provisioning Server x64 - ver. 1912.0.13.24022


Citrix Broker PowerShell Snap-In - ver. 7.24.3000.2
Citrix Configuration Logging Service PowerShell snap-in - ver. 7.24.3000.1
Citrix Configuration Service PowerShell snap-i - ver. 7.24.3000.3
Citrix Delegated Administration Service PowerShell snap-in - ver. 7.24.3000.1
Citrix Host Service PowerShell snap-in 7.24.3000.2

 

image.thumb.png.fca70d8c90bfcd1628eaa9e28ec81f73.png

 

Has anyone encountered such a problem?
Interestingly, the Get-PvsDevice cmdlet works normally, displays a list of devices.

Reboot doesn't help.

Maybe there is somewhere a description of the tables in the BD, it would be even better for me to make a query on the SQL server ..

 

 

upd. BD connected:

image.thumb.png.4dedd7f54fcc82894450ce60029d7aba.png

Link to comment

2 answers to this question

Recommended Posts

  • 0

You didn't really specify enough detail here to be sure but a few tings:

  • You dont load the PVS powershell cmdlets using Add-PSSnapin - instead you use Import-Module "$env:ProgramFiles\Citrix\Provisioning Services Console\Citrix.PVS.SnapIn.dll" - you must have done this though otherwise the command wouldn't have been found
  • You dont say whether or not this is running on the PVS server or on another system - if the latter you would need to do Set-PvsConnection -Server <PVS Server IP or FQDN>. Since you say Get-PvsDevice does work that is probably fine too.

How many targets do you have in the PVS farm? Since your command will fetch them all, if you have a very large number, the command might time out. How many records for Get-PvsDevice return?

 

We do not document the database schema because it can change with any release - the powershell cmdlets are the only supported way of extracting data.

 

Simon

Link to comment
  • 0
18 hours ago, Simon Graham said:

You didn't really specify enough detail here to be sure but a few tings:

  • You dont load the PVS powershell cmdlets using Add-PSSnapin - instead you use Import-Module "$env:ProgramFiles\Citrix\Provisioning Services Console\Citrix.PVS.SnapIn.dll" - you must have done this though otherwise the command wouldn't have been found
  • You dont say whether or not this is running on the PVS server or on another system - if the latter you would need to do Set-PvsConnection -Server <PVS Server IP or FQDN>. Since you say Get-PvsDevice does work that is probably fine too.

How many targets do you have in the PVS farm? Since your command will fetch them all, if you have a very large number, the command might time out. How many records for Get-PvsDevice return?

 

We do not document the database schema because it can change with any release - the powershell cmdlets are the only supported way of extracting data.

 

Simon


Hi Simoin,

 

- It does not matter. Whichever way we add PowerShell PVS cmdlets, the result is the same.

- Yes, I work on a PVS server that is part of the site for which you need to get information. I tried running the cmdlet using this parameter - the result hasn't changed, the error appears.

- 5012, but there are sites with a large number of devices on which the system configuration, SDK version and infrastructure version are the same, on which this command is executed without errors.

image.thumb.png.ec996640ffd31e95ada0b613942d6593.png

 

The strange thing is that in CU2 LTSR 1912 everything worked with the same number of devices. Apart from the upgrade to CU3 1912 LTSR, no changes have been made to the site

 

In procmon (log attach in Procmon.7z), you can see that when executing the command powershell accesses the API:

image.thumb.png.891081d96a6af2583c570ea2496768e7.png

 

 

Link to comment

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...