Râu Cao raucao
  • Joined on 2018-11-24
raucao pushed to chore/move_wormhole at kosmos/chef 2021-01-05 17:04:51 +00:00
fe63f01f7b Move wormhole from barnard to nodejs-2
raucao pushed to chore/move_wormhole at kosmos/chef 2021-01-05 17:02:58 +00:00
raucao commented on issue kosmos/chef#271 2021-01-05 16:34:15 +00:00
ejabberd cluster node disconnects

Happened again today, so I wrote a quick Ruby script, and added a cron job that is logging the output to /root/cron.log for now:

cluster_nodes = `/opt/ejabberd-20.04/bin/ejabberdctl list_cluster`

node_names = cluster_nodes.gsub("'","").lines.map(&:chomp)

if node_names.include?("ejabberd@draco.kosmos.org")
  # Cluster nodes are connected, so we're good
else
  # For some reason, draco isn't connected anymore
  puts "#{DateTime.now.to_s} ejabberd@draco.kosmos.org not found in node list, re-connecting..."
  `/opt/ejabberd-20.04/bin/ejabberdctl join_cluster ejabberd@draco.kosmos.org`
end
raucao deleted branch feauture/lnd from kosmos/chef 2021-01-05 10:33:43 +00:00
raucao merged pull request kosmos/chef#274 2021-01-05 10:33:38 +00:00
Configure and run LND and RTL
raucao pushed to master at kosmos/chef 2021-01-05 10:33:38 +00:00
333a76f086 Merge pull request 'Configure and run LND and RTL' (#274) from feauture/lnd into master
9ab097dd9a Merge pull request 'Configure local LND as Lightning node in BTCPay Server' (#275) from feature/btcpay_lnd_settings into feauture/lnd
adfd76aa64 Configure local LND as Lightning node in BTCPay Server
2b765e744a Configure and run RTL
19e3dfa7b9 Remove obsolete non-standard RPC and REST ports
Compare 8 commits »
raucao deleted branch feature/btcpay_lnd_settings from kosmos/chef 2021-01-05 10:33:05 +00:00
raucao pushed to feauture/lnd at kosmos/chef 2021-01-05 10:33:01 +00:00
9ab097dd9a Merge pull request 'Configure local LND as Lightning node in BTCPay Server' (#275) from feature/btcpay_lnd_settings into feauture/lnd
adfd76aa64 Configure local LND as Lightning node in BTCPay Server
Compare 2 commits »
raucao merged pull request kosmos/chef#275 2021-01-05 10:33:01 +00:00
Configure local LND as Lightning node in BTCPay Server
raucao merged pull request kosmos/chef#277 2021-01-05 10:32:45 +00:00
Create new nodejs VM, move kredits-github to it
raucao pushed to master at kosmos/chef 2021-01-05 10:32:45 +00:00
876d857dde Merge pull request 'Create new nodejs VM, move kredits-github to it' (#277) from chore/nodejs-2 into master
ddded6fbae Create new nodejs VM, move kredits-github to it
Compare 2 commits »
raucao created pull request kosmos/chef#277 2021-01-05 10:31:45 +00:00
Create new nodejs VM, move kredits-github to it
raucao pushed to chore/nodejs-2 at kosmos/chef 2021-01-05 10:30:53 +00:00
ddded6fbae Create new nodejs VM, move kredits-github to it
raucao commented on issue kosmos/chef#259 2021-01-05 10:28:27 +00:00
Migrate services from barnard.kosmos.org to VMs

Created nodejs-2 with private IP 10.1.1.229 and deleted the broken VM. Then deployed kredits-github to it.

centaurus is running nginx on the host, so we cannot use HTTP/S forwarding with HAProxy, as we do on draco. It's possible to do this in Nginx nowadays (see here and here), but I didn't want to get into that right now, because we should discuss it first for that server, and we shouldn't do the exact same thing with 2 different programs IMO. So the traffic forwarding is done from draco to the VM on centaurus for now.

raucao commented on issue kosmos/chef#259 2021-01-04 16:31:13 +00:00
Migrate services from barnard.kosmos.org to VMs

Just apt-updated nodejs-1, tried to reboot and now it won't boot up anymore, taking up full CPU resources while trying to do so. I have shut it off for now. No idea what's going on, because there's no console output.

raucao created pull request kosmos/chef#276 2021-01-04 16:22:49 +00:00
WIP: Set up new Mastodon VM
raucao pushed to chore/move_mastodon at kosmos/chef 2021-01-04 16:22:33 +00:00
0e051ff1e4 WIP Set up new Mastodon VM
raucao commented on issue kosmos/chef#221 2021-01-04 16:19:49 +00:00
Migrate remaining services from andromeda.kosmos.org

I have prepared a fresh VM on centaurus for kosmos.social:

mastodon-1 10.1.1.156

raucao commented on pull request kosmos/chef#274 2021-01-02 09:03:50 +00:00
Configure and run LND and RTL

Opened #275 against this branch, so it can be merged here first.

raucao created pull request kosmos/chef#275 2021-01-02 09:03:02 +00:00
Configure local LND as Lightning node in BTCPay Server