Set STOLONCTL environment variables
davissp14 opened this issue · comments
stolonctl
is an invaluable tool, but the commands are currently very tedious to construct. We can make this easier by setting the necessary STOLONCTL environment variables at provision time.
https://github.com/sorintlab/stolon/blob/master/doc/stolonctl.md
Quick and dirty way to get this working:
fly ssh console --app <app-name>
export $(cat /data/.env | xargs)
stolonctl status
Thank you for reporting this. Helped me figure out how to fix some issues with stolon!
Those could be set by default in the shell, or at the very least this needs to be documented.
It was only after I found this issue that I was able to force a failover.