SlideShare une entreprise Scribd logo
1  sur  14
Simplifying Science Gateway Data
Management with Globus
Part 2 – Large-scale Data Transfer
October 2020, Gateways 2020
Globus’s platform simplifies applications
• Mobile-friendly web app
– Desktops & laptops
– Tablets
– Smartphones
• Platform support
– Web GUI
– Command-line (CLI)
– REST APIs and Python SDK
– Jupyterlab notebooks, etc.
Why would your gateway need to transfer big files?
• Run an analysis on a community dataset
– Gateway user specifies a type of analysis using a standard dataset, or slice of a
dataset
– Data needs to be moved to the compute server
• Analyze the gateway user’s data
– Data needs to be uploaded from researcher’s computer to the compute server
• Allow gateway user to download simulation results
– Data needs to be downloaded from the compute server to researcher’s computer
• Allow gateway user to submit data to a repository
– Data needs to be transferred to the gateway’s storage from the researcher’s
computer or from a compute server
Generic Globus application workflow
1. Assemble the necessary credentials
2. Get the right endpoint(s)
3. Make a request
1. Transfer file(s) or folder(s)
2. List contents of a folder
3. Create a folder
4. Delete file(s) or folder(s)
4. (optional) Confirm task completion
Things your application doesn’t have to do
• Interact with storage systems or DTNs
• Speak the transfer protocol (FTP, GridFTP, SCP, etc.)
• Keep track of what has and hasn’t been transferred
• Monitor for transfer failures
• Know how many files or the sizes of files
• Know when the transfer finishes (well, unless it does)
Demonstration
Large-scale file transfer
in a web application
https://mrdp.globus.org/
Generic Globus application workflow
1. Assemble the necessary credentials
2. Get the right endpoint(s)
3. Make a request
1. Transfer file(s) or folder(s)
2. List contents of a folder
3. Create a folder
4. Delete file(s) or folder(s)
4. (optional) Confirm task completion
Single, globally accessible
multi-tenant service
Server
Storage
Control
Channel
Data Channel
Control
Channel
Data Transfer!
Researcher
Uses web browser to access
the science gateway from
anywhere in the world
Globus transfer service
Connects to Globus Connect
software on storage systems to set up
and monitor data transfers between
systems.
Personal or Campus Computer
Globus Connect Server
Enables data access on shared
systems, such as servers and
clusters, including creation of guest
collections for non-local users.
Globus Connect Personal
Enables data access on personal
systems, such as laptops or
desktops, for uploading and
downloading to your own systems.
Lab, Campus, or
National-scale Server
Science gateway
A web application tailored to the researcher’s
specific field, discipline, or type of analysis.
Uses Globus Auth API to acquire credentials
and Globus Transfer API as a command-and-
control interface for interacting with storage
and moving data where it needs to be.
Auth API Transfer API
What needs to be in place for it to work?
• To enable uploads or downloads with the researcher’s
personal system, the researcher installs Globus Connect
Personal on their system.
– Transfers will use the researcher’s credentials.
• To enable transfers to/from community storage, install
Globus Connect Server and create guest collections.
– The storage administrator installs Globus Connect Server and gives
you (the gateway operator) access.
– You can create guest collections for your gateway to use.
How do we identify the endpoints?
• For fixed endpoints (known to
the gateway ahead of time), you
can use the web app to display
the endpoint UUID.
• For researcher endpoints, your
gateway can use the Globus
browse endpoint helper page
https://docs.globus.org/api/help
er-pages/browse-endpoint/
What credentials are required?
• Gateway requests the transfer on the researcher’s behalf
– E.g., upload/download from researcher’s personal endpoint
– Requires researcher credentials (and permissions)
– Researcher must login to the gateway using Globus and allow the
gateway to perform transfers on the researcher’s behalf
– Researcher must be granted permission to the other end of the transfer
(e.g., via a guest collection)
• Gateway requests the transfer on its own behalf
– E.g., community-owned data in the gateway’s storage
– Requires gateway credentials (and permissions)
– The request is made using the gateway’s credentials and permissions
– Doesn’t require the researcher to login using Globus
Researcher credentials
• For requests on behalf of the
researcher, you’ll need researchers to
login to your application using
Globus
• Globus provides a standard OpenID
Connect (OIDC) interface
– Make sure your application requests the
transfer scope in addition to the defaults:
urn:globus:auth:scope:transfer.api.globus.org:all
– Your application will receive an access
token for the researcher, allowing transfer
requests on behalf of the researcher
Client (application) credentials
• To use Globus in an application, you need to register it at
https://developers.globus.org/
• When you register, you’ll receive a Client ID and a Client
Secret.
– These allow your application to use Globus services (as itself)
– Your code can obtain an access token for the Globus Transfer
service
– All requests using this access token will be performed as user
client-id@clients.auth.globus.org
– You can assign permissions to this ID on Globus endpoints, so the
gateway can do things as itself instead of as the logged-in user
Code
Large-scale file transfer
in a web application

