安裝與升級 > Windchill 安裝與組態 > 使用 PTC Solution Installer > 安裝 Windchill 解決方案 > 選用產品設定 > Windchill Index Search 安裝 > Windchill Index Search 安裝後組態 > 以 Windows 服務的方式執行 Zookeeper
  
以 Windows 服務的方式執行 Zookeeper
此為選用選項。
在雲端模式下執行 Windchill Index Search 時,下列步驟適用。
1. 完成以下章節中所述的安裝與後安裝步驟:
在雲端模式下安裝索引搜尋伺服器
在雲端模式下配置索引搜尋伺服器
2. 若要以 Windows 服務的方式執行 Zookeeper,請使用 Apache Commons Procrun 服務程式 (prunsrv.exe)。此服務程式已隨附於 Zookeeper 安裝。導覽至以下位置:
<ZOOKEEPER_HOME>\bin
3. 執行 install_zk_service.bat,並核對 "PTC_ZkServer" 服務是否已新增至 Windows 服務清單,以及您能否啟動該服務。
4. 針對安裝 Zookeeper 的每個主機,重複步驟 2 到 5。
若要解除安裝服務,請執行 uninstall_zk_service.bat
* 
當多個 Zookeeper 節點安裝在相同主機上時,請根據 install_zk_service.batuninstall_zk_service.batzkServerStop.bat 中的 SERVICE_NAME 變數,為每個節點提供唯一服務名稱。