Author:
- (TG): @iiLap
- Cardano Forum Author's Ticker: UNDR
Pool operators' (with constructive feedbacks, ideas) Tickers, so if you're saturated pls promote them:
- AAA,
- ANP,
#!/bin/bash | |
# | |
# Author: Michael Fazio (sandstone.io) | |
# | |
# This script monitors a Jormungandr node for "liveness" and executes a shutdown if the node is determined | |
# to be "stuck". A node is "stuck" if the time elapsed since last block exceeds the sync tolerance | |
# threshold. The script does NOT perform a restart on the Jormungandr node. Instead we rely on process | |
# managers such as systemd to perform restarts. | |
POLLING_INTERVAL_SECONDS=30 |
Author:
Pool operators' (with constructive feedbacks, ideas) Tickers, so if you're saturated pls promote them:
#!/bin/bash | |
#--------------------------------------------------------------------- | |
# File: setup_shelley_monitoring.sh | |
# Created: 2019/10/17 | |
# Creator: ilap | |
#===================================================================== | |
# DESCRIPTION: | |
# | |
# This script downloads and configures the required files | |
# for monitoring a Shelley node by using grafana/prometheus. |
Run make build
in the cockroach repo and copy the binary to ./bin/cockroach
(relative to wherever you have downloaded these scripts).
Run init.sh
once, then run start.sh 1
, start.sh 2
, and start.sh 3
in separate terminals. After that, run shell.sh
to start a SQL shell.
To wipe everything and start over, kill all the processes started by start.sh and delete the node*
directories.
def authors(cd) do | |
#Connect to the database. | |
conn = RethinkDB.connect([host: "10.0.0.30", port: 28015]) | |
q = case cd do | |
"create" -> table_create("authors") | |
"destroy" -> table_drop("authors") | |
end | |
|> run(conn) | |
defp table_action("create"), do: table_create("authors") | |
defp table_action("destroy"), do: table_drop("authors") | |
def authors(cd) do | |
#Connect to the database. | |
conn = RethinkDB.connect([host: "10.0.0.30", port: 28015]) | |
q = table_action(cd) |> run(conn) |