Contenu connexe

Tendances

Tendances (20)

Introduction to the Globus Platform (APS Workshop)
Introduction to the Globus Platform (APS Workshop)Introduction to the Globus Platform (APS Workshop)
Introduction to the Globus Platform (APS Workshop)
 
What's New in Globus - Internet2 TechEXtra
What's New in Globus - Internet2 TechEXtraWhat's New in Globus - Internet2 TechEXtra
What's New in Globus - Internet2 TechEXtra
 
Globus Portal Framework (APS Workshop)
Globus Portal Framework (APS Workshop)Globus Portal Framework (APS Workshop)
Globus Portal Framework (APS Workshop)
 
Enabling Secure Data Discoverability (SC21 Tutorial)
Enabling Secure Data Discoverability (SC21 Tutorial)Enabling Secure Data Discoverability (SC21 Tutorial)
Enabling Secure Data Discoverability (SC21 Tutorial)
 
Recent Upgrades to ARM Data Transfer and Delivery Using Globus
Recent Upgrades to ARM Data Transfer and Delivery Using GlobusRecent Upgrades to ARM Data Transfer and Delivery Using Globus
Recent Upgrades to ARM Data Transfer and Delivery Using Globus
 
Globus: Beyond File Transfer
Globus: Beyond File TransferGlobus: Beyond File Transfer
Globus: Beyond File Transfer
 
"What's New With Globus" Webinar: Spring 2018
"What's New With Globus" Webinar: Spring 2018"What's New With Globus" Webinar: Spring 2018
"What's New With Globus" Webinar: Spring 2018
 
Introduction to Globus (APS Workshop)
Introduction to Globus (APS Workshop)Introduction to Globus (APS Workshop)
Introduction to Globus (APS Workshop)
 
GlobusWorld 2021 Tutorial: Globus for System Administrators
GlobusWorld 2021 Tutorial: Globus for System AdministratorsGlobusWorld 2021 Tutorial: Globus for System Administrators
GlobusWorld 2021 Tutorial: Globus for System Administrators
 
GlobusWorld 2020 Keynote
GlobusWorld 2020 KeynoteGlobusWorld 2020 Keynote
GlobusWorld 2020 Keynote
 
20090701 Climate Data Staging
20090701 Climate Data Staging20090701 Climate Data Staging
20090701 Climate Data Staging
 
Globus: Enabling the Open Storage Network
Globus: Enabling the Open Storage NetworkGlobus: Enabling the Open Storage Network
Globus: Enabling the Open Storage Network
 
Introduction to the Globus Platform (GlobusWorld Tour - UMich)
Introduction to the Globus Platform (GlobusWorld Tour - UMich)Introduction to the Globus Platform (GlobusWorld Tour - UMich)
Introduction to the Globus Platform (GlobusWorld Tour - UMich)
 
Globus status and publication plans
Globus status and publication plansGlobus status and publication plans
Globus status and publication plans
 
SomeSlides
SomeSlidesSomeSlides
SomeSlides
 
Globus: Research Data Management as Service and Platform - pearc17
Globus: Research Data Management as Service and Platform - pearc17Globus: Research Data Management as Service and Platform - pearc17
Globus: Research Data Management as Service and Platform - pearc17
 
Globus publication demo screenshots
Globus publication demo screenshotsGlobus publication demo screenshots
Globus publication demo screenshots
 
Automating Research Data Flows with the Globus Command Line Interface (CLI)
Automating Research Data Flows with the Globus Command Line Interface (CLI)Automating Research Data Flows with the Globus Command Line Interface (CLI)
Automating Research Data Flows with the Globus Command Line Interface (CLI)
 
Globus Platform Overview
Globus Platform OverviewGlobus Platform Overview
Globus Platform Overview
 
Globus presentation
Globus presentationGlobus presentation
Globus presentation
 

Similaire à Gateways 2020 Tutorial - Large Scale Data Transfer with Globus

Similaire à Gateways 2020 Tutorial - Large Scale Data Transfer with Globus (20)

Facilitating Collaboration with Globus (GlobusWorld Tour - STFC)
Facilitating Collaboration with Globus (GlobusWorld Tour - STFC)Facilitating Collaboration with Globus (GlobusWorld Tour - STFC)
Facilitating Collaboration with Globus (GlobusWorld Tour - STFC)
 
