context-aware cloud computing for hep applications

24
Context-aware cloud computing for HEP applications Randall Sobie Institute of Particle Physics (Canada) University of Victoria Randall Sobie IPP/Victoria 1

Upload: others

Post on 05-Jun-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Context-aware cloud computing for HEP applications

Context-awarecloudcomputingforHEPapplications

RandallSobieInstituteofParticlePhysics(Canada)

UniversityofVictoria

RandallSobieIPP/Victoria 1

Page 2: Context-aware cloud computing for HEP applications

Context-awaresystemsinmobilecommunication

RandallSobieIPP/Victoria 2

Howcanweusetheinformation(context)ofa

usertotheirbenefit?

LocationDirectionTimeHealthSocial

Page 3: Context-aware cloud computing for HEP applications

Context-awaresystemsinmobilecommunication

RandallSobieIPP/Victoria 3

Theinformationcanmeeton-demandrequestorbeproactivelysentto

theuser

DirectionsFoodandlodging

FinancialCommercial

Health

Page 4: Context-aware cloud computing for HEP applications

RandallSobieIPP/Victoria 4

EntityAperson,place,or

objectthatisrelevanttotheirinteraction

Context-broker

ContextInformationusedto

characterizethesituationofanentity

Context-brokerCombinesreal-timecontext

ActionContext-triggeraction

Page 5: Context-aware cloud computing for HEP applications

RandallSobieIPP/Victoria 5

Entity

Context-broker

Context

Action

Content-aggregator

Content-aggregatorStorehistoricalcontextthatcanbeusedbythecontext-brokertoinitiate

anaction

Context-broker

Page 6: Context-aware cloud computing for HEP applications

RandallSobieIPP/Victoria 6

EntityISGCPhysicist

Context-broker

ContextHungry

DinnertimeCentralTaipei

ActionListofrestaurants

Context-broker

Page 7: Context-aware cloud computing for HEP applications

RandallSobieIPP/Victoria 7

EntityISGCPhysicist

Context-broker

ContextHungry

DinnertimeCentralTaipei

ActionListoffastfood

Content-aggregator

Content-aggregatorGraduatestudent

Context-broker

Page 8: Context-aware cloud computing for HEP applications

Context-awarecloudcomputingsystem

RandallSobieIPP/Victoria 8

EntitiesWorkloadsystems

CloudsVMs

VM-provisionerBatchjobscheduler

Canacontext-awaredesignmakeiteasier,moreefficienttorunHEPapplications?

UtilizedynamicandopportunisticresourcesAutomaticallyself-configurecloudsandvirtualmachinesLocateoptimalsoftwarecachesanddatarepositories

Fault-detectionanderrorcorrectionIntelligentdesignandself-learning

Page 9: Context-aware cloud computing for HEP applications

CloudcomputinginHEP

RandallSobieIPP/Victoria 9

Opportunistic

DedicatedVirtual

cluster

CloudcomputinginHEPistypicallyproviding5-20%oftheprocessingofcurrentprojects

“Dedicated”clouds(OwnedbyHEP)

“Opportunistic”clouds(privateandcommercial)

Page 10: Context-aware cloud computing for HEP applications

HEPuseofcloudsforbatchworkloads

RandallSobieIPP/Victoria 10

IaaSAPI

ApplicationProgramInterface

JobScheduler

VMlife-cyclemanager

A“VMlife-cyclemanager”managesVMsbasedonthejobqueueCloudhasnoapplication-specificrequirements

Userorworkload

manager

Page 11: Context-aware cloud computing for HEP applications

Multipleremoteclouds

RandallSobieIPP/Victoria 11

JobScheduler

VMlife-cyclemanager

Userorworkload

manager

IaaSAPI

IaaSAPI

IaaSAPI

Workloadmanagerhasnoknowledgeoftheresources

Page 12: Context-aware cloud computing for HEP applications

Distributedbatchcloudsystem

RandallSobieIPP/Victoria 12

Dedicatedandopportunisticresources(ATLASandBelleII)

17%ofBelleIIcomputingin2015usedclouds

Productionuseofcloudsfor3-4yearswithgradualincreaseinutilizationTechnologyisstillyoungandrapidlyevolving

Integratingnewtechnologiesintoaproductionsystemischallenging

Page 13: Context-aware cloud computing for HEP applications

Evolutiontoacontext-awarearchitecture

RandallSobieIPP/Victoria 13

Softwarecachesandrepositories

Monitoringandcommunication

services

BatchjobVM

provisioningservices

Datafederationservices

Otherservices Contextbroker

Goalisasystemthatisdynamic,automated,intelligent,error-correctingandabletoexploitanycloudwillingtoprovideresources

Contextinformationsystem(s)keepingtrackofreal-timeinformationStateofclouds,services,squid-caches,datafederations

Usethecontextinformationtoconfigure,operateandmonitor

