I want to separate a portion of IPFS nodes from a private network to form a network

I previously built an IPFS network consisting of 10 servers and wanted to separate 5 of them to create a new IPFS private network. I also wanted to preserve the previous IPNS key list and IPFS ID data on these 5 servers. May I know how to proceed? I want to directly modify the swarm.key and restart the IPFS services of these 5 machines. Is this method feasible? Is there anything to pay attention to

lgtm, ipns isn’t based on on the swarm key.

I modified the swarm keys of these five servers to create a new private network. Can this IPNS key still function properly in the new network

if your dht is properly setup yes

Understood, Thank you.