Leveraging the Globus Platform in Web Applications (CHPC 2019 - South Africa)
Leveraging the Globus Platform in Web Applications (CHPC 2019 - South Africa)Leveraging the Globus Platform in Web Applications (CHPC 2019 - South Africa)
Leveraging the Globus Platform in Web Applications (CHPC 2019 - South Africa)
 
Jupyter + Globus: The Foundation for Interactive Data Science
Jupyter + Globus: The Foundation for Interactive Data ScienceJupyter + Globus: The Foundation for Interactive Data Science
Jupyter + Globus: The Foundation for Interactive Data Science
 
Tutorial: Leveraging Globus in your Research Applications
Tutorial: Leveraging Globus in your Research ApplicationsTutorial: Leveraging Globus in your Research Applications
Tutorial: Leveraging Globus in your Research Applications
 
Globus Command Line Interface (APS Workshop)
Globus Command Line Interface (APS Workshop)Globus Command Line Interface (APS Workshop)
Globus Command Line Interface (APS Workshop)
 
GlobusWorld 2021 Tutorial: The Globus CLI, Platform and SDK
GlobusWorld 2021 Tutorial: The Globus CLI, Platform and SDKGlobusWorld 2021 Tutorial: The Globus CLI, Platform and SDK
GlobusWorld 2021 Tutorial: The Globus CLI, Platform and SDK
 
Data Publication and Discovery with Globus
Data Publication and Discovery with GlobusData Publication and Discovery with Globus
Data Publication and Discovery with Globus
 
Leveraging the Globus Platform (GlobusWorld Tour - Columbia University)
Leveraging the Globus Platform (GlobusWorld Tour - Columbia University)Leveraging the Globus Platform (GlobusWorld Tour - Columbia University)
Leveraging the Globus Platform (GlobusWorld Tour - Columbia University)
 
Introduction to Globus for New Users
Introduction to Globus for New UsersIntroduction to Globus for New Users
Introduction to Globus for New Users
 
Best Practices for Data Sharing (GlobusWorld Tour - UCSD)
Best Practices for Data Sharing (GlobusWorld Tour - UCSD)Best Practices for Data Sharing (GlobusWorld Tour - UCSD)
Best Practices for Data Sharing (GlobusWorld Tour - UCSD)
 
Introduction to Globus: Research Data Management Software at the ALCF
Introduction to Globus: Research Data Management Software at the ALCFIntroduction to Globus: Research Data Management Software at the ALCF
Introduction to Globus: Research Data Management Software at the ALCF
 
Tutorial: Best Practices for Data Sharing
Tutorial: Best Practices for Data SharingTutorial: Best Practices for Data Sharing
Tutorial: Best Practices for Data Sharing
 
Automating Research Data Flows and an Introduction to the Globus Platform
Automating Research Data Flows and an Introduction to the Globus PlatformAutomating Research Data Flows and an Introduction to the Globus Platform
Automating Research Data Flows and an Introduction to the Globus Platform
 
Introduction to Globus for New Users
Introduction to Globus for New UsersIntroduction to Globus for New Users
Introduction to Globus for New Users
 
Automating Research Data Flows and Introduction to the Globus Platform
Automating Research Data Flows and Introduction to the Globus PlatformAutomating Research Data Flows and Introduction to the Globus Platform
Automating Research Data Flows and Introduction to the Globus Platform
 
Instrument Data Orchestration with Globus Search and Flows
Instrument Data Orchestration with Globus Search and FlowsInstrument Data Orchestration with Globus Search and Flows
Instrument Data Orchestration with Globus Search and Flows
 
Best Practices for Data Sharing (GlobusWorld Tour - Columbia University)
Best Practices for Data Sharing (GlobusWorld Tour - Columbia University)Best Practices for Data Sharing (GlobusWorld Tour - Columbia University)
Best Practices for Data Sharing (GlobusWorld Tour - Columbia University)
 
Building Data Portals and Science Gateways with Globus
Building Data Portals and Science Gateways with GlobusBuilding Data Portals and Science Gateways with Globus
Building Data Portals and Science Gateways with Globus
 
Automating Data Flows with the Globus CLI (GlobusWorld Tour - UMich)
Automating Data Flows with the Globus CLI (GlobusWorld Tour - UMich)Automating Data Flows with the Globus CLI (GlobusWorld Tour - UMich)
Automating Data Flows with the Globus CLI (GlobusWorld Tour - UMich)
 
