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

Hi Alex, thank you for taking your time answering my noob questions. Greatly appreciated.

1 Like

Hi Alex,
Thanks for this guide. We could create a pool using this guide. As of now we have set a basic pledge. We need to modify our pool using CNTools. What are the taxes for pool modification that includes changing the pledge, margin etc? Any guides for this?

The tax for pool modification should be ~0,2 ADA; like any other transactions…

1 Like

Hello Alexd. Interested in your tutorial, I started to follow it. I have got an error executing step 2 :
alain@relay1-node:~/git/cardano-node$ git fetch --tags --all
Fetching origin
alain@relay1-node:~/git/cardano-node$ git checkout 1.25.1
Note: switching to ‘1.25.1’.

You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 9a7331cc Bump version to 1.25.1 and update change logs
alain@relay1-node:~/git/cardano-node$ git pull origin master
From GitHub - input-output-hk/cardano-node: The core component that is used to participate in a Cardano decentralised blockchain.

  • branch master → FETCH_HEAD
    Removing nix/supervisord-cluster/initial-funds.nix
    Removing nix/supervisord-cluster/hfc/genesis.spec.json
    Removing nix/supervisord-cluster/hfc/default.nix
    Removing nix/supervisord-cluster/hfc/byron-params.json
    Removing nix/supervisord-cluster/hfc/base-env.nix
    Auto-merging cardano-node/cardano-node.cabal
    Auto-merging cardano-cli/cardano-cli.cabal
    Removing cardano-api/src/Cardano/Api/Typed.hs
    Removing cardano-api/src/Cardano/Api/TxSubmit.hs
    Removing cardano-api/src/Cardano/Api/Protocol.hs
    Removing cardano-api/src/Cardano/Api/LocalChainSync.hs
    Auto-merging cardano-api/cardano-api.cabal
    Auto-merging cabal.project
    CONFLICT (content): Merge conflict in cabal.project
    Automatic merge failed; fix conflicts and then commit the result.
    alain@relay1-node:~/git/cardano-node$ echo -e “package cardano-crypto-praos\n flags: -external-libsodium-vrf” > cabal.project.local
    alain@relay1-node:~/git/cardano-node$ $CNODE_HOME/scripts/cabal-build-all.sh -o
    Overwriting cabal.project.local with latest file from guild-repo (previous file, if any, will be saved as cabal.project.local.swp)…
    Running cabal update to ensure you’re on latest dependencies…
    cabal: Error parsing project file
    /home/alain/git/cardano-node/cabal.project:148:
    unrecognised field or section: “<<<<<<< HEAD”

Building…
cabal: Error parsing project file
/home/alain/git/cardano-node/cabal.project:148:
unrecognised field or section: “<<<<<<< HEAD”
Could u help me ? Thanks in advance .
Alain

try


merge --abort
git reset --hard origin/master
cd ~/git
sudo rm -r cardano-node
git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git fetch --tags --all
git checkout 1.25.1

sudo systemctl stop cnode

echo -e "package cardano-crypto-praos\n  flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh -o
2 Likes

Tried to start again the tuto with your suggestions, but many errors occured. How can I restart cleanly this installation ?
alain@relay1-node:~$ mkdir "HOME/tmp" alain@relay1-node:~ cd "HOME/tmp" alain@relay1-node:~/tmp curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
alain@relay1-node:~/tmp$ chmod 755 prereqs.sh
alain@relay1-node:~/tmp$ ./prereqs.sh
Using apt to prepare packages for “Ubuntu” system
Updating system packages…
Installing missing prerequisite packages, if any…
Creating Folder Structure …
Environment Variable already set up!
Downloading files…
alain@relay1-node:~/tmp$ . "{HOME}/.bashrc" alain@relay1-node:~/tmp merge --abort
merge: unknown option: --abort
merge: not enough arguments
merge aborted
alain@relay1-node:~/tmp$ git reset --hard origin/master
fatal: not a git repository (or any of the parent directories): .git
alain@relay1-node:~/tmp$ cd ~/git
alain@relay1-node:~/git$ git reset --hard origin/master
fatal: not a git repository (or any of the parent directories): .git
alain@relay1-node:~/git$ git clone GitHub - input-output-hk/cardano-node: The core component that is used to participate in a Cardano decentralised blockchain.
Cloning into ‘cardano-node’…
remote: Enumerating objects: 125, done.
remote: Counting objects: 100% (125/125), done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 43520 (delta 42), reused 80 (delta 26), pack-reused 43395
Receiving objects: 100% (43520/43520), 32.77 MiB | 5.53 MiB/s, done.
Resolving deltas: 100% (28638/28638), done.
alain@relay1-node:~/git$ git fetch --tags --all
fatal: not a git repository (or any of the parent directories): .git
alain@relay1-node:~/git$ git checkout 1.25.1
fatal: not a git repository (or any of the parent directories): .git
alain@relay1-node:~/git$ sudo systemctl stop cnode
Failed to stop cnode.service: Unit cnode.service not loaded.
alain@relay1-node:~/git$ cd cardano-node
alain@relay1-node:~/git/cardano-node$ git fetch --tags --all
Fetching origin
alain@relay1-node:~/git/cardano-node$ git checkout 1.25.1
Note: switching to ‘1.25.1’.

