LogService supports dynamic scale-in. You can use the delete ln command of the LS-CTRL tool to delete a LogService node (LN) from a LogService cluster.
Procedure
Run the following command to delete an LN:
ls_ctrl -H <HOST_ADDRESS> delete ln <ln>
Here, <ln> is the ID or address (host:port) of the node to be deleted.
After the command is executed successfully, you can run the ls_ctrl show ln command to check whether the node is deleted.
ls_ctrl -H <HOST_ADDRESS> show ln
If the node no longer appears in the list, the node is successfully deleted.
Note
In the preceding command, HOST_ADDRESS is the HTTP address (including the port number) of any LogService node, for example, 127.0.0.1:8080. For more information about LS-CTRL commands, see LS-CTRL overview.
References
For more information about node-related O&M operations, see the following topics: