Windchill配置专有可视化队列并指定BgMehodServer

loading 分享 2026-8-12 下载文档

WindchillPDMLink 9.1 系统中如何为专有工作器创建专有队列并指定到单独的BackgroundMethodServer

一、以下步骤为在没有建立队列集过滤方法的情况下建立专有发布队列

1. 在site.xconf文件中添加以下内容

? 这会创建新队列集PROE,选定的队列集名称中应只包含ASCII大写字符A-Z,尽量保持简短以在发布监视器或WVS 作业监视器中显示全

? ? ?

如果多个队列集创建,以空格隔开,如PROE SOLIDWORKS

如果系统重启后队列没有自动创建,需增大wt.queue.max.processQueues的值

在队列管理中查看新队列集,4个新的队列被创建,分别是PublisherQueuePROEH, ~PROEM, ~PROEL and ~PROE1

? ? ?

为队列集创建多个队列,且已设置 wt.queue.removeCompleted=true,需要将各队列集设置为: wt.queue.removeCompleted.PublisherQueuePROE=TRUE wt.queue.removeCompleted.PublisherQueuePROE1=false wt.queue.removeCompleted.PublisherQueuePROE2=false

2. 在站点>实用程序>工作器代理管理中创建一个新的工作器

3. 手动在\\codebase\\agent.ini 对新工作器添加 \,对于已有的工作器可添加 \以使用默认的 队列集,举例如下:

[worker1] autostart=true autoidlestop=60

............................... remotepath=D:\\ptc\\worker shapetype=PROE username=

exe=D:\\pv\\workers\\proeworker.bat port=601 starttime=30 autobusystop=3600 queueset=DEFAULT

[worker2] autostart=true

autoidlestop=120 host=test1 password=

remotepath=c:\\ptc\\worker

exe=C:\\ptc\\worker\\proeworker.bat ................................ starttime=15 autobusystop=120 queueset=PROE

4. 映射发布队列集到工作器集中

?

为了让发布队列集能使用新定义的工作器,需要定义工作器CAD类型。在wvs.properties中添加工作器类型为PROE的队列集:publish.publishqueue.usesetworkers.forqueueset.PROE=PROE

? 如果在wvs.properties定义了过滤方法

publish.publishqueue.usesetworkers.filtermethod,则

publish.publishqueue.usesetworkers.forqueueset.可忽略

5. 队列集队列优先顺序定义

?

没有任何客制方法的情况下,使用OOTB 环境下wvs.properties中publish.publishqueue.sets..

? 如设置publish.publishqueue.sets.1.1=PROE ,意思为所有 \of CAD Data from an EPMDocument\类型的发布作业都会放在 PROE 这个队列集上处理

? 如有其他类型和来源的作业,需添加其余属性,如 publish.publishqueue.sets.1.2=PROE

wvs.properties中类似于publish.publishqueue.priorities.1.2 等属性定义了发布作业是放 在PROEH, PROEM 或者PROEL 中等待处理

二、指定到单独的BackgroundMethodServer

可以配置多个BackgroundMethodServer,并且每个BackgroundMethodServer执行不同的queue group

? 如何配置了一个名称为BackgroundMethodServer的BackgroundMethodServer:

xconfmanager -s wt.manager.monitor.services=\Xconfmanager -s wt.manager.monitor.start.BackgroundMethodServer=1 -t codebase/wt.properties Xconfmanager -s wt.queue.executeQueues=false -t codebase/wt.properties Xconfmanager -p

? wt.properties中没有设置wt.manager.cmd.MethodServer.debug.args选项

以下例子是如何为可视化再新增加配置一个名称为BackgroundWVS的 BackgroundMethodServer

1.配置一个新的名称为BackgroundWVS的 BackgroundMethodServer

xconfmanager -s wt.manager.cmd.BackgroundWVS=$(wt.manager.cmd.BackgroundMethodServer) -t codebase/wt.properties xconfmanager -s wt.manager.cmd.BackgroundWVSLauncher=$(wt.manager.cmd.BackgroundMethodServerLauncher) -t codebase/wt.properties

xconfmanager -s wt.manager.cmd.BackgroundWVS.singleton.enforce=true -t codebase/wt.properties xconfmanager -s wt.manager.cmd.BackgroundWVS.param.4=$(wt.method.bg.maxHeap) -t codebase/wt.properties xconfmanager -s wt.manager.cmd.BackgroundWVS.param.5=WVS -t codebase/wt.properties

xconfmanager -s wt.manager.monitor.services=\codebase/wt.properties

xconfmanager -s wt.manager.monitor.start.BackgroundWVS=1 -t codebase/wt.properties xconfmanager -p

2. 在Windchill 主页> 实用程序> 队列管理器中,将所有的可视化队列指定到名称为WVS的组

3. 在wvs.properties中设置选项wvs.queueGroup=WVS

这样指定到WVS组里的队列都会通过BackgroundWVS执行。


Windchill配置专有可视化队列并指定BgMehodServer.doc 将本文的Word文档下载到电脑
搜索更多关于: Windchill配置专有可视化队列并指定BgMehodSe 的文档
相关推荐
相关阅读