Hello,
I’m trying to configure my first stake pool using cntools and i want to configure a mononode with Producer and Relay.
I have a cloud instance machine with this configuration:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet MYPUBLICIP netmask 255.255.240.0 broadcast MYBROADCAST
…
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.110.0.2 netmask 255.255.240.0 broadcast 10.110.15.255
…
netstat -an | grep -i list
tcp 0 0 127.0.0.1:12788 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2517 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:12798 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN
tcp6 0 0 :::2517 :::* LISTEN
- I put in “env” file “CNODE_PORT=6001”
- I have to edit “topologyUpdater.sh” for relay:
CUSTOM_PEER = “producer ip:port|relays-new.cardano-mainnet.iohk.io:3001:2”
- what ip and port should i put in?
- I have to edit topology.json for Producer, so I put:
{
“Producers”: [
{
“addr”: “MYPUBLICIP”,
“port”: 6001,
“valency”: 1
},
- Is that right or better to use internal or 127.0.0.1 IP?
- I have to run ./deploy-as-systemd.sh that is configuring for me cnode.service
- should I put “YES” to topology updater? this is needed for relays and i want to run both in a single machine… should I make a difference between processes configuring 2 separate services? What do you think?
Thank you very much!!!