6. Launching the nodes

It's now time to finally launch our nodes!

6.1 We will be launching our nodes in a tmux session, so we can get the three nodes, inside one terminal window

6.11 To start a tmux session, execute the following command, it doesn't matter in which folder you are

tmux new

6.12 Now press ctrl + shift + b + % at the same time to open an additional window, inside your terminal window. Then, press ctrl + b + " Below is what it should look like

Depending on your keyboard, and your machine, the above commands may not work, more specifically the ctrl + shift + b + % one. If this is indeed the case, please try ctrl + b then %, or ctrl + b then shift + %.

To switch to the horizontally between panels inside tmux, press ctrl + b and then press the left or right arrow. To switch vertically between panels inside tmux, press ctrl + b and then press the up or down arrow. You can find a complete cheatsheet for tmux here.

6.13 Let's start the block-producing node in the first panel (to the left), with the following incredibly simple command

This is the name we gave to our shortcut command in the .bashrc file. If you gave it another name, you need to enter it instead of entering "bplaunch" of course.

bplaunch

6.14 Now let's switch to the second panel and launch our first relay node

relay1launch

6.15 Finally, switch to the last panel, and launch your second relay node

relay2launch

After a few minutes, you should start seeing the following.

Like you can see, my block-producing node is currently connected to my two other relay nodes, which is perfect. Additionally, you can track the "progress" of your nodes by looking at the block number, the slots, and finally the epochs. And like you can see on the picture above, my three nodes are perfectly synchronized with the blockchain!

It might take some time before your block-producing node is connected with your two other relay nodes. As long as you (sometimes) see your block-producing node connected to two peers, it's fine, because it means that everything works. However, if you have never see your block-producing node being connected to two peers, then you likely have a problem.

It's also worth noting that this may be caused by the fact that one of your nodes may not be fully synchronized with the blockchain, so make sure to also take a look at the value for "epoch / slot", as well as the block number.

If you want to take a look at the peers of your nodes, you can simply press "p" inside one of your three panels, and you will all the peers your node is connected to. To come back to the default dashboard, simply press "esc".

Questions? Ask them in our Telegram chat!