Removing members from a Liberty collective
You can use the collective utility remove command to remove a member server from a collective. The remove command unregisters the member server from the collective and removes member files that pertain to the collective. The remove command does not delete the member server or change the member server.xml file.
About this task
Administrators of a collective can add a server to the collective using the join command and, after the member server is no longer needed, remove the server from the collective using the remove command.
The remove command can remove a member server that does not exist. For example, the command can remove information about the member from the collective controller in the following situations:
- If the member is deleted accidentally or intentionally
- If deployment fails and the member is partially created or the member configuration contains errors, but the join command completed
Also, after the remove command runs, port values allocated by the member are released for reuse.
If the entire wlp/usr user directory on the member host was deleted, you might need to use a client such as JConsole to delete references to the member server from the collective.