1 / 8

Venue Data Storage

Venue Data Storage. Susanne Lefvert lefvert@mcs.anl.gov University of Chicago. Venue Data Storage. Single level list No duplications allowed Double-click to open Right-click for options Venue data versus Personal data . Venue Data Storage.

adah
Télécharger la présentation

Venue Data Storage

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Venue Data Storage Susanne Lefvert lefvert@mcs.anl.gov University of Chicago

  2. Venue Data Storage • Single level list • No duplications allowed • Double-click to open • Right-click for options • Venue data versus Personal data

  3. Venue Data Storage • The data storage resides on the file system of the server. Each venue has a directory with files in the Data folder. • Venue has a set of data descriptions • Meta information about each data object • Transfer details • Each data upload is actually two file transfers • Meta data • Actual files using GSI HTTP

  4. DataStoreClient • Tool for developers • Hides details about • SOAP communication • Data cache • Upload/Download • File listing • API • AccessGrid.DatastoreClient • AccessGrid.Descriptions.DataDescription http://www.mcs.anl.gov/fl/research/accessgrid/documentation/developer/api/

  5. Example: Script from AccessGrid.DataStoreClient import GetVenueDataStore from AccessGrid.Toolkit import CmdlineApplication # Initialize AG application app = CmdlineApplication() args = app.Initialize() # Create data store interface venueUrl = "https://localhost:8000/Venues/default" dataStoreClient = GetVenueDataStore(venueUrl) # Upload a file to venue dataStoreClient.Upload("test.doc") dataStoreClient.Upload("test.ppt")

  6. Example: Script # Get data from venue dataStoreClient.LoadData() # Get file names that matches a specific pattern files = dataStoreClient.QueryMatchingFiles("*.doc") # Get data description for a file name data = dataStoreClient.GetFileData(files[0]) # Download a file from venue dataStoreClient.Download("test.doc", "localFile.doc") # Remove file from venue dataStoreClient.RemoveFile("test.doc") dataStoreClient.RemoveFile("test.ppt")

  7. Exercises http://www.mcs.anl.gov/fl/research/accessgrid/documentation/tutorial/AGTk_2.4 Exercise 8 – Data Storage • Trying the DataStoreClient test script. • Creating a venue file browser

  8. Exercise 2: Venue File Browser

More Related