Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Registering user:
Before registering you MN, you will need to first register your contact subject identity in the DataONE production environment: https://cn.dataone.org/portal/. Once registered, please let us know and I will verify your identity in the CN LDAP. After this step, you may attempt to register your MN in the production environment.

to Add:
curl -i -E private/urn_node_TDAR.pem --header "Content-Type: multipart/form-data" --form "node=@./tdar.xml" -k -X POST "https://cn.dataone.org/cn/v1/node/"

to Update:
 
curl -i -E private/urn_node_TDAR.pem --header "Content-Type: multipart/form-data" --form "node=@./tdar.xml" -k -X PUT "https://cn.dataone.org/cn/v1/node/urn:node:TDAR"
 

 

Code Block
languagexml
titleDataOne config.xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/cn/xslt/dataone.types.v1.xsl"?>
<d1:node xmlns:d1="http://ns.dataone.org/service/types/v1" replicate="false" synchronize="true" type="mn" state="up">
    <identifier>urn:node:TDAR</identifier>
    <name>TDAR</name>
    <description>The Digital Archaeological Record (tDAR) is an international digital repository for the digital records of archaeological investigations. tDAR's use, development, and maintenance are governed by Digital Antiquity, an organization dedicated to ensuring the long-term preservation of irreplaceable archaeological data and to broadening the access to these data.</description>
    <baseURL>http://dataone.tdar.org/dataone</baseURL>
    <services>
        <service name="MNRead" version="v1" available="true"/>
        <service name="MNCore" version="v1" available="true"/>
        <service name="MNAuthorization" version="v1" available="false"/>
        <service name="MNStorage" version="v1" available="false"/>
        <service name="MNReplication" version="v1" available="false"/>
    </services>
    <synchronization>
        <schedule hour="20" mday="*" min="*" mon="*" sec="0" wday="?" year="*"/>
    </synchronization>
    <nodeReplicationPolicy>
        <spaceAllocated>1024</spaceAllocated>
    </nodeReplicationPolicy>
    <subject>CN=urn:node:TDAR,DC=dataone,DC=org</subject>
    <contactSubject>CN=Adam Brin A29701,O=Arizona State University,C=US,DC=cilogon,DC=org</contactSubject>
</d1:node>