Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

How to use a passwordless SSH to collect a Perfstat7 on a Linux/UNIX host (Data ONTAP 7-Mode)

Views:
402
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
nfs
Last Updated:

Applies to

  • Data ONTAP 8 7-Mode
  • Data ONTAP 7 and earlier

Description

An SSH public/private key pair is to be set on the storage system and the host to collect a perfstat on a Linux/UNIX host from a storage system using SSH. It is required to generate an SSH public/private key pair on the host and then place the public key in the storage system’s root user-authorized keys file

Note: The private key is not copied over.

  • If the user has a licensed NFS: The procedure described in this article can be performed from a host by using an NFS mount to the storage system’s root dir (vol0).
  • If the user does not have a licensed NFS then they can use wrfile and ndmpcopy to manually copy the keyfile

Note:
Besides the perfstat, these instructions can be used for any operation that might require a passwordless SSH.

The below instructions utilize Perfstat7, which is for Data ONTAP (7-Mode) prior to Data ONTAP 8.2.  The tool can be found here.
For Perfstat8/clustered Data ONTAP instructions for Data ONTAP (7-Mode) 8.2+ or clustered Data ONTAP,  read KB: Perfstat collection methods omnibus.

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support