Subscribe
Accepted Solution

What is the DFM API call to find a cluster?

I am trying to find out if there is an API call to determine what cluster a particular node belongs to. Anyone have an idea?

Re: What is the DFM API call to find a cluster?

I am also interested in this, because cluster nodes come as filers via DFM API and it seems there is no information about parent cluster.

Re: What is the DFM API call to find a cluster?

Which version of DFM are you using?

Re: What is the DFM API call to find a cluster?

Mine is 5.1.

Re: What is the DFM API call to find a cluster?

Hi,

I think the API you are looking for is dfm-related-objects-list-info.

You'll have to pass as parameter the name of the node and it will return you data about its parent (the parent-cluster in this case).

Example Input :

<dfm-related-objects-list-info>

    <object-name-or-id>clus_2-01</object-name-or-id>

</dfm-related-objects-list-info>

Example Output :

<parent-object-list>

                              <parent-object>

                                        <name>clus_2</name>

                                        <id>3846</id>

                                        <full-name>clus_2</full-name>

                                        <type>cluster</type>

                              </parent-object>

                    </parent-object-list>

                    <child-count-list>

                              <child-count>

                                        <count>1</count>

                                        <type>aggregate</type>

                              </child-count>

                    </child-count-list>

Hope this helps.

Best Regards

Aashray Arora

Re: What is the DFM API call to find a cluster?

Thanks a lot Aashray!!! That is exactly what I need.