Running Zookeeper as a Windows Service
This is optional.
The following steps apply when running Windchill Index Search in cloud mode.
1. Complete the installation and post-installation steps outlined in the following sections:
2. To run Zookeeper as a Windows service, use the Apache Commons Procrun daemon (prunsrv.exe). This is already packaged with the Zookeeper installation. Navigate to the following location:
<ZOOKEEPER_HOME>\bin
3. Execute install_zk_service.bat and verify that the “PTC_ZkServer” service is added to the Windows services list and that you are able to start the service.
4. Repeat steps 2 through 5 for every host where Zookeeper is installed.
To uninstall the service, execute uninstall_zk_service.bat.
|
When multiple Zookeeper nodes are installed on the same host, then provide the unique service name against the SERVICE_NAME variable in install_zk_service.bat, uninstall_zk_service.bat, and zkServerStop.bat for each node.
|