Task Host Issues on Virtual Machine

Installation, PDM, standards, training, support, part numbering, rev schemes, etc.
User avatar
AlexB
Posts: 501
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 28
x 269
x 445

Task Host Issues on Virtual Machine

Unread post by AlexB »

I have started looking into using a virtual as a PDM task host to perform our file conversions to .pdf, etc. when we issue our Solidworks files with a revision. Now, this process works fine on a desktop PC that I've left connected to the network that is always on and logged in, but that's not an ideal long term solution. So, looking into a virtual machine hosted in an ESXi Vsphere environment is the direction we're looking in.

My question to anyone else that may have set this up is, have you gotten something like this to work for you? My issue right now is that I've installed Solidworks and PDM on a fresh machine and configured everything to get the system to run as the task host. Everything works fine and the converted file is created, but Solidworks will not let go of the SLDWORKS.exe process. The IT personnel can't figure out what's going from the machine side and I can't from the CAD side.

The specific issue is that I can open Solidworks and let it load. Then I close the software via the red 'x' or File -> Exit. From there, the process just hangs until I kill it via the task manager. I let it run overnight and it still needed to be killed the next morning. Needless to say, the task host isn't working because SW isn't closing. I'm reaching out to my VAR as well, but they just got gobbled up by GoEngineer so we'll see how long that takes...

help?
by Diaval » Wed Jan 11, 2023 4:24 am
AlexB wrote: Tue Jan 10, 2023 1:48 pm I have started looking into using a virtual as a PDM task host to perform our file conversions to .pdf, etc. when we issue our Solidworks files with a revision. Now, this process works fine on a desktop PC that I've left connected to the network that is always on and logged in, but that's not an ideal long term solution. So, looking into a virtual machine hosted in an ESXi Vsphere environment is the direction we're looking in.

My question to anyone else that may have set this up is, have you gotten something like this to work for you? My issue right now is that I've installed Solidworks and PDM on a fresh machine and configured everything to get the system to run as the task host. Everything works fine and the converted file is created, but Solidworks will not let go of the SLDWORKS.exe process. The IT personnel can't figure out what's going from the machine side and I can't from the CAD side.

The specific issue is that I can open Solidworks and let it load. Then I close the software via the red 'x' or File -> Exit. From there, the process just hangs until I kill it via the task manager. I let it run overnight and it still needed to be killed the next morning. Needless to say, the task host isn't working because SW isn't closing. I'm reaching out to my VAR as well, but they just got gobbled up by GoEngineer so we'll see how long that takes...

help?
The task host can be run on a VM without issues. For the problem you are seeing, you should check a few settings on the VM.

First check to see if 3D Hardware acceleration has been enabled for the VM. This should be turned on.

Second, check the version of the VMWare SVGA 3D driver that is installed on the client.
  • RMB on the start menu and go to Device Manager
  • Expand Display adapters, then RMB on the VMware SVGA 3D and go to Properties
  • Go to the Driver tab and note the driver version - If the driver version is 8.17.1.1 you need to update it to at least 8.17.2.14
Go to full post
User avatar
bnemec
Posts: 1944
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2548
x 1400

Re: Task Host Issues on Virtual Machine

Unread post by bnemec »

Is the VM a desktop or server image of windows? Asking in case the IT guy just installed server by default.

I assume you're running the "out of box" SW Task Add-in that comes with PDM Pro?

Kind of a long shot, but is the logged in user in the local admin group on the VM?


I'm kicking around the same thing as our archive and sql servers are both VMs on VSphere. The kicker is needing a user to log in on bootup. I've added vault location to startup folder on our task host so that starts up the PDM service and auto logs in once the user logs in. I've read there can be some security concerns of logging in a user automatically.
User avatar
Diaval
Posts: 87
Joined: Wed Mar 17, 2021 12:01 pm
Answers: 7
Location: Stockholm
x 50
x 110

Re: Task Host Issues on Virtual Machine

Unread post by Diaval »

