+ All Categories
Home > Documents > DMLite Shell

DMLite Shell

Date post: 02-Jan-2016
Category:
Upload: dara-craft
View: 50 times
Download: 0 times
Share this document with a friend
Description:
DMLite Shell. Ivan Calvet CERN IT/SDC-ID 4th DPM Workshop 13 th December 2013. Presentation of DMLite Shell. Tool to administrate DMLite Shell who provides bash-like commands Made for admins and developers, not for users (root access needed). Under the hood. - PowerPoint PPT Presentation
Popular Tags:
13
IT-SDC : Support for Distributed Computing DMLite Shell Ivan Calvet CERN IT/SDC-ID 4th DPM Workshop 13 th December 2013
Transcript
Page 1: DMLite  Shell

IT-SDC : Support for Distributed Computing

DMLite Shell

Ivan CalvetCERN IT/SDC-ID

4th DPM Workshop13th December 2013

Page 2: DMLite  Shell

2IT-SDC

Presentation of DMLite Shell

Tool to administrate DMLite

Shell who provides bash-like commands

Made for admins and developers, not for users (root access needed)

13/12/13DMLite Shell – 4th DPM Workshop

Page 3: DMLite  Shell

3IT-SDC

Under the hood

Developed in Python (2.4)

Based on the python wrapper for DMLite called pydmlite

13/12/13DMLite Shell – 4th DPM Workshop

Page 4: DMLite  Shell

4IT-SDC

Usage as a command

Execute only one command:

Execute a script:

13/12/13DMLite Shell – 4th DPM Workshop

Page 5: DMLite  Shell

5IT-SDC

Usage as a shell (1/2)

Launch the shell:

Launch it with a specific configuration:

13/12/13DMLite Shell – 4th DPM Workshop

Page 6: DMLite  Shell

6IT-SDC

Usage as a shell (2/2)

Auto-completion

Type checking

Syntax checking

13/12/13DMLite Shell – 4th DPM Workshop

Page 7: DMLite  Shell

7IT-SDC

Commands (1/2)

41 commands: 5 to manage the shell:

init, help, version, getimplid, exit 20 to manage files:

pwd, cd, ls, mkdir, unlink, rmdir, mv, du, ln, readlink, comment, info, create, chmod, chown, chgrp, checksum, utime, acl, setguid

3 to manage replicas:replicaadd, replicamodify, replicadel

13/12/13DMLite Shell – 4th DPM Workshop

Page 8: DMLite  Shell

8IT-SDC

Commands (2/2)

5 to manage pools:pooladd, poolinfo, poolmodify, pooldel, qryconf

4 to manage users:useradd, userinfo, userban, userdel

4 to manage groups: groupadd, groupinfo, groupban, groupdel

13/12/13DMLite Shell – 4th DPM Workshop

Page 9: DMLite  Shell

9IT-SDC

Demonstration

13/12/13DMLite Shell – 4th DPM Workshop

Page 10: DMLite  Shell

10IT-SDC

Need help?https://svnweb.cern.ch/trac/lcgdm/wiki/Dpm/Dev/Dmlite/Shell

Check the Man page

13/12/13DMLite Shell – 4th DPM Workshop

Page 11: DMLite  Shell

11IT-SDC

Future improvements

Implement old DPM commands: Filesystem related commands:

fsadd, fsmodify, fsdel, (buildfsv) Space related commands:

getspacemd, getspacetokens, releasespace, reservespace, updatespace

Moving files related commands:replicate, drain

Waiting for some feedbacks from users

13/12/13DMLite Shell – 4th DPM Workshop

Page 12: DMLite  Shell

12IT-SDC

Summary

Shell to administrate DMLite

41 bash-like commands

Detailed help included

Available on EPEL-testing

13/12/13DMLite Shell – 4th DPM Workshop

Page 13: DMLite  Shell

13IT-SDC

Questions?

13/12/13DMLite Shell – 4th DPM Workshop


Recommended