This documentation supports the 20.08 (12.1) version of BMC Discovery.

To view an earlier version of the product, select the version from the Product version menu.

Reindexing the datastore

Occasionally you might be asked by Customer Support to reindex the datastore. For example, the index remembers every attribute name each node kind has ever had, and uses that to provide the list of attributes in the query builder. If you previously had a custom pattern that set a particular attribute name, but the pattern has been removed and there are no longer any nodes with that attribute, the attribute name will still appear in the query builder. A reindex rebuilds the list of attributes used in the node kind, and so removes them from the query builder.

If you do reindex, you must do it on all the cluster members, because each member separately maintains an index of the nodes stored on that member. 

To reindex the datastore

To cause a reindex, you create an empty marker file, and restart the services. As the tideway user, enter the following:

[tideway@appliance01 ~]$ touch /usr/tideway/var/.ds_reindex_request
[tideway@appliance01 ~]$ tw_service_control --restart
Was this page helpful? Yes No Submitting... Thank you

Comments