特定管理 > 支援視覺化與發行 > 配置分散式檔案伺服器 Worker > 配置分散式檔案伺服器 Worker > 啟用分散式檔案伺服器 Worker 功能
  
啟用分散式檔案伺服器 Worker 功能
欲啟用「分散式檔案伺服器 Worker」功能,請利用下列其中一種方式對「主網站」進行內容變更:使用 xconfmanager 指令,或手動編輯 <Windchill>/site.xconf 檔案,然後以 xconfmanager -p 傳播檔案。
1. 設定下列項目的屬性值:
如果使用 xconfmanager 指令,請將值設定為:
xconfmanager -t <Windchill>/codebase/WEB-INF/conf/wvs.properties -s
"distributedcadagent.enabled=true"
如果手動編輯 site.xconf 檔案,請新增值:
<Property name="distributedcadagent.enabled" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="true"/>
2. 內容 usewcfileserverlookup=true 是用來在 publisher 的 publish.cadconvert 內容中指定 publisher 的引數。透過啟用此內容,publisher 會尋找正在發佈之內容的網站名稱,並將此資訊通知 Worker Agent。然後 Worker Agent 會讓針對此網站配置的 Worker 處理發佈工作。以下是如何為 PROE Publisher 設定此內容的範例︰
如果使用 xconfmanager 指令,請將值設定為:
xconfmanager -t <Windchill>/codebase/WEB-INF/conf/wvs.properties -s "publish.cadconvert.
PROE=com.ptc.wvs.server.publish.CadConvertPROE,useworkerdownload=$(wt.home)$
(wvs.dir.sep)auth.properties,usewcfileserverlookup=true"
如果手動編輯 site.xconf 檔案,請新增值:
<Property name="publish.cadconvert.PROE" overridable="true"
targetFile="codebase/WEB-INF/conf/wvs.properties"
value="com.ptc.wvs.server.publish.CadConvertPROE,useworkerdownload=$(wt.home)$
(wvs.dir.sep)auth.properties,usewcfileserverlookup=true"/>
3. 開啟 Windchill shell 並使用 xconfmanager 傳播內容變更。執行下列指令:
xconfmanager -p
4. 關機並重新啟動 servlet 引擎 (例如,Tomcat) 與 Windchill 應用伺服器。