internet-pi icon indicating copy to clipboard operation
internet-pi copied to clipboard

Can run multiple instances on the same network?

Open miguelmateojp opened this issue 3 years ago • 5 comments

I am just configuring three internet-pi before I move them to the final destination. On the second and third device, I always get this error:

fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Error connecting: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))"}

Rebooting and trying again does not solve the problem. Can we have multiple devices on the same network (for installation/configuration only)?

miguelmateojp avatar May 26 '22 02:05 miguelmateojp

My apologies for the delay! From what I have experimented with, you can absolutely run multiple instances (on multiple Pi's); The change you would need to do is updating the IP addresses for each instance you wanted to run.

In my use case, I have a redundant pair of Pi-Hole instances, but only one instance of Grafana (I'm not particularly worried about redundancy of the Grafana graphs/data compared to the ad-blocking). The only changes I did on the second host was a docker-compose down -v for the entire directory of internet-monitoring (Grafana, blackbox and prometheus). This in turn allows you to run a second instance of Pi-Hole and you can update your DNS entries to point to both (or even all three) instances.

802compute avatar Jun 03 '22 00:06 802compute

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar Sep 19 '22 23:09 stale[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

stale[bot] avatar Nov 01 '22 16:11 stale[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

stale[bot] avatar Dec 24 '22 01:12 stale[bot]

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] avatar Apr 15 '24 21:04 github-actions[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Jun 17 '24 21:06 github-actions[bot]