Visit Open-E website
Results 1 to 4 of 4

Thread: CLI + API Dokumentation

  1. #1

    Default CLI + API Dokumentation

    I wonder if there is any CLI + API Documentation?

    Seems to be a nice feature. I enabled both, connection worked well, but what to do with them?
    Is there a list of commands and options somewhere out there?
    I searched here and there but could not find any help.

  2. #2

    Default

    Please activate API in SETUP->ADMINISTRATOR.

    You can obtain current list of available commands (and descriptions to them) after connecting to your DSS server via ssh, e.g.:

    ssh IP -l api -p 22223 'help'

    Cheers

  3. #3

    Default

    that's great but still doesn't explain what the output means. for example volume_status:

    volume_status        - Displays storage info.                                                                             


    # ssh -p22223 api@open-e.domain.local volume_status                                           
    api@open-e.domain.local's password:                                                                                 
    lvraid6000;NAS;893742;0;893742;0.00;Off;No;N/A;N/A;N/A;N/A  

    what is that? what is n/a and what is 0.0 etc...

  4. #4
    Join Date
    Jul 2011
    Posts
    124

    Default

    Thats why there is a -v flag (verbose):

    "volume_status -v"
    Name Type Size(LE) Used(LE) Free(LE) Usage(%) Replication WORM Initialization Block size(KB) Assigned LV Assigned tag
    lv0000 NAS 11 0 11 0.00 Off No N/A N/A N/A N/A
    lv0001 NAS N/A N/A N/A N/A Secondary No N/A N/A N/A N/A
    snap00001 Snapshot 4 N/A N/A N/A N/A N/A N/A N/A lv0001 N/A
    snap00000 Snapshot 5 N/A N/A N/A N/A N/A N/A N/A lv0000 N/A

    Some values are available only for certain type of volumes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •