Running a CATIA V5 File Sync Worker in a Shared License Environment
Although it is a best practice to configure a dedicated license server for CATIA publishing, it is possible to set up a CATIA file sync enabled worker to run in a shared license environment. Previously, running the worker in a shared license environment sometimes caused it to compete with users for an available CATIA license. If a license was unavailable to the worker to run a job, the following error would display which sometimes caused subsequent CATIA publishing jobs to fail.
To help minimize license issues, the following environment variables are available beginning with Theorem CATIA V5 CADverter 19.1
PVIEW_HELPER_STARTUP_SLEEP
Specifies a desired pause time (in seconds) before restarting the worker to re-publishing the same job when a license error is encountered on the worker machine.
The value must be an integer starting with zero. The default for CATIA is zero (0).
* 
This value is added to the standard worker pause of 30 seconds.
The value must not exceed the value of the worker long pause (the default is 3600).
PVIEW_HELPER_RESTART_COUNT
Specifies the desired quantity of worker restarts (number of attempts to re-publish the same job) when a license error occurs on a worker machine.
The value must be an integer starting with zero. Zero (0) indicates that the job should fail immediately without any restarts.
Setting Example
Result when a CATIA license is unavailable for a Publishing Job
PVIEW_HELPER_STARTUP_SLEEP=30
The worker process stops and a pause (30 seconds added to the standard 30 second pause) is triggered. After the 60 second pause, the worker attempts to secure a CATIA license and run the publishing job.
PVIEW_HELPER_RESTART_COUNT=2
If a license is still not available after the initial restart, the worker process stops again and another pause is triggered. After the pause, the worker restarts again and attempts to secure a license to run the publishing job. If a CATIA license is still unavailable, the publishing job fails.
Isto foi útil?