Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1895

June 14th, 2016 22:00

How to find the target ports for a given initiator group?

Hi All,

I am trying to find out the REST API query which will give the target ports belonging to a particular initiator group of a XtremIO server?

Please help.

64 Posts

June 15th, 2016 10:00

Unfortunately there's no way to do this today from the REST API.

The good news is that in our upcoming new XMS release (due in less than a month) we are adding a new type called "initiators-connectivity" which returns the same details as the "show-initiators-connectivity target-details" CLI command.

Sample output :

/api/json/v2/types/initiators-connectivity

{

    "content": [

        {

            "index": 3,

            "port-address": "20:00:00:25:b5:a0:01:3f",

            "name": "C2B7-1",

            "target-list": [

                [

                    "2eddceb0350a4c9a9084d1b885f99666",

                    "X1-SC1-fc1",

                    1

                ],

                [

                    "9a2574b90c764feaadcfd15edbdb3513",

                    "X1-SC2-fc1",

                    5

                ],

[...etc...]

5 Practitioner

 • 

274.2K Posts

June 15th, 2016 03:00

Hello,

the command to assist you would be:

xmcli (tech)> show-initiators-connectivity target-details

Regards, Anne

June 15th, 2016 10:00

@Scott This New release will still not give the targets for particular initiator right? It will display all Initiators.

Looks like mdshajada is looking for particulat Initiator.

Thanks

64 Posts

June 15th, 2016 11:00

As per the partial example I gave above, it will show the targets for each and every initiator.  In the example above, 20:00:00:25:b5:a0:01:3f, which is names C2B7-1, is connected to X1-SC1-fc1 and X1-SC2-fc1.

No Events found!

Top