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

Thanks Alex.
It is still pretty slow, the topologyupdater is like this:

#CNODE_HOSTNAME=“Name Me”
CNODE_VALENCY=1
#MAX_PEERS=15
CUSTOM_PEERS=“relays-new.cardano-mainnet.iohk.io:3001

Every time I restart the cnode service the topology.json under files directory is adding several peers, should I change the topologyupdater to:
MAX_PEERS=1
CUSTOM_PEERS=“relays-new.cardano-mainnet.iohk.io:3001

to see if it will only get the IOhK relay?

It is still loading 17 other peers after the restart of the cnode service.

Alex
I think it worked:

│ Total / Unreachable : 2 / 0 Average RTT : 15 ms │
│- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - │
│ # : REMOTE PEER : RTT (ms) [1-2] │
│ 1 : 35.177.103.2:3001 : 0 │
│ 2 : 217.155.17.137:7011 : 30 │

it still adding 1 extra peer that I have asked on the topologyupdater the IOhK one you suggested but its going much faster mate.

Cheers
├───────────────────────────────────────────

1 Like

This is FANTASTIC!! Thanks Alex, you’re a blessing to our Cardano community!!!
-Jimmy CARMA pool

1 Like

U can add valency port 2 for iohk … and restart the node

CUSTOM_PEERS=“relays-new.cardano-mainnet.iohk.io:3001:2”

1 Like

Hey Robert,

I’ve used Alex’s tutorial here and found it the absolute BEST method to set up a pool! I’ve tried 3 other tutorials before finding this one.

THANKS ALEX!!

2 Likes

@Alexd1985 Sorry it took a while, but just to follow up I was able to create a Daedalus wallet, import that wallet to my producer, register that wallet, then re-register my pool for ~.2 ada and everything was updated correctly on adapools. Also, as a test I was able to restore that wallet on Daedalus on another PC as a test. The safety of having a wallet that can be restored is something catastrophic happens is good imo.

For the STEP2 updating that you mentioned, would you be so kind as to put together a short step by step guide on how to make sure to keep your producer and relay node updated? and perhaps any other good housekeeping/maintenance steps those of use running pools should follow after you are all set up? I’m sure it would be greatly appreciated by the community. I know I certainly would find value in it!

Thanks!

Check out our pool: [ARM] Tech Donations

Hello,

For updating the nodes you need to repeat STEP 2 with the desired version instead 1.25.1 u will use 1.25.4 for example

Great, does that need to be done on the producer and relay node?

On all nodes u will want to update… but when a new version is available for update usually all nodes should be updated…

Hi Alex, I am stucked after topology update, I see this on both nodes this, what can I do pls?
Looks like cardano-node is running with socket-path as /opt/cardano/cnode/sockets/node0.socket, but the actual socket file does not exist.

This could occur if the node hasnt completed startup or if a second instance of node startup was attempted!

what exactly you need to see?
ENV on my BP
#CCLI=“${HOME}/.cabal/bin/cardano-cli” # Override automatic detection>
#CNCLI=“${HOME}/.cargo/bin/cncli” # Override automatic detection>
#CNODE_HOME=“/opt/cardano/cnode” # Override default CNODE_HOME >
CNODE_PORT=6002 # Set node port
#CONFIG=“${CNODE_HOME}/files/config.json” # Override automatic detection>
#SOCKET=“${CNODE_HOME}/sockets/node0.socket” # Override automatic detection>
#TOPOLOGY=“${CNODE_HOME}/files/topology.json” # Override default topology.js>
#LOG_DIR=“${CNODE_HOME}/logs” # Folder where your logs will >
#DB_DIR=“${CNODE_HOME}/db” # Folder to store the cardano->
#TMP_DIR=“/tmp/cnode” # Folder to hold temporary fil>
#EKG_HOST=127.0.0.1 # Set node EKG host IP
#EKG_PORT=12788 # Override automatic detection>

Wait few minutes more…

And check again in glive…
If same message please try to copy paste again the bashrc command (last command from step 1)

Restart ur nodes, wait few minutes and check again in glive

sudo systemctl restart cnode
Cheers,

Now relay looks good, but BP still same issue :frowning:

Can u show me the topology file for BP?

{

“Producers” :

[

{

“addr” : “173.249.3.137” ,

“port” : 6000 ,

“valency” : 1

}

]

}

What port should be there? I put here CNODE_port from my relay node. Is that right?

It is correct the port but… delete the space after the IP address and after the node

U have “ , and it should be “, also for port , should be 6000,

Modify, save the file and restart the node

sudo systemctl restart cnode

Wait few minutes and check in glive

did not help :frowning:
Looks like cardano-node is running with socket-path as /opt/cardano/cnode/sockets/node0.socket, but the actual socket file does not exist.

Try

journalctl -e -f -u cnode.service

And sudo systemctl status cnode

cardano-node: FatalError {fatalErrorMessage = "Cardano.Node.Run.handleSimpleNode.readTopologyFile: Is your topology file formatted correctly? The port and valency fields should be numerical. Error in $: Failed reading: satisfy. Expecting object key at '\226.…