VCS 發佈需要的組態
您可以配置 Visualization Content Service (VCS) 以從資訊結構、發佈結構、產品階層系列與零件清單管理 Windchill Service Information ManagerWindchill Service Parts (SIM-SP) 的發佈工作。
會將 XML 配套或 UsingXSL 輸出發佈並儲存在共用的 Azure Blob 儲存中。您可以透過設定內容 sim.azure.storage.accountsim.azure.storage.container 來指定 Azure 儲存帳戶名稱與容器。請參閱下列部份來配置 Azure Blob 儲存以儲存配套輸出。
您可以透過使用安全性認證驗證或 MSI 驗證配置 Azure Blob 儲存,來儲存檔案。
使用安全性認證驗證配置的 Azure 儲存帳戶
當使用 blob 組態公用程式針對安全性認證驗證配置 Azure 儲存帳戶時,請提供加密形式的儲存帳戶名稱與金鑰。執行下列指令來呼叫 blob 組態公用程式。
Windchill com.ptc.windchill.objectstorage.azureblob.tools.BlobConfigurationTool configure -u [admin username] -p [admin password]
加密設定可讓 SIM-SP 尋找適當的儲存帳戶。blob 組態公用程式也會在 Azure Blob 容器上設定 Windchill 儲存庫資料儲存。
使用管理服務識別 (MSI) 驗證配置的 Azure 儲存帳戶
當使用 blob 組態公用程式將 Windchill 配置為使用 MSI 驗證時,不會擷取儲存帳戶名稱。欲識別發佈 SIM-SP 配套輸出的儲存帳戶,您必須使用 site.xconf 設定 sim.azure.storage.account。請參閱下列範例:
<Property name="sim.azure.storage.account"
overridable="true"
targetFile="codebase/wt.properties"
value="<azurestorageaccountname>"/>
配置 Azure Blob 儲存容器以儲存配套輸出
使用 site.xconf 將內容 sim.azure.storage.container 設定為 SIM-SP 容器。會將配套輸出儲存在於此內容中配置的容器中。請參閱下列範例:
<Property name="sim.azure.storage.container"
overridable="true"
targetFile="codebase/wt.properties"
value="<container-name>"/>
輸出配套位置
成功的發佈工作會以 ZIP 格式將配套輸出儲存在 Azure 儲存容器中的預先配置儲存位置。配套輸出的結構如下所示:
<Configured Storage Account>
<Configured Storage Container>
<structureName_StructureNumber>
<structureName_StructureNumber_jobId>
針對結構,所有配套都會在相同資料夾 <structureName_StructureNumber> 中發佈,並透過工作 id <structureName_StructureNumber_jobId> 辨別。然後,配套可供 Arbortext Content Delivery (ACD) 下載,且稍後可從 Azure Blob 儲存中刪除。配套會根據針對儲存容器定義的儲存原則保留在 Azure Blob 儲存中。
* 
除了 SIM-SP 的 VCS 組態以外,發佈 XML 或 UsingXSL 配套輸出也需要上述組態。針對 PDF 與 HTML 等其他輸出格式,除了 SIM-SP 的 VCS 組態之外,不需要其他組態。
這是否有幫助?