第一范文网 - 专业文章范例文档资料分享平台

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

来源:用户分享 时间:2025/7/30 13:33:42 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

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文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c6hzin41p8t2wkqr4m2ha_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top