Class ReshardPV
java.lang.Object
org.epics.archiverappliance.mgmt.bpl.ReshardPV
- All Implemented Interfaces:
BPLAction
Reshards the PV to another appliance. This is a complex BPL whose implementation uses functionality provided by existing BPL.
All of these steps are driven by the destination appliance. The sequence of steps are
- Make sure the PV is paused.
- Consolidate the data for the PV to the specified store in the src appliance using the
consolidate BPL. - Clone the source PV's
typeinfoand register under a new temporary name. - Assign the destination PV to the destination appliance (and as all steps are happening on the destination appliance, this is myself).
- Get all the events as an
eventstreamfor the source PV as getting data for the source PV between the source PV's typeInfocreationTimeand sometime into the future. - Append into store identified by the
storageparameter on the destination appliance (again, myself) - Delete the source PV along with it's data by calling the
delete BPL - Rename the dest PV by calling the
rename BPL
- Author:
- mshankar
Access using:
http://mgmt_url/bpl/reshardPV - This BPL reshards the PV to another appliance. This is a complex BPL that also moves data over to the other appliance. For more details on the sequence of steps, see the Javadoc for the BPL.identity element in the appliances.xml that identifies this appliance.