Äcdocutils.nodes document q)Åq}q(U nametypesq}q(X���object replication policyqNX���summary of replication processqNX���replication overviewqNX���node replication policyq NX���replicationoverviewq àX���historyqàuUsubstitution_defsq}q Uparse_messagesq]qUcurrent_sourceqNU decorationqNUautofootnote_startqKUnameidsq}q(hUobject-replication-policyqhUsummary-of-replication-processqhUreplication-overviewqh Unode-replication-policyqh UreplicationoverviewqhUhistoryquUchildrenq]q(cdocutils.nodes target q)Åq}q(U rawsourceq X���.. _ReplicationOverview:Uparentq!hUsourceq"Xo���/var/lib/jenkins/jobs/API_Documentation_trunk/workspace/api-documentation/source/design/ReplicationOverview.txtq#Utagnameq$Utargetq%U attributesq&}q'(Uidsq(]Ubackrefsq)]Udupnamesq*]Uclassesq+]Unamesq,]Urefidq-huUlineq.KUdocumentq/hh]ubcdocutils.nodes section q0)Åq1}q2(h U�h!hh"h#Uexpect_referenced_by_nameq3}q4h hsh$Usectionq5h&}q6(h*]h+]h)]h(]q7(hheh,]q8(hh euh.Kh/hUexpect_referenced_by_idq9}q:hhsh]q;(cdocutils.nodes title q<)Åq=}q>(h X���Replication Overviewq?h!h1h"h#h$Utitleq@h&}qA(h*]h+]h)]h(]h,]uh.Kh/hh]qBcdocutils.nodes Text qCX���Replication OverviewqDÖÅqE}qF(h h?h!h=ubaubcsphinx.addnodes index qG)ÅqH}qI(h U�h!h1h"h#h$UindexqJh&}qK(h(]h)]h*]h+]h,]UentriesqL]qM((UsingleqNX���Use Case 09Uindex-0qOU�NtqP(hNX���UC09hOU�NtqQ(hNX���Replicate MNhOU�NtqR(hNX ���replicatehOU�NtqSeUinlineqTâuh.Kh/hh]ubh)ÅqU}qV(h U�h!h1h"h#h$h%h&}qW(h(]h)]h*]h+]h,]h-hOuh.Kh/hh]ubcdocutils.nodes definition_list qX)ÅqY}qZ(h U�h!h1h"h#h3}h$Udefinition_listq[h&}q\(h*]h+]h)]h(]q]hOah,]uh.Nh/hh9}q^hOhUsh]q_cdocutils.nodes definition_list_item q`)Åqa}qb(h X4���Revision History View document revision history_. h!hYh"h#h$Udefinition_list_itemqch&}qd(h*]h+]h)]h(]h,]uh.Kh]qe(cdocutils.nodes term qf)Åqg}qh(h X���Revision Historyqih!hah"h#h$Utermqjh&}qk(h*]h+]h)]h(]h,]uh.Kh]qlhCX���Revision HistoryqmÖÅqn}qo(h hih!hgubaubcdocutils.nodes definition qp)Åqq}qr(h U�h&}qs(h*]h+]h)]h(]h,]uh!hah]qtcdocutils.nodes paragraph qu)Åqv}qw(h X ���View document revision history_.h!hqh"h#h$U paragraphqxh&}qy(h*]h+]h)]h(]h,]uh.K h]qz(hCX���View document revision q{ÖÅq|}q}(h X���View document revision h!hvubcdocutils.nodes reference q~)Åq}qÄ(h X���history_UresolvedqÅKh!hvh$U referenceqÇh&}qÉ(UnameX���historyqÑUrefuriqÖXô���https://redmine.dataone.org/projects/d1/repository/changes/documents/Projects/cicore/architecture/api-documentation/source/design/ReplicationOverview.txtqÜh(]h)]h*]h+]h,]uh]qáhCX���historyqàÖÅqâ}qä(h U�h!hubaubhCX���.ÖÅqã}qå(h X���.h!hvubeubah$U definitionqçubeubaubhu)Åqé}qè(h XÚ��DataONE provides replication services to satisfy both data and metadata preservation needs and to provide the potential for fault-tolerance and load balancing services for data and metadata access. Tier 4 Member Nodes within the federation are set up to house replicas of content, and provide this service to other Member Nodes based on certain policy agreements. Replication is handled on a per-object basis within DataONE, with the RightsHolder and/or Authoritative Member Node controlling the ReplicationPolicy for each object, which determines whether it will be replicated. In addition, each Member Node decides whether it will accept replicas in general (by supporting the Tier 4 :class:`CNReplication` API and setting `replicate=true`), and can decide whether it will accept any given request to replicate an object. Coordinating Nodes monitor the :class:`Types.ReplicationPolicy` for each object in DataONE, and ensure that the appropriate :term:`replication target` nodes house an accurate replica of the object. Each replica of an object is recorded by the Coordinating Nodes, so when a consumer wishes to retrieve the object, they can use :func:`CNRead.resolve` to list the replicas and :func:`MNRead.get` to retrieve any of the replicas in the network.qêh!h1h"h#h$hxh&}që(h*]h+]h)]h(]h,]uh.K h/hh]qí(hCX∞��DataONE provides replication services to satisfy both data and metadata preservation needs and to provide the potential for fault-tolerance and load balancing services for data and metadata access. Tier 4 Member Nodes within the federation are set up to house replicas of content, and provide this service to other Member Nodes based on certain policy agreements. Replication is handled on a per-object basis within DataONE, with the RightsHolder and/or Authoritative Member Node controlling the ReplicationPolicy for each object, which determines whether it will be replicated. In addition, each Member Node decides whether it will accept replicas in general (by supporting the Tier 4 qìÖÅqî}qï(h X∞��DataONE provides replication services to satisfy both data and metadata preservation needs and to provide the potential for fault-tolerance and load balancing services for data and metadata access. Tier 4 Member Nodes within the federation are set up to house replicas of content, and provide this service to other Member Nodes based on certain policy agreements. Replication is handled on a per-object basis within DataONE, with the RightsHolder and/or Authoritative Member Node controlling the ReplicationPolicy for each object, which determines whether it will be replicated. In addition, each Member Node decides whether it will accept replicas in general (by supporting the Tier 4 h!héubcsphinx.addnodes pending_xref qñ)Åqó}qò(h X���:class:`CNReplication`qôh!héh"h#h$Upending_xrefqöh&}qõ(UreftypeX���classUrefwarnqúâU reftargetqùX ���CNReplicationU refdomainX���pyqûh(]h)]Urefexplicitâh*]h+]h,]UrefdocqüX���design/ReplicationOverviewq†Upy:classq°NU py:moduleq¢Nuh.K h]q£cdocutils.nodes literal q§)Åq•}q¶(h hôh&}qß(h*]h+]q®(Uxrefq©hûX���py-classq™eh)]h(]h,]uh!hóh]q´hCX ���CNReplicationq¨ÖÅq≠}qÆ(h U�h!h•ubah$UliteralqØubaubhCX��� API and setting q∞ÖÅq±}q≤(h X��� API and setting h!héubcdocutils.nodes title_reference q≥)Åq¥}qµ(h X���`replicate=true`h&}q∂(h*]h+]h)]h(]h,]uh!héh]q∑hCX���replicate=trueq∏ÖÅqπ}q∫(h U�h!h¥ubah$Utitle_referenceqªubhCXr���), and can decide whether it will accept any given request to replicate an object. Coordinating Nodes monitor the qºÖÅqΩ}qæ(h Xr���), and can decide whether it will accept any given request to replicate an object. Coordinating Nodes monitor the h!héubhñ)Åqø}q¿(h X ���:class:`Types.ReplicationPolicy`q¡h!héh"h#h$höh&}q¬(UreftypeX���classhúâhùX���Types.ReplicationPolicyU refdomainX���pyq√h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K h]qƒh§)Åq≈}q∆(h h¡h&}q«(h*]h+]q»(h©h√X���py-classq…eh)]h(]h,]uh!høh]q hCX���Types.ReplicationPolicyqÀÖÅqÃ}qÕ(h U�h!h≈ubah$hØubaubhCX=��� for each object in DataONE, and ensure that the appropriate qŒÖÅqœ}q–(h X=��� for each object in DataONE, and ensure that the appropriate h!héubhñ)Åq—}q“(h X���:term:`replication target`q”h!héh"h#h$höh&}q‘(UreftypeX���termhúàhùX���replication targetU refdomainX���stdq’h(]h)]Urefexplicitâh*]h+]h,]hüh†uh.K h]q÷cdocutils.nodes inline q◊)Åqÿ}qŸ(h h”h&}q⁄(h*]h+]q€(h©h’X���std-termq‹eh)]h(]h,]uh!h—h]q›hCX���replication targetqfiÖÅqfl}q‡(h U�h!hÿubah$hTubaubhCX∞��� nodes house an accurate replica of the object. Each replica of an object is recorded by the Coordinating Nodes, so when a consumer wishes to retrieve the object, they can use q·ÖÅq‚}q„(h X∞��� nodes house an accurate replica of the object. Each replica of an object is recorded by the Coordinating Nodes, so when a consumer wishes to retrieve the object, they can use h!héubhñ)Åq‰}qÂ(h X���:func:`CNRead.resolve`qÊh!héh"h#h$höh&}qÁ(UreftypeX���funchúâhùX���CNRead.resolveU refdomainX���pyqËh(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K h]qÈh§)ÅqÍ}qÎ(h hÊh&}qÏ(h*]h+]qÌ(h©hËX���py-funcqÓeh)]h(]h,]uh!h‰h]qÔhCX���CNRead.resolve()qÖÅqÒ}qÚ(h U�h!hÍubah$hØubaubhCX��� to list the replicas and qÛÖÅqÙ}qı(h X��� to list the replicas and h!héubhñ)Åqˆ}q˜(h X���:func:`MNRead.get`q¯h!héh"h#h$höh&}q˘(UreftypeX���funchúâhùX ���MNRead.getU refdomainX���pyq˙h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K h]q˚h§)Åq¸}q˝(h h¯h&}q˛(h*]h+]qˇ(h©h˙X���py-funcr���eh)]h(]h,]uh!hˆh]r��hCX���MNRead.get()r��ÖÅr��}r��(h U�h!h¸ubah$hØubaubhCX0��� to retrieve any of the replicas in the network.r��ÖÅr��}r��(h X0��� to retrieve any of the replicas in the network.h!héubeubh0)År��}r ��(h U�h!h1h"h#h$h5h&}r ��(h*]h+]h)]h(]r��hah,]r��hauh.Kh/hh]r ��(h<)År��}r��(h X���Summary of Replication processr��h!j��h"h#h$h@h&}r��(h*]h+]h)]h(]h,]uh.Kh/hh]r��hCX���Summary of Replication processr��ÖÅr��}r��(h j��h!j��ubaubhu)År��}r��(h XÓ��To fulfill the :class:`Types.ReplicationPolicy` for each object, the CN schedules each object to be replicated with one of the Tier 4 MNs that are willing to host replicas. Replication is an asynchronous, multi-step process, in order to allow for non-blocking replication of objects that would take more than a few seconds to copy over the network. The process originates with 1) the CN calling :func:`MNReplication.replicate` on the target MN, which is a request for the MN to replicate a particular object. The MN responds with a HTTP 200 if it is willing and able to attempt the replication and house the object, and the CN marks the replica request as REQUESTED. See :class:`Types.ReplicationStatus` for the definition of the status values. Then, 2) the target MN calls the source :func:`MNRead.getReplica` to request the bytes of the object, and if they are transferred correctly, then 3) calls :func:`CNReplication.setReplicationStatus` to indicate that the request has been COMPLETED, or if it FAILED. At this point the replication is finished. If the replication fails, the CN then requests that it be replicated elsewhere. If it succeeds, the CN will check in periodically with the MN to verify the checksum of the object held to confirm validity.r��h!j��h"h#h$hxh&}r��(h*]h+]h)]h(]h,]uh.Kh/hh]r��(hCX���To fulfill the r��ÖÅr��}r��(h X���To fulfill the h!j��ubhñ)År��}r��(h X ���:class:`Types.ReplicationPolicy`r ��h!j��h"h#h$höh&}r!��(UreftypeX���classhúâhùX���Types.ReplicationPolicyU refdomainX���pyr"��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.Kh]r#��h§)År$��}r%��(h j ��h&}r&��(h*]h+]r'��(h©j"��X���py-classr(��eh)]h(]h,]uh!j��h]r)��hCX���Types.ReplicationPolicyr*��ÖÅr+��}r,��(h U�h!j$��ubah$hØubaubhCX^�� for each object, the CN schedules each object to be replicated with one of the Tier 4 MNs that are willing to host replicas. Replication is an asynchronous, multi-step process, in order to allow for non-blocking replication of objects that would take more than a few seconds to copy over the network. The process originates with 1) the CN calling r-��ÖÅr.��}r/��(h X^�� for each object, the CN schedules each object to be replicated with one of the Tier 4 MNs that are willing to host replicas. Replication is an asynchronous, multi-step process, in order to allow for non-blocking replication of objects that would take more than a few seconds to copy over the network. The process originates with 1) the CN calling h!j��ubhñ)År0��}r1��(h X���:func:`MNReplication.replicate`r2��h!j��h"h#h$höh&}r3��(UreftypeX���funchúâhùX���MNReplication.replicateU refdomainX���pyr4��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.Kh]r5��h§)År6��}r7��(h j2��h&}r8��(h*]h+]r9��(h©j4��X���py-funcr:��eh)]h(]h,]uh!j0��h]r;��hCX���MNReplication.replicate()r<��ÖÅr=��}r>��(h U�h!j6��ubah$hØubaubhCXˆ��� on the target MN, which is a request for the MN to replicate a particular object. The MN responds with a HTTP 200 if it is willing and able to attempt the replication and house the object, and the CN marks the replica request as REQUESTED. See r?��ÖÅr@��}rA��(h Xˆ��� on the target MN, which is a request for the MN to replicate a particular object. The MN responds with a HTTP 200 if it is willing and able to attempt the replication and house the object, and the CN marks the replica request as REQUESTED. See h!j��ubhñ)ÅrB��}rC��(h X ���:class:`Types.ReplicationStatus`rD��h!j��h"h#h$höh&}rE��(UreftypeX���classhúâhùX���Types.ReplicationStatusU refdomainX���pyrF��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.Kh]rG��h§)ÅrH��}rI��(h jD��h&}rJ��(h*]h+]rK��(h©jF��X���py-classrL��eh)]h(]h,]uh!jB��h]rM��hCX���Types.ReplicationStatusrN��ÖÅrO��}rP��(h U�h!jH��ubah$hØubaubhCXR��� for the definition of the status values. Then, 2) the target MN calls the source rQ��ÖÅrR��}rS��(h XR��� for the definition of the status values. Then, 2) the target MN calls the source h!j��ubhñ)ÅrT��}rU��(h X���:func:`MNRead.getReplica`rV��h!j��h"h#h$höh&}rW��(UreftypeX���funchúâhùX���MNRead.getReplicaU refdomainX���pyrX��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.Kh]rY��h§)ÅrZ��}r[��(h jV��h&}r\��(h*]h+]r]��(h©jX��X���py-funcr^��eh)]h(]h,]uh!jT��h]r_��hCX���MNRead.getReplica()r`��ÖÅra��}rb��(h U�h!jZ��ubah$hØubaubhCXZ��� to request the bytes of the object, and if they are transferred correctly, then 3) calls rc��ÖÅrd��}re��(h XZ��� to request the bytes of the object, and if they are transferred correctly, then 3) calls h!j��ubhñ)Årf��}rg��(h X*���:func:`CNReplication.setReplicationStatus`rh��h!j��h"h#h$höh&}ri��(UreftypeX���funchúâhùX"���CNReplication.setReplicationStatusU refdomainX���pyrj��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.Kh]rk��h§)Årl��}rm��(h jh��h&}rn��(h*]h+]ro��(h©jj��X���py-funcrp��eh)]h(]h,]uh!jf��h]rq��hCX$���CNReplication.setReplicationStatus()rr��ÖÅrs��}rt��(h U�h!jl��ubah$hØubaubhCX=�� to indicate that the request has been COMPLETED, or if it FAILED. At this point the replication is finished. If the replication fails, the CN then requests that it be replicated elsewhere. If it succeeds, the CN will check in periodically with the MN to verify the checksum of the object held to confirm validity.ru��ÖÅrv��}rw��(h X=�� to indicate that the request has been COMPLETED, or if it FAILED. At this point the replication is finished. If the replication fails, the CN then requests that it be replicated elsewhere. If it succeeds, the CN will check in periodically with the MN to verify the checksum of the object held to confirm validity.h!j��ubeubeubh0)Årx��}ry��(h U�h!h1h"h#h$h5h&}rz��(h*]h+]h)]h(]r{��hah,]r|��hauh.Kh/hh]r}��(h<)År~��}r��(h X���Object Replication PolicyrÄ��h!jx��h"h#h$h@h&}rÅ��(h*]h+]h)]h(]h,]uh.Kh/hh]rÇ��hCX���Object Replication PolicyrÉ��ÖÅrÑ��}rÖ��(h jÄ��h!j~��ubaubhu)ÅrÜ��}rá��(h X���The :class:`Types.ReplicationPolicy` for an object defines if replication should be attempted for this object, and if so, how many replicas should be maintained. It also permits specification of preferred and blocked nodes as potential replication targets.rà��h!jx��h"h#h$hxh&}râ��(h*]h+]h)]h(]h,]uh.Kh/hh]rä��(hCX���The rã��ÖÅrå��}rç��(h X���The h!jÜ��ubhñ)Åré��}rè��(h X ���:class:`Types.ReplicationPolicy`rê��h!jÜ��h"h#h$höh&}rë��(UreftypeX���classhúâhùX���Types.ReplicationPolicyU refdomainX���pyrí��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.Kh]rì��h§)Årî��}rï��(h jê��h&}rñ��(h*]h+]ró��(h©jí��X���py-classrò��eh)]h(]h,]uh!jé��h]rô��hCX���Types.ReplicationPolicyrö��ÖÅrõ��}rú��(h U�h!jî��ubah$hØubaubhCX‹��� for an object defines if replication should be attempted for this object, and if so, how many replicas should be maintained. It also permits specification of preferred and blocked nodes as potential replication targets.rù��ÖÅrû��}rü��(h X‹��� for an object defines if replication should be attempted for this object, and if so, how many replicas should be maintained. It also permits specification of preferred and blocked nodes as potential replication targets.h!jÜ��ubeubhu)År†��}r°��(h X��If a ReplicationPolicy is provided in the :term:`System Metadata` for an object, then that policy is followed precisely by the Coordinating Nodes when managing replication. In the absence of a defined ReplicationPolicy for an object, DataONE will by default attempt to maintain two replicas for the object, as long as the object's size is below a threshold size that would allow transfer over networks in reasonable time periods. As network transfer capabilities improve among DataONE nodes, this threshold size will be increased.r¢��h!jx��h"h#h$hxh&}r£��(h*]h+]h)]h(]h,]uh.Kh/hh]r§��(hCX*���If a ReplicationPolicy is provided in the r•��ÖÅr¶��}rß��(h X*���If a ReplicationPolicy is provided in the h!j†��ubhñ)År®��}r©��(h X���:term:`System Metadata`r™��h!j†��h"h#h$höh&}r´��(UreftypeX���termhúàhùX���system metadataU refdomainX���stdr¨��h(]h)]Urefexplicitâh*]h+]h,]hüh†uh.Kh]r≠��h◊)ÅrÆ��}rØ��(h j™��h&}r∞��(h*]h+]r±��(h©j¨��X���std-termr≤��eh)]h(]h,]uh!j®��h]r≥��hCX���System Metadatar¥��ÖÅrµ��}r∂��(h U�h!jÆ��ubah$hTubaubhCX“�� for an object, then that policy is followed precisely by the Coordinating Nodes when managing replication. In the absence of a defined ReplicationPolicy for an object, DataONE will by default attempt to maintain two replicas for the object, as long as the object's size is below a threshold size that would allow transfer over networks in reasonable time periods. As network transfer capabilities improve among DataONE nodes, this threshold size will be increased.r∑��ÖÅr∏��}rπ��(h X“�� for an object, then that policy is followed precisely by the Coordinating Nodes when managing replication. In the absence of a defined ReplicationPolicy for an object, DataONE will by default attempt to maintain two replicas for the object, as long as the object's size is below a threshold size that would allow transfer over networks in reasonable time periods. As network transfer capabilities improve among DataONE nodes, this threshold size will be increased.h!j†��ubeubcdocutils.nodes literal_block r∫��)Årª��}rº��(h X��<replicationPolicy replicationAllowed="true" numberReplicas="2"> <preferredMemberNode>urn:node:KNB</preferredMemberNode> <preferredMemberNode>urn:node:PISCO</preferredMemberNode> <blockedMemberNode>urn:node:SOMEBADNODE</blockedMemberNode> </replicationPolicy>h!jx��h"h#h$U literal_blockrΩ��h&}ræ��(Ulinenosrø��âUlanguager¿��X���xmlU xml:spacer¡��Upreserver¬��h(]h)]h*]Uhighlight_argsr√��}h+]h,]uh.Kh/hh]rƒ��hCX��<replicationPolicy replicationAllowed="true" numberReplicas="2"> <preferredMemberNode>urn:node:KNB</preferredMemberNode> <preferredMemberNode>urn:node:PISCO</preferredMemberNode> <blockedMemberNode>urn:node:SOMEBADNODE</blockedMemberNode> </replicationPolicy>r≈��ÖÅr∆��}r«��(h U�h!jª��ubaubeubh0)År»��}r…��(h U�h!h1h"h#h$h5h&}r ��(h*]h+]h)]h(]rÀ��hah,]rÃ��h auh.K"h/hh]rÕ��(h<)ÅrŒ��}rœ��(h X���Node Replication Policyr–��h!j»��h"h#h$h@h&}r—��(h*]h+]h)]h(]h,]uh.K"h/hh]r“��hCX���Node Replication Policyr”��ÖÅr‘��}r’��(h j–��h!jŒ��ubaubhu)År÷��}r◊��(h XS��Nodes that wish to serve as a replication target and thereby are available to store replicas of data from around the network set :attr:`Types.Node.replicate` to 'true' in their :class:`Types.Node` description when registering their node. In addition, these nodes must support the Tier 4 :class:`CNReplication` API to allow Coordinating Nodes to perform all necessary operations. Nodes can express constraints on object size, total replication space available, source nodes, and object format types that a node will replicate by providing a :class:`Types.NodeReplicationPolicy` as part of a it's :class:`Types.Node` description. A node may choose to restrict replication from only certain peer nodes, may have file size limits, total allocated size limits, or may want to focus on being a :term:`replication target` for domain-specific object formats.rÿ��h!j»��h"h#h$hxh&}rŸ��(h*]h+]h)]h(]h,]uh.K#h/hh]r⁄��(hCXÅ���Nodes that wish to serve as a replication target and thereby are available to store replicas of data from around the network set r€��ÖÅr‹��}r›��(h XÅ���Nodes that wish to serve as a replication target and thereby are available to store replicas of data from around the network set h!j÷��ubhñ)Årfi��}rfl��(h X���:attr:`Types.Node.replicate`r‡��h!j÷��h"h#h$höh&}r·��(UreftypeX���attrhúâhùX���Types.Node.replicateU refdomainX���pyr‚��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K#h]r„��h§)År‰��}rÂ��(h j‡��h&}rÊ��(h*]h+]rÁ��(h©j‚��X���py-attrrË��eh)]h(]h,]uh!jfi��h]rÈ��hCX���Types.Node.replicaterÍ��ÖÅrÎ��}rÏ��(h U�h!j‰��ubah$hØubaubhCX��� to 'true' in their rÌ��ÖÅrÓ��}rÔ��(h X��� to 'true' in their h!j÷��ubhñ)År��}rÒ��(h X���:class:`Types.Node`rÚ��h!j÷��h"h#h$höh&}rÛ��(UreftypeX���classhúâhùX ���Types.NodeU refdomainX���pyrÙ��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K#h]rı��h§)Årˆ��}r˜��(h jÚ��h&}r¯��(h*]h+]r˘��(h©jÙ��X���py-classr˙��eh)]h(]h,]uh!j��h]r˚��hCX ���Types.Noder¸��ÖÅr˝��}r˛��(h U�h!jˆ��ubah$hØubaubhCX[��� description when registering their node. In addition, these nodes must support the Tier 4 rˇ��ÖÅr���}r��(h X[��� description when registering their node. In addition, these nodes must support the Tier 4 h!j÷��ubhñ)År��}r��(h X���:class:`CNReplication`r��h!j÷��h"h#h$höh&}r��(UreftypeX���classhúâhùX ���CNReplicationU refdomainX���pyr��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K#h]r��h§)År��}r ��(h j��h&}r ��(h*]h+]r��(h©j��X���py-classr��eh)]h(]h,]uh!j��h]r ��hCX ���CNReplicationr��ÖÅr��}r��(h U�h!j��ubah$hØubaubhCXË��� API to allow Coordinating Nodes to perform all necessary operations. Nodes can express constraints on object size, total replication space available, source nodes, and object format types that a node will replicate by providing a r��ÖÅr��}r��(h XË��� API to allow Coordinating Nodes to perform all necessary operations. Nodes can express constraints on object size, total replication space available, source nodes, and object format types that a node will replicate by providing a h!j÷��ubhñ)År��}r��(h X$���:class:`Types.NodeReplicationPolicy`r��h!j÷��h"h#h$höh&}r��(UreftypeX���classhúâhùX���Types.NodeReplicationPolicyU refdomainX���pyr��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K#h]r��h§)År��}r��(h j��h&}r��(h*]h+]r��(h©j��X���py-classr��eh)]h(]h,]uh!j��h]r��hCX���Types.NodeReplicationPolicyr ��ÖÅr!��}r"��(h U�h!j��ubah$hØubaubhCX��� as part of a it's r#��ÖÅr$��}r%��(h X��� as part of a it's h!j÷��ubhñ)År&��}r'��(h X���:class:`Types.Node`r(��h!j÷��h"h#h$höh&}r)��(UreftypeX���classhúâhùX ���Types.NodeU refdomainX���pyr*��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K#h]r+��h§)År,��}r-��(h j(��h&}r.��(h*]h+]r/��(h©j*��X���py-classr0��eh)]h(]h,]uh!j&��h]r1��hCX ���Types.Noder2��ÖÅr3��}r4��(h U�h!j,��ubah$hØubaubhCXÆ��� description. A node may choose to restrict replication from only certain peer nodes, may have file size limits, total allocated size limits, or may want to focus on being a r5��ÖÅr6��}r7��(h XÆ��� description. A node may choose to restrict replication from only certain peer nodes, may have file size limits, total allocated size limits, or may want to focus on being a h!j÷��ubhñ)År8��}r9��(h X���:term:`replication target`r:��h!j÷��h"h#h$höh&}r;��(UreftypeX���termhúàhùX���replication targetU refdomainX���stdr<��h(]h)]Urefexplicitâh*]h+]h,]hüh†uh.K#h]r=��h◊)År>��}r?��(h j:��h&}r@��(h*]h+]rA��(h©j<��X���std-termrB��eh)]h(]h,]uh!j8��h]rC��hCX���replication targetrD��ÖÅrE��}rF��(h U�h!j>��ubah$hTubaubhCX$��� for domain-specific object formats.rG��ÖÅrH��}rI��(h X$��� for domain-specific object formats.h!j÷��ubeubj∫��)ÅrJ��}rK��(h XÊ��<nodeReplicationPolicy> <maxObjectSize>524288000</maxObjectSize> <spaceAllocated>1099511627776</spaceAllocated> <allowedNode>urn:node:KNB</allowedNode> <allowedNode>urn:node:ESA</allowedNode> <allowedNode>urn:node:SANPARKS</allowedNode> <allowedObjectFormat>FGDC-STD-001.1-1999</allowedObjectFormat> <allowedObjectFormat>eml://ecoinformatics.org/eml-2.1.1</allowedObjectFormat> <allowedObjectFormat>text/csv</allowedObjectFormat> </nodeReplicationPolicy>h!j»��h"h#h$jΩ��h&}rL��(jø��âj¿��X���xmlj¡��j¬��h(]h)]h*]j√��}h+]h,]uh.K%h/hh]rM��hCXÊ��<nodeReplicationPolicy> <maxObjectSize>524288000</maxObjectSize> <spaceAllocated>1099511627776</spaceAllocated> <allowedNode>urn:node:KNB</allowedNode> <allowedNode>urn:node:ESA</allowedNode> <allowedNode>urn:node:SANPARKS</allowedNode> <allowedObjectFormat>FGDC-STD-001.1-1999</allowedObjectFormat> <allowedObjectFormat>eml://ecoinformatics.org/eml-2.1.1</allowedObjectFormat> <allowedObjectFormat>text/csv</allowedObjectFormat> </nodeReplicationPolicy>rN��ÖÅrO��}rP��(h U�h!jJ��ubaubhu)ÅrQ��}rR��(h X��The :attr:`Types.NodeReplicationPolicy.maxObjectSize` indicates the maximum allowable size of an object to be replicated in bytes. The :attr:`Types.NodeReplicationPolicy.spaceAllocated` field sets an upper limit on space usage for replica storage on the given node. Once the spaceAllocated has been reached for a node, the Coordinating Nodes will no longer request that additional replicas be stored on that node. :attr:`Types.NodeReplicationPolicy.allowedNode` is used to list all nodes that are allowed to replicate to the target. If it is absent, then any node may replicate to the target. :attr:`Types.NodeReplicationPolicy.allowedObjectFormat` is used to list all object formats that may be replicated to the target. If it is absent, then any object format may be replicated to the target.rS��h!j»��h"h#h$hxh&}rT��(h*]h+]h)]h(]h,]uh.K2h/hh]rU��(hCX���The rV��ÖÅrW��}rX��(h X���The h!jQ��ubhñ)ÅrY��}rZ��(h X1���:attr:`Types.NodeReplicationPolicy.maxObjectSize`r[��h!jQ��h"h#h$höh&}r\��(UreftypeX���attrhúâhùX)���Types.NodeReplicationPolicy.maxObjectSizeU refdomainX���pyr]��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K2h]r^��h§)År_��}r`��(h j[��h&}ra��(h*]h+]rb��(h©j]��X���py-attrrc��eh)]h(]h,]uh!jY��h]rd��hCX)���Types.NodeReplicationPolicy.maxObjectSizere��ÖÅrf��}rg��(h U�h!j_��ubah$hØubaubhCXS��� indicates the maximum allowable size of an object to be replicated in bytes. The rh��ÖÅri��}rj��(h XS��� indicates the maximum allowable size of an object to be replicated in bytes. The h!jQ��ubhñ)Årk��}rl��(h X2���:attr:`Types.NodeReplicationPolicy.spaceAllocated`rm��h!jQ��h"h#h$höh&}rn��(UreftypeX���attrhúâhùX*���Types.NodeReplicationPolicy.spaceAllocatedU refdomainX���pyro��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K2h]rp��h§)Årq��}rr��(h jm��h&}rs��(h*]h+]rt��(h©jo��X���py-attrru��eh)]h(]h,]uh!jk��h]rv��hCX*���Types.NodeReplicationPolicy.spaceAllocatedrw��ÖÅrx��}ry��(h U�h!jq��ubah$hØubaubhCXÊ��� field sets an upper limit on space usage for replica storage on the given node. Once the spaceAllocated has been reached for a node, the Coordinating Nodes will no longer request that additional replicas be stored on that node. rz��ÖÅr{��}r|��(h XÊ��� field sets an upper limit on space usage for replica storage on the given node. Once the spaceAllocated has been reached for a node, the Coordinating Nodes will no longer request that additional replicas be stored on that node. h!jQ��ubhñ)År}��}r~��(h X/���:attr:`Types.NodeReplicationPolicy.allowedNode`r��h!jQ��h"h#h$höh&}rÄ��(UreftypeX���attrhúâhùX'���Types.NodeReplicationPolicy.allowedNodeU refdomainX���pyrÅ��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K2h]rÇ��h§)ÅrÉ��}rÑ��(h j��h&}rÖ��(h*]h+]rÜ��(h©jÅ��X���py-attrrá��eh)]h(]h,]uh!j}��h]rà��hCX'���Types.NodeReplicationPolicy.allowedNoderâ��ÖÅrä��}rã��(h U�h!jÉ��ubah$hØubaubhCXÖ��� is used to list all nodes that are allowed to replicate to the target. If it is absent, then any node may replicate to the target. rå��ÖÅrç��}ré��(h XÖ��� is used to list all nodes that are allowed to replicate to the target. If it is absent, then any node may replicate to the target. h!jQ��ubhñ)Årè��}rê��(h X7���:attr:`Types.NodeReplicationPolicy.allowedObjectFormat`rë��h!jQ��h"h#h$höh&}rí��(UreftypeX���attrhúâhùX/���Types.NodeReplicationPolicy.allowedObjectFormatU refdomainX���pyrì��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K2h]rî��h§)Årï��}rñ��(h jë��h&}ró��(h*]h+]rò��(h©jì��X���py-attrrô��eh)]h(]h,]uh!jè��h]rö��hCX/���Types.NodeReplicationPolicy.allowedObjectFormatrõ��ÖÅrú��}rù��(h U�h!jï��ubah$hØubaubhCXì��� is used to list all object formats that may be replicated to the target. If it is absent, then any object format may be replicated to the target.rû��ÖÅrü��}r†��(h Xì��� is used to list all object formats that may be replicated to the target. If it is absent, then any object format may be replicated to the target.h!jQ��ubeubcdocutils.nodes note r°��)År¢��}r£��(h Xz��:class:`Types.NodeReplicationPolicy` is not currently implemented on the CN and so is ignored when making decisions as to which MN should be used for replication. In a future release, the CN scheduler will utilize the :class:`Types.NodeReplicationPolicy` to limit the types of objects that are scheduled to be replicated to a MN, but for now the information is not used at all.r§��h!j»��h"h#h$Unoter•��h&}r¶��(h*]h+]h)]h(]h,]uh.Nh/hh]rß��hu)År®��}r©��(h j§��h!j¢��h"h#h$hxh&}r™��(h*]h+]h)]h(]h,]uh.K5h]r´��(hñ)År¨��}r≠��(h X$���:class:`Types.NodeReplicationPolicy`rÆ��h!j®��h"h#h$höh&}rØ��(UreftypeX���classhúâhùX���Types.NodeReplicationPolicyU refdomainX���pyr∞��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K5h]r±��h§)År≤��}r≥��(h jÆ��h&}r¥��(h*]h+]rµ��(h©j∞��X���py-classr∂��eh)]h(]h,]uh!j¨��h]r∑��hCX���Types.NodeReplicationPolicyr∏��ÖÅrπ��}r∫��(h U�h!j≤��ubah$hØubaubhCX∑��� is not currently implemented on the CN and so is ignored when making decisions as to which MN should be used for replication. In a future release, the CN scheduler will utilize the rª��ÖÅrº��}rΩ��(h X∑��� is not currently implemented on the CN and so is ignored when making decisions as to which MN should be used for replication. In a future release, the CN scheduler will utilize the h!j®��ubhñ)Åræ��}rø��(h X$���:class:`Types.NodeReplicationPolicy`r¿��h!j®��h"h#h$höh&}r¡��(UreftypeX���classhúâhùX���Types.NodeReplicationPolicyU refdomainX���pyr¬��h(]h)]Urefexplicitâh*]h+]h,]hüh†h°Nh¢Nuh.K5h]r√��h§)Årƒ��}r≈��(h j¿��h&}r∆��(h*]h+]r«��(h©j¬��X���py-classr»��eh)]h(]h,]uh!jæ��h]r…��hCX���Types.NodeReplicationPolicyr ��ÖÅrÀ��}rÃ��(h U�h!jƒ��ubah$hØubaubhCX{��� to limit the types of objects that are scheduled to be replicated to a MN, but for now the information is not used at all.rÕ��ÖÅrŒ��}rœ��(h X{��� to limit the types of objects that are scheduled to be replicated to a MN, but for now the information is not used at all.h!j®��ubeubaubh)År–��}r—��(h X¶���.. _history: https://redmine.dataone.org/projects/d1/repository/changes/documents/Projects/cicore/architecture/api-documentation/source/design/ReplicationOverview.txtU referencedr“��Kh!j»��h"h#h$h%h&}r”��(hÖhÜh(]r‘��hah)]h*]h+]h,]r’��hauh.K7h/hh]ubeubeubeh U�Utransformerr÷��NU footnote_refsr◊��}rÿ��UrefnamesrŸ��}r⁄��hÑ]r€��hasUsymbol_footnotesr‹��]r›��Uautofootnote_refsrfi��]rfl��Usymbol_footnote_refsr‡��]r·��U citationsr‚��]r„��h/hUcurrent_liner‰��NUtransform_messagesrÂ��]rÊ��(cdocutils.nodes system_message rÁ��)ÅrË��}rÈ��(h U�h&}rÍ��(h*]UlevelKh(]h)]Usourceh#h+]h,]UlineKUtypeUINFOrÎ��uh]rÏ��hu)ÅrÌ��}rÓ��(h U�h&}rÔ��(h*]h+]h)]h(]h,]uh!jË��h]r��hCX9���Hyperlink target "replicationoverview" is not referenced.rÒ��ÖÅrÚ��}rÛ��(h U�h!jÌ��ubah$hxubah$Usystem_messagerÙ��ubjÁ��)Årı��}rˆ��(h U�h&}r˜��(h*]UlevelKh(]h)]Usourceh#h+]h,]UlineKUtypejÎ��uh]r¯��hu)År˘��}r˙��(h U�h&}r˚��(h*]h+]h)]h(]h,]uh!jı��h]r¸��hCX-���Hyperlink target "index-0" is not referenced.r˝��ÖÅr˛��}rˇ��(h U�h!j˘��ubah$hxubah$jÙ��ubeUreporterr���NUid_startr��KU autofootnotesr��]r��U citation_refsr��}r��Uindirect_targetsr��]r��Usettingsr��(cdocutils.frontend Values r ��or ��}r��(Ufootnote_backlinksr��KUrecord_dependenciesr ��NUrfc_base_urlr��Uhttps://tools.ietf.org/html/r��U tracebackr��àUpep_referencesr��NUstrip_commentsr��NU toc_backlinksr��Uentryr��U language_coder��Uenr��U datestampr��NUreport_levelr��KU_destinationr��NU halt_levelr��KU strip_classesr��Nh@NUerror_encoding_error_handlerr��Ubackslashreplacer��Udebugr��NUembed_stylesheetr��âUoutput_encoding_error_handlerr ��Ustrictr!��U sectnum_xformr"��KUdump_transformsr#��NU docinfo_xformr$��KUwarning_streamr%��NUpep_file_url_templater&��Upep-%04dr'��Uexit_status_levelr(��KUconfigr)��NUstrict_visitorr*��NUcloak_email_addressesr+��àUtrim_footnote_reference_spacer,��âUenvr-��NUdump_pseudo_xmlr.��NUexpose_internalsr/��NUsectsubtitle_xformr0��âUsource_linkr1��NUrfc_referencesr2��NUoutput_encodingr3��Uutf-8r4��U source_urlr5��NUinput_encodingr6��U utf-8-sigr7��U_disable_configr8��NU id_prefixr9��U�U tab_widthr:��KUerror_encodingr;��UUTF-8r<��U_sourcer=��h#Ugettext_compactr>��àU generatorr?��NUdump_internalsr@��NUsmart_quotesrA��âUpep_base_urlrB��U https://www.python.org/dev/peps/rC��Usyntax_highlightrD��UlongrE��Uinput_encoding_error_handlerrF��j!��Uauto_id_prefixrG��UidrH��Udoctitle_xformrI��âUstrip_elements_with_classesrJ��NU _config_filesrK��]rL��Ufile_insertion_enabledrM��àUraw_enabledrN��KU dump_settingsrO��NubUsymbol_footnote_startrP��K�UidsrQ��}rR��(hjx��hj��hh1hj»��hOhYhh1hj–��uUsubstitution_namesrS��}rT��h$h/h&}rU��(h*]h(]h)]Usourceh#h+]h,]uU footnotesrV��]rW��UrefidsrX��}rY��(hO]rZ��hUah]r[��hauub.