Updating the Index Search Server
Perform the following steps to update the Index Search server in a standalone mode or in cloud mode. When installing Index Search in cloud mode, make sure all the Solr and Zookeeper nodes are installed and configured correctly.
1. Install the Index Search server using the PTC Solution Installer. Create few objects(parts or documents) at runtime and also perform bulk indexing. In order to retain the Windchill server-side properties, make sure the latest Index Search server is installed on the same machine but at a path or directory different from the location at which the previous version of Index Search server was installed.
2. Shut down the Windchill server and previous Index Search server.
3. Start the newly installed Index Search server.
4. Create Solr cores on the newly installed Index Search server in the same manner as the previous Index Search server. For more information, see create Solr cores.
5. Shut down the newly installed Index Search server.
6. Copy the index data from the previous Index Search server to the newly installed Index Search server to avoid re-indexing of the data. Optionally, skip copying data and perform a re-indexing of data.
For example: Copy index directory as mentioned in below examples. This needs to be done for all the available cores.
<Old_INDEX_SEARCH_HOME>/solr/data/wblib/index to <New_INDEX_SEARCH_HOME>/solr/data/wblib/index
If PartsLink is installed on the Windchill server then copy <Old_INDEX_SEARCH_HOME>/solr/data/clfstructurelib/index to <New_INDEX_SEARCH_HOME>/solr/data/clfstructurelib/index
For Index Search server installed in cloud mode, index data can be copied to one of the Solr nodes. The node that is copied, should be started first, to become the leader node. Other nodes get indexes replicated from the leader node.
7. Start the Windchill server and the newly installed Index Search server.
8. For minor version upgrades or CPS releases, re-indexing of data can be skipped, and old indexed data can be reused. For more details and recommendations on index data reusage, see Index data reusage. PTC recommends mandatory re-indexing for all major upgrade and update scenarios.
* 
Update the Windchill-side properties to configure the latest installed Index Search server if there are any changes on the Index Search Server side. For example: host name, port number, Solr Admin User and Solr Admin Password.
¿Fue esto útil?