Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

cifs performance API returns multiple nodes for same vserver

mitchellcipriano

We are executing the perf-object-instance-list-info-iter for cifs object to get the instance list and then the perf-object-get-instances to get the actual counter values for each instance.

The data returned shows same vserver with multiple nodes. How is this possible ?

Here is what we get from the API. Here the name is repeated(same vserver) with different UUID and the UUID has a different node name. If we execute the perf-object-get-instances using these UUIDs then we get two sets of data for each vserver. Is this correct ? Also how do we interpret this. Since the vserver, aggregate and node information that we have indicate that each vserver is coming from one node.

 

<attributes-list>
        <instance-info>
            <name>nav0024</name>
            <uuid>nacf002-n01:kernel:nav0024</uuid>
        </instance-info>
        <instance-info>
            <name>nav0024</name>
            <uuid>nacf002-n02:kernel:nav0024</uuid>
        </instance-info>
        <instance-info>
            <name>nav0025</name>
            <uuid>nacf002-n01:kernel:nav0025</uuid>
        </instance-info>
        <instance-info>
            <name>nav0025</name>
            <uuid>nacf002-n02:kernel:nav0025</uuid>
        </instance-info>
        <instance-info>
            <name>nav0031</name>
            <uuid>nacf002-n01:kernel:nav0031</uuid>
        </instance-info>
        <instance-info>
            <name>nav0031</name>
            <uuid>nacf002-n02:kernel:nav0031</uuid>
        </instance-info>
    </attributes-list>

 

1 REPLY 1

madden

Hi,

CIFS is a service running on a SVM on a node, so the base 'cifs' CM object includes exactly that, stats per SVM per node. If you had all your lifs on a single node I expect the instances on other nodes will just show zero values. If you're not interested in them just discard from your client application.

 

In cDOT there are also aggregation counters like 'cifs:node' and 'cifs:vserver' which basically do a summarization for you from a per-node or per-SVM perspective. Check the instance list for 'cifs:vserver' and you'll see there is one entry for each CIFS SVM which is a summarization of the node counters. My guess is using this aggregated counter might be easier for you.

 

Lastly, also check the SMB2 object for a richer set of counters related to CIFS SMB2/3. You can get per optype latency for example.

 

Hope this helps and good luck!

 

Regards,
Chris Madden
Storage Architect, NetApp EMEA

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public