Migrate block producer node to new server

hey, what is the best way to migrate my block producer node (BP) from one machine to another?
Is the following procedure correct?

1/ install Cabal and GHC
2/ build node from source
3/ copy config files from old BP to new BP (producer keys like op/node.cert, vrf.skey and kes/hot.skey)
4/ stop old BP
5/ change topology and connect new BP to registered relay node
6/ start new BP

1 Like

The steps provided are the correct way, also u can stop the old producer after the new one work well

for a fast synchronization u can copy the DB folder from old producer to the new one

Cheers,

2 Likes

cool, thanks. but i thought i cannot run both BP in parallel?
Or is it ok as long as the relay nodes just connect against the primary BP?

It looks it will work… few pool operators are using this scenario (not recommended) but will be fine if u run both for few minutes

im in the process of migrating my BP just want to confirm where the pools files are stored.

usually in your in your cardano node directory such as

~/cardano-my-node

thanks, i got it synced and everything moved over but now the kes keys won’t show on gLiveView and it says the kes keys are expired in cntools, i rotate them and still nothing

this is because the BP not started as a core node.

What do u see on gLive… relay or core?
If u are using cntools setup don’t forget to uncomment and edit the line pool name from env file

Cheers,

thanks alex, so i did add the pool name to the env and it started working