Identifyandmonitorclouds–matchjobstoresourcesVMsselfconfigureandmonitor,locatethesoftwareanddataRecognizechangesanderrors–takecorrectiveactions

Page 14: Context-aware cloud computing for HEP applications

Context-collection

RandallSobieIPP/Victoria 14

Wealreadycollectdataandlogsonservices,clouds,userjob,VMsReal-time(messagepassing)communicationbetweensomeservices

Numberofrunningjobs

Snapshotofcurrentsystem

Forexample,monitoringpageforoneoftheATLAScloudsystemsinCanada#activeclouds#jobs(1c/8C)#VMs#jobslots

Page 15: Context-aware cloud computing for HEP applications

VMprovisioning

RandallSobieIPP/Victoria 15

JobScheduler

IaaSAPI

IaaSAPI

IaaSAPI

VMprovisioningserviceCloudScheduler

Userjobrequirements

Joblist Resourceavailability

Entity

Context

Context-broker

Page 16: Context-aware cloud computing for HEP applications

VMprovisioning

RandallSobieIPP/Victoria 16

JobScheduler

IaaSAPI

IaaSAPI

IaaSAPI

VMprovisioningserviceCloudScheduler

JSsendsjobtoVM Cloud-BbootsaVMfortheuserjobandregisterswithJS

Entity

Action

Context-broker

Findsthecloudthathasidleresourcesandmeetstheuser

requirements

Page 17: Context-aware cloud computing for HEP applications

Softwaredeliveryservice

RandallSobieIPP/Victoria 17

ListofsquidsLocation

LoadVirtualmachinelocation

Entity

Context

Context-broker

SquidHTTPcache

SquidHTTPcache

SquidHTTPcache

SquidHTTPcache

CVMFSServer

CERNVMfilesystem

ShoalShoalAgroupofsquids

Page 18: Context-aware cloud computing for HEP applications

Softwaredeliveryservice

RandallSobieIPP/Victoria 18

VMisgiventhenearestHTTPSquidcache(OSandAppsoftware)

Entity

Action

Context-broker

SquidHTTPcache

SquidHTTPcache

SquidHTTPcache

SquidHTTPcache

CVMFSServer

CERNVMfilesystem

ShoalShoalAgroupofsquids

Page 19: Context-aware cloud computing for HEP applications

Real-timeCloudandVMstatus

RandallSobieIPP/Victoria 19

Softwarecachesandrepositories

Monitoringandcommunication

services

BatchjobVM

provisioningservices

Datafederationservices

Otherservices Contextbroker

Wewouldlikereal-timemonitoringinformationoftheremotecloudandindividualVM

Automatedfault-recoveryresponse

Commonissues:PeriodicallyacloudgoesofflineApplicationjobisstalledVMisstalled–notresponsivetotheVM-provisionserviceVMislost–notregisteredwiththeVM-provisionserviceLocalnetworkissuesinthecloudVMevictionsduetopricefluctuationsincommercialcosts

Possibleactions:Cloudisautomaticallydisabled

VMde-registeredfromHTCondor

Page 20: Context-aware cloud computing for HEP applications

Datafederationservice

RandallSobieIPP/Victoria 20

Storageelement

Storageelement

Storageelement

Storageelement

Datafederationservice

DataLocationNetwork

Requestfordataset

Page 21: Context-aware cloud computing for HEP applications

Datafederationservice

RandallSobieIPP/Victoria 21

Storageelement

Storageelement

Storageelement

Storageelement

Datafederationservice

ListoflocationsRetrievefromonesiteorstreamfrom

multiplesites

Page 22: Context-aware cloud computing for HEP applications

Datafederationservice

RandallSobieIPP/Victoria 22

Storageelement

Storageelement

Storageelement

Storageelement

Datafederationservice

MultiplecopiesdistributedaroundtheworldHEP-specific:FAX

HTTP/WebDav:Dynafed

Page 23: Context-aware cloud computing for HEP applications

Otherideas–futureplans

RandallSobieIPP/Victoria 23

IaaSAPI

ApplicationProgramInterface

TypicallycloudresourcesinOpenStackareassignedtoprojectsusing“tenants”Effortstoshareresourcesbetweentenantsinanautomatedmannertofullyutilizetheresources(e.g.sharingofATLASandBelleIIresources)

ConnectcloudresourcestotheLHCONEnetwork?(e.g.Softwaredefinednetworks–SDN)

Commercialcloudlinkstoresearchnetworks

Page 24: Context-aware cloud computing for HEP applications

Summary

•  UseofcloudcomputinginHEPisgrowing

–  UsingdedicatedandopportunisticresourcestoprovideanincreasingfractionoftheneedsofHEPexperiments

•  Context-awarecloudcomputingwillenableustoscaleouruseof

distributedresourcesthatisrequiredbyHEPprojects

–  UtilizetechnologiesdevelopedinsideandoutsideHEPtosimplify

management,expandfunctionalityandeaseofuse

•  Valuabletootherresearchcommunities

RandallSobieIPP/Victoria 24