This post is more than 5 years old
96 Posts
0
12878
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
522 Posts
2
March 10th, 2016 08:00
forgot the link to the user guide: https://support.emc.com/docu62760_XtremIO-4.0.2-Storage-Array-User-Guide.pdf?language=en_US
echolaughmk
522 Posts
0
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
96 Posts
0
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
1 Rookie
1 Rookie
•
20.4K Posts
1
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