alice offline meeting 27 march 2008 artem harutyunyan [email protected]

11
ALICE Offline meeting 27 March 2008 Artem Harutyunyan [email protected]

Upload: ann-bradford

Post on 27-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

ALICE Offline meeting27 March 2008

Artem Harutyunyan [email protected]

Page 2: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn

About banking in GridBanking in AliEn (ALICE VO)Setting price for jobs and CEsDistribution of credits in VOExecution of bank commands from AliEn

Summary2

Page 3: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn

General ideas: Users have to pay for the jobs Teams have to earn money (alions) by

providing resources Jobs with higher price get higher priority

Reasons for having banking service in Grid Users gain the control over the priorities of

their jobs and can boost them if needed Teams are motivated to provide more resources

with higher quality and availability Users are motivated to be more accurate in

their usage of Grid resources3

Page 4: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn 4

Site 1

Site 2

Site 3

Job Manager

1. User sends a job (sets price in JDL)

2. Job is

sent to sit

e

3. Job is

DONE

5. Gets DONE jobs Database

4. Job is stored in DB

Charging serviceBanking service

6. Charges for jobs(from users’ accountsTo sites’ accounts)

... and makes deposit on tax account

Job_Cost = Consumed_SI2K * Nominal_Price * Job_Price

Page 5: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn 5

• CE price is set in LDAP for each site• CE accepts for execution only jobs for which users are willing

to pay price higher or equal to the CE price

Not a real price, but a factor of ‘nominal

price’ defined for VO

• Job price for SI2K unit to be consumed is set in the JDL

Page 6: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn6

T0

T1

T2T2

T1

T2T2

T1

T2T2

PWG 1 PWG 2 PB

User group User group User group User group

User group

Page 7: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn

Circulation is done automatically (by Charge service)

Configured in LDAP

7

Page 8: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn 8

• To execute bank command (e.g. account balance checking) from AliEn shell user has to type:

> gold GOLD_COMMAND [OPTIONS]

• For the description of commands and their options please refer to Gold user’s manual:

http://www.clusterresources.com/products/gold/docs/userguide.pdf

Page 9: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn 9

User commands Admin commands

Page 10: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn

The banking system: Is implemented as an add-on to AliEn

(it's up to the user whether to use provided features or not)

Gives an additional degree of freedom for the improvement of job scheduling

Provides users with control over job priorities based on simple economy model

10

Page 11: ALICE Offline meeting 27 March 2008 Artem Harutyunyan hartem@mail.cern.ch

Banking Service in AliEn

Many thanks to: Predrag Buncic for the original idea and

professional support Pablo Saiz, Catalin Cirstoiu and Costin

Grigoras for helping to solve technical problems

The work was supported by ALICE Offline, Calouste Gulbenkian Foundation and Swiss Fonds “Kidagan”

11