How to set up a POOL in a few minutes - and register using CNTOOLS

image
Yeah it’s already here

nano ${HOME}/.bashrc

And show me the export line from the bottom

Delete the 3 last lines and save the file

. "${HOME}/.bashrc"

sudo systemctl restart cnode

journalctl -e -f -u cnode


This is what I see after following those directions

Ok … cd $CNODE_HOME/scripts

nano env

Uncomment the lines (delete #):

#CCLI="${HOME}/.cabal/bin/cardano-cli"

#CNODE_HOME="/opt/cardano/cnode"

save the file, restart cnode
sudo systemctl restart cnode
journalctl -e -f -u cnode


This is what I got

Perfect, check glive now

Oh goodness! Thank you very much! It started resyncing! Can you tell me more about why that solved it?

Before to use this guide u probably used another and the scripts were pointed to another path (using the default path)

When u uncomment the lines in env u forced the scripts to use the right path

Ooooh that does make sense. Thank you! I will apply this to the other nodes, and I think I know someone also experiencing this, I will inform them as well.

1 Like

@Alexd1985 - On Testnet, As per my leaderlog i was supposed to produce a block by now but not sure what happenned. Any idea ?

Checking for script updates…
~ CNCLI Leaderlog started ~
Running leaderlogs for epoch 157 and adding leader slots not already in DB
LEADER: slot[37534033] slotInEpoch[79633] at[2021-09-17T18:27:29+00:00]
Leaderlog calculation for epoch[157] completed and saved to blocklog DB
Leaderslots: 1 - Ideal slots for epoch based on active stake: 1.2 - Luck factor 83.33%

image
image

Type ./cncli.sh sync
./cncli.sh init
check again in glive

Wow ! You Rock Alex !

What was actually missing which got fixed by ./cncli.sh init ?

Checking for script updates…
Looking for blocks made by pool…
Successfully added/updated 1 blocks in blocklog DB!
Validating all blocks…
~ CNCLI Block Validation started ~

Validating epoch 157
CONFIRMED: Leader for slot ‘37534033’ and match found in CNCLI DB for this slot with pool’s VRF public key

image

Nope, the cncli is not updating automatically. U will need to sync manually… but if u have enough RAM u can make it to run automatically

Run again ./deploy-as-systemd.sh
Press N for topology Updater
Press N for pooltool (send slots and mytip)
Press Y for rest
Restart the node

Now everything will run automatically

I did these steps however I have a basic query. Are RAM requirements of Mainnet node hugely higher than Testnet Node. Reason I am asking is. Both my Testnet nodes (BP, Relay) are 8GB DO VPS and I checked the resources consumption across last 14 days and they are extremely low. So I am wondering what might be missing here ?

Screenshot of my BP node:

image
image

On mainnet for the moment u will need ~10G for each node

But what causes resources spike considering it is same software running at both places ? At least during the idle times (not slot leader for block production), Should not resource consumption match ?

thanks for the tip, I’ll look into importing one.

So I would need to have at least 500 ada in the rewards wallet before I can use it for the rewards wallet?
I’m getting the following when I try to setup a separate rewards wallet:
ERROR: no funds available in base address for wallet Rewards, needed to pay for registration fee

Nope, it’s saying that u want to register the stake address for the payment address and the registration cos (delegation cost) is 2 ADA + fees (2ADA u will receive back when u will unregister the stake address)

1 Like