安裝與升級 > 更新現有 Windchill 安裝 > 更新現有安裝 > 更新後動作 > 針對 Windchill Index Search 與 Windchill PartsLink 的執行步驟
  
針對 Windchill Index Search 與 Windchill PartsLink 的執行步驟
* 
以下所述雖為升級程序,但執行更新時也可執行相同步驟。
如果您要從 Windchill 11.0 F000 更新,請參閱Windchill 11.0 F000 更新一節。
如果您要從 Windchill 11.0 M010+ 更新,請參閱Windchill 11.0 M010 及更新版本更新一節。
Windchill 11.0 F000 更新
如需安裝和配置 Windchill Index Search 伺服器和用戶端的資訊,請參閱安裝 Windchill Index SearchWindchill Index Search 安裝後組態
Windchill 更新時,您必須在 wt.properties中設定 Windchill Index Search 用戶端的下列內容︰
wt.index.enableIndexSearchHighAvailability
wt.index.solrHost (只有在獨立模式下安裝索引搜尋伺服器時才設定)
wt.index.solrPort (只有在獨立模式下安裝索引搜尋伺服器時才設定)
wt.index.zookeeperHosts (只有在高度可用性/雲端模式下使用索引搜尋時才設定)
wt.index.indexingLanguage
wt.index.indexingLanguageList
wt.index.solrEffectiveUid
wt.auth.trustedHosts
下列內容在 codebase/WEB-INF/conf/index.solrAuth.properties 中設定:
wt.index.solrAdminUser
wt.index.solrAdminPassword
如需這些內容的詳細資訊,請參閱 Windchill 搜尋內容
因為更新操作應該從 Windchill 移除 Solr web 應用程式,因此需要核對下列檔案是否已移除︰
Windows:
<Windchill>/Apache/app-Windchill-Solr.properties
<Windchill>/Apache/app-Windchill-Solr-AuthProvider.xml
<Windchill>/Apache/app-Windchill-Solr-AuthRes.xml
Unix:
<Windchill>/HTTPServer/app-Windchill-Solr.properties
<Windchill>/HTTPServer/app-Windchill-Solr-AuthProvider.xml
<Windchill>/HTTPServer/app-Windchill-Solr-AuthRes.xml
如果這些檔案仍然存在,請執行下列指令集從 Windchill 解除安裝 Solr web 應用程式:
1. 開啟 Windchill shell。
2. 導覽至下列其中一個位置:
Windows:
<Windchill>/Apache
Unix:
<Windchill>/HTTPServer
3. 執行下列指令︰
ant -f webAppConfig.xml uninstallWebApp -DappToUninstall=<Solr_WebApp_Name>
例如:
ant -f webAppConfig.xml uninstallWebApp -DappToUninstall=Windchill-Solr
您也應該核對是否已移除下列檔案︰
<Windchill>/tomcat/conf/Catalina/localhost/Windchill-Solr.xml
如果仍存在,請先備份再刪除它。
Windchill 11.0 M010 及更新版本更新
Windchill PSI 更新位於 Windchill 載入點以外安裝的能力有限。在後續更新操作中,您必須執行 Windchill Index Search 伺服器的更新安裝。如需安裝和配置 Windchill Index Search 伺服器和用戶端的資訊,請參閱安裝 Windchill Index SearchWindchill Index Search 安裝後組態
在此流程中,您將需要手動刪除或封存舊安裝。您也可以將任何組態從較早的安裝手動複製到新安裝。
* 
這適用於所有 Solr 伺服器安裝。例如,如果您使用 Solr 雲端組態 (Solr 叢集設定),則必須執行所有 Solr 與 Zookeeper 節點的更新安裝。