Update Galara Cluster (MariaDB 10.5) docker node authored by Emiliano Della Bina's avatar Emiliano Della Bina
...@@ -178,6 +178,11 @@ Previa registrazione nel sito SeveralNines (https://severalnines.com/product/clu ...@@ -178,6 +178,11 @@ Previa registrazione nel sito SeveralNines (https://severalnines.com/product/clu
``` ```
# generazione id_rsa e scambio chiavi con i nodi del cluster # generazione id_rsa e scambio chiavi con i nodi del cluster
ssh-keygen -q -N "" -t rsa -f /root/.ssh/id_rsa ssh-keygen -q -N "" -t rsa -f /root/.ssh/id_rsa
ssh-keygen -f "/root/.ssh/known_hosts" -R "[10.140.0.210]:2323"
ssh-keygen -f "/root/.ssh/known_hosts" -R "[10.140.0.212]:2323"
ssh-keygen -f "/root/.ssh/known_hosts" -R "[10.140.0.214]:2323"
ssh-copy-id -i /root/.ssh/id_rsa root@10.140.0.210 -p 2323 ssh-copy-id -i /root/.ssh/id_rsa root@10.140.0.210 -p 2323
ssh-copy-id -i /root/.ssh/id_rsa root@10.140.0.212 -p 2323 ssh-copy-id -i /root/.ssh/id_rsa root@10.140.0.212 -p 2323
ssh-copy-id -i /root/.ssh/id_rsa root@10.140.0.214 -p 2323 ssh-copy-id -i /root/.ssh/id_rsa root@10.140.0.214 -p 2323
... ...
......