- To remove a node from a cluster, stop the Spectrum Technology Platform server.
On Do this Linux Stop the Spectrum Technology Platform server using the ../server/bin/server.stop script. -
Stop the node you want to remove:
On Do this Linux On Linux, change the working directory to the Spectrum Technology Platform server's bin directory, source the setup file, then type the following command: ./server.stop
.Windows On Windows, right-click the Spectrum Technology Platform icon in the system tray and select Stop Spectrum. -
Open the file server/conf/spectrum-container.properties in
a text editor and set spectrum.cluster.enabled to
false
. - On each of the other nodes in the cluster, open the spectrum-container.properties file and remove the node from the spectrum.cluster.seeds property.
For Spatial users: If you want to keep the node standalone and able to run outside the cluster, copy back the original repository.xml file and remove the following folders from the /server/modules/spatial/jackrabbit directory for each instance of Spectrum Technology Platform: repository, version, workspaces. Restart the server and import the repository content.