archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
38 stars 38 forks source link

Migrate data from an appliance to another #86

Closed agaget closed 2 years ago

agaget commented 5 years ago

Hello, Is there a way to migrate some data from an appliance to another easily ? We would like to merge datas from differents appliance to a new one (better hardware, redundancy etc...) For now I have manually copied LTS datas of one PV from my old one to the new one. I have added the PV to the new appliance, and changed manually the creationTime JSON info in mysql, but data showed in the viewer or CSS are only datas archived since the creation of the PV in the new appliance. What did i miss ? It would be nice in "Integration" to have a tool to integrate pb file (or maybe there is something I haven't seen or understand) Thanks in advance Alexis

slacmshankar commented 2 years ago

If the appliance is part of the same clusted, you can use the "Change appliance"/reshardPV BPL to move the PV to another appliance in the same cluster. For a completely different appliance, a variation of what you did will work.

If you are migrating the appliance completely, this becomes much simpler

Whatever procedure you use, I'd test it out a couple of times first.

Closing this; please reopen ( or each out ) if you need more assistance.