-
TheTim0Nat0rDoes anyone know how to format the script if I want SmartOS to recognize it to be a cloud-init netwerk config?
-
TheTim0Nat0rShould it be something like this: pastebin.com/W08q69CW
-
TheTim0Nat0rOr should I use other format or keyword?
-
neuroservehow would I implement dns lookups via consul in a native zone? consul dns would be consumable on 127.0.0.1:8600 - do I have to run consul as root in order to let it listen on port 53? or can I re-route dns queries to another port via firewall-rules?
-
bahamatWell, there's a few options.
-
bahamat1. Make it behave as a standard DNS server and listen on port 53. Hopefully all your other DNS requests work too.
-
bahamat2. An nss plugin, but you'd have to make that yourself since it doesn't already exist and AFAIK consul doesn't provide one (compiling this for the PI may be difficult as well)
-
bahamat3. Just use dig (or something similar) and query consul directly without making it a system resolver.
-
neuroserveactually I want to test matrix-synapse connecting to a postgres-patronic cluster - and it would be nice to use consul dns in order ot make matrix synapse always connect to the leader database
-
neuroservebut matrix doesn't like to start anyway: socket.gaierror: [Errno 8] node name or service name not known (although I've added the ip/name to /etc/hosts)
-
teutat3s-recHello and happy New Year everybody
-
teutat3s-recI'm trying to recover our headnode from a mayor outage in one of our Triton DCs
-
teutat3s-reclong story short: false fire alarm went off because of a broken sensor in AC system. Loud alarm noise (90dB) from the alarm before the gas tried to extinguish "the fire" damaged various spinning disks
-
teutat3s-recOffsite backups ftw
-
teutat3s-recI'm happy I got this far, but now binder seems to want some extra care
-
teutat3s-recMaybe it's not happy because it was running clustered before and the other two are not up yet?
-
teutat3s-recDon't know if I should just try to get those two CNs up or if a better way would be to "de-cluster" binder before proceeding?
-
teutat3s-recI'm not even sure if CNs will boot without a fully functioning headnode?
-
teutat3s-recin the binder zone, `echo stat | nc 127.0.01 2181; echo ""` shows: This Zookeeper instance is not currently serving requests
-
teutat3s-rec`ruok` in the same command answers `imok`
-
teutat3s-recUh oh, this sounds very similar smartdatacenter.topicbox.com/groups…f10ddd9d/datacenter-can-not-boot-up
-
teutat3s-recjust for some more background: all servers were shut down by a technician who panicked and tried to "save" the servers
-
teutat3s-recSo now I'd like to get everything up and running again after doing a backup (ZFS snapshots) restore on the headnode (which seems to have suffered disk damage)
-
teutat3s-recAll CNs are still down, will try to see if I can boot one via PXE and limb onwards