Dmlite shell
This presentation is the property of its rightful owner.
Sponsored Links
1 / 13

DMLite Shell PowerPoint PPT Presentation


  • 104 Views
  • Uploaded on
  • Presentation posted in: General

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.

Download Presentation

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Dmlite shell

DMLite Shell

Ivan Calvet

CERN IT/SDC-ID

4th DPM Workshop

13thDecember 2013


Presentation of dmlite shell

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


Under the hood

Under the hood

Developed in Python (2.4)

Based on the python wrapper for DMLite called pydmlite

DMLiteShell – 4th DPM Workshop


Usage as a command

Usage as a command

  • Execute only one command:

  • Execute a script:

DMLiteShell – 4th DPM Workshop


Usage as a shell 1 2

Usage as a shell (1/2)

  • Launch the shell:

  • Launch it with a specific configuration:

DMLiteShell – 4th DPM Workshop


Usage as a shell 2 2

Usage as a shell (2/2)

Auto-completion

Type checking

Syntax checking

DMLiteShell – 4th DPM Workshop


Commands 1 2

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


Commands 2 2

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


Demonstration

Demonstration

DMLiteShell – 4th DPM Workshop


Need help

Need help?

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

Check the Man page

DMLiteShell – 4th DPM Workshop


Future improvements

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


Summary

Summary

Shell to administrate DMLite

41 bash-like commands

Detailed help included

Available on EPEL-testing

DMLiteShell – 4th DPM Workshop


Questions

Questions?

DMLiteShell – 4th DPM Workshop


  • Login