Open jimthedj65 opened 3 years ago
Hi, I have done this before.
Assuming you run ZT and ztncui directly on the OS (not in the Docker):
1) Stop ZT controller and ztncui.
2) Move Copy data of ztncui (/opt/key-networks/ztncui/etc
) and ZT controler (/var/lib/zerotier-one
).
3) On the new machine, start ZT controller and ztncui.
4) Ensure they run well on the new machine.
5) On the old machine, ensure the ZT controller won't automatically start again.
(Or, delete /var/lib/zerotier-one
and reinstall ZT to make it have a new identity.)
Hi, I have done this before.
Assuming you run ZT and ztncui directly on the OS (not in the Docker):
- Stop ZT controller and ztncui.
- ~Move~ Copy data of ztncui (
/opt/key-networks/ztncui/etc
) and ZT controler (/var/lib/zerotier-one
).- On the new machine, start ZT controller and ztncui.
- Ensure they run well on the new machine.
- On the old machine, ensure the ZT controller won't automatically start again. (Or, delete
/var/lib/zerotier-one
and reinstall ZT to make it have a new identity.)
Hi Thwere many thanks, ZTNCUI is indeed on the OS directly. Thanks for the direction, it is very much appreciated. I think this should be on the ZTNCUI website as FAQ it is very helpful. I will let you know how the move goes.
I think a merge function would be really helpful for merging two controllers.....
@lideming I have a question if the new zero tier controller has a different public IP comparing to the old will it still work without issues after moving?
@lideming I have a question if the new zero tier controller has a different public IP comparing to the old will it still work without issues after moving?
Yes, it will work.
Controllers are not binding to IPs. They are just normal peers in ZeroTier VL1 perspective, so they can have changing public IP or even hehind NAT. Peers will find each other over ZeroTier roots (and your moons, if available).
@lideming thank you so much for the quick reply really appreciate it.
@lideming On the new machine I need to install zero tier and ztncui and then replace with the files copied from the old machine right?
@MANKUD Yes, and check your network is working before deleting data from the old machine.
Also ensure the old machine will never run the old ZeroTier controller and using the old id, or they will conflict with each other.
@lideming Noted I will try it and if any issues will report it here.
@lideming getting this error on the new machine followed the steps you mentioned exactly.
@lideming getting this error on the new machine followed the steps you mentioned exactly.
Server reboot seems to have fixed the issue. I am able to establish connections.
@lideming I am having a weird issue when I am trying to rename a member from the member name field it just logs me out and gets me back to the login page.. Very strange I did not have such issue on the old machine rest everything seems fine. Do you have any idea why it's happening and how to fix this as assigning names to the member is very important for me.
@lideming I am having a weird issue when I am trying to rename a member from the member name field it just logs me out and gets me back to the login page.. Very strange I did not have such issue on the old machine rest everything seems fine. Do you have any idea why it's happening and how to fix this as assigning names to the member is very important for me.
I fixed it by changing permissions.
Hi, I have done this before.
Assuming you run ZT and ztncui directly on the OS (not in the Docker):
- Stop ZT controller and ztncui.
- ~Move~ Copy data of ztncui (
/opt/key-networks/ztncui/etc
) and ZT controler (/var/lib/zerotier-one
).- On the new machine, start ZT controller and ztncui.
- Ensure they run well on the new machine.
- On the old machine, ensure the ZT controller won't automatically start again. (Or, delete
/var/lib/zerotier-one
and reinstall ZT to make it have a new identity.)
I am unable to restart ztncui after I copy all the directories mentioned. ( I am replacing both directories mentioned) is that how it is to be done or I am doing something wrong here?
Kindly help
Hi All,
I am looking to move my controller from one machine to another. what directories would I need to move to the new machine to continue.
Currently using latest version of ztncui with recent version of zerotier.
thanks for any guidance.