Created on
05-26-2025
02:24 AM
Edited on
05-26-2025
02:25 AM
By
Anthony_E
Description | This ARTICLE describes how to move all data in ClickHouse from one node to another node. |
Scope | FortiSIEM. |
Solution |
In ClickHouse FortiSIEM management, it may be required to move data from one node to another to remove data management on that node or before deleting the node from the cluster. The next steps are based on the Rebalancing Shards process, where ClickHouse Partitions are moved one by one, but embedded in the script to automate this data migration:
chmod +x /tmp/move_all_partitions.sh cd /tmp
Prepare the command with the source IP, the Shard number previously noted, and the destination IP.
nohup sh move_all_partitions.sh source_node_ip source_shard_number destination_node_ip | tee -a /tmp/move_result.txt &
tail -f /tmp/move_result.txt
This can take some time to transfer the amount of data.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.