i have downloaded from snap shot…not sure if its going to the right place. what does it unpack into in db?
should i just rm -r db and mkdir db and re snapshot?
stop the node, and be sure the db downloaded is inside cardano-my-wallet folder… the original is in that path righ? actually the db can be downloaded where you wish but don’t forget to update the path for db inside the startup script
OK, sync seems to be ok.
I need to review what to uncomment in ENV file. there are a lot of options and filepaths. not sure which ones to leave alone or uncomment.
do EKG and PROm typically reside on BP server? or are people setting these up on a different server? eg set ekg/prom to static IP of BP?
cheers!
USESYSVARS=“N” # Whether to use environ>
CNODEBIN=“${HOME}/.local/bin/cardano-node” # Override automatic det>
CCLI=“${HOME}/.local/bin/cardano-cli” # Override automatic det>
CNCLI=“${HOME}/.local/bin/cncli” # Override automatic det>
CNODE_HOME=“/opt/cardano/cnode” # Override default CNODE>
CNODE_PORT=6000 # Set node port
CONFIG=“${NODE_HOME}/config.json” # Override automatic de>
SOCKET=“${NODE_HOME}/db/socket” # Override automatic de>
TOPOLOGY=“${NODE_HOME}/files/topology.json” # Override default topolo>
LOG_DIR=“${NODE_HOME}/logs” # Folder where your logs >
DB_DIR=“${NODE_HOME}/db” # Folder to store the car>
UPDATE_CHECK=“Y” # Check for updates to s>
TMP_DIR=“/tmp/cnode” # Folder to hold tempor>
USE_EKG=“Y” # Use EKG metrics from t>
#EKG_HOST=127.0.0.1 # Set node EKG host IP
#EKG_PORT=12789 # Override automatic de>
#PROM_HOST=127.0.0.1 # Set node Prometheus h>
#PROM_PORT=12798 # Override automatic de>
#EKG_TIMEOUT=3 # Maximum time in secon>
#CURL_TIMEOUT=10 # Maximum time in secon>
#BLOCKLOG_DIR=“${CNODE_HOME}/guild-db/blocklog” # Override default dire>
#BLOCKLOG_TZ=“UTC” # TimeZone to use when >
#SHELLEY_TRANS_EPOCH=208 # Override automatic de>
#TG_BOT_TOKEN=“” # Uncomment and set to >
#TG_CHAT_ID=“” # https://cardano-commu>
#TIMEOUT_LEDGER_STATE=300 # Timeout in seconds fo>
#IP_VERSION=4 # The IP version to use>
#ENABLE_KOIOS=Y # (Y|N) Enable KOIOS AP>
#KOIOS_API=“https://api.koios.rest/api/v0” # Koios API for blockc
for BP you must edit inside env only CNODE_PORT if it is different than the default one (6000) and pool name (to start as a BP);
for Relays you need to edit inside env only CNODE_PORT if it is different than the default one (6000)