Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

12878

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?

522 Posts

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

96 Posts

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

1 Rookie

 • 

20.4K Posts

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

No Events found!

Top