i have accumulated over the years a set of pretty extensive infra of my own in the scope of how to servers and services, i got this
@Clueless make the user you create in those a service user
@Clueless or i suppose for most `--system` is enough, oh well
`id -u snowblossom &>/dev/null || useradd --home-dir "$snowblossom_home" --create-home --system snowblossom`
yup, --system is a system user. :)
what i mean is put selinux and polkit rules in place, but those are off per default in ubuntu?
I'm unfamiliar with selinux, but it may be worth something exploring for me.
I just compartmentalize my applications and servers enough that selinux wouldn't really help me anywhere.
first steps would be to whitelist syscalls, resources, set up proper ACL, but i suppose enterprisey requirements are not for most
So I had installation scripts up pretty quickly, but for linux, they did things differently. So I was screwing with tuning them to work well with the deployment jars, and then again to do the build from source thing.
seems kinda stupid, but I made it pretty *global* $snowblossom_home/{node.sh, node.bat} is how you run ALL commands now.
@Clueless you might consider restarting your pool with the changes I made toda
today
it should make the miner reported rates a bit more stable
but not a huge deal
Sweet. I'm about to test floating ip switching on the pool.
So I wasn't at a keyboard so couldn't type before
I've two vms, snowday1, snowday2, and I can throw up more.
I think just a single vm is fine
you are going to get a lot of uptime with just that
and actually risk more downtime by making things complicated
if you needed more than 2.5 or 3 9s, sure, but you don't need that
but is fun to screw with things, so have fun
yeah, that's basically it
fair enough
i need to get to bed
is the pool miner client actually going to survive the pool just silently changing?
@Rotonen Well, I (maybe erroneously) assume that switching a floating ip to another machine would close all the TCP connections and cause all the miners to reset their current work So no, there's no smooth transition (yet)
dunno, can be either way, try first
and try with something trivial you wrote and netcat
@Fireduck this would look rather promising for distributing signed deployables: https://cachix.org/ disclaimer, i know domen personally (and thus trust him on that one as the service is fresh)
[snowblossomcoin/snowblossom] #86 Fastfail
@Tyler Boone please update wiki mining tuning page.
Fast fail in master, and check my notes for accuracy
I updated release notes and added to wiki sidebar for better visibility
I'll check them occasionally, especially with releases.
n34t
@Clueless so grpc will reconnect on tcp break
however, for a while the miner will assume its work unit is still valid and submit shares based on it
which will be rejected
after a while, that work unit gets stale, the miner will stop using it
and then the miner will detect that as a stall and reconnect/resubscribe
which will get it a new work unit that actually works with the pool
so it is a few minutes of downtime for the miner
it would be better to do the failover code properly in the miner and give multiple pool hosts
The miner could also try the resubscribe when the share is rejected instead of waiting for stale work.
That would be smart
Could also add a heart beat stream
I was noticing that after restarting the pool last night.