Important: The procedure provided in this Appendix will delete ALL EKM workspaces and data from the EKM repository. DO NOT follow this procedure unless you intend to completely remove ALL stored data from your EKM server.
On each EKM cluster node, stop the EKM server.
On each EKM cluster node, delete all files and directories within
REPOSITORIES_HOME
except for the following:
cacheStore/
repository.xml.template
indexing_configuration.xml.template
On each EKM cluster node, delete all files and
directories within REPOSITORIES_HOME/cacheStore except for the following:
repository.xml
indexing_configuration.xml
Delete the contents of the shared EKM data directory[14].
On the EKM database server, delete and recreate the EKM database:
Connect to the EKM database server in console
mode by running the control script: EKMDB_ROOT/bin/mysql.(cmd|sh)
Delete and recreate the EKM database by issuing the following commands in the mysql console:
drop database ekm; create database ekm; exit
On each EKM cluster node, start the EKM server.
[14] 1 To determine the location of the
shared EKM data directory, look at the following file on one
of the EKM cluster nodes: REPOSITORIES_HOME/repository.xml.template
Find the DataStore element, and check
the value of the path attribute (shown in bold):
<DataStore class="com.ansys.ingress.core.model.persistence.EkmFileDataStore">
<param name="path" value="/server/share/ekm/datastore" />