EPrints Hybrid Storage Management and Configuration



Similar documents
EPrints Preservation Update

About Java Plug-ins. Installing or Uninstalling the Java Plug-in CHAPTER

New World Construction FTP service User Guide

! PRIVATE!PAGES! DRUPAL!7!WEB!CONTENT!MANAGEMENT!

AlienVault Unified Security Management Solution Complete. Simple. Affordable Life Cycle of a log

Collecting Windows logs using Snare

How-To-Do. Firmware Update Speed7 and project backup on the MMC card

Sample Configuration for H.323 Trunk between Avaya IP Office and Cisco Unified Communications Manager 7.0 Issue 1.0

Data Movement and Storage. Drew Dolgert and previous contributors

Types MIME déjà configurés pour les hébergements Windows

Backup Software Comparison Table

HTML5 Web Scanning with LEADTOOLS

Implementation of escan Live Events with SYSLOG (CACTI)

U.S. Securities and Exchange Commission. Data Delivery Standards

Shopping Cart Setup & Configuration Guide

Bring documents to mobile devices the new epub output for ebooks

Overview of edx Analytics

A block based storage model for remote online backups in a trust no one environment

UNITED KINGDOM (UNITED KINGDOM) : Trusted List

AKRAPLAST Sistemi S.p.A. - I Novate Milanese (Mi) - via Cascina del Sole, 70 Tel: (+39) Fax: (+39)

Prolific USB to SATA Bridge Controller Backup Software User s Manual

Measuring Caring: A compilation of international research on Caritas as Healing intervention. Table of Contents

UNITED KINGDOM (UNITED KINGDOM) : Trusted List

Lync Web App 2013 Guide

БЪЛГАРИЯ (BULGARIA) : Trusted List

User Manual. 2 Bay Docking Station

US/firefox/new/

1. To ensure the appropriate level of security, you will need Microsoft Windows XP or above.

MINISTRY OF FINANCE SYSTEM INTEGRATION PLAN ATTACHMENT NR 2 SEAP XML SPECIFICATION WEBSERVICE INTERFACE FOR EXTERNAL SYSTEMS PROJECT ECIP/SEAP

See the Developer s Getting Started Guide for an introduction to My Docs Online Secure File Delivery and how to use it programmatically.

Technical bulletin_ma VW Spotlight Plugin v2.x short manual_d4.doc. MA Vectorworks Export Plugin V2.x

Open Source Backup with Amanda

Software Toolbox License Transfer Guide. TOP Server OPC Server

WordPress File Monitor Plus Plugin Configuration

ADOBE READER AND ACROBAT

SUOMI/FINLAND (FINLAND) : Trusted List

Virtual Maintenance Training Deployment The Latest Technology Options

Threat!and!Vulnerability!Assessments!

Introduction to Eclipse, Creating Eclipse plug-ins and the Overture editor. David Holst Møller Engineering College of Aarhus

How To Encrypt a File using Windows Explorer and WinZip. For Use With All PII Data

Oracle Business Intelligence EE. Prab h akar A lu ri

Food and Drug Administration

How To Install the Virtual Learning App

WMI Collecting Windows Logs

Snare System Version Release Notes

WebNow. Installation and Setup Guide. ImageNow Version: 6.7.x Environment: Windows Web Application Server: Tomcat

AWS Plug-in Guide. Qlik Sense 1.1 Copyright QlikTech International AB. All rights reserved.

Creating an Interactive Digital Animation Level: 3 Sub-level: Unit 312 Credit value: 8 Guided learning hours: 65

MICROSOFT EXCEL 2011 MANAGE WORKBOOKS

Internet Radio access. Free radio from over 50,000 stations

Using USB Flash Drives

New Reader DRM IKLA Licensing Scheme

Citrix Access Gateway Enterprise Edition Citrix Access Gateway Plugin for Java User Guide. Citrix Access Gateway 8.1, Enterprise Edition

FAQ. Hosted Data Disaster Protection

Maryland Online SYLLABUS

Computer Networks. Lecture 7: Application layer: FTP and HTTP. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Topia Technology, Inc Pacific Avenue, Suite 200, Tacoma WA

Python for Series 60 Platform

Quest InTrust. Change auditing and policy compliance for the secure enterprise. May Copyright 2006 Quest Software

Webinar/video conferencing

How to Convert Outlook Folder Into a Single PDF Document

