missing nodes in /etc/hosts
andreas
16 Posts
May 29, 2018, 1:56 pmQuote from andreas on May 29, 2018, 1:56 pmHi,
we have installed a PetaSAN 2.0.0 cluster with 3 management nodes, two memory nodes and two iSCSI nodes. After installing the iSCSI nodes, the diagrams did not work anymore. A brief troubleshooting has shown that in the /etc/ hosts files of each nodes the entry for localhost is missing and of the five nodes only three nodes are entered. Since the hosts file is automatically generated from consul, we do not know how to handle the problem.
Thanks for your great work and your help
Andreas
Hi,
we have installed a PetaSAN 2.0.0 cluster with 3 management nodes, two memory nodes and two iSCSI nodes. After installing the iSCSI nodes, the diagrams did not work anymore. A brief troubleshooting has shown that in the /etc/ hosts files of each nodes the entry for localhost is missing and of the five nodes only three nodes are entered. Since the hosts file is automatically generated from consul, we do not know how to handle the problem.
Thanks for your great work and your help
Andreas
admin
2,930 Posts
May 29, 2018, 2:18 pmQuote from admin on May 29, 2018, 2:18 pmCan you tell me which 2 nodes were missing from the /etc/hosts. we are trying to find why this could happen and hopefully handle such cases..did the 3rd node have any problems while deploying and was re-deployed , did it have any connection issues ?
To correct /etc/hosts
#stop consul file sync to this node
systemctl stop petasan-file-sync
#perform your changes to /etc/hosts
#sync changes to other nodes
/opt/petasan/scripts/util/sync_file.py /etc/hosts
#restart sync service
systemctl start petasan-file-sync
Can you tell me which 2 nodes were missing from the /etc/hosts. we are trying to find why this could happen and hopefully handle such cases..did the 3rd node have any problems while deploying and was re-deployed , did it have any connection issues ?
To correct /etc/hosts
#stop consul file sync to this node
systemctl stop petasan-file-sync
#perform your changes to /etc/hosts
#sync changes to other nodes
/opt/petasan/scripts/util/sync_file.py /etc/hosts
#restart sync service
systemctl start petasan-file-sync
Last edited on May 29, 2018, 2:18 pm by admin · #2
andreas
16 Posts
May 29, 2018, 4:27 pmQuote from andreas on May 29, 2018, 4:27 pmThanks for your help. It solves my problem. All hosts files are correct now.
We deploy the nodes in the following order.
3 management nodes
2 storage nodes
everything o.k.
2 iscsi nodes
the problem occurs.
All nodes are virtual machines. We had some re-deployments of the first storage node.
I try to simulate the problem and will come back.
Thanks for your help. It solves my problem. All hosts files are correct now.
We deploy the nodes in the following order.
3 management nodes
2 storage nodes
everything o.k.
2 iscsi nodes
the problem occurs.
All nodes are virtual machines. We had some re-deployments of the first storage node.
I try to simulate the problem and will come back.
andreas
16 Posts
June 3, 2018, 2:20 pmQuote from andreas on June 3, 2018, 2:20 pmHi, I was not able to reproduce the problem. I set up a new cluster in the same order and everything was o.k..
Thanks for your support
Andreas
Hi, I was not able to reproduce the problem. I set up a new cluster in the same order and everything was o.k..
Thanks for your support
Andreas
missing nodes in /etc/hosts
andreas
16 Posts
Quote from andreas on May 29, 2018, 1:56 pmHi,
we have installed a PetaSAN 2.0.0 cluster with 3 management nodes, two memory nodes and two iSCSI nodes. After installing the iSCSI nodes, the diagrams did not work anymore. A brief troubleshooting has shown that in the /etc/ hosts files of each nodes the entry for localhost is missing and of the five nodes only three nodes are entered. Since the hosts file is automatically generated from consul, we do not know how to handle the problem.
Thanks for your great work and your help
Andreas
Hi,
we have installed a PetaSAN 2.0.0 cluster with 3 management nodes, two memory nodes and two iSCSI nodes. After installing the iSCSI nodes, the diagrams did not work anymore. A brief troubleshooting has shown that in the /etc/ hosts files of each nodes the entry for localhost is missing and of the five nodes only three nodes are entered. Since the hosts file is automatically generated from consul, we do not know how to handle the problem.
Thanks for your great work and your help
Andreas
admin
2,930 Posts
Quote from admin on May 29, 2018, 2:18 pmCan you tell me which 2 nodes were missing from the /etc/hosts. we are trying to find why this could happen and hopefully handle such cases..did the 3rd node have any problems while deploying and was re-deployed , did it have any connection issues ?
To correct /etc/hosts
#stop consul file sync to this node
systemctl stop petasan-file-sync
#perform your changes to /etc/hosts
#sync changes to other nodes
/opt/petasan/scripts/util/sync_file.py /etc/hosts
#restart sync service
systemctl start petasan-file-sync
Can you tell me which 2 nodes were missing from the /etc/hosts. we are trying to find why this could happen and hopefully handle such cases..did the 3rd node have any problems while deploying and was re-deployed , did it have any connection issues ?
To correct /etc/hosts
#stop consul file sync to this node
systemctl stop petasan-file-sync
#perform your changes to /etc/hosts
#sync changes to other nodes
/opt/petasan/scripts/util/sync_file.py /etc/hosts
#restart sync service
systemctl start petasan-file-sync
andreas
16 Posts
Quote from andreas on May 29, 2018, 4:27 pmThanks for your help. It solves my problem. All hosts files are correct now.
We deploy the nodes in the following order.
3 management nodes
2 storage nodeseverything o.k.
2 iscsi nodes
the problem occurs.
All nodes are virtual machines. We had some re-deployments of the first storage node.
I try to simulate the problem and will come back.
Thanks for your help. It solves my problem. All hosts files are correct now.
We deploy the nodes in the following order.
3 management nodes
2 storage nodes
everything o.k.
2 iscsi nodes
the problem occurs.
All nodes are virtual machines. We had some re-deployments of the first storage node.
I try to simulate the problem and will come back.
andreas
16 Posts
Quote from andreas on June 3, 2018, 2:20 pmHi, I was not able to reproduce the problem. I set up a new cluster in the same order and everything was o.k..
Thanks for your support
Andreas
Hi, I was not able to reproduce the problem. I set up a new cluster in the same order and everything was o.k..
Thanks for your support
Andreas