AlexB wrote: Tue Jan 10, 2023 1:48 pm I have started looking into using a virtual as a PDM task host to perform our file conversions to .pdf, etc. when we issue our Solidworks files with a revision. Now, this process works fine on a desktop PC that I've left connected to the network that is always on and logged in, but that's not an ideal long term solution. So, looking into a virtual machine hosted in an ESXi Vsphere environment is the direction we're looking in.

My question to anyone else that may have set this up is, have you gotten something like this to work for you? My issue right now is that I've installed Solidworks and PDM on a fresh machine and configured everything to get the system to run as the task host. Everything works fine and the converted file is created, but Solidworks will not let go of the SLDWORKS.exe process. The IT personnel can't figure out what's going from the machine side and I can't from the CAD side.

The specific issue is that I can open Solidworks and let it load. Then I close the software via the red 'x' or File -> Exit. From there, the process just hangs until I kill it via the task manager. I let it run overnight and it still needed to be killed the next morning. Needless to say, the task host isn't working because SW isn't closing. I'm reaching out to my VAR as well, but they just got gobbled up by GoEngineer so we'll see how long that takes...

help?
The task host can be run on a VM without issues. For the problem you are seeing, you should check a few settings on the VM.

First check to see if 3D Hardware acceleration has been enabled for the VM. This should be turned on.

Second, check the version of the VMWare SVGA 3D driver that is installed on the client.
  • RMB on the start menu and go to Device Manager
  • Expand Display adapters, then RMB on the VMware SVGA 3D and go to Properties
  • Go to the Driver tab and note the driver version - If the driver version is 8.17.1.1 you need to update it to at least 8.17.2.14
-- To espouse elucidation we must eschew obfuscation
User avatar
AlexB
Posts: 501
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 28
x 269
x 445

Re: Task Host Issues on Virtual Machine

Unread post by AlexB »

bnemec wrote: Tue Jan 10, 2023 4:47 pm Is the VM a desktop or server image of windows? Asking in case the IT guy just installed server by default.
It is a freshly created desktop image.
bnemec wrote: Tue Jan 10, 2023 4:47 pm I assume you're running the "out of box" SW Task Add-in that comes with PDM Pro?
Yes, the default solidworks task convert add-in (SWTaskAdd-in)
bnemec wrote: Tue Jan 10, 2023 4:47 pm Kind of a long shot, but is the logged in user in the local admin group on the VM?
Yes, the account we're using has full admin permissions
Diaval wrote: Wed Jan 11, 2023 4:24 am The task host can be run on a VM without issues. For the problem you are seeing, you should check a few settings on the VM.

First check to see if 3D Hardware acceleration has been enabled for the VM. This should be turned on.

Second, check the version of the VMWare SVGA 3D driver that is installed on the client.
RMB on the start menu and go to Device Manager
Expand Display adapters, then RMB on the VMware SVGA 3D and go to Properties
Go to the Driver tab and note the driver version - If the driver version is 8.17.1.1 you need to update it to at least 8.17.2.14
The driver is 8.17.2.12 so I'll have them update that.

I'll definitely have them check the other setting as well. Thanks for the insight, I'll let you know if that helps at all
Ryan Dark
Posts: 3
Joined: Tue Mar 16, 2021 10:31 pm
Answers: 0
Location: Salt Lake City, UT
x 2
x 5
Contact:

Re: Task Host Issues on Virtual Machine

Unread post by Ryan Dark »

Did you hear back on this?
User avatar
AlexB
Posts: 501
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 28
x 269
x 445

Re: Task Host Issues on Virtual Machine

Unread post by AlexB »

Ryan Dark wrote: Thu Jan 12, 2023 5:40 pm Did you hear back on this?
Still waiting on IT to make the suggested changes, but the VAR suggested the same thing as Diaval.
User avatar
AlexB
Posts: 501
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 28
x 269
x 445

Re: Task Host Issues on Virtual Machine

Unread post by AlexB »

The suggestions from Diaval did solve my issue.
Post Reply