next up previous contents
Next: On the correct usage Up: The DAGDA API Previous: Create data ID aliases   Contents

Data replication

After a data has been added to the DAGDA hierarchy, the users can choose to replicate it explicitely on one or several DIET nodes. With the current DAGDA version, we allow to choose the nodes where the data will be replicated by hostname or DAGDA component ID. In future developments, it will be possible to select the nodes differently. To maintain backward compatibility, the replication function uses a C-string to define the replication rule.
-
dagda_replicate_data(const char* id, const char* rule)
The replication rule is defined as follows:
``Pattern target:identification pattern:Capacity overflow behavior''

For example, ``host:capricorne-*.lyon.*:replace'' is a valid replication rule.


next up previous contents
Next: On the correct usage Up: The DAGDA API Previous: Create data ID aliases   Contents
The DIET Team - Ven 18 nov 2011 18:13:39 PST