You are in ‘detached HEAD’ state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 9a7331cc Bump version to 1.25.1 and update change logs
alain@relay1-node:~/git/cardano-node$ sudo systemctl stop cnode
Failed to stop cnode.service: Unit cnode.service not loaded.
alain@relay1-node:~/git/cardano-node$

type

cd ~/git
cd cardano-node
merge --abort
git reset --hard origin/master
cd ..
sudo rm -r cardano-node
git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git fetch --tags --all
git checkout 1.25.1

sudo systemctl stop cnode

echo -e "package cardano-crypto-praos\n  flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh -o
1 Like

Wow…that’s impressive, all the best of luck to anyone brave enough to try this for the first time lol :wink::crossed_fingers:t2:

Im having the same trouble as @Alain when trying to build node from scratch.
I had made several nodes with no trouble two days ago …yet since then i keep getting the same errors and cant configure a node. (2 nights no sleep)
Could it be because of Marry hard fork?

I belive it’s the same issue as:

Hello Alexd1985,
Step 2 successfully executed thanks to you!

alain@relay1-node:~/git/cardano-node$ cardano-cli --version
cardano-cli 1.25.1 - linux-x86_64 - ghc-8.10
git rev 9a7331cce5e8bc0ea9c6bfa1c28773f4c5a7000f
alain@relay1-node:~/git/cardano-node$ cardano-node --version
cardano-node 1.25.1 - linux-x86_64 - ghc-8.10
git rev 9a7331cce5e8bc0ea9c6bfa1c28773f4c5a7000f

Have you by any chance identified my error (s) because I still have two nodes to install and I wouldn’t want to go wrong again ?!

Thanks again for your support. :innocent:

2 Likes

It happens usually if u already have 1.25.1 … ur node was clean before? Or aleady had 1.25.1

Cheers,

1 Like

No nodes before… I’m a complete newbie in Cardano.
Best regards. Alain :sweat:

Then, next time try without

git pull origin master

Have you looked at my Ansible role? I managed to fix most of these issues on there.

I too am working through the coincashew guide. I’m using an aws t3a.medium machine (2 cores, 4GB RAM)

I get stuck resolving dependencies on the command:
cabal configure -O0 -w ghc-8.10.2

Eventually i get a:
client_loop: send disconnect: Broken pipe

I figured out that it was ssh timing out and used the following guide to extend the ssh keep alive from the server: https://www.simplified.guide/ssh/disable-timeout

Did you ever complete your install? I may try this one… I’m giving it another try now.

Cheers

1 Like

Hello there,
Following the tuto at Step 4 (connect the node to each other) for 2 relays and 1 BP, I have implemented this topology on the BP :
{
“Producers”:
[
{
“addr”: “relays-new.cardano-mainnet.iohk.io”,
“port”: 3001,
“valency”: 2
},
{
“addr”: “144.xx.xx.21”,
“port”: 6000,
“valency”: 1
},
{
“addr”: “144.xx.xx.34”,
“port”: 6000,
“valency”: 1
}
]
}
The 3 nodes seems to communicate each other. What asks me question is that the BP sends to peers and to the relays, but doesn’t receive any Input, since 2 hours. I don’t see the relays IP (but they are in the “OUT”)… However the BP is accessible by Telnet from the 2 relays (no issue with the firewall) Is it normal ? Can I go on with the tuto ?
Thks for information…

The nodes should be synced ; also did u checked on relays if topologyupdater was modified properly (custom peers line)

Cheers,

Nodes are synced and “custom peers line” OK" (1.1.1.1:6000)

:)) 1.1.1.1:6000 was an example, replace 1.1.1.1 (and port in case u started BP with another port) with your Producer IP for both relays, and restart them

sudo systemctl restart cnode
after this operation you should see them on BP

PS: I added a comment in Procedure to avoid this confusion on future

Cheers,