1 / 13

DMLite Shell

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.

dara-craft
Télécharger la présentation

DMLite Shell

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. DMLite Shell Ivan Calvet CERN IT/SDC-ID 4th DPM Workshop 13thDecember 2013

  2. 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) DMLiteShell – 4th DPM Workshop

  3. Under the hood Developed in Python (2.4) Based on the python wrapper for DMLite called pydmlite DMLiteShell – 4th DPM Workshop

  4. Usage as a command • Execute only one command: • Execute a script: DMLiteShell – 4th DPM Workshop

  5. Usage as a shell (1/2) • Launch the shell: • Launch it with a specific configuration: DMLiteShell – 4th DPM Workshop

  6. Usage as a shell (2/2) Auto-completion Type checking Syntax checking DMLiteShell – 4th DPM Workshop

  7. 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 DMLiteShell – 4th DPM Workshop

  8. 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 DMLiteShell – 4th DPM Workshop

  9. Demonstration DMLiteShell – 4th DPM Workshop

  10. Need help? https://svnweb.cern.ch/trac/lcgdm/wiki/Dpm/Dev/Dmlite/Shell Check the Man page DMLiteShell – 4th DPM Workshop

  11. 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 DMLiteShell – 4th DPM Workshop

  12. Summary Shell to administrate DMLite 41 bash-like commands Detailed help included Available on EPEL-testing DMLiteShell – 4th DPM Workshop

  13. Questions? DMLiteShell – 4th DPM Workshop

More Related