Hello Cardano Pool Operators!
Today I want to give you few tips which helps new Pools Operators to identify if the node is working as a BP and ready to produce BLOCKS or as a Relay (1.23.0 version):
As you already know starting with version 1.23.0 the Liveview mode is not available anymore… but how can you identify that BP is working well?
!!! At this step your POOL should be already registered with success into the network and the KEYS/CERTIFICATES/etc were created in /cnode/priv/pool/your_folder_name folder !!!
You can check with gLiveView
/scripts$ ./gLiveView.sh
When your node runs as a BP you should see it like in below image:
As you can see here are provided some important informations like :
- Cardano Node - (Core - Mainnet) - tells you that your node runs as a BP
- Processed TX - tells you that the node is processing TX
- Peers - tells you with how many Relays your BP is connected (for more informations about peers press “p”)
- KES informations - tells you if the KEYS are still valid, the date when will gone expire
- BLOCKS - THE MOST IMPORTANT information - tells you that the node is ready to create BLOCKS
If you see all this informations on your node (./gliveview.sh) means the node is running as a BP !!!
BUT if on your BP will see like bellow screen, means the node not working as a BP and it will never produce BLOCKS:
as you can see:
- Cardano Node - (Relay - Mainnet) - tells you that the node is working as a Relay not as a BP
- no KES informations
- no BLOCKS informations
That means the node is not working as a BP but Relay instead !!!
This means there is an issue with KEYS/CERTIFICATES.
You can check with the following command to see if your BP is able to use KEYS/CERTIFICATES
- when your node runs as BP and is ready to create BLOCKS you should see the following output:
cnode/scripts$ curl localhost:12798/metrics | grep KES
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5096 0 50cardano_node_Forge_metrics_operationalCertificateStartKESPeriod_int 92
9cardano_node_Forge_metrics_operationalCertificateExpiryKESPeriod_int 154
6 cardano_node_Forge_metrics_currentKESPeriod_int 121
cardano_node_Forge_metrics_remainingKESPeriods_int 33
0 0 2488k 0 --:–:-- --:–:-- --:–:-- 2488k)
When your node not working like a BP but Relay instead you will see nothing:
curl localhost:12798/metrics | grep KES
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4769 0 4769 0 0 310k 0 --:–:-- --:–:-- --:–:-- 310k
Now that you identify that your node not works as a BP you must fix the issue!
the ./cnode.sh should be check to see if using the right path
- nano cnode.sh
most of the time the problem was that the default configuration was not changed:
-
default configuration
######################################User Variables - Change as desired
Common variables set in env file
######################################
#POOL_DIR="{CNODE_HOME}/priv/pool/TEST" # set pool dir to run node as a core node #TOPOLOGY="{CNODE_HOME}/files/topology.json" # override default topology.json path
-
change the TEST name with your folder name where KES/CERTIFICATES are kept (usually your node name) and make it active by deleting “#” from the beginning of the line:
######################################User Variables - Change as desired
Common variables set in env file
######################################
POOL_DIR="${CNODE_HOME}/priv/pool/your_folder_name" # set pool dir to run node as a core node
#TOPOLOGY="${CNODE_HOME}/files/topology.json" # override default topology.json path
-
save the file, restart the node and check again with gliveview.sh scripts
REMEMBER that you should see:
- Cardano Node - (Core - Mainnet)
- KES informations
- BLOCKS informations
I hope this will be useful for the new Pool Operators.
####################################################
Thank you and if you want to support us please delegate with
Charity Pool ticker: CHRTY
Earn rewards by helping others! Support children education!
Support decentralization!
####################################################