artRanade
2 Iron

How to determine XtremIO version for 3.0/4.0

Hello

I am working on script to use xtremio rest api and get information we need. I want same set of scripts to work against both 3.0 and 4.0. How to I determine what is the version of xtremio management server ? Based on that, I am planning to decide whether to use v2 rest api or without v2.

Tags (3)
0 Kudos
5 Replies
echolaughmk
3 Zinc

Re: How to determine XtremIO version for 3.0/4.0

you can run the "show-xms" command from CLI and that will show you the version of the XMS server in the 2nd column.

Avi3
3 Zinc

Re: How to determine XtremIO version for 3.0/4.0

You can find the software version running on the cluster using the 'sys-sw-version’ parameter in the response for ‘’GET /api/json/types/clusters/.”

If the software version is (or greater than) 4.0.0, you need to use v2 RestAPI calls, if the software version is anything earlier than 4.0.0, you need to use v1 RestAPI calls. Does this logic work?

artRanade
2 Iron

Re: How to determine XtremIO version for 3.0/4.0

We are using rest api and I do not see this command as part of 3.0 REST API.

However with cluster details I see :

sys-sw-version XIOS version The Xtremapp software version currently running on the Storage Controllers

Is this same as XMS version and can we used to determine whether we need to use REST v2 calls (for 4.0) ?

0 Kudos
Avi3
3 Zinc

Re: How to determine XtremIO version for 3.0/4.0

See my response above. You can use the API call ‘’GET /api/json/types/clusters/” to get the software version running on the array and then decide which version of RestAPI call to use.

0 Kudos
artRanade
2 Iron

Re: How to determine XtremIO version for 3.0/4.0

Perfect we are doing the same. Ty

0 Kudos