Configuring Publisher Queue and Worker Availability
In addition to simple job prioritization, you can also increase publishing throughput during off-peak hours by configuring publisher queue and worker availability. For example, after a major data migration or import.
Configuring Publish Queue Availability
To configure publisher queue availability follow the steps below:
1. Decide how many additional numbered publisher queues to make available for off-peak publishing and when.
2. Set the Available Times properties in the wvs.properties file, using the xconfmanager command. The properties have the following format:
publish.publishqueue.availabletimes.<queuename>=<availabletimes>
For example:
publish.publishqueue.availabletimes.PublisherQueue1=<availabletimes>
publish.publishqueue.availabletimes.PublisherQueue2=<availabletimes>
Refer to Setting Available Times below for the format of the Date and Time ranges to use.
3. Propagate the changes by executing the xconfmanager -p command.
4. Restart the Windchill Method Server.
Configuring Worker Availability
Control the availability of additional WVS workers to increase publishing throughput during off-peak hours. To configure the availability of the settings of the additional workers, follow the steps below:
1. Decide how many additional workers are to be made available for off-peak publishing and when they should be available.
2. Use a text editor to define relevant availabletime parameters for each additional worker definition added to the agent.ini. These parameters define the times and days of the week that each worker will be available.
Refer to Setting Available Times below for the format of the Date and Time ranges to use.
3. Save the agent.ini file.
4. In the Worker Agent Administration dialog box, click Reload. The new settings are applied.
Setting Available Times
The format of the string that sets the time and days is the same for the worker availabletime parameter in the agent.ini, as the Publisher Queue publish.publishqueue.availabletimes.<queuename> properties in the wvs.properties file:
<time1> , <time2> , <timeN>
Where each is defined as
<start-time>-<end-time> [- <day-of-week>]
The start and end times can be repeated, separated by a comma, as many times as needed. The time of day format applies to the local area where the Method Server is running, as defined by Java. For example, the USA would use AM/PM format, whereas the UK would use the 24–hour format. Each of the time of day specifications can also include a day of week qualification
An example of a UK day and time format for a worker in this case, would be:
availabletime=19:00-06:00, 05:00-20:00 - sat, 05:00-20:00 - sun
Where the worker is available each night from 19:00 to 06:00 the next morning, and on Saturday and Sunday are available from 05:00 to 20:00.
An example of USA format for the same times and days would be:
availabletime=7:00 pm-6:00 am, 5:00 am-8:00 pm - sat, 5:00 am-
8:00 pm - sun
If the format is incorrect, Method Server messages display.
War dies hilfreich?