Community Builder Language Package Guide Updated for CB 1.2.3

AntiVirus Bridge for SAP solutions

Capturing Network Traffic With Wireshark

Drupal Performance Tuning

INSTALLING CITRIX RECEIVER ON WINDOWS XP OR VISTA HOME COMPUTER FOR EXISTING CITRIX USER

Abstract. 1. Introduction

Introduction to Cloud Computing

Website Optimization Tips for Speed

GETTING STARTED WITH PROGRESS AMAZON CLOUD

WEEK 2 DAY 14. Writing Java Applets and Java Web Start Applications

DEPLOYMENT GUIDE. Deploying F5 for High Availability and Scalability of Microsoft Dynamics 4.0

Introduction. KLS Backup Program Overview

SQUEEZE SERVER. Operation Guide Version 3.0

Tivoli Security Compliance Manager. Version 5.1 April, Collector and Message Reference Addendum

Introduction to Mobile Systems

Meredith Mass Transit Web Client User Guide For Ad Hoc Accounts

Improving Magento Front-End Performance

InformationNOW SQL 2008 Database Backup and Restoration

P&WC Portal Settings. 1) Portal Language Setting:

Volkswagen and photovoltaics

MyNetFone Virtual Fax. Virtual Fax Installation

Amanda: Open Source Backup

StreamServe Persuasion SP5 Ad Hoc Correspondence and Correspondence Reviewer

TIBCO ActiveMatrix BusinessWorks Plug-in for Big Data User s Guide

How To Develop Android On Your Computer Or Tablet Or Phone

Transcription:

EPrintsHybridStorageTraining TableofContents 1Introduction EPrintsHybridStorage ManagementandConfiguration 1Introduction... 1 2PowerfulStorage... 2 3Viewingyourstorageserviceusages... 3 4ManagingyourStoragePolicy(Exercises)... 5 4.1View/EdittheStoragePolicy...5 4.2UnderstandingthedefaultStoragePolicy...5 4.3Exercise1:VolatileFiles...5 4.4Exercise2:MultipleStorageLocations...6 4.5Exercise3:Storagepolicybaseduponrepositorymetadata...6 4.6ExampleSolution...8 EPrints3.2introducesanabstractedstoragelayerwhichprovidestheabilityfordatahostingsolutionssuchasAmazonS3tobeutilisedasa storagebackendtoeprints.theadvantageofthisisthatyoucan"plug in"tomultiplestorageservicesatthesametimeandcontrolthesewitha local"storagepolicy". InthistutorialwelookatthesomeofthestorageinterfacesthatEPrintscanuse,andalsohowtomodifythestoragepoliciestosuittheneedsof amodernrepository. 1

EPrintsHybridStorageTraining 2PowerfulStorage TheEPrintsteamhavebeenworkingonanumberofstorageplug inswhichareavailableboththroughfiles.eprints.organdwillbereleasedin EPrints3.2.Inthissectionweintroduceafewofthem: Name PluginID Description Local Local Savestothelocalharddisk. Local Compressed Sun Honeycomb LocalCompress HoneyComb Ausefullittleadditiontothelocalplug inthatcompressesfilestransparently(nochangeisseenin theuserinterface).goodforsavinglocaldiskspaceandarchivingoldandrarelyusedobjects. SupportsSun'sHoneycombplatform(nolongercommerciallyavailable).Thisplug insupportsthe APIusedbythisclassofhighlyrobustarchivalstorage. AmazonS3 AmazonS3 Plug intosupportthemostwidelyknowncloudstorageprovider.aswellassupportingbasicstorage functionalitytheplug inalsosupportsamazoncloudfrontfordirectlocaliseddeliveryofresources. SunCloud Storage SunCSS VerysimilartotheAmazonS3offerings.NotethatthisisabetaservicesandEPrintsisatesting partner. 2

EPrintsHybridStorageTraining 3Viewingyourstorageserviceusages TheStorageManagerscreencanbefoundundertheConfigToolstaboftheadminscreen. 3

EPrintsHybridStorageTraining ThefigurebelowshowstheStorageManager.Fromthisscreenyoucaneasilyviewwhereyourobjectsareandhowmuchspacetheyconsume. Youcanalsomovethembetweenstorageplatformswithasingleclick. 4

