Bing59

updated

10 years ago

B

Bing59

1 Rookie

96 Posts

0

13192

March 10th, 2016 08:00

XtremIO CLI

I spent a lot of time training soldiers how to do things the long way(CLI), so that when I showed them the shortcuts (GUI).  They knew what was actually going on.  Then I would take away the shortcuts.  They still performed.

SO.....

Is there a document with an kind of help with the XMSCLI commands?  Other than help .

Something that would give a list of possible values would be nice, rather than putting in random characters to get the answer.

Second can you create a tag using the cli commands and set a color for it without going to the GUI?

  • echolaughmk

    2 Intern

    522 Posts

    6992

    2

    Posted March 10th, 2016 08:00

  • echolaughmk

    2 Intern

    522 Posts

    6992

    0

    Posted March 10th, 2016 08:00

    Yup...the Storage Array User Guide has the CLI guide "section" in it that will give you all these options.

    You can assign a tag through the CLI with the "tag-object" command, but don't think it will allow you to set a color (never tried)

    HTH

  • Bing59

    1 Rookie

    96 Posts

    6992

    0

    Posted April 4th, 2016 08:00

    Excuse me for not getting back on to award points.

    I have one other question:

    Using the XMSCLI, can you pass a variable (from .xls file) to the commands.

    testtext.xls stores a name to be used as a tag name.

    create-tag tag-name= entity=InitiatorGroup

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    6991

    1

    Posted April 4th, 2016 17:00

    that variable needs to be expanded by your "environment" before it's passed to the cli. For example i use bash

    LIST="VOL1 VOL2 VOL3"

    for i in $LIST; do ssh xmsndb1 tag-object tag-id=\"/Volume/prod-oracle\" entity=Volume entity-details=\"$i\"; done