Automating Research Data Workflows (GlobusWorld Tour - Columbia University)
Automating Research Data Workflows (GlobusWorld Tour - Columbia University)Automating Research Data Workflows (GlobusWorld Tour - Columbia University)
Automating Research Data Workflows (GlobusWorld Tour - Columbia University)
 

Plus de Globus

Plus de Globus (20)

Advanced Globus System Administration Topics
Advanced Globus System Administration TopicsAdvanced Globus System Administration Topics
Advanced Globus System Administration Topics
 
Instrument Data Automation: The Life of a Flow
Instrument Data Automation: The Life of a FlowInstrument Data Automation: The Life of a Flow
Instrument Data Automation: The Life of a Flow
 
Building Research Applications with Globus PaaS
Building Research Applications with Globus PaaSBuilding Research Applications with Globus PaaS
Building Research Applications with Globus PaaS
 
Reliable, Remote Computation at All Scales
Reliable, Remote Computation at All ScalesReliable, Remote Computation at All Scales
Reliable, Remote Computation at All Scales
 
Best Practices for Data Sharing Using Globus
Best Practices for Data Sharing Using GlobusBest Practices for Data Sharing Using Globus
Best Practices for Data Sharing Using Globus
 
An Introduction to Globus for Researchers
An Introduction to Globus for ResearchersAn Introduction to Globus for Researchers
An Introduction to Globus for Researchers
 
Introduction to Research Automation with Globus
Introduction to Research Automation with GlobusIntroduction to Research Automation with Globus
Introduction to Research Automation with Globus
 
Globus for System Administrators
Globus for System AdministratorsGlobus for System Administrators
Globus for System Administrators
 
Introduction to Globus for System Administrators
Introduction to Globus for System AdministratorsIntroduction to Globus for System Administrators
Introduction to Globus for System Administrators
 
Introduction to Data Transfer and Sharing for Researchers
Introduction to Data Transfer and Sharing for ResearchersIntroduction to Data Transfer and Sharing for Researchers
Introduction to Data Transfer and Sharing for Researchers
 
Introduction to the Globus Platform for Developers
Introduction to the Globus Platform for DevelopersIntroduction to the Globus Platform for Developers
Introduction to the Globus Platform for Developers
 
Introduction to the Command Line Interface (CLI)
Introduction to the Command Line Interface (CLI)Introduction to the Command Line Interface (CLI)
Introduction to the Command Line Interface (CLI)
 
Automating Research Data with Globus Flows and Compute
Automating Research Data with Globus Flows and ComputeAutomating Research Data with Globus Flows and Compute
Automating Research Data with Globus Flows and Compute
 
Advanced Globus System Administration
Advanced Globus System AdministrationAdvanced Globus System Administration
Advanced Globus System Administration
 
Introduction to Globus for System Administrators
Introduction to Globus for System AdministratorsIntroduction to Globus for System Administrators
Introduction to Globus for System Administrators
 
Working with Globus Platform Services and Portals
Working with Globus Platform Services and PortalsWorking with Globus Platform Services and Portals
Working with Globus Platform Services and Portals
 
Globus Automation
Globus AutomationGlobus Automation
Globus Automation
 
Advanced Globus System Administration
Advanced Globus System AdministrationAdvanced Globus System Administration
Advanced Globus System Administration
 
Introduction to Globus
Introduction to GlobusIntroduction to Globus
Introduction to Globus
 
Introduction to Globus for System Administrators
Introduction to Globus for System AdministratorsIntroduction to Globus for System Administrators
Introduction to Globus for System Administrators
 

Dernier

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