EPrintsHybridStorageTraining 4ManagingyourStoragePolicy(Exercises) 4.1View/EdittheStoragePolicy TheEPrintsStorageControllerismanagedbyapolicydefinedinanxmlfile.Thisconfigfile(storage/default.xml)canbeeditedbyclickingthe ViewConfigurationbuttonavailablefromtheConfigToolstaboftheadmininterface.storage/default.xmlislocatednearthebottomofthe availablelistoffiles.byclickingonthisfileyoucanviewandedititinyourbrowser. 4.2UnderstandingthedefaultStoragePolicy LikemanyconfigurationfilesinEPrints,thestoragepolicyisdefinedinxmlusingtheEPrintsControllanguage/namespace(epc)todefine decisionsinanxsltlikefashion. Belowyoucanseeacopyofthecurrentdefaultstoragepolicy.Theannotationsshouldhelpexplainwhateachlinedoes.Notethatbydefault, allfilesarestoredlocally. <store> <epc:when test="datasetid = 'document'"> </store> Start Policies Begin Choice Section If current object is document Use Local plug-in End document condition Otherwise Use Local plug-in End otherwise condition End Choice Section End Policies 4.3Exercise1:VolatileFiles Agoodstartingpointformanagingstorageservicesistodecidewhathappenstovolatilefiles.Thesearefilesthataregeneratedbythe repositoryforinternaluse(e.g.imagepreviews).assuchitisunlikelythatthesefileswillneedtobestoredoffsiteorpreserved. Volatilefilesarepartofthedocumentdatasetandwecandifferentiatethesefromotherfilesbylookingforarelationwhichexistsbetweenthe twotypesoffiles. 5

EPrintsHybridStorageTraining Editthedefaultstoragepolicyandinsertthefollowingcodetohandlevolatileandnon volatiledocumentfilesdifferently.thecodereplacesthe <pluginname= Local /> lineinsidethe epc:when sectionofthecode. <epc:when test="$parent{relation_type} = 'http://eprints.org/relation/isvolatileversionof'"> <plugin name="localcompress"/> AfterchangingthepolicyyouwillneedtoaddanewEPrinttotherepository.UploadaPDF,JPEGorGIFtotheEPrint,thenviewtheStorage Managerscreentoverifythattherearefilesinmorethanonelocation. 4.4Exercise2:MultipleStorageLocations Withtheabovedone,itshouldnowbeeasytoaddasecondlocationtostorenon volatiledocumentsin.thiscanbedonebysimplyaddinga new<plugin>tagtotherelevantsection. EPrintshandlesmultiplestoragelocationsforbothstorageanddeliverybysimplyprocessingthemintheordertheyappearinthestorage policy.forstorage,filesarestoredinalllocations.fordelivery,thefileisservedfromthefirstlocationintheconfigfile.intheeventthatthisis notavailable,itmovesontothesecond,andsoon. 4.5Exercise3:Storagepolicybaseduponrepositorymetadata Inthissectionyouwillusetheepclanguagetoaccessfilemetadata.Thismetatdatawillthenbeusedtocontrolthestorageoftheitem. Eachobjectwehandlewiththestoragecontrollerisa"file"objectineprintsandthusthefollowingpiecesofmetadataarejustafewthatare directlyavailable: 6

EPrintsHybridStorageTraining filename Nameofthefile mime_type Typeofthefile(e.g.PDF,JPEG,etc...) filesize Thesizeofthefile Aconditionalcanbeinsertedintothepolicyfiletousethisdatatomakedecisions: <epc:when test="mime_type = 'application/pdf'"> <plugin name="storagepluginname"/> AddtheaboveruletostorePDFfiles(application/pdf)inadifferentlocationfromeverythingelsestoredintherepository. NotethatEPrintsandUsermetadataisalsoavailable.Itispossibletomakeadecisionbasedon(forexample)whouploadedtheitemorwhich subjectareathepublicationrecordisassociatedwith. 7

EPrintsHybridStorageTraining 4.6ExampleSolution Thefollowingcodewillsolveallexercisescontainedinthisdocument. <store xmlns="http://eprints.org/ep3/storage" xmlns:epc="http://eprints.org/ep3/control"> <epc:when test="datasetid = 'document'"> <epc:when test="$parent{relation_type} = 'http://eprints.org/relation/isvolatileversionof'"> <epc:when test="mime_type = 'application/pdf'"> <plugin name="suncss"/> <plugin name="localcompress"/> </store> 8