Forums
Home / Forums
Quote from Vishnu Bhaskar on April 9, 2024, 8:35 amI have a petasan cluster of 6 nodes
After adding my 6th node, /etc/hosts file keep on updating with only 6th node ip address entry rest nodes ip address is missing.
I have a petasan cluster of 6 nodes
After adding my 6th node, /etc/hosts file keep on updating with only 6th node ip address entry rest nodes ip address is missing.
Quote from admin on April 9, 2024, 9:26 am# on any node stop auto sync service
systemctl stop petasan-file-sync
# manual fix hosts file
nano /etc/hosts
# sync the hosts file to all nodes:
/opt/petasan/scripts/util/sync_file.py /etc/hosts
# restart the sync service on current node
systemctl start petasan-file-sync
# on any node stop auto sync service
systemctl stop petasan-file-sync
# manual fix hosts file
nano /etc/hosts
# sync the hosts file to all nodes:
/opt/petasan/scripts/util/sync_file.py /etc/hosts
# restart the sync service on current node
systemctl start petasan-file-sync