Installing the Cluster Switch Health Monitor (CSHM) configuration file for 92300YC switches

You can use this procedure to install the applicable configuration file for cluster switch health monitoring of Nexus 92300YC cluster switches. In ONTAP releases 9.5P7 and earlier and 9.6P2 and earlier, you must download the cluster switch health monitor configuration file separately. In ONTAP releases 9.5P8 and later, 9.6P3 and later, and 9.7 and later, the cluster switch health monitor configuration file is bundled with ONTAP.

Before you begin

Before you setup the switch health monitor for 92300YC cluster switches, you must ensure that the ONTAP cluster is up and running.
Note: It is advisable to enable SSH in order to use all features available in CSHM.

Procedure

  1. Download the cluster switch health monitor configuration zip file based on the corresponding ONTAP release version. This file is available from the NetApp Software download page.
    1. On the Software download page, select Switch Health Monitor Configuration Files
    2. Select Platform = ONTAP and click Go!
    3. On the Switch Health Monitor Configuration Files for ONTAP page, click View & Download
    4. On the Switch Health Monitor Configuration Files for ONTAP - Description page, click Download for the applicable cluster switch model, for example: Cisco Nexus 92300YC
    5. On the End User License Agreement page, click Accept
    6. On the Switch Health Monitor Configuration Files for ONTAP - Download page, select the applicable configuration file, for example, Cisco_Nexus_92300YC.zip
  2. Upload the applicable zip file to your internal web server where the IP address is X.X.X.X.
    For an internal web server IP address of 192.168.2.20 and assuming a /usr/download directory exists, you can upload your zip file to your web server using scp:
    % scp Cisco_Nexus_92300YC.zip admin@192.168.2.20:/usr/download/Cisco_Nexus_92300YC.zip
  3. Access the advanced mode setting from one of the ONTAP systems in the cluster, using the command set-privilege advanced:
    cluster1::> set -privilege advanced
  4. Run the switch health monitor configure command system cluster-switch configure-health-monitor -node * -package-url X.X.X.X/location_to_download_zip_file:
    cluster1::> system cluster-switch configure-health-monitor -node * -package-url 192.168.2.20/usr/download/Cisco_Nexus_92300YC.zip
  5. Verify that the command output contains the text string "downloaded package processed successfully". If an error occurs, contact NetApp support.
  6. Run the command system cluster-switch show on the ONTAP system and ensure that the cluster switches are discovered with the monitored field set to "True".
    cluster1::> system cluster-switch show
    Note: If at any time you revert to an earlier version of ONTAP, you will need to install the CSHM configuration file again to enable switch health monitoring of 92300YC cluster switches.
  7. For ONTAP 9.4 and later, enable the cluster switch health monitor log collection feature for collecting switch-related log files: system cluster-switch log setup-password system cluster-switch log enable-collection
    cluster1::*> system cluster-switch log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.                                     
    Choose from the following list: 
    NBS-NIC-NXYC-01
    NBS-NIC-NXYC-02
    
    cluster1::*> system cluster-switch log setup-password 
    
    Enter the switch name: NBS-NIC-NXYC-01
    RSA key fingerprint is e5:8b:c6:dc:e2:18:18:09:36:63:d9:63:dd:03:d9:cc
    Do you want to continue? {y|n}::[n] y 
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system cluster-switch log setup-password 
    
    Enter the switch name: NBS-NIC-NXYC-02 
    RSA key fingerprint is 57:49:86:a1:b9:80:6a:61:9a:86:8e:3c:e3:b7:1f:b1
    Do you want to continue? {y|n}:: [n] y
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system cluster-switch log enable-collection 
    
    Do you want to enable cluster log collection for all nodes in the cluster?
    {y|n}: [n] y 
    
    Enabling cluster switch log collection.                                       
    
    cluster1::*>
    
    Note: If any of these commands return an error, contact NetApp support.