Can I get a little more information on this or can you point me to the 
documentation?  I understand the freeze/copy/release part.  Not sure I 
understand the last part.  Are you saying copy the files to a completely 
different machine (ie. not clustered with the machines being copied from)? 
 Are the files copied into an existing database/new database?  What does 
the addCluster command do? Just pick up the new files?

Thanks in advance.

Rob


On Friday, July 26, 2013 5:33:55 AM UTC-5, Andrey Lomakin wrote:
>
> Hi all,
> We are introduced ability to import/export data on cluster level using 
> plocal storage.
>
> In order to do this we use following step of commands:
>
>    1. com.orientechnologies.orient.core.db.ODatabase#freezeCluster - 
>    flush cluster data on disk, and prohibits data changes.
>    2. Copy cluster files to other server location.
>    3. com.orientechnologies.orient.core.db.ODatabase#releaseCluster - to 
>    allow cluster modifications.
>    4. addCluster(String iType, String iClusterName, int iRequestedId - 
>    create cluster with the same name and cluster id (not supported in local 
>    storage).
>    
> We use this approach to move non-active partitions of data to cheap 
> servers, so maybe it will be useful for someone.
>
> There is reflection of mentioned before Java commands in console (FREEZE 
> CLUSTER, RELEASE CLUSTER, CREATE CLUSTER ID = ...)
>
>
> -- 
> With best regards,
> Andrey Lomakin
>
>
>  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to