Gateways 2020 Tutorial - Large Scale Data Transfer with Globus

  • 1. Simplifying Science Gateway Data Management with Globus Part 2 – Large-scale Data Transfer October 2020, Gateways 2020
  • 2. Globus’s platform simplifies applications • Mobile-friendly web app – Desktops & laptops – Tablets – Smartphones • Platform support – Web GUI – Command-line (CLI) – REST APIs and Python SDK – Jupyterlab notebooks, etc.
  • 3. Why would your gateway need to transfer big files? • Run an analysis on a community dataset – Gateway user specifies a type of analysis using a standard dataset, or slice of a dataset – Data needs to be moved to the compute server • Analyze the gateway user’s data – Data needs to be uploaded from researcher’s computer to the compute server • Allow gateway user to download simulation results – Data needs to be downloaded from the compute server to researcher’s computer • Allow gateway user to submit data to a repository – Data needs to be transferred to the gateway’s storage from the researcher’s computer or from a compute server
  • 4. Generic Globus application workflow 1. Assemble the necessary credentials 2. Get the right endpoint(s) 3. Make a request 1. Transfer file(s) or folder(s) 2. List contents of a folder 3. Create a folder 4. Delete file(s) or folder(s) 4. (optional) Confirm task completion
  • 5. Things your application doesn’t have to do • Interact with storage systems or DTNs • Speak the transfer protocol (FTP, GridFTP, SCP, etc.) • Keep track of what has and hasn’t been transferred • Monitor for transfer failures • Know how many files or the sizes of files • Know when the transfer finishes (well, unless it does)
  • 6. Demonstration Large-scale file transfer in a web application https://mrdp.globus.org/
  • 7. Generic Globus application workflow 1. Assemble the necessary credentials 2. Get the right endpoint(s) 3. Make a request 1. Transfer file(s) or folder(s) 2. List contents of a folder 3. Create a folder 4. Delete file(s) or folder(s) 4. (optional) Confirm task completion
  • 8. Single, globally accessible multi-tenant service Server Storage Control Channel Data Channel Control Channel Data Transfer! Researcher Uses web browser to access the science gateway from anywhere in the world Globus transfer service Connects to Globus Connect software on storage systems to set up and monitor data transfers between systems. Personal or Campus Computer Globus Connect Server Enables data access on shared systems, such as servers and clusters, including creation of guest collections for non-local users. Globus Connect Personal Enables data access on personal systems, such as laptops or desktops, for uploading and downloading to your own systems. Lab, Campus, or National-scale Server Science gateway A web application tailored to the researcher’s specific field, discipline, or type of analysis. Uses Globus Auth API to acquire credentials and Globus Transfer API as a command-and- control interface for interacting with storage and moving data where it needs to be. Auth API Transfer API
  • 9. What needs to be in place for it to work? • To enable uploads or downloads with the researcher’s personal system, the researcher installs Globus Connect Personal on their system. – Transfers will use the researcher’s credentials. • To enable transfers to/from community storage, install Globus Connect Server and create guest collections. – The storage administrator installs Globus Connect Server and gives you (the gateway operator) access. – You can create guest collections for your gateway to use.
  • 10. How do we identify the endpoints? • For fixed endpoints (known to the gateway ahead of time), you can use the web app to display the endpoint UUID. • For researcher endpoints, your gateway can use the Globus browse endpoint helper page https://docs.globus.org/api/help er-pages/browse-endpoint/
  • 11. What credentials are required? • Gateway requests the transfer on the researcher’s behalf – E.g., upload/download from researcher’s personal endpoint – Requires researcher credentials (and permissions) – Researcher must login to the gateway using Globus and allow the gateway to perform transfers on the researcher’s behalf – Researcher must be granted permission to the other end of the transfer (e.g., via a guest collection) • Gateway requests the transfer on its own behalf – E.g., community-owned data in the gateway’s storage – Requires gateway credentials (and permissions) – The request is made using the gateway’s credentials and permissions – Doesn’t require the researcher to login using Globus
  • 12. Researcher credentials • For requests on behalf of the researcher, you’ll need researchers to login to your application using Globus • Globus provides a standard OpenID Connect (OIDC) interface – Make sure your application requests the transfer scope in addition to the defaults: urn:globus:auth:scope:transfer.api.globus.org:all – Your application will receive an access token for the researcher, allowing transfer requests on behalf of the researcher
  • 13. Client (application) credentials • To use Globus in an application, you need to register it at https://developers.globus.org/ • When you register, you’ll receive a Client ID and a Client Secret. – These allow your application to use Globus services (as itself) – Your code can obtain an access token for the Globus Transfer service – All requests using this access token will be performed as user client-id@clients.auth.globus.org – You can assign permissions to this ID on Globus endpoints, so the gateway can do things as itself instead of as the logged-in user

Notes de l'éditeur

  1. The same things you can do in Globus’s GUI can also be done by an application using APIs, SDK, or CLI. This simplifies applications because Globus manages the transfer: the application only needs to assemble the right credentials and make the request. Globus does the rest.
  2. Examples of “analysis on a community dataset”: Examples of ”analyze user’s data”: Examples of “download simulation results”: Examples of “submit data to a repository”:
  3. KEY POINT: This is ALL the application has to do. (Next slide shows what the application DOES NOT have to do.)
  4. Modern Research Data Portal: https://mrdp.globus.org/ Show how you login using Globus. Show how you browse data in the portal and SELECT AN ENDPOINT using the Globus browse endpoint helper page. Show how the transfer is submitted by the portal itself. (Maybe) show how https://app.globus.org/ also shows the transfer!
  5. KEY POINT: This is ALL the application has to do. (Next slide shows what the application DOES NOT have to do.)
  6. WHICH GITHUB REPO WILL WE WALK THROUGH?