I will have to move the physical nodes on which I’m setting up my stake pool, so the IP addresses of my nodes will change.
now, sending the transaction for registering the pool also takes the IP address of the relay node; and updating the registration takes 2 epochs to be applied to my understanding.
does this mean that for 2 epochs my pool won’t be able to do anything?
If that’s the case is there a way to know my future Ip address before moving physically the nodes? (I suppose no but would be great if it was possible so that I could resend the registration 2 epochs before moving)
I thought of adding a cloud relay, but I would like to keep my pool fully decentralized.
It will not take 2 epochs… it will take 3 hours (4 topologyupdater run) then the node will be declared online and other nodes will start to connect you (can take up to 12 hours because the nodes must be restarted in order to connect you)… or if u have a pool operator friend u can ask to add your new relay IP as static and this way u will not need to wait 3 hours
How about, assign DNS to old IPs. Re-create certificate, then bring up new relays and change DNS record to point to new relays IPs and when you will see incoming connections to new relays, update you BP to connect to newly created DNS and you can switch off old relays. In this case there will be no downtime or close to 0 downtime. Additionally next time you will need to do something like this, it will be much easier with DNS records.
if I’ve understood you are suggesting to register the current Ip under a DNS, then when I moved the machine let the DNS point to the new Ip so that the certificate is still valid since the DNS is not changed but the IP is immediately update
if that’s the case could you kindly provide some documentation on how to assign a DNS to my IP?
Your block producer is not using pool.cert, what is created by that command. You need to submit pool.cert with deleg.cert to network, so cardano network will know that you have new IPs for relays.
In any case I would recommend you to spend some time on studying networking, maybe find some course on udemy or coursera, or maybe google will just be fine for you.
As a general rule, you shouldn’t register your pool’s relays with IP addresses directly. You can get a domain name (buy one or obtain one for for free with dynamic DNS services like https://ydns.io/) for your relays, then change the IP addresses as often as you want without having to re-register your pool.