BP node IP addrss change, is it require to register again

it is xx.xx.xx.xx, 4 dots, how could it be wrong? in which script?

In ./relay_topologyupdater.sh, It is only one line as below, I replace IP with xxx

BLOCKPRODUCING_IP=x.x.x.x
BLOCKPRODUCING_PORT=6000
curl -s -o /home/ubuntu/cardano-my-node/mainnet-topology.json “https://api.clio.one/htopology/v1/fetch/?max=20&customPeers=${BLOCKPRODUCING_IP},${BLOCKPRODUCING_PORT},2|relays-new.cardano-mainnet.iohk.io,3001,2

When u run the script do u see that the topology file was modified?

type ls -l and check the date/clock

it does modified. because whenever I ran the relay_toplogoyupdater.sh, the toplogy.json got changed. the BP IP removed from the topology.json

Replace , with :

https://api.clio.one/htopology/v1/fetch/?max=20&customPeers=%24{BLOCKPRODUCING_IP},%24{BLOCKPRODUCING_PORT},2|relays-new.cardano-mainnet.iohk.io,3001,2

Check the script from coincashew… i see few differences

there was once it asked to change to “:” to “,”, I can’t find the instruction now. Where do you see the difference? do you mind to share the link?

Use

curl -s -o $NODE_HOME/${NODE_CONFIG}-topology.json “https://api.clio.one/htopology/v1/fetch/?max=20&customPeers=${BLOCKPRODUCING_IP}:${BLOCKPRODUCING_PORT}:1|relays-new.cardano-mainnet.iohk.io:3001:2

step 14

I am using the same one as you shared. There was once of the update from cardano node update from 1.25-1.27. It instruct to change colon to comma, that was why it is like that. The original is colon… I am trying to find the instruction…

Test it with : instead , and check if is ok

I know about , instead of :

I see. No wonder I couldn’t find it. However, I have to change all the scripts back, not sure which one got changed. Besides the relay_topologyupdater.sh, what other scripts should be changed back?

i will try to change the relaytopologyupdater first…

Nope

Only for this script

relay_topologyupdater.sh,
Do not change the topology updater

Test only with relay_topologyupdater.sh,

ok. will do.
Also I see the Processed TX on BP is 1871 on relay is 1771, they are not in sync, is this normal?

Is the uptime the same?

Uptime are different, should I reboot both?

Nope, that’s why tx processed are not match… because the uptime is different… it’s fine as long both are processing TX

After changing to colon, it still remove BP ip address in the mainnet-topology.json. Here is the current relay file :
curl -s -o /home/ubuntu/cardano-my-node/mainnet-topology.json “https://api.clio.one/htopology/v1/fetch/?max=20&customPeers=${BLOCKPRODUCING_IP}:${BLOCKPRODUCING_PO
RT}:2|relays-new.cardano-mainnet.iohk.io:3001:2”

should it be 1 or 2 after BLOCKPRODUCING_PORT: ?

Should be nothing… but I don’t think that is the problem

On relaynode1

cat > $NODE_HOME/relay-topology_pull-test.sh << EOF
#!/bin/bash
BLOCKPRODUCING_IP=192.168.1.1
BLOCKPRODUCING_PORT=6000

curl -s -o /home/ubuntu/cardano-my-node/mainnet-topology-test.json
https://api.clio.one/htopology/v1/fetch/?max=20&customPeers=\${BLOCKPRODUCING_IP}:\${BLOCKPRODUCING_PORT}:1|relays-new.cardano-mainnet.iohk.io:3001:2
EOF

chmod 755 relay-topology_pull-test.sh

Create this test script and run it. It should create a test topology file.. check inside the file if unsee the 192.168.1.1 IP

!!! Replace the character “ from the keyboard (the forum changes the format)

Hi @Alexd1985 ,
it works !!! I noticed you changed ${BLOCKPRODUCING_PORT}:1,
my original is 2. What is the difference between 1 and 2? what is that number mean?

Should not matter… is the valency port used only for dns registration servers (if u have more nodes under the same dns name… like